]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
PowerPC: Fix __fe_mask_env export
[thirdparty/glibc.git] / ChangeLog
CommitLineData
7ab44563
AZ
12013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
4 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
5 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
6 (__fe_nomask_env): Likewise.
7
e8470ea2
SE
82013-11-13 Steve Ellcey <sellcey@mips.com>
9
10 * benchtests/bench-timing.h: Include time.h.
11
17c1d9f0
L
122013-11-13 H.J. Lu <hongjiu.lu@intel.com>
13
14 [BZ #15997]
15 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
16 to 3.4.0 for x32.
17 * sysdeps/unix/sysv/linux/configure: Regenerated.
18
9310c284
JM
192013-11-13 Joseph Myers <joseph@codesourcery.com>
20
21 [BZ #16151]
22 * stdlib/strtod_l.c (round_and_return): Do not consider
23 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
24 exponent one less than half the least subnormal exponent.
25 * stdlib/test-strtod-round-data: Add more tests.
26 * stdlib/tst-strtod-round.c (tests): Regenerated.
27
7a2ad8cf
AZ
282013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29
30 [BZ #14143]
31 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
32 (__fe_mask_env): Likewise.
33 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
34 libm_hidden_proto and add function prototype.
35 (__fe_mask_env): Add function prototype.
36 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
38 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
40 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
42
50727aa7
MS
432013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44
45 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
47
a615be46
MS
482013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
49
50 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51 of htab_find_slot().
52
7ddace62
DM
532013-11-11 David S. Miller <davem@davemloft.net>
54
55 [BZ #16150]
56 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
57 symbol in the non-vis3 case in static builds.
58 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
59 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
62
9182aa67
JK
632013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
64
65 [BZ #387]
66 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
67 it is empty.
68
450a2e2d
AZ
692013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70
71 * benchtests/Makefile: Add bench-strtod.
72 * benchtests/bench-strtod.c: New file: strtod benchtest
73
8ec3f656
AS
742013-11-11 Andreas Schwab <schwab@suse.de>
75
76 [BZ #16153]
77 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
78 terminating NUL in key length.
79
76a9b998
AZ
802013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
81
82 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
83 Add artificial ODP entry for vDSO symbol for PPC64.
84 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
85 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
86
e4368156
OB
872013-11-07 Ondřej Bílka <neleai@seznam.cz>
88
89 [BZ #15374]
90 * nss/getent.c (services_keys): Recognize services starting with digit.
91
8d6bb57c
DM
922013-11-06 David S. Miller <davem@davemloft.net>
93
94 [BZ #15985]
95 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
96 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
97
e256c421
WN
982013-11-06 Will Newton <will.newton@linaro.org>
99
100 * manual/memory.texi (Malloc Examples): Remove register
101 keyword from examples.
102
f6e12daa 1032013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 104
f6e12daa 105 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 106
9d880655
AS
1072013-11-04 Joseph Myers <joseph@codesourcery.com>
108
109 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
110 depending on [__GCC_IEC_559 > 0].
111 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
112 depending on [__GCC_IEC_559_COMPLEX > 0].
113
ae129d3c
CL
1142013-11-03 Chris Leonard <cjl@sugarlabs.org>
115
116 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
117 to iso-639.def.
118
4a15c2a4 1192013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
120
121 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
122
8b35e35d
OB
1232013-11-01 Ondřej Bílka <neleai@seznam.cz>
124
125 [BZ #16112]
126 * malloc/malloc (malloc_info): Do not handle first bin as
127 special case.
128
1d70fd6c
CL
1292013-11-01 Chris Leonard <cjl@sugarlabs.org>
130
131 * locale/iso-639.def: Add Central Nahuatl (nhn).
132
8c5c2600
BH
1332013-11-01 Bruno Haible <bruno@clisp.org>
134
135 [BZ #7003]
136 * manual/math.texi (BSD Random): Specify range upper bound as
137 in POSIX.
138
da5579c2
CL
1392013-10-31 Chris Leonard <cjl@sugarlabs.org>
140
141 * locale/iso-639.def: Add Meadow Mari (mhr).
142
5d30d853
OB
1432013-10-31 Ondřej Bílka <neleai@seznam.cz>
144
145 [BZ #14752], [BZ #15763]
146 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
147 Validate name.
148 * rt/tst_shm.c: Add test for escaping directory.
149
a4966c61
AS
1502013-10-31 Andreas Schwab <schwab@suse.de>
151
8a43e768 152 [BZ #15917]
a4966c61
AS
153 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
154 followed by 'x' as part of digit sequence.
155 * stdio-common/tst-sscanf.c (double_tests2): New tests.
156
28d708c4
MAP
1572013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
158
159 [BZ #16037]
160 * configure.ac: allow GNU Make 4.0 and greater.
161 * configure: Regenerated.
162
a56ee40b
WN
1632013-10-30 Will Newton <will.newton@linaro.org>
164
165 [BZ #16038]
166 * malloc/hooks.c (memalign_check): Limit alignment to the
167 maximum representable power of two.
168 * malloc/malloc.c (__libc_memalign): Likewise.
169 * malloc/tst-memalign.c (do_test): Add test for very
170 large alignment values.
171 * malloc/tst-posix_memalign.c (do_test): Likewise.
172
c6e4925d
OB
1732013-10-30 Ondřej Bílka <neleai@seznam.cz>
174
175 [BZ #11087]
176 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
177 (munmap_chunk): Likewise.
178 (mremap_chunk): Likewise.
179
1802013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 181
8a43e768 182 [BZ #15799]
bbea82f7
OB
183 * stdlib/div.c (div): Remove obsolete code.
184 * stdlib/ldiv.c (ldiv): Likewise.
185 * stdlib/lldiv.c (lldiv): Likewise.
186
977f4b31
SP
1872013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
188
189 [BZ #16071]
190 * nss/nss_files/files-XXX.c (get_contents_ret): New
191 enumerator.
192 (get_contents): New function.
193 (internal_getent): Use it. Expand size of LINEBUFLEN.
194
cb8a6dbd
MF
1952013-10-30 Mike Frysinger <vapier@gentoo.org>
196
197 * configure.in: Moved to ...
198 * configure.ac: ... here. Change reference to configure.in
199 to configure.ac.
200 * sysdeps/arm/preconfigure.ac: ... here.
201 configure.in to configure.ac.
202 * sysdeps/gnu/configure.in: Moved to ...
203 * sysdeps/gnu/configure.ac: ... here.
204 * sysdeps/i386/configure.in: Moved to ...
205 * sysdeps/i386/configure.ac: ... here.
206 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
207 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
208 * sysdeps/mach/configure.in: Moved to ...
209 * sysdeps/mach/configure.ac: ... here.
210 * sysdeps/mach/hurd/configure.in: Moved to ...
211 * sysdeps/mach/hurd/configure.ac: ... here.
212 * sysdeps/powerpc/configure.in: Moved to ...
213 * sysdeps/powerpc/configure.ac: ... here.
214 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
215 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
216 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
217 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
218 * sysdeps/s390/s390-32/configure.in: Moved to ...
219 * sysdeps/s390/s390-32/configure.ac: ... here.
220 * sysdeps/s390/s390-64/configure.in: Moved to ...
221 * sysdeps/s390/s390-64/configure.ac: ... here.
222 * sysdeps/sh/configure.in: Moved to ...
223 * sysdeps/sh/configure.ac: ... here.
224 * sysdeps/sparc/configure.in: Moved to ...
225 * sysdeps/sparc/configure.ac: ... here.
226 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
227 * sysdeps/unix/sysv/linux/configure.ac: ... here.
228 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
229 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
230 * sysdeps/x86_64/configure.in: Moved to ...
231 * sysdeps/x86_64/configure.ac: ... here.
232 * sysdeps/x86_64/preconfigure.in: Moved to ...
233 * sysdeps/x86_64/preconfigure.ac: ... here.
234 * aclocal.m4: Change reference to configure.in to configure.ac.
235 * config.h.in: Likewise.
236 * manual/install.texi: Likewise.
237 * manual/maint.texi: Likewise.
238 * Makefile: Likewise.
239 * malloc/Makefile: Likewise.
240 * nscd/Makefile: Likewise.
241 * Makeconfig: Change reference to configure.in and
242 preconfigure.in to configure.ac and preconfigure.ac
243 respectively.
244 * INSTALL: Regenerated.
245 * configure: Likewise.
246 * sysdeps/gnu/configure: Likewise.
247 * sysdeps/i386/configure: Likewise.
248 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
249 * sysdeps/mach/configure: Likewise.
250 * sysdeps/mach/hurd/configure: Likewise.
251 * sysdeps/powerpc/configure: Likewise.
252 * sysdeps/powerpc/powerpc32/configure: Likewise.
253 * sysdeps/powerpc/powerpc64/configure: Likewise.
254 * sysdeps/s390/s390-32/configure: Likewise.
255 * sysdeps/s390/s390-64/configure: Likewise.
256 * sysdeps/sh/configure: Likewise.
257 * sysdeps/sparc/configure: Likewise.
258 * sysdeps/unix/sysv/linux/configure: Likewise.
259 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
260 * sysdeps/x86_64/configure: Likewise.
261 * sysdeps/x86_64/preconfigure: Likewise.
262
36a4953a
AS
2632013-10-29 Andreas Schwab <schwab@suse.de>
264
265 * stdio-common/Makefile (tst-swscanf-ENV): Define.
266
c79a1204
SP
2672013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
268
dfa1b402
SP
269 * benchtests/pow-inputs: Add new inputs.
270
54f73d9c
SP
271 * benchtests/exp-inputs: Add new inputs.
272
c79a1204
SP
273 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
274 conditional check for return value.
275 (__cos32): Likewise.
276
67beb545 2772013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
278
279 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
280 to provide a boost for large inputs with word alignment.
281 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
282 implementation based on optimized PPC64 strcpy.
283 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
284 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
285 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
286 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
287
151659f6
OB
2882013-10-25 Ondřej Bílka <neleai@seznam.cz>
289
482a077e 290 [BZ #2801]
151659f6
OB
291 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
292
10b0f26b
OB
2932013-10-25 Ondřej Bílka <neleai@seznam.cz>
294
295 [BZ #14876]
296 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
297 * time/tst-strptime.c (day_tests): Add testcase.
298
ca42d35e
OB
2992013-10-25 Ondřej Bílka <neleai@seznam.cz>
300
482a077e 301 [BZ #14029]
ca42d35e
OB
302 * manual/pattern.texi: Acknowledge that fnmatch can fail.
303
52e6d801
FB
3042013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
305
306 [BZ #16074]
307 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
308 MAP_FAILED on error.
309
7cbcdb36
SP
3102013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
311
312 [BZ #16072]
313 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
314 heap for large requests.
315
894f3f10
AM
3162013-10-25 Aurelien Jarno <aurelien@aurel32.net>
317
318 [BZ #9954]
319 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
320 result if the result has no associated interface.
321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
322 interface for all 127.X.Y.Z addresses.
323
b85545a6
CL
3242013-10-24 Chris Leonard <cjl@sugarlabs.org>
325
326 * locale/iso-639.def: Add Ligurian (lij)
327
d1f23d46
OB
3282013-10-21 Ondřej Bílka <neleai@seznam.cz>
329
330 [BZ #15825]
331 * sunrpc/rpc_main.c: Document rpcgen -5.
332
4db5b08f
MS
3332013-10-19 Michael Stahl <mstahl@redhat.com>
334
335 * elf/rtld.c (do_preload): Print the reason why preloading failed.
336
a471e96a
OB
3372013-10-19 Ondřej Bílka <neleai@seznam.cz>
338
d1f23d46 339 [BZ #10278]
a471e96a
OB
340 * posix/glob.c: Match only directories when trailing slash is present.
341 * posix/tst-gnuglob.c (my_opendir): Do not open files.
342 (main): Add testcase.
343
45c30c61
OB
3442013-10-19 Ondřej Bílka <neleai@seznam.cz>
345
346 [BZ #15670]
347 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
348
484c12fb
CD
3492013-10-18 Carlos O'Donell <carlos@redhat.com>
350
3d7dc513
CD
351 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
352 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
353 AUTH_DES and cindex for FIPS 140-2.
354 (DES Encryption): Add cindex FIPS 46-3.
355
484c12fb
CD
356 * locale/locarchive.h (struct locarhandle): Add fname.
357 * locale/programs/localedef.c (main): Pass ARGV[remaining]
358 if an optional argument was specified to --list-archive,
359 otherwise NULL.
360 * locale/programs/locarchive.c (show_archive_content): Take new
361 argument fname and pass it via ah.fname to open_archive.
362 * locale/programs/localedef.h: Update decl.
363 (open_archive): If AH->fname is non-null, open that file
364 rather than the default file name, and don't ignore ENOENT.
365 (create_archive): Set AH.fname to NULL.
366 (delete_locales_from_archive): Likewise.
367 (add_locales_to_archive): Likewise.
368 * locale/programs/locfile.c (write_all_categories): Likewise.
369
3c8325fb
JM
3702013-10-18 Joseph Myers <joseph@codesourcery.com>
371 Aldy Hernandez <aldyh@redhat.com>
372
373 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
374 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
375 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
376 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
377 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
378 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
379 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
380 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
381 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
382 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
383 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
384 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
385 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
386 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
387 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
388 Likewise.
389 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
390 Likewise.
391 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
392 Likewise.
393 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
394 Likewise.
395 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
396 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
397 Likewise.
398 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
399 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
400 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
401 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
402 Likewise.
403 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
404 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
405 * sysdeps/powerpc/preconfigure: Likewise.
406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
407 Likewise.
408 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
409 Replace contents of file by #include of <fenv_libc.h>.
410 * sysdeps/powerpc/soft-fp/sfp-machine.h
411 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
412 and <sys/prctl.h>.
413 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
414 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
415 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
416 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
417 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
418 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
419 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
420 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
421 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
422 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
423 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
424 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
426 Allow copysignl PLT reference to be missing.
427
5abe0682
RS
4282013-10-18 Richard Sandiford <richard@codesourcery.com>
429 Joseph Myers <joseph@codesourcery.com
430
431 [BZ #15948]
432 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
433 single character.
434 (add_to_tablewc): Assert sequence of wide characters is nonempty.
435
c7738d08
SP
4362013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
437
438 * elf/tst-tls-dlinfo.c: Don't include tls.h.
439 * elf/tst-tls1.c: Likewise.
440 * elf/tst-tls10.h: Likewise.
441 * elf/tst-tls14.c: Likewise.
442 * elf/tst-tls2.c: Likewise.
443 * elf/tst-tls3.c: Likewise.
444 * elf/tst-tls4.c: Likewise.
445 * elf/tst-tls5.c: Likewise.
446 * elf/tst-tls6.c: Likewise.
447 * elf/tst-tls7.c: Likewise.
448 * elf/tst-tls8.c: Likewise.
449 * elf/tst-tls9.c: Likewise.
450 * elf/tst-tlsmod1.c: Likewise.
451 * elf/tst-tlsmod13.c: Likewise.
452 * elf/tst-tlsmod13a.c: Likewise.
453 * elf/tst-tlsmod14a.c: Likewise.
454 * elf/tst-tlsmod16a.c: Likewise.
455 * elf/tst-tlsmod16b.c: Likewise.
456 * elf/tst-tlsmod2.c: Likewise.
457 * elf/tst-tlsmod3.c: Likewise.
458 * elf/tst-tlsmod4.c: Likewise.
459 * elf/tst-tlsmod5.c: Likewise.
460 * elf/tst-tlsmod6.c: Likewise.
461
0bfcf2c7
OB
4622013-10-18 Ondřej Bílka <neleai@seznam.cz>
463
464 [BZ #12486]
465 * malloc/malloc.c: remove checks for statistics.
466
264aad1e
OB
4672013-10-17 Ondřej Bílka <neleai@seznam.cz>
468
469 [BZ #15277]
470 * inet/inet_net.c (inet_network): Detect additional invalid strings.
471 * inet/tst-network.c: Add testcase.
472
b957ced8
AS
4732013-10-17 Andreas Schwab <schwab@suse.de>
474
475 [BZ #15218]
476 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
477 to determine canonical name.
478
c5d5d574
OB
4792013-10-17 Ondřej Bílka <neleai@seznam.cz>
480
481 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
482 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
483 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
484 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
486 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
487 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
488 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
491 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
492 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
493 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
494 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
495 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
496 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
497 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
498 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
500 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
501 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
502 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
503 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
504 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
505 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
506 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
507 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
508 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
509 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
510 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
511 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
512 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
513 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
514 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
515 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
516 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
517 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
518 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
519 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
520 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
521 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
522 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
523 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
524 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
525 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
526 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
527 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
528 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
529 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
530 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
531 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
532 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
533 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
534 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
539
e5c2c2d0
JM
5402013-10-17 Joseph Myers <joseph@codesourcery.com>
541
542 [BZ #16041]
543 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
544 make result into a quiet NaN.
545
51ca9e29
JM
5462013-10-16 Joseph Myers <joseph@codesourcery.com>
547
548 * soft-fp/adddf3.c: Fix horizontal whitespace.
549 * soft-fp/addsf3.c: Likewise.
550 * soft-fp/addtf3.c: Likewise.
551 * soft-fp/divdf3.c: Likewise.
552 * soft-fp/divsf3.c: Likewise.
553 * soft-fp/divtf3.c: Likewise.
554 * soft-fp/double.h: Likewise.
555 * soft-fp/eqdf2.c: Likewise.
556 * soft-fp/eqsf2.c: Likewise.
557 * soft-fp/eqtf2.c: Likewise.
558 * soft-fp/extenddftf2.c: Likewise.
559 * soft-fp/extended.h: Likewise.
560 * soft-fp/extendsfdf2.c: Likewise.
561 * soft-fp/extendsftf2.c: Likewise.
562 * soft-fp/extendxftf2.c: Likewise.
563 * soft-fp/fixdfdi.c: Likewise.
564 * soft-fp/fixdfsi.c: Likewise.
565 * soft-fp/fixdfti.c: Likewise.
566 * soft-fp/fixsfdi.c: Likewise.
567 * soft-fp/fixsfsi.c: Likewise.
568 * soft-fp/fixsfti.c: Likewise.
569 * soft-fp/fixtfdi.c: Likewise.
570 * soft-fp/fixtfsi.c: Likewise.
571 * soft-fp/fixtfti.c: Likewise.
572 * soft-fp/fixunsdfdi.c: Likewise.
573 * soft-fp/fixunsdfsi.c: Likewise.
574 * soft-fp/fixunsdfti.c: Likewise.
575 * soft-fp/fixunssfdi.c: Likewise.
576 * soft-fp/fixunssfsi.c: Likewise.
577 * soft-fp/fixunssfti.c: Likewise.
578 * soft-fp/fixunstfdi.c: Likewise.
579 * soft-fp/fixunstfsi.c: Likewise.
580 * soft-fp/fixunstfti.c: Likewise.
581 * soft-fp/floatdidf.c: Likewise.
582 * soft-fp/floatdisf.c: Likewise.
583 * soft-fp/floatditf.c: Likewise.
584 * soft-fp/floatsidf.c: Likewise.
585 * soft-fp/floatsisf.c: Likewise.
586 * soft-fp/floatsitf.c: Likewise.
587 * soft-fp/floattidf.c: Likewise.
588 * soft-fp/floattisf.c: Likewise.
589 * soft-fp/floattitf.c: Likewise.
590 * soft-fp/floatundidf.c: Likewise.
591 * soft-fp/floatundisf.c: Likewise.
592 * soft-fp/floatunditf.c: Likewise.
593 * soft-fp/floatunsidf.c: Likewise.
594 * soft-fp/floatunsisf.c: Likewise.
595 * soft-fp/floatunsitf.c: Likewise.
596 * soft-fp/floatuntidf.c: Likewise.
597 * soft-fp/floatuntisf.c: Likewise.
598 * soft-fp/floatuntitf.c: Likewise.
599 * soft-fp/fmadf4.c: Likewise.
600 * soft-fp/fmasf4.c: Likewise.
601 * soft-fp/fmatf4.c: Likewise.
602 * soft-fp/gedf2.c: Likewise.
603 * soft-fp/gesf2.c: Likewise.
604 * soft-fp/getf2.c: Likewise.
605 * soft-fp/ledf2.c: Likewise.
606 * soft-fp/lesf2.c: Likewise.
607 * soft-fp/letf2.c: Likewise.
608 * soft-fp/muldf3.c: Likewise.
609 * soft-fp/mulsf3.c: Likewise.
610 * soft-fp/multf3.c: Likewise.
611 * soft-fp/negdf2.c: Likewise.
612 * soft-fp/negsf2.c: Likewise.
613 * soft-fp/negtf2.c: Likewise.
614 * soft-fp/op-1.h: Likewise.
615 * soft-fp/op-2.h: Likewise.
616 * soft-fp/op-4.h: Likewise.
617 * soft-fp/op-8.h: Likewise.
618 * soft-fp/op-common.h: Likewise.
619 * soft-fp/quad.h: Likewise.
620 * soft-fp/single.h: Likewise.
621 * soft-fp/soft-fp.h: Likewise.
622 * soft-fp/sqrtdf2.c: Likewise.
623 * soft-fp/sqrtsf2.c: Likewise.
624 * soft-fp/sqrttf2.c: Likewise.
625 * soft-fp/subdf3.c: Likewise.
626 * soft-fp/subsf3.c: Likewise.
627 * soft-fp/subtf3.c: Likewise.
628 * soft-fp/truncdfsf2.c: Likewise.
629 * soft-fp/trunctfdf2.c: Likewise.
630 * soft-fp/trunctfsf2.c: Likewise.
631 * soft-fp/trunctfxf2.c: Likewise.
632 * soft-fp/unorddf2.c: Likewise.
633 * soft-fp/unordsf2.c: Likewise.
634 * soft-fp/unordtf2.c: Likewise.
635
9ebb0332
JM
6362013-10-15 Joseph Myers <joseph@codesourcery.com>
637
638 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
639 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
640
4b1a6d8b
OB
6412013-10-15 Ondřej Bílka <neleai@seznam.cz>
642
643 * elf/dl-libc.c: Clear initfini list after freeing.
644
1e145589
JM
6452013-10-14 Joseph Myers <joseph@codesourcery.com>
646
647 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
648 * soft-fp/addsf3.c: Likewise.
649 * soft-fp/addtf3.c: Likewise.
650 * soft-fp/divdf3.c: Likewise.
651 * soft-fp/divsf3.c: Likewise.
652 * soft-fp/divtf3.c: Likewise.
653 * soft-fp/double.h: Likewise.
654 * soft-fp/eqdf2.c: Likewise.
655 * soft-fp/eqsf2.c: Likewise.
656 * soft-fp/eqtf2.c: Likewise.
657 * soft-fp/extenddftf2.c: Likewise.
658 * soft-fp/extended.h: Likewise.
659 * soft-fp/extendsfdf2.c: Likewise.
660 * soft-fp/extendsftf2.c: Likewise.
661 * soft-fp/extendxftf2.c: Likewise.
662 * soft-fp/fixdfdi.c: Likewise.
663 * soft-fp/fixdfsi.c: Likewise.
664 * soft-fp/fixdfti.c: Likewise.
665 * soft-fp/fixsfdi.c: Likewise.
666 * soft-fp/fixsfsi.c: Likewise.
667 * soft-fp/fixsfti.c: Likewise.
668 * soft-fp/fixtfdi.c: Likewise.
669 * soft-fp/fixtfsi.c: Likewise.
670 * soft-fp/fixtfti.c: Likewise.
671 * soft-fp/fixunsdfdi.c: Likewise.
672 * soft-fp/fixunsdfsi.c: Likewise.
673 * soft-fp/fixunsdfti.c: Likewise.
674 * soft-fp/fixunssfdi.c: Likewise.
675 * soft-fp/fixunssfsi.c: Likewise.
676 * soft-fp/fixunssfti.c: Likewise.
677 * soft-fp/fixunstfdi.c: Likewise.
678 * soft-fp/fixunstfsi.c: Likewise.
679 * soft-fp/fixunstfti.c: Likewise.
680 * soft-fp/floatdidf.c: Likewise.
681 * soft-fp/floatdisf.c: Likewise.
682 * soft-fp/floatditf.c: Likewise.
683 * soft-fp/floatsidf.c: Likewise.
684 * soft-fp/floatsisf.c: Likewise.
685 * soft-fp/floatsitf.c: Likewise.
686 * soft-fp/floattidf.c: Likewise.
687 * soft-fp/floattisf.c: Likewise.
688 * soft-fp/floattitf.c: Likewise.
689 * soft-fp/floatundidf.c: Likewise.
690 * soft-fp/floatundisf.c: Likewise.
691 * soft-fp/floatunsidf.c: Likewise.
692 * soft-fp/floatunsisf.c: Likewise.
693 * soft-fp/floatuntidf.c: Likewise.
694 * soft-fp/floatuntisf.c: Likewise.
695 * soft-fp/floatuntitf.c: Likewise.
696 * soft-fp/fmadf4.c: Likewise.
697 * soft-fp/fmasf4.c: Likewise.
698 * soft-fp/fmatf4.c: Likewise.
699 * soft-fp/gedf2.c: Likewise.
700 * soft-fp/gesf2.c: Likewise.
701 * soft-fp/getf2.c: Likewise.
702 * soft-fp/ledf2.c: Likewise.
703 * soft-fp/lesf2.c: Likewise.
704 * soft-fp/letf2.c: Likewise.
705 * soft-fp/muldf3.c: Likewise.
706 * soft-fp/mulsf3.c: Likewise.
707 * soft-fp/multf3.c: Likewise.
708 * soft-fp/negdf2.c: Likewise.
709 * soft-fp/negsf2.c: Likewise.
710 * soft-fp/negtf2.c: Likewise.
711 * soft-fp/op-1.h: Likewise.
712 * soft-fp/op-2.h: Likewise.
713 * soft-fp/op-4.h: Likewise.
714 * soft-fp/op-8.h: Likewise.
715 * soft-fp/op-common.h: Likewise.
716 * soft-fp/quad.h: Likewise.
717 * soft-fp/single.h: Likewise.
718 * soft-fp/soft-fp.h: Likewise.
719 * soft-fp/sqrtdf2.c: Likewise.
720 * soft-fp/sqrtsf2.c: Likewise.
721 * soft-fp/sqrttf2.c: Likewise.
722 * soft-fp/subdf3.c: Likewise.
723 * soft-fp/subsf3.c: Likewise.
724 * soft-fp/subtf3.c: Likewise.
725 * soft-fp/truncdfsf2.c: Likewise.
726 * soft-fp/trunctfdf2.c: Likewise.
727 * soft-fp/trunctfsf2.c: Likewise.
728 * soft-fp/trunctfxf2.c: Likewise.
729 * soft-fp/unorddf2.c: Likewise.
730 * soft-fp/unordsf2.c: Likewise.
731 * soft-fp/unordtf2.c: Likewise.
732
17c48a60
OB
7332013-10-14 Ondřej Bílka <neleai@seznam.cz>
734
735 [BZ #15672]
736 * misc/error.c (error_tail): Fix possible buffer overflow.
737
cabba934
OB
7382013-10-14 Aurelien Jarno <aurelien@aurel32.net>
739
740 [BZ #13028]
741 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
742 address.
743
94bf958a
PM
7442013-10-14 P. J. McDermott <pj@pehjota.net>
745
746 [BZ #832]
747 * elf/ldd.bash.in (try_trace): New function. Delete previous code
748 testing pipefail option.
749
71b4dea7
JM
7502013-10-12 Joseph Myers <joseph@codesourcery.com>
751
752 * soft-fp/double.h: Indent preprocessor directives inside #if.
753 * soft-fp/extended.h: Likewise.
754 * soft-fp/op-2.h: Likewise.
755 * soft-fp/op-4.h: Likewise.
756 * soft-fp/op-common.h: Likewise.
757 * soft-fp/quad.h: Likewise.
758 * soft-fp/single.h: Likewise.
759 * soft-fp/soft-fp.h: Likewise.
760
55602758
YC
7612013-10-12 Yuri Chornoivan <yurchor@ukr.net>
762
763 * iconv/iconv_prog.c: Fix typos.
764 * stdio-common/psiginfo-data.h: Likewise.
765
9cd83302
RT
7662013-10-12 Reuben Thomas <rrt@sc3d.org>
767
768 [BZ #15764]
769 * locale/setlocale.c: Fix typo.
770
99fd9f47
JM
7712013-10-12 Joseph Myers <joseph@codesourcery.com>
772
b7ea74f0
JM
773 [BZ #16036]
774 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
775 signaling NaN arguments.
776 * soft-fp/unordsf2.c (__unordsf2): Likewise.
777 * soft-fp/unordtf2.c (__unordtf2): Likewise.
778
8a509447
JM
779 [BZ #14910]
780 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
781 unordered operands.
782 * soft-fp/gesf2.c (__gesf2): Likewise.
783 * soft-fp/getf2.c (__getf2): Likewise.
784 * soft-fp/ledf2.c (__ledf2): Likewise.
785 * soft-fp/lesf2.c (__lesf2): Likewise.
786 * soft-fp/letf2.c (__letf2): Likewise.
787
98998e9f
JM
788 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
789 * soft-fp/eqsf2.c (__eqsf2): Likewise.
790 * soft-fp/eqtf2.c (__eqtf2): Likewise.
791 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
792 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
793 * soft-fp/fixdfti.c (__fixdfti): Likewise.
794 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
795 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
796 * soft-fp/fixsfti.c (__fixsfti): Likewise.
797 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
798 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
799 * soft-fp/fixtfti.c (__fixtfti): Likewise.
800 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
801 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
802 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
803 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
804 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
805 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
806 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
807 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
808 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
809 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
810 * soft-fp/floatdisf.c (__floatdisf): Likewise.
811 * soft-fp/floatsisf.c (__floatsisf): Likewise.
812 * soft-fp/floattidf.c (__floattidf): Likewise.
813 * soft-fp/floattisf.c (__floattisf): Likewise.
814 * soft-fp/floattitf.c (__floattitf): Likewise.
815 * soft-fp/floatundidf.c (__floatundidf): Likewise.
816 * soft-fp/floatundisf.c (__floatundisf): Likewise.
817 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
818 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
819 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
820 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
821 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
822 * soft-fp/gesf2.c (__gesf2): Likewise.
823 * soft-fp/getf2.c (__getf2): Likewise.
824 * soft-fp/ledf2.c (__ledf2): Likewise.
825 * soft-fp/lesf2.c (__lesf2): Likewise.
826 * soft-fp/letf2.c (__letf2): Likewise.
827
8edc4a11
JM
828 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
829 Undefine and redefine.
830 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
831 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
832 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
833 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
834 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
835 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
836 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
837 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
838 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
839 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
840 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
841 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
842 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
843 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
844 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
845
8399acaf
JM
846 [BZ #16032]
847 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
848 without decrementing exponent if mantissa >= that for the
849 denominator, not >.
850 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
851 denominator, not >. Decrement exponent in < case instead of
852 incrementing in >= case.
853 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
854 without decrementing exponent if mantissa >= that for the
855 denominator, not >.
856
99fd9f47
JM
857 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
858 computing saturated result for unsigned overflow.
859
10e1cf6b
SP
8602013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
861 Jeff Law <law@redhat.com>
862
863 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
864 (atan2Mp): Add systemtap probe marker.
865 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
866 (__ieee754_log): Add systemtap probe marker.
867 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
868 (atanMp): Add systemtap probe marker.
869 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
870 (tanMp): Add systemtap probe marker.
871 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
872 (__slowexp): Add systemtap probe marker.
873 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
874 (__slowpow): Add systemtap probe marker.
875 * manual/probes.texi: Document probes.
876
3d110c7c
EB
8772013-10-11 Eric Biggers <ebiggers3@gmail.com>
878
879 [BZ #15362]
880 * libio/fileops.c (_IO_new_file_write): Return count of bytes
881 written.
882 (_IO_new_file_xsputn): Don't return EOF if nothing has been
883 written.
884 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
885 written to buffer but not flushed.
886 * libio/iofwrite_u.c: Likewise.
887 * libio/iopadn.c: Return bytes returned even if EOF was
888 encountered.
889 * libio/iowpadn.c: Likewise.
890 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
891 if _IO_padn does not write the whole buffer.
892 [!COMPILE_WPRINTF] (PAD): Likewise.
893
75b4202a
DM
8942013-10-10 David S. Miller <davem@davemloft.net>
895
896 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
897 directory block.
898
6c6352e6
JM
8992013-10-10 Joseph Myers <joseph@codesourcery.com>
900
33b853c3
JM
901 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
902 instead of FSF address.
903 * soft-fp/fixdfti.c: Likewise.
904 * soft-fp/fixsfti.c: Likewise.
905 * soft-fp/fixtfti.c: Likewise.
906 * soft-fp/fixunsdfti.c: Likewise.
907 * soft-fp/fixunssfti.c: Likewise.
908 * soft-fp/fixunstfti.c: Likewise.
909 * soft-fp/floattidf.c: Likewise.
910 * soft-fp/floattisf.c: Likewise.
911 * soft-fp/floattitf.c: Likewise.
912 * soft-fp/floatuntidf.c: Likewise.
913 * soft-fp/floatuntisf.c: Likewise.
914 * soft-fp/floatuntitf.c: Likewise.
915 * soft-fp/trunctfxf2.c: Likewise.
916
6c6352e6
JM
917 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
918 * soft-fp/fixdfti.c: Likewise.
919 * soft-fp/fixsfti.c: Likewise.
920 * soft-fp/fixtfti.c: Likewise.
921 * soft-fp/fixunsdfti.c: Likewise.
922 * soft-fp/fixunssfti.c: Likewise.
923 * soft-fp/fixunstfti.c: Likewise.
924 * soft-fp/floattidf.c: Likewise.
925 * soft-fp/floattisf.c: Likewise.
926 * soft-fp/floattitf.c: Likewise.
927 * soft-fp/floatuntidf.c: Likewise.
928 * soft-fp/floatuntisf.c: Likewise.
929 * soft-fp/floatuntitf.c: Likewise.
930 * soft-fp/trunctfxf2.c: Likewise.
931
3bf78b71
DM
9322013-10-10 David S. Miller <davem@davemloft.net>
933
934 * sysdeps/sparc/fpu/libm-test-ulps: Update.
935
6f10289e
JM
9362013-10-10 Joseph Myers <joseph@codsourcery.com>
937
bd878fc0
JM
938 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
939 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
940 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
941 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
942 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
943 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
944 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
945
6f10289e
JM
946 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
947 for NaNs before doing comparisons on argument.
948 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
949 Likewise.
950
321e2684
WN
9512013-10-10 Will Newton <will.newton@linaro.org>
952
953 * malloc/hooks.c (memalign_check): Ensure the value of bytes
954 passed to _int_memalign does not overflow.
955
40fefba1
TR
9562013-10-10 Torvald Riegel <triegel@redhat.com>
957
958 * scripts/bench.pl: Add include-sources directive.
959 * benchtests/README: Update documentation.
960
2ae21ed2
JM
9612013-10-10 Joseph Myers <joseph@codesourcery.com>
962
dcc2dd3f
JM
963 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
964 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
965 instead of FP_INIT_ROUNDMODE.
966 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
967 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
968
2ae21ed2
JM
969 [BZ #16034]
970 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
971 copy class of input value.
972 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
973 not handle exceptions.
974 * soft-fp/negsf2.c (__negsf2): Likewise.
975 * soft-fp/negtf2.c (__negtf2): Likewise.
976 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
977
cb8f9562
JM
9782013-10-09 Joseph Myers <joseph@codesourcery.com>
979
980 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
981 semicolon. From Linux kernel.
982
5b60c59d
AB
9832013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
984
985 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
986
b86835ca
YC
9872013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
988
989 [BZ #156]
990 * manual/socket.texi: Added statement about buffer
991 for gethostbyname2_r.
992
e7044ea7
OB
9932013-10-08 Ondřej Bílka <neleai@seznam.cz>
994
995 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
996 Use .p2align directive instead, throughout.
997 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
998 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
999 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1000 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1001 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1002 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1003 * sysdeps/x86_64/strchr.S: Likewise.
1004 * sysdeps/x86_64/strrchr.S: Likewise.
1005
09544cbc
SP
10062013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1007
88576635
SP
1008 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1009
e7b2d1dd
SP
1010 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1011
09544cbc
SP
1012 * sysdeps/generic/math_private.h (__mpsin1): Remove
1013 declaration.
1014 (__mpcos1): Likewise.
1015 (__mpsin): New argument __range_reduce.
1016 (__mpcos): Likewise.
1017 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1018 (slow): Use __mpsin and __mpcos.
1019 (slow1): Likewise.
1020 (slow2): Likewise.
1021 (sloww): Likewise.
1022 (sloww1): Likewise.
1023 (sloww2): Likewise.
1024 (bsloww): Likewise.
1025 (bsloww1): Likewise.
1026 (bsloww2): Likewise.
1027 (cslow2): Likewise.
1028 (csloww): Likewise.
1029 (csloww1): Likewise.
1030 (csloww2): Likewise.
1031 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1032 range_reduce. Merge in __mpsin1.
1033 (__mpcos): Likewise.
1034 (__mpsin1): Remove.
1035 (__mpcos1): Likewise.
1036
7602d070
JM
10372013-10-07 Joseph Myers <joseph@codesourcery.com>
1038
1039 * locale/loadlocale.c (_nl_intern_locale_data): Use
1040 LOCFILE_ALIGNED_P.
1041 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1042 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1043 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1044 obstack data is appropriately aligned.
1045 (obstack_int32_grow_fast): Likewise.
1046 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1047 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1048 (add_locale_uint32_array): Likewise.
1049
a357259b
SP
10502013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1051
1052 * benchtests/Makefile: Remove ARGLIST and RET variables.
1053 ($(objpfx)bench-%.c): Pass only function name to the script.
1054 * benchtests/README: Update documentation.
1055 * benchtests/acos-inputs: Add new directives.
1056 * benchtests/acosh-inputs: Likewise.
1057 * benchtests/asin-inputs: Likewise.
1058 * benchtests/asinh-inputs: Likewise.
1059 * benchtests/atan-inputs: Likewise.
1060 * benchtests/atanh-inputs: Likewise.
1061 * benchtests/cos-inputs: Likewise.
1062 * benchtests/cosh-inputs: Likewise.
1063 * benchtests/exp-inputs: Likewise.
1064 * benchtests/log-inputs: Likewise.
1065 * benchtests/pow-inputs: Likewise.
1066 * benchtests/rint-inputs: Likewise.
1067 * benchtests/sin-inputs: Likewise.
1068 * benchtests/sinh-inputs: Likewise.
1069 * benchtests/tan-inputs: Likewise.
1070 * benchtests/tanh-inputs: Likewise.
1071 * scripts/bench.pl: Add support for new directives.
1072
9ec1b13d
AM
10732013-10-07 Alan Modra <amodra@gmail.com>
1074
1075 * README: Fix careless merge.
1076
8b7d57cd
AM
10772013-10-05 Alan Modra <amodra@gmail.com>
1078
1079 * NEWS: Mention powerpc64le support and bugs fixed.
1080 * README: Both big-endian and little-endian powerpc64 supported.
1081
7b7bab13
ST
10822013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1083
1084 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1085 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1086 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1087 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1088
d39baad1
RA
10892013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1090
1091 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1092 match prototype.
1093
cd78f7e7
JM
10942013-10-04 Joseph Myers <joseph@codesourcery.com>
1095
29d73d86
JM
1096 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1097 Move -mhard-float appending from
1098 ports/sysdeps/powerpc/powerpc32/Makefile.
1099 [$(with-fp) = yes] (ASFLAGS): Likewise.
1100 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1101 * sysdeps/powerpc/nofpu: Move directory from
1102 ports/sysdeps/powerpc/nofpu.
1103 * sysdeps/powerpc/soft-fp: Move directory from
1104 ports/sysdeps/powerpc/soft-fp.
1105 * sysdeps/powerpc/powerpc32/405: Move directory from
1106 ports/sysdeps/powerpc/powerpc32/405.
1107 * sysdeps/powerpc/powerpc32/440: Move directory from
1108 ports/sysdeps/powerpc/powerpc32/440.
1109 * sysdeps/powerpc/powerpc32/464: Move directory from
1110 ports/sysdeps/powerpc/powerpc32/464.
1111 * sysdeps/powerpc/powerpc32/476: Move directory from
1112 ports/sysdeps/powerpc/powerpc32/476.
1113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1114 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1116 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1118 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1120 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1122 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1123 * README: Update for powerpc-*-linux-gnu software floating point
1124 support in libc.
1125
e246b347
JM
1126 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1127 case to powerpc/powerpc32*.
1128 * sysdeps/unix/sysv/linux/configure: Regenerated.
1129
89c2003e
JM
1130 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1131 (_FPU_MASK_OM): Define as 0x04.
1132 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1133 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1134 0x00c10080.
1135 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1136 0x0000003c.
1137 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1138
cd78f7e7
JM
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1140 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1141 getcontext_e500.
1142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1143 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1144 setcontext_e500.
1145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1146 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1147 and setcontext_e500.
1148
c755294d
CL
11492013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1150
1151 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1152
e16d221c
SP
11532013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1154
1155 * manual/threads.texi (Default Thread Attributes): Fix typo.
1156
215c7d43
WN
11572013-10-04 Will Newton <will.newton@linaro.org>
1158
1159 * malloc/Makefile: Add tst-memalign.
1160 * malloc/tst-memalign.c: New file.
1161
27d0461b
WN
1162 * malloc/tst-posix_memalign.c: Add comments.
1163 (do_test): Add comments and call free on all potentially
1164 allocated pointers. Add space after cast.
1165
1bc92709
WN
1166 * malloc/tst-pvalloc.c: Add comments.
1167 (do_test): Add comments and call free on all potentially
1168 allocated pointers. Remove duplicate check for NULL pointer.
1169 Add space after cast.
1170
66a9be9d
WN
1171 * malloc/tst-valloc.c: Add comments.
1172 (do_test): Add comments and call free on all potentially
1173 allocated pointers. Remove duplicate check for NULL pointer.
1174 Add space after cast.
1175
4cb81307
AM
11762013-10-04 Alan Modra <amodra@gmail.com>
1177
1178 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1179 Use stdint types in rather than __attribute__((mode())).
1180 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1181
f8e3e9f3
AM
11822013-10-04 Alan Modra <amodra@gmail.com>
1183
1184 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1185 Correct handling of unaligned relocs for little-endian.
1186 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1187
8f9ebb08
AM
11882013-10-04 Alan Modra <amodra@gmail.com>
1189
1190 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1191 * configure: Regenerate.
1192 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1193 * shlib-versions: Likewise.
1194
0edf96c2
AM
11952013-10-04 Alan Modra <amodra@gmail.com>
1196
1197 * string/tester.c (test_memrchr): Increment reported test cycle.
1198
e0f7a380
AM
11992013-10-04 Alan Modra <amodra@gmail.com>
1200
1201 * string/test-memcpy.c (do_one_test): When reporting errors, print
1202 string address and don't overrun end of string.
1203
466b0393
AM
12042013-10-04 Alan Modra <amodra@gmail.com>
1205
1206 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1207 insrdi. Make better use of reg selection to speed exit slightly.
1208 Schedule entry path a little better. Remove useless "are we done"
1209 checks on entry to main loop. Handle wrapping around zero address.
1210 Correct main loop count. Handle single left-over word from main
1211 loop inline rather than by using loop_small. Remove extra word
1212 case in loop_small caused by wrong loop count. Add little-endian
1213 support.
1214 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1216 cache hint.
1217 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1218 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1219 support. Avoid rlwimi.
1220 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1221
3be87c77
AM
12222013-10-04 Alan Modra <amodra@gmail.com>
1223
1224 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1225 insrdi. Formatting.
3be87c77
AM
1226 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1227 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1228 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1229 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1230 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1231 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1232
759cfef3
AM
12332013-10-04 Alan Modra <amodra@gmail.com>
1234
1235 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1236 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1237 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1238 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1239 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1240 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1241 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1242 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1243 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1244 use of regs. Use power7 mtocrf. Tidy function tails.
1245
fe6e95d7
AM
12462013-10-04 Alan Modra <amodra@gmail.com>
1247
1248 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1249 Formatting. Consistently use rXXX register defines or rN defines.
1250 Use early exit labels that avoid restoring unused non-volatile regs.
1251 Make cr field use more consistent with rWORDn compares. Rename
1252 regs used as shift registers for unaligned loop, using rN defines
1253 for short lifetime/multiple use regs.
1254 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1256 addi 1,1,64 to pop stack frame. Simplify return value code.
1257 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1258
664318c3
AM
12592013-10-04 Alan Modra <amodra@gmail.com>
1260
1261 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1262 support. Correct typos, formatting. Optimize tail. Use insrdi
1263 rather than rlwimi.
1264 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1266 little-endian support. Correct typos.
1267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1268 rather than rlwimi.
1269 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1270 in loop and entry code to keep "and." results.
1271 (strchr): Add little-endian support. Comment. Move cntlzd
1272 earlier in tail.
1273 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1274
43b84013
AM
12752013-10-04 Alan Modra <amodra@gmail.com>
1276
1277 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1278 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1280 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1281
8a7413f9
AM
12822013-10-04 Alan Modra <amodra@gmail.com>
1283
1284 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1285 (rTMP): Define as r11.
1286 (strcmp): Add little-endian support. Optimise tail.
1287 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1288 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1289 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1290 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1291 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1293 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1294
33ee81de
AM
12952013-10-04 Alan Modra <amodra@gmail.com>
1296
1297 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1298 little-endian support. Remove unnecessary "are we done" tests.
1299 Handle "s" wrapping around zero and extremely large "size".
1300 Correct main loop count. Handle single left-over word from main
1301 loop inline rather than by using small_loop. Correct comments.
1302 Delete "zero" tail, use "end_max" instead.
1303 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1304
db9b4570
AM
13052013-10-04 Alan Modra <amodra@gmail.com>
1306
1307 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1308 support. Don't branch over align.
1309 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1310 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1311 support. Rearrange tmp reg use to suit. Comment.
1312 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1313
f7c399cf
AM
13142013-10-04 Alan Modra <amodra@gmail.com>
1315
1316 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1317
0b2c2ace
AM
13182013-10-04 Alan Modra <amodra@gmail.com>
1319
1320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1321 conditional form of branch and link when obtaining pc.
1322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1323
02f04a6c
AM
13242013-10-04 Alan Modra <amodra@gmail.com>
1325
1326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1327 HIWORD/LOWORD.
1328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1330
9b874b2f
AM
13312013-10-04 Alan Modra <amodra@gmail.com>
1332
1333 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1334 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1335 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1336 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1337 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1338 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1339 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1340 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1341 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1342 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1343
be1e5d31
AB
13442013-10-04 Anton Blanchard <anton@au1.ibm.com>
1345 Alistair Popple <alistair@ozlabs.au.ibm.com>
1346 Alan Modra <amodra@gmail.com>
1347
1348 [BZ #15723]
1349 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1350 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1351 _dl_hwcap access for little-endian.
1352 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1353 destroy vmx regs when saving unaligned.
1354 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1355 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1356 destroy vmx regs when saving unaligned.
1357
fef13a78
AM
13582013-10-04 Alan Modra <amodra@gmail.com>
1359
1360 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1361 Don't use a union to pack hi/low value.
1362
76a66d51
AB
13632013-10-04 Anton Blanchard <anton@au1.ibm.com>
1364
1365 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1366 for little-endian.
1367 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1368 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1369 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1370 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1371 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1372
6a31fe7f
AM
13732013-10-04 Alan Modra <amodra@gmail.com>
1374
1375 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1376 constants to usual value for .cst8 section, and remove redundant
1377 high address load.
1378 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1379 constant for 0x1p52. Load little-endian words of double from
1380 correct stack offsets.
1381
7b88401f
AM
13822013-10-04 Alan Modra <amodra@gmail.com>
1383
1384 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1385 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1386 words of double from correct stack offsets.
1387 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1388 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1389 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1390 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1393 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1394 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1395 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1396 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1397 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1398 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1399 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1400 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1401 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1403 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1404
9c008155
AM
14052013-10-04 Alan Modra <amodra@gmail.com>
1406
1407 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1408 64-bit int/double union.
1409 (_FPU_SETCW): Likewise.
1410 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1411 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1412
da13146d
AM
14132013-10-04 Alan Modra <amodra@gmail.com>
1414
1415 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1416 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1417
603e8410
AM
14182013-10-04 Alan Modra <amodra@gmail.com>
1419
1420 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1421 use vector int constants.
1422 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1423
4a28b3ca
AB
14242013-10-04 Anton Blanchard <anton@au1.ibm.com>
1425
1426 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1427 array with long long.
1428 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1429 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1430 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1431 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1432 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1433 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1434 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1435 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1436 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1437 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1438 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1439 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1440 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1441
2ca85d2b
AB
14422013-10-04 Anton Blanchard <anton@au1.ibm.com>
1443
1444 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1445 (__signbit): Likewise. Correct for little-endian.
1446 (__signbitl): Call __signbit.
1447 (lrint): Correct for little-endian.
1448 (lrintf): Call lrint.
1449
62a728ae
AM
14502013-10-04 Alan Modra <amodra@gmail.com>
1451
1452 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1453 union 32-bit int array member with 64-bit int array.
1454 (t515, tm256): Double rather than long double.
1455 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1456
32c301df
AM
14572013-10-04 Alan Modra <amodra@gmail.com>
1458
1459 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1460 Delete.
1461 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1462 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1463 version of math_ldbl.h.
1464
650ef4bd
AM
14652013-10-04 Alan Modra <amodra@gmail.com>
1466
1467 [BZ #15734], [BZ #15735]
1468 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1469 all uses of ieee875 long double macros and unions. Simplify test
1470 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1471 ldbl_extract_mantissa value for ix,iy exponents. Properly
1472 normalize after ldbl_extract_mantissa, and don't add hidden bit
1473 already handled. Don't treat low word of ieee854 mantissa like
1474 low word of IBM long double and mask off bit when testing for
1475 zero.
1476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1477 all uses of ieee875 long double macros and unions. Simplify tests
1478 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1479 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1480 two1022, instead use their values. Recognise that tests for large
1481 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1482 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1483 Rewrite all uses of ieee875 long double macros and unions. Simplify
1484 test for 0.0L and nan. Correct negation.
1485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1486 ieee875 long double macros and unions. Correct output for large
1487 magnitude x. Correct absolute value calculation.
1488 (__erfcl): Likewise.
1489 * math/libm-test.inc: Add tests for errors discovered in IBM long
1490 double versions of fmodl, remainderl, erfl and erfcl.
1491
765714ca
AM
14922013-10-04 Alan Modra <amodra@gmail.com>
1493
1494 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1495 all uses of ieee854 long double macros and unions. Simplify tests
1496 for long doubles that are fully specified by the high double.
1497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1498 Likewise.
1499 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1500 Remove dead code too.
1501 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1502 (__ieee754_ynl): Likewise.
1503 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1504 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1505 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1506 Remove dead code too.
1507 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1508 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1509 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1510 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1511 Simplify.
1512 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1513 Simplify.
1514 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1515 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1516 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1517 Comment on variable precision.
1518 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1519 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1520 Likewise.
1521 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1525 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1526
4ebd120c
AM
15272013-10-04 Alan Modra <amodra@gmail.com>
1528
1529 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1530 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1531 all uses of ieee854 long double macros and unions.
1532 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1533 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1536 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1537 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1538 Likewise.
1539 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1545 Simplify sign and nan test too.
1546 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1547 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1548 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1549 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1550 Likewise.
1551 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1553 Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1557 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1559 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1560
1b6adf88
AM
15612013-10-04 Alan Modra <amodra@gmail.com>
1562
1563 * stdio-common/printf_size.c (__printf_size): Don't use
1564 union ieee854_long_double in fpnum union.
1565 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1566 signbit macro to retrieve sign from long double.
1567 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1568 retrieve sign from long double.
1569 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1570 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1571 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1572 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1573 * math/test-misc.c (main): Don't use union ieee854_long_double.
1574
4cf69995
AM
15752013-10-04 Alan Modra <amodra@gmail.com>
1576
1577 [BZ #15680]
1578 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1579 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1580 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1581 calculation. Remove unnecessary test for denormal exponent.
1582 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1583 Correct handling of denormals. Avoid undefined shift behaviour.
1584 Correct normalisation of low mantissa when low double is denormal.
1585 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1586 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1587 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1588 Correct normalisation of low mantissa. Test for overflow of high
1589 mantissa and normalise.
1590 (ldbl_nearbyint): Use more readable constant for two52.
1591 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1592 (__mpn_construct_long_double): Fix test for overflow of high
1593 mantissa and correct normalisation. Avoid undefined shift.
1594
9605ca6c
AM
15952013-10-04 Alan Modra <amodra@gmail.com>
1596
1597 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1598 (union ibm_extended_long_double): Define as an array of ieee754_double.
1599 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1601 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1602 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1603 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1604 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1605 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1606 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1607 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1608 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1609 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1610
975569d0
JM
16112013-10-03 Joseph Myers <joseph@codesourcery.com>
1612
d3d23756
JM
1613 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1614 page size instead of calling getpagesize.
1615
975569d0
JM
1616 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1617 (LOCFILE_ALIGN_MASK): Likewise.
1618 (LOCFILE_ALIGN_UP): Likewise.
1619 (LOCFILE_ALIGNED_P): Likewise.
1620 * locale/programs/ld-collate.c (collate_output): Use the new
1621 macros instead of __alignof__ (int32_t).
1622 * locale/weight.h (findidx): Likewise.
1623
b1fe1f2b
OB
16242013-10-03 Ondřej Bílka <neleai@seznam.cz>
1625
1626 [BZ #431]
1627 * manual/string.texi: Fix strncat and wcsncat.
1628
5f855e35
BM
16292013-10-03 Brooks Moses <bmoses@google.com>
1630
1631 [BZ #15915]
1632 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1633 * Makerules: ...here, and adjust associated comments.
1634
3cef6009
WN
16352013-10-02 Will Newton <will.newton@linaro.org>
1636
1637 * malloc/Makefile: Add tst-pvalloc.
1638 * malloc/tst-pvalloc.c: New file.
1639
7815420b
WN
16402013-10-02 Will Newton <will.newton@linaro.org>
1641
1642 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1643 improve test coverage.
1644
4868b204
WN
16452013-10-02 Will Newton <will.newton@linaro.org>
1646
1647 * malloc/Makefile: Add tst-posix_memalign.
1648 * malloc/tst-posix_memalign.c: New file.
1649
29c793b3
EB
16502013-10-01 Eric Blake <eblake@redhat.com>
1651
1652 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1653 Use __THROWNL rather than __THROW on static functions.
1654
fd967522
PM
16552013-09-30 Petr Machata <pmachata@redhat.com>
1656
1657 * elf/elf.h (R_AARCH64_ABS16): New macro.
1658 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1659 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1660 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1661 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1662 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1663 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1664 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1665 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1666 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1667 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1668 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1669 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1670 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1671 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1672 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1673 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1674 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1675 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1676 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1677 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1678 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1679 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1680 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1681 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1682 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1683 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1684 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1685 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1686 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1687 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1688 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1689 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1690 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1691 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1692 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1693 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1694 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1695 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1696 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1697 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1698 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1699 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1700 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1701 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1702 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1703 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1704 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1705 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1706 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1707 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1708 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1709 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1710 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1711 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1712 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1713 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1714 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1715 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1716 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1717 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1718 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1719 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1720 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1721 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1722 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1723 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1724 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1725 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1726 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1727 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1728 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1729 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1730 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1731 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1732 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1733 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1734 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1735 (R_AARCH64_TLSDESC_LDR): Likewise.
1736 (R_AARCH64_TLSDESC_ADD): Likewise.
1737 (R_AARCH64_TLSDESC_CALL): Likewise.
1738
b2179107
AS
17392013-09-30 Andreas Schwab <schwab@suse.de>
1740
1741 [BZ #15048]
1742 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1743 the nss database lookup.
1744 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1745 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1746
47f28d0a
MF
17472013-09-28 Mike Frysinger <vapier@gentoo.org>
1748
1749 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1750
17512013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1752
1753 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1754 ${Bash-specific parameter/pattern/string} parameter expansion.
1755 * sysdeps/unix/make-syscalls.sh: Likewise.
1756
f4518a17
KK
17572013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1758
1759 * sysdeps/sh/stackguard-macros.h: New file.
1760
dc1a95c7
OB
17612013-09-26 Ondřej Bílka <neleai@seznam.cz>
1762
1763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1764 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1765 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1766 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1767 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1768 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1769
5ebbff8f
AZ
17702013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1771
1772 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1773 Fix thread ID register.
1774
4fd2cf9f
JM
17752013-09-25 Joseph Myers <joseph@codesourcery.com>
1776
1777 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1778 [POSIX || UNIX98]: Require rather than permitting all symbols from
1779 <time.h>.
1780 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1781 element of struct sched_param.
1782 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1783 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1784 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1785 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1786 constant.
1787
12c22bc4
OL
17882013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1789
1790 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1791 argument calculation.
1792
a03d8ea7
JM
17932013-09-24 Joseph Myers <joseph@codesourcery.com>
1794
1795 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1796 Expect macro.
1797 [POSIX] (pthread_attr_t): Do not require type.
1798 [POSIX] (pthread_cond_t): Likewise.
1799 [POSIX] (pthread_condattr_t): Likewise.
1800 [POSIX] (pthread_key_t): Likewise.
1801 [POSIX] (pthread_mutex_t): Likewise.
1802 [POSIX] (pthread_mutexattr_t): Likewise.
1803 [POSIX] (pthread_once_t): Likewise.
1804 [POSIX] (pthread_t): Likewise.
1805 [POSIX-based standards] (pthread_atfork): Expect function.
1806
6055173a
JM
18072013-09-24 Joseph Myers <joseph@codesourcery.com>
1808 Richard Sandiford <richard@codesourcery.com>
1809
1810 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1811 (swap_endianness_p): New extern variable.
1812 (set_big_endian): New inline function.
1813 (maybe_swap_uint32): Likewise.
1814 (maybe_swap_uint32_array): Likewise.
1815 (maybe_swap_uint32_obstack): Likewise.
1816 * locale/programs/locfile.c: Include <stdbool.h>.
1817 (swap_endianness_p): New variable.
1818 (add_locale_uint32): Call maybe_swap_uint32.
1819 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1820 (write_locale_data): Call maybe_swap_uint32_array.
1821 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1822 maybe_swap_uint32.
1823 (obstack_int32_grow_fast): Likewise.
1824 (output_weightwc): Call maybe_swap_uint32_obstack.
1825 (collate_output): Likewise.
1826 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1827 (OPT_LITTLE_ENDIAN): Likewise.
1828 (options): Add --little-endian and --big-endian options.
1829 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1830 * locale/programs/locarchive.c: Include "locfile.h".
1831 (GET): New macro.
1832 (SET): Likewise.
1833 (INC): Likewise.
1834 (create_archive): Use the new macros to access fields of
1835 structures directly mapped from or written to locale archives.
1836 (oldlocrecentcmp): Likewise.
1837 (enlarge_archive): Likewise.
1838 (insert_name): Likewise.
1839 (add_alias): Likewise.
1840 (add_locale): Likewise.
1841 (delete_locales_from_archive): Likewise.
1842 (show_archive_content): Likewise.
1843 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1844 locale data.
1845
39bf0bb4
RM
18462013-09-24 Roland McGrath <roland@hack.frob.com>
1847
1848 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1849 http://www.gnu.org/doc/freemanuals.texi.
1850 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1851
f02eed10
WN
18522013-09-24 Will Newton <will.newton@linaro.org>
1853
1854 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1855 macro.
1856
a3a6c312
JM
18572013-09-23 Joseph Myers <joseph@codesourcery.com>
1858
1859 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1860 unsigned char.
1861
107375ac
MR
18622013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1863
1864 * manual/threads.texi (POSIX Threads): Fix a typo.
1865
141f3a77
SP
18662013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1867
303e567a
SP
1868 [BZ #14547]
1869 * string/tst-strcoll-overflow.c: New test case.
1870 * string/Makefile (xtests): Add tst-strcoll-overflow.
1871 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1872 cache if string sizes may cause integer overflow.
1873
141f3a77
SP
1874 [BZ #14547]
1875 * string/strcoll_l.c (coll_seq): New members rule, idx,
1876 save_idx and back_us.
1877 (get_next_seq_nocache): New function.
1878 (do_compare_nocache): New function.
1879 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1880 when malloc fails.
1881
c61b4d41
CD
18822013-09-23 Carlos O'Donell <carlos@redhat.com>
1883
0b1f8e35
CD
1884 [BZ #15754]
1885 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1886 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1887 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1888
c61b4d41
CD
1889 [BZ #15754]
1890 * elf/Makefile (tests): Add tst-ptrguard1.
1891 (tests-static): Add tst-ptrguard1-static.
1892 (tst-ptrguard1-ARGS): Define.
1893 (tst-ptrguard1-static-ARGS): Define.
1894 * elf/tst-ptrguard1.c: New file.
1895 * elf/tst-ptrguard1-static.c: New file.
1896 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1897 * sysdeps/i386/stackguard-macros.h: Likewise.
1898 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1899 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1900 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1901 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1902 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1903 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1904
19052013-09-23 Hector Marco <hecmargi@upv.es>
1906 Ismael Ripoll <iripoll@disca.upv.es>
1907 Carlos O'Donell <carlos@redhat.com>
1908
1909 [BZ #15754]
1910 * sysdeps/generic/stackguard-macros.h: Define
1911 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1912 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1913 Define __pointer_chk_guard_local.
1914 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1915 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1916
f5f4e7b4
VV
19172013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1918
1919 [BZ #15859]
1920 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1921
5bb43a43
AS
19222013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1923
1924 * include/string.h (__ffs): Declare as hidden.
1925 * string/ffs.c (__ffs): Define as hidden.
1926 * sysdeps/i386/ffs.c (__ffs): Likewise.
1927 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1928 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1929 * sysdeps/s390/ffs.c (__ffs): Likewise.
1930 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1931
3ea5be54
AO
19322013-09-20 Alexandre Oliva <aoliva@redhat.com>
1933
ffb89e53
AO
1934 * NEWS: Mention malloc probes.
1935
322dea08
AO
1936 * malloc/arena.c (new_heap): New memory_heap_new probe.
1937 (grow_heap): New memory_heap_more probe.
1938 (shrink_heap): New memory_heap_less probe.
1939 (heap_trim): New memory_heap_free probe.
1940 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1941 (systrim): New memory_sbrk_less probe.
1942 * manual/probes.texi: Document them.
1943
655673f3
AO
1944 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1945 * manual/probes.texi: Document it.
1946
35fed6f1
AO
1947 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1948 (__libc_realloc): Add memory_realloc_retry probe.
1949 (__libc_memalign): Add memory_memalign_retry probe.
1950 (__libc_valloc): Add memory_valloc_retry probe.
1951 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1952 (__libc_calloc): Add memory_calloc_retry probe.
1953 * manual/probes.texi: Document them.
1954
6999d38c
AO
1955 * malloc/arena.c (get_free_list): Add probe
1956 memory_arena_reuse_free_list.
1957 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1958 and memory_arena_reuse.
1959 (arena_get2) [!PER_THREAD]: Likewise.
1960 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1961 memory_arena_reuse_realloc.
1962 * manual/probes.texi: Document them.
1963
0653427f
AO
1964 * malloc/malloc.c (__libc_free): Add
1965 memory_mallopt_free_dyn_thresholds probe.
1966 (__libc_mallopt): Add multiple memory_mallopt probes.
1967 * manual/probes.texi: Document them.
1968
3ea5be54
AO
1969 * malloc/malloc.c: Include stap-probe.h.
1970 (__libc_mallopt): Add memory_mallopt probe.
1971 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1972 * manual/probes.texi: New.
1973 * manual/Makefile (chapters): Add probes.
1974 * manual/threads.texi: Set next node.
1975
e35696c3 19762013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1977
e35696c3
CL
1978 [BZ #15963, #13985]
1979 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1980 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1981 Add `Chinese' to `nan' entry name.
1982
4aafb73c
SP
19832013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1984
1985 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1986 (POLYNOMIAL): Likewise.
1987 (TAYLOR_SINCOS): Likewise.
1988 (TAYLOR_SLOW): Likewise.
1989 (__sin): Use TAYLOR_SINCOS.
1990 (__cos): Likewise.
1991 (slow): Use TAYLOR_SLOW.
1992 (sloww): Likewise.
1993 (bsloww): Likewise.
1994 (csloww): Likewise.
1995
d84f25c7
LD
19962013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1997
1998 * stdlib/strtod_l.c: Fix buffer overrun.
1999
5eea0404
SP
20002013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2001
7849ff93
SP
2002 * benchtests/Makefile (bench): Add sincos.
2003 * benchtests/bench-sincos.c: New file.
2004
cfa3c886
SP
2005 * math/libm-test.inc (cos_test_data): New test inputs.
2006 (sin_test_data): Likewise.
2007
b348e1e3
SP
2008 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2009 macro.
2010 (__sin): Use it.
2011 (__cos): Likewise.
2012 (slow1): Likewise.
2013 (slow2): Likewise.
2014 (sloww1): Likewise.
2015 (sloww2): Likewise.
2016 (bsloww1): Likewise.
2017 (bsloww2): Likewise.
2018 (cslow2): Likewise.
2019 (csloww1): Likewise.
2020 (csloww2): Likewise.
2021
6cce25f8
SP
2022 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2023 function.
2024 (__sin): Use it.
2025 (__cos): Likewise.
2026
5eea0404
SP
2027 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2028 gotos.
2029 (__cos): Likewise.
2030
9c21573c
MR
20312013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2032
2033 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2034 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2035 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2036 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2037 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2038 * elf/cache.c (print_entry): Handle the new cache flags.
2039
24d22e65
JM
20402013-09-18 Joseph Myers <joseph@codesourcery.com>
2041 Aldy Hernandez <aldyh@redhat.com>
2042
2043 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2044 Change condition to [_SOFT_FLOAT].
2045 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2046 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2047 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2048 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2049 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2050 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2051 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2052 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2053 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2054 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2055 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2056 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2057 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2058 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2059 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2060 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2061 declaration.
2062
d13ef066
JM
20632013-09-18 Joseph Myers <joseph@codesourcery.com>
2064
2e071de0
JM
2065 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2066 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2067 (__longjmp): Use LOAD_GP to load saved GPRs.
2068 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2069 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2070 (__sigsetjmp): Use SAVE_GP to save GPRs.
2071
d13ef066
JM
2072 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2073 Do not append -msoft-float.
2074 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2075
97a0650b
SP
20762013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2077
2078 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2079
11ca09e9
JM
20802013-09-17 Joseph Myers <joseph@codesourcery.com>
2081
2082 [BZ #15966]
2083 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2084 (_FPU_GETCW): Use initial "__" on variable and field names but not
2085 on macro parameter name.
2086 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2087 parentheses around reference to macro parameter.
2088
08ffcf34
RS
20892013-09-13 Richard Sandiford <richard@codesourcery.com>
2090
2091 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2092 prototype.
2093 (ctype_startup): Use uint32_t in cast and sizeof for
2094 ctype->charnames.
2095
ae7080d3
JL
20962013-09-11 Jia Liu <proljc@gmail.com>
2097
2098 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2099 __daddr_t_defined.
2100 [__FreeBSD__]: Likewise.
2101
5905e7b3
OB
21022013-09-11 Ondřej Bílka <neleai@seznam.cz>
2103
2104 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2105 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2106 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2107 (strchr): Remove __strchr_sse42 ifunc selection.
2108 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2109 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2110
b987c776
WN
21112013-09-11 Will Newton <will.newton@linaro.org>
2112
2113 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2114 parameter to RES. Remove hardcoded 1000 value.
2115 * benchtests/bench-skeleton.c (main): Pass RES parameter
2116 to TIMING_INIT and multiply result by 1000.
2117
ddf985af
AZ
21182013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2119
2120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2121
ffdd3181
AS
21222013-09-11 Andreas Schwab <schwab@suse.de>
2123
2124 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2125 if not defined.
2126 (O_TMPFILE) [__USE_GNU]: Define.
2127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2128 Define.
2129
b73ed247
WN
21302013-09-11 Will Newton <will.newton@linaro.org>
2131
2132 [BZ #15857]
2133 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2134 does not overflow.
2135
55e17aad
WN
21362013-09-11 Will Newton <will.newton@linaro.org>
2137
2138 [BZ #15856]
2139 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2140 does not overflow.
2141
1159a193
WN
21422013-09-11 Will Newton <will.newton@linaro.org>
2143
2144 [BZ #15855]
2145 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2146 does not overflow.
2147
5905e7b3 21482013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2149
2150 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2151 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2152 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2153 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2154 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2155
cdfc721b
AM
21562013-09-10 Allan McRae <allan@archlinux.org>
2157
aa04af00
AM
2158 [BZ #15748]
2159 * manual/arith.texi (Parsing of Floats): Clarify
2160 cross-reference.
2161
cdfc721b
AM
2162 [BZ #15849]
2163 * manual/install.texi (Running make install): Mention
2164 --enable-pt-chown.
2165 * INSTALL: Regenerated.
2166
95e7cf29
MR
21672013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2168
2169 * csu/init-first.c (_init): Remove the !SHARED condition around
2170 FPU control word initialization.
2171 * elf/dl-support.c (_dl_fpu_control): New variable.
2172 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2173 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2174 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2175 * math/test-fpucw-static.c: New file.
2176 * math/test-fpucw-ieee.c: New file.
2177 * math/test-fpucw-ieee-static.c: New file.
2178 * math/Makefile (tests): Add `test-fpucw-ieee' and
2179 `$(tests-static)'.
2180 (tests-static): New variable.
2181 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2182 dependency to...
2183 [($(build-shared),yes)]
2184 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2185 ... this.
2186 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2187 New dependency.
2188
83e43bf0
AM
21892013-09-09 Allan McRae <allan@archlinux.org>
2190
a9f5ce09
AM
2191 [BZ #15939]
2192 * manual/string.texi (Collation Functions): Fix typo in
2193 strcoll example.
2194 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2195
34829bc2
AM
2196 [BZ #15893]
2197 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2198
3932737d
AM
2199 [BZ #15892]
2200 * libio/memstream.c (open_memstream): Fix memory leak.
2201 * libio/wmemstream.c (open_wmemstream): Likewise.
2202
83e43bf0
AM
2203 [BZ #15895]
2204 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2205
0c66b8e9
WN
22062013-09-09 Will Newton <will.newton@linaro.org>
2207
2208 * malloc/Makefile: Add tst-realloc to tests.
2209 * malloc/tst-realloc.c: New file.
2210
f6b00fd1
AM
22112013-09-09 Allan McRae <allan@archlinux.org>
2212
2213 [BZ #15844]
2214 * COPYING: Update from GNU website to fix FSF address.
2215 * COPYING.LIB: Likewise.
2216
eec55e16
DM
22172013-09-06 David S. Miller <davem@davemloft.net>
2218
2219 * po/zh_TW.po: Update Chinese (traditional) translation from
2220 translation project.
2221
1ecbb381
RS
22222013-09-06 Richard Sandiford <richard@codesourcery.com>
2223 Joseph Myers <joseph@codesourcery.com>
2224
2225 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2226 "localeinfo.h".
2227 (obstack_chunk_alloc): New macro.
2228 (obstack_chunk_free): Likewise.
2229 (record_offset): New function.
2230 (init_locale_data): Likewise.
2231 (align_locale_data): Likewise.
2232 (add_locale_empty): Likewise.
2233 (add_locale_raw_data): Likewise.
2234 (add_locale_raw_obstack): Likewise.
2235 (add_locale_string): Likewise.
2236 (add_locale_wstring): Likewise.
2237 (add_locale_uint32): Likewise.
2238 (add_locale_uint32_array): Likewise.
2239 (add_locale_char): Likewise.
2240 (start_locale_structure): Likewise.
2241 (end_locale_structure): Likewise.
2242 (start_locale_prelude): Likewise.
2243 (end_locale_prelude): Likewise.
2244 (write_locale_data): Take locale_file structure rather than an
2245 iovec.
2246 * locale/programs/locfile.h: Include "obstack.h".
2247 (struct locale_file): Change to store locale file contents instead
2248 of header.
2249 (init_locale_data): New prototype.
2250 (align_locale_data): Likewise.
2251 (add_locale_empty): Likewise.
2252 (add_locale_raw_data): Likewise.
2253 (add_locale_raw_obstack): Likewise.
2254 (add_locale_string): Likewise.
2255 (add_locale_wstring): Likewise.
2256 (add_locale_uint32): Likewise.
2257 (add_locale_uint32_array): Likewise.
2258 (add_locale_char): Likewise.
2259 (start_locale_structure): Likewise.
2260 (end_locale_structure): Likewise.
2261 (start_locale_prelude): Likewise.
2262 (end_locale_prelude): Likewise.
2263 (write_locale_data): Update prototype.
2264 * locale/programs/3level.h (struct TABLE): Remove result field.
2265 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2266 Use new locale_file interface.
2267 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2268 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2269 * locale/programs/ld-address.c (address_output): Use new
2270 locale_file interface.
2271 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2272 NO_ADD_LOCALE.
2273 (collate_finish): Don't call collseq_table_finalize.
2274 (collate_output): Use new locale_file interface.
2275 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2276 in file.
2277 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2278 (TABLE): Move defines earlier in file.
2279 (ELEMENT): Likewise.
2280 (DEFAULT): Likewise.
2281 (wctrans_table_add): Move macro and inline function earlier in
2282 file.
2283 (struct wctype_table): Move type earlier in file.
2284 (add_locale_wctype_table): New static prototype.
2285 (struct locale_ctype_t): Use logical types instead of struct iovec
2286 pointers for members.
2287 (ctype_output): Use new locale_file interface.
2288 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2289 new locale_file interface.
2290 (allocate_arrays): Update for use of new locale_file interface.
2291 * locale/programs/ld-identification.c (identification_output): Use
2292 new locale_file interface.
2293 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2294 * locale/programs/ld-messages.c (messages_output): Likewise.
2295 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2296 * locale/programs/ld-name.c (name_output): Likewise.
2297 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2298 * locale/programs/ld-paper.c (paper_output): Likewise.
2299 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2300 * locale/programs/ld-time.c (time_output): Likewise.
2301
e029e2e5
AZ
23022013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2303
2304 * benchtests/Makefile: Add memrchr benchmark.
2305 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2306 benchmark as memrchr.
2307 * benchtests/bench-memrchr-ifunc.c: New file.
2308 * benchtests/bench-memrchr.c: New file.
2309
bbf6e8e4
WN
23102013-09-06 Will Newton <will.newton@linaro.org>
2311
2312 * benchtests/Makefile (string-bench): Add memcpy.
2313
6c82a2f8
CD
23142013-09-05 Carlos O'Donell <carlos@redhat.com>
2315 Cong Wang <amwang@redhat.com>
2316
2317 * sysdeps/unix/sysv/linux/bits/in.h
2318 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2319 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2320 before __USE_KERNEL_IPV6_DEFS uses.
2321 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2322 IPPROTO_BEETPH.
2323 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2324 sockaddr_in6, or ipv6_mreq.
2325
5430fc65
AZ
23262013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2327
2328 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2329 memory access for final bytes in some large inputs.
2330 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2331
4660856c
AZ
23322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2333
2334 * string/test-memrchr.c: New file.
2335 * string/test-memrchr-ifunc.c: New file.
2336 * string/Makefile: Add new memrchr testcase.
2337
bb8ea713
MF
23382013-09-05 Mike Frysinger <vapier@gentoo.org>
2339
2340 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2341 fanotify_init returns EPERM.
2342
b92a20b5
JM
23432013-09-04 Joseph Myers <joseph@codesourcery.com>
2344
2345 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2346 errors.
2347 (top level): Treat second token from macro or constant entries for
2348 allowed headers as allowed.
2349 * include/complex.h: Condition internal declarations on
2350 [!_ISOMAC].
2351 * include/fenv.h: Condition include of <stdbool.h> and internal
2352 declarations on [!_ISOMAC].
7447ccd9
CL
2353
23542013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2355
3e181dda 2356 [BZ #15923]
7447ccd9
CL
2357 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2358
3f2e46a4
JM
23592013-09-04 Joseph Myers <joseph@codesourcery.com>
2360
2361 * configure.in (--enable-versioning): Remove configure option.
2362 (libc_cv_asm_symver_directive): Remove configure test.
2363 (libc_cv_ld_version_script_option): Likewise.
2364 (VERSIONING): Remove variable and AC_SUBST.
2365 (DO_VERSIONING): Remove AC_DEFINE.
2366 * configure: Regenerated.
2367 * config.h.in (DO_VERSIONING): Remove macro.
2368 * Makerules [$(versioning) = yes]: Change conditionals to
2369 [$(build-shared) = yes].
2370 * config.make.in (versioning): Remove variable.
2371 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2372 [$(build-shared) = yes].
2373 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2374 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2375 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2376 [$(build-shared) = yes].
2377 * extra-lib.mk [$(versioning) = yes]: Likewise.
2378 * hurd/Makefile [$(versioning) = yes]: Likewise.
2379 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2380 [SHARED].
2381 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2382 [SHARED].
2383 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2384 [SHARED && !NO_HIDDEN].
2385 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2386 [SHARED].
2387 [SHARED && DO_VERSIONING]: Likewise..
2388 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2389 [$(build-shared) = yes].
2390 * manual/install.texi (--disable-versioning): Remove
2391 documentation.
2392 * INSTALL: Regenerated.
2393 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2394 to [SHARED].
2395 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2396 [$(build-shared) = yes].
2397 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2398 * sysdeps/i386/i686/multiarch/strstr-c.c
2399 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2400 [SHARED && !NO_HIDDEN].
2401 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2402 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2403 * sysdeps/powerpc/powerpc32/dl-machine.c
2404 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2405 * sysdeps/powerpc/powerpc32/sysdep.h
2406 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2407 to [SHARED && PIC && !NO_HIDDEN].
2408 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2409 conditional to [SHARED].
2410
44558701
WN
24112013-09-04 Will Newton <will.newton@linaro.org>
2412
2413 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2414 * benchtests/bench-string.h: Include bench-timing.h instead
2415 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2416 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2417 call to HP_TIMING_DIFF_INIT.
2418 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2419 instead of hp-timing.h macros.
2420 * benchtests/bench-memchr.c: Likewise.
2421 * benchtests/bench-memcmp.c: Likewise.
2422 * benchtests/bench-memcpy.c: Likewise.
2423 * benchtests/bench-memmem.c: Likewise.
2424 * benchtests/bench-memmove.c: Likewise.
2425 * benchtests/bench-memset.c: Likewise.
2426 * benchtests/bench-rawmemchr.c: Likewise.
2427 * benchtests/bench-strcasecmp.c: Likewise.
2428 * benchtests/bench-strcasestr.c: Likewise.
2429 * benchtests/bench-strcat.c: Likewise.
2430 * benchtests/bench-strchr.c: Likewise.
2431 * benchtests/bench-strcmp.c: Likewise.
2432 * benchtests/bench-strcpy.c: Likewise.
2433 * benchtests/bench-strcpy_chk.c: Likewise.
2434 * benchtests/bench-strlen.c: Likewise.
2435 * benchtests/bench-strncasecmp.c: Likewise.
2436 * benchtests/bench-strncat.c: Likewise.
2437 * benchtests/bench-strncmp.c: Likewise.
2438 * benchtests/bench-strncpy.c: Likewise.
2439 * benchtests/bench-strnlen.c: Likewise.
2440 * benchtests/bench-strpbrk.c: Likewise.
2441 * benchtests/bench-strrchr.c: Likewise.
2442 * benchtests/bench-strspn.c: Likewise.
2443 * benchtests/bench-strstr.c: Likewise.
2444
cae16d66
WN
24452013-09-04 Will Newton <will.newton@linaro.org>
2446
2447 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2448
ffa3cd7f
JM
24492013-09-03 Joseph Myers <joseph@codesourcery.com>
2450
2451 [BZ #15427]
2452 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2453 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2454 * math/libm-test.inc (lgamma_test_data): Add more tests.
2455 * sysdeps/i386/fpu/libm-test-ulps: Update.
2456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2457
8f02859f
OB
24582013-09-03 Ondřej Bílka <neleai@seznam.cz>
2459
2460 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2461 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2462 Add ifunc.
2463 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2464 Add strcmp-sse2-unaligned
2465 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2466
18d43716
MF
24672013-09-02 Mike Frysinger <vapier@gentoo.org>
2468
2469 * Versions.def (libc): Add GLIBC_2.19.
2470
ac444012
MF
24712013-09-02 Mike Frysinger <vapier@gentoo.org>
2472
2473 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2474 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2475
b7835e32
JM
24762013-09-02 Joseph Myers <joseph@codesourcery.com>
2477
2478 [BZ #14155]
2479 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2480 intermediate calculations in recurrence.
2481 (__ieee754_ynf): Likewise.
2482 * math/libm-test.inc (jn_test_data): Do not allow spurious
2483 underflow exception. Add more tests.
2484 (yn_test_data): Add more tests.
2485 * sysdeps/i386/fpu/libm-test-ulps: Update.
2486 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2487
8220f4f0
OB
24882013-09-02 Ondřej Bílka <neleai@seznam.cz>
2489
2490 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2491
f24a6d08
OB
24922013-08-30 Ondřej Bílka <neleai@seznam.cz>
2493
2494 * csu/init-first.c: Fix then/than typos.
2495 * locale/programs/ld-collate.c: Likewise.
2496 * locale/programs/linereader.h: Likewise.
2497 * manual/charset.texi: Likewise.
2498 * manual/filesys.texi: Likewise.
2499 * manual/stdio.texi: Likewise.
2500 * manual/string.texi: Likewise.
2501 * stdlib/fmtmsg.c: Likewise.
2502 * sysdeps/i386/stpncpy.S: Likewise.
2503 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2504 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2505 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2506 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2507
382466e0
OB
25082013-08-30 Ondřej Bílka <neleai@seznam.cz>
2509
2510 * elf/dl-open.c: Fix typos.
2511 * iconvdata/gbbig5.c: Likewise.
2512 * iconvdata/iso-2022-jp.c: Likewise.
2513 * iconv/gconv_int.h: Likewise.
2514 * iconv/loop.c: Likewise.
2515 * nis/rpcsvc/nis.h: Likewise.
2516 * resolv/ns_name.c: Likewise.
2517 * stdio-common/vfscanf.c: Likewise.
2518 * streams/stropts.h: Likewise.
2519 * sunrpc/rpc_thread.c: Likewise.
2520 * sysdeps/i386/strpbrk.S: Likewise.
2521 * sysdeps/ieee754/k_standard.c: Likewise.
2522 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2523 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2524 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2525 * sysdeps/mach/hurd/profil.c: Likewise.
2526 * sysdeps/s390/dl-procinfo.h: Likewise.
2527 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2528 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2529 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2530 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2531 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2532
0186c6e9
OB
25332013-08-30 Ondřej Bílka <neleai@seznam.cz>
2534
2535 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2536 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2537
d4e16af1
OB
25382013-08-29 Ondřej Bílka <neleai@seznam.cz>
2539
2540 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2541 aix specific files.
2542 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2543 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2545 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2546 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2547 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2548 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2549 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2550
88335980
TS
25512013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2552 Roland McGrath <roland@hack.frob.com>
2553
2554 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2555 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2556
ed479b02
ST
25572013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2558
2559 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2560 __executable_start symbol instead of _start.
2561
f1cc4c86
TS
25622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2563
d821f07c
TS
2564 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2565 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2566 Move macros to...
2567 * sysdeps/gnu/ldsodefs.h: ... this new file.
2568
c54290cf
TS
2569 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2570 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2571 instead of ELFOSABI_LINUX.
2572
0007fc9b 2573 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2574 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2575 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2576 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2577 Likewise.
2578 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2579 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2580 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2581 Likewise.
2582 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2583 (ibm_extended_long_double): Add ieee_nan member.
2584 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2585 (do_test): New function.
2586
f1cc4c86
TS
2587 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2588 TEST_TRUNC.
2589 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2590 functions, renamed from truncdfsf_test, trunctfsf_test,
2591 trunctfdf_test.
2592 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2593 functions.
2594 (do_test): Run all these.
2595
6f65e668
OB
25962013-08-29 Ondřej Bílka <neleai@seznam.cz>
2597
2598 * argp/argp-help.c: Fix typos.
2599 * argp/argp-parse.c: Likewise.
2600 * debug/backtracesyms.c: Likewise.
2601 * elf/elf.h: Likewise.
2602 * malloc/malloc.c: Likewise.
2603 * nis/nis_print.c: Likewise.
2604 * resolv/res_comp.c: Likewise.
2605 * stdlib/stdlib.h: Likewise.
2606 * sunrpc/clnt_tcp.c: Likewise.
2607 * sunrpc/clnt_udp.c: Likewise.
2608 * sunrpc/clnt_unix.c: Likewise.
2609 * sysdeps/unix/bsd/ptsname.c: Likewise.
2610 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2611 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2613 Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2615 Likewise.
2616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2617 Likewise.
6f65e668
OB
2618 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2619
3a309239
SP
26202013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2621
2622 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2623 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2624
3b813b29
MF
26252013-08-27 Mike Frysinger <vapier@gentoo.org>
2626
2627 [BZ #15897]
2628 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2629 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2630 ($(objpfx)bug-dl-leaf): New rule.
2631 ($(objpfx)bug-dl-leaf.so): Likewise.
2632 ($(objpfx)bug-dl-leaf.out): Likewise.
2633 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2634 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2635 * dlfcn/bug-dl-leaf.c: New test.
2636 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2637 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2638 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2639 (dlclose): Likewise.
2640 (dlmopen): Likewise.
2641
8cc3269f
RM
26422013-08-27 Roland McGrath <roland@hack.frob.com>
2643
7f9d0034
RM
2644 * include/netdb.h [!_ISOMAC]:
2645 Don't include <tls.h>.
2646 (h_errno, __libc_h_errno): Move declaration and macros out of
2647 [_LIBC_REENTRANT].
2648
fb431262
RM
2649 * include/resolv.h [_RESOLV_H_]:
2650 Don't include <tls.h>.
2651 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2652 * resolv/res_libc.c: Don't include <tls.h>.
2653 (_res): Use __attribute__ ((nocommon)) in place of
2654 __attribute__ ((section (".bss"))).
2655
bd81123a
RM
2656 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2657 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2658
c4e42566
RM
2659 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2660
f890a59b
RM
2661 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2662 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2663
2664 * resolv/res_mkquery.c: Include <sys/time.h>.
2665
5d1f0a09
RM
2666 * inet/ifreq.c: Moved to ...
2667 * sysdeps/unix/ifreq.c: ... here.
2668 * inet/ifreq.c: New file, true stub version.
2669
6fcf28b3
RM
2670 * socket/sa_len.c: New file.
2671 * socket/Makefile (aux): Add it.
2672 * sysdeps/unix/sysv/linux/Makefile
2673 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2674 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2675 and #include <socket/sa_len.c>.
2676 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2677 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2678
e041fb8b
RM
2679 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2680 * bits/socket.h: ... here.
2681
8cc3269f
RM
2682 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2683 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2684 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2685
5d228a43
AS
26862013-08-27 Andreas Schwab <schwab@suse.de>
2687
45b8accc
AS
2688 [BZ #15736]
2689 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2690 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2691 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2692 * string/test-strcasecmp.c (test_main): Run tests in several
2693 locales.
2694 * string/test-strncasecmp.c (test_main): Likewise.
2695
5d228a43
AS
2696 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2697 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2698 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2700 (__strncasecmp_ssse3) [PIC]: Likewise.
2701
59d112a4
RM
27022013-08-26 Roland McGrath <roland@hack.frob.com>
2703
53234cc3
RM
2704 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2705
59d112a4
RM
2706 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2707 instead of explicitly declaring xdecrypt.
2708 * nis/nss_nis/nis-publickey.c: Likewise.
2709
595aba70
SP
27102013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2711
2712 [BZ #15890]
2713 * nscd/aicache.c: Include res_hconf.h.
2714 (addhstaiX): Initialize res_hconf.
2715
ffabd393
AS
27162013-08-26 Andreas Schwab <schwab@suse.de>
2717
2718 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2719 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2720
e0a69f5c
SP
27212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2722
2723 * nscd/aicache.c (addhstaiX): Fix indentation.
2724
8c12f01d
MF
27252013-08-25 Mike Frysinger <vapier@gentoo.org>
2726
2727 * configure.ac: Quote $build_pt_chown test.
2728 * configure: Regenerated.
2729
8fe89494
JM
27302013-08-23 Joseph Myers <joseph@codesourcery.com>
2731
2732 [BZ #15532]
2733 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2734 * math/s_cexpf.c (__cexpf): Likewise.
2735 * math/s_cexpl.c (__cexpl): Likewise.
2736 * math/libm-test.inc (cexp_test_data): Correct expected return
2737 value for NaN + i0. Add another test.
2738
75b181d6
DM
27392013-08-22 David S. Miller <davem@davemloft.net>
2740
2741 * po/ca.po: Update Catalan translation from translation project.
936241e4 2742 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2743
acd06bb1
JM
27442013-08-21 Joseph Myers <joseph@codesourcery.com>
2745
2746 [BZ #15797]
2747 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2748 is infinite, not alongside NaN test.
2749 * math/s_fdimf.c (__fdimf): Likewise.
2750 * math/s_fdiml.c (__fdiml): Likewise.
2751 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2752 errno is unchanged.
2753
c0c3f78a
OB
27542013-08-21 Ondřej Bílka <neleai@seznam.cz>
2755
2756 * argp/argp-help.c: Fix typos.
2757 * crypt/speeds.c: Likewise.
2758 * csu/check_fds.c: Likewise.
2759 * elf/dl-load.c: Likewise.
2760 * elf/dl-open.c: Likewise.
2761 * elf/reldep3.c: Likewise.
2762 * elf/reldep.c: Likewise.
2763 * elf/sprof.c: Likewise.
2764 * iconv/iconv_charmap.c: Likewise.
2765 * iconv/skeleton.c: Likewise.
2766 * iconv/strtab.c: Likewise.
2767 * io/lockf64.c: Likewise.
2768 * libio/libioP.h: Likewise.
2769 * resolv/gai_notify.c: Likewise.
2770 * resolv/ns_name.c: Likewise.
2771 * resolv/ns_samedomain.c: Likewise.
2772 * resolv/res_send.c: Likewise.
2773 * stdlib/random.c: Likewise.
2774 * sunrpc/rpc/xdr.h: Likewise.
2775 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2776 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2777 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2778 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2779 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2780 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2781 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2782 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2783 * sysdeps/mach/hurd/check_fds.c: Likewise.
2784 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2785 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2786 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2787 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2788 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2789 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2790 * sysdeps/pthread/aio_notify.c: Likewise.
2791 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2792 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2793 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2794 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2795 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2796
46ed1038
LD
27972013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2798
2799 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2800 version if bit_Slow_SSE4_2 is set.
2801 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2802 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2803
d400dcac
AZ
28042013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2805
2806 [BZ #15867]
2807 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2808 trampoline stack frame information.
2809 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2810 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2811 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2812 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2813 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2814 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2815 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2816 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2817 sa_flags value.
2818 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2819 interrupting a syscall and set with option SA_SIGINFO.
2820
42c8fdd8
JM
28212013-08-20 Joseph Myers <joseph@codesourcery.com>
2822
c980f2f4
JM
2823 [BZ #15531]
2824 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2825 argument is infinite.
2826 * math/s_cprojf.c (__cprojf): Likewise.
2827 * math/s_cprojl.c (__cprojl): Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2829 * math/libm-test.inc (cproj_test_data): Add more tests.
2830
0716c4fc
JM
2831 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2832
42c8fdd8
JM
2833 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2834 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2835 size. Use __ffs to determine corresponding shift.
2836
b31469d0
JM
28372013-08-20 Joseph Myers <joseph@codesourcery.com>
2838 Roland McGrath <roland@hack.frob.com>
2839
2840 * Makefile (INSTALL): Remove trailing blank lines from output of
2841 makeinfo.
2842
4e39af6e
AK
28432013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2844
2845 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2846 Align 32 bit compat elf_greg to 8 bytes.
2847
f315524e
AA
28482013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2849
2850 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2851
1326ba1a
SP
28522013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2853
2854 * string/strcoll_l.c (coll_seq): New structure.
2855 (get_next_seq_cached): New function.
2856 (get_next_seq): New function.
2857 (do_compare): New function.
2858 (STRCOLL): Use GNU style definition. Simplify implementation
2859 by using get_next_seq, get_next_seq_cached and do_compare.
2860
91ce4085
FW
28612013-08-16 Florian Weimer <fweimer@redhat.com>
2862
2863 [BZ #14699]
2864 CVE-2013-4237
2865 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2866 member.
2867 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2868 member.
2869 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2870 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2871 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2872 conditional.
2873 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2874 GETDENTS_64BIT_ALIGNED.
2875 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2876 * manual/filesys.texi (Reading/Closing Directory): Document
2877 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2878 strongly.
2879 * manual/conf.texi (Limits for Files): Add portability note to
2880 NAME_MAX, PATH_MAX.
2881 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2882
ca0a6bc4
AS
28832013-08-13 Andreas Schwab <schwab@suse.de>
2884
2885 [BZ #15749]
2886 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2887 of fabs.
2888 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2889 LDBL_MAX_EXP >= 16384]: Add tests for it.
2890
6c1fd795
DM
28912013-08-12 David S. Miller <davem@davemloft.net>
2892
2893 * version.h (RELEASE): Set to "development".
2894 (VERSION): Set to "2.18.90".
2895 * NEWS: Add 2.19 section.
2896
31ad488d
DM
28972013-08-03 David S. Miller <davem@davemloft.net>
2898
2899 * po/ko.po: Update Korean translation from translation project.
2900
db24e684
DM
29012013-08-01 David S. Miller <davem@davemloft.net>
2902
2903 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2904 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2905 Bilka.
2906
f723285b
DM
29072013-07-30 David S. Miller <davem@davemloft.net>
2908
2909 * po/fr.po: Update French translation from translation project.
2910
3cbc52db
DM
29112013-07-28 David S. Miller <davem@davemloft.net>
2912
30bbc0cc
DM
2913 * po/cs.po: Update Czech translation from translation project.
2914
3cbc52db
DM
2915 * po/sv.po: Update Swedish translation from translation project.
2916
d492e6d0
DM
29172013-07-27 David S. Miller <davem@davemloft.net>
2918
f1a7f492
DM
2919 * po/eo.po: Update Esperanto translation from translation project.
2920
90e62a4a
DM
2921 * po/vi.po: Update Vietnamese translation from translation project.
2922
d492e6d0
DM
2923 * po/de.po: Update German translation from translation project.
2924
d4baa62d
DM
29252013-07-26 David S. Miller <davem@davemloft.net>
2926
641aa7b4
DM
2927 * po/bg.po: Update Bulgarian translation from translation project.
2928
d4baa62d
DM
2929 * po/nl.po: Update Dutch translation from translation project.
2930 * po/pl.po: Update Polish translation from translation project.
2931 * po/ru.po: Update Russian translation from translation project.
2932
61a9dcb9
DM
29332013-07-24 David S. Miller <davem@davemloft.net>
2934
2935 * po/libc.pot: Update.
2936
7b1f8b58
AZ
29372013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2938
2939 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2940 variable page size.
2941 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2942 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2943 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2944
a8fc7a03
AK
29452013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2946
2947 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2948
e4608715
CD
29492013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2950 Andreas Schwab <schwab@suse.de>
2951 Roland McGrath <roland@hack.frob.com>
2952 Joseph Myers <joseph@codesourcery.com>
2953 Carlos O'Donell <carlos@redhat.com>
2954
2955 [BZ #15755]
2956 * config.h.in: Define HAVE_PT_CHOWN.
2957 * config.make.in (build-pt-chown): New variable.
2958 * configure.in (--enable-pt_chown): New configure option.
2959 * configure: Regenerate.
2960 * login/Makefile: Include Makeconfig. Build pt_chown only if
2961 build-pt-chown is enabled.
2962 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2963 pt_chown to fix pty ownership.
2964 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2965 CLOSE_ALL_FDS.
2966 * manual/install.texi (Configuring and compiling): Mention
2967 --enable-pt_chown. Add @findex for grantpt.
2968 * INSTALL: Regenerate.
2969
da2d62df
DM
29702013-07-20 David S. Miller <davem@davemloft.net>
2971
2972 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2973 difference between 32-bit and 64-bit.
2974
d7e06450
CD
29752013-07-15 Carlos O'Donell <carlos@redhat.com>
2976
2977 [BZ #15711]
2978 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2979 Avoid system header dependency with -ffreestanding.
2980 ($(objpfx)bits/syscall%d): Likewise.
2981
f959cfd7
DM
29822013-07-13 David S. Miller <davem@davemloft.net>
2983
2984 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2985 underflows from atanl/atan2l due to bug 15319.
2986 (casinh_test_data): Likewise.
2987
c61f8513
DM
29882013-07-07 David S. Miller <davem@davemloft.net>
2989
2990 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2991
72c90ed0
JA
29922013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2993
2994 * sysdeps/i386/fpu/libm-test-ulps: Update.
2995 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2996
52dfbe13
SP
29972013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2998
2999 * configure.in (--enable-lock-elision): Fix message text.
3000 * INSTALL: Regenerate.
3001 * configure: Regenerate.
3002
3f169543
AZ
30032013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3004
3005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3006
521c6785
AJ
30072013-07-03 Andreas Jaeger <aj@suse.de>
3008
3009 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3010 define.
3011 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3012 (ptrace_peeksiginfo_args): Add.
3013 (__ptrace_peeksiginfo_flags): Add.
3014 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3015 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3017
d2cc15cb
AM
30182013-07-03 Allan McRae <allan@archlinux.org>
3019
3020 * sysdeps/i386/fpu/libm-test-ulps: Update.
3021
3aaeeca7
DM
30222013-07-02 David S. Miller <davem@davemloft.net>
3023
3024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3025
5314ed1a
MT
30262013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3027
3028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3029
67338156
JM
30302013-07-02 Joseph Myers <joseph@codesourcery.com>
3031
3032 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3034
1717da59
AK
30352013-07-02 Andi Kleen <ak@linux.intel.com>
3036
3037 * config.h.in (ENABLE_LOCK_ELISION): Add.
3038 * configure.in (--enable-lock-elision): Add option.
3039 * manual/install.texi: Document --enable lock elision.
3040 * configure: Regenerate
3041 * INSTALL: Regenerate.
3042
1c81621c
L
30432013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3044
3045 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3046 SSE4.2 strcasecmp for libc.a.
3047 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3048
77f01ab5
JM
30492013-07-02 Joseph Myers <joseph@codesourcery.com>
3050
3051 [BZ #13304]
3052 * soft-fp/op-common.h (_FP_FMA): New macro.
3053 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3054 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3055 (_FP_MUL_MEAT_1_imm): ... here.
3056 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3057 (_FP_MUL_MEAT_1_wide): ... here.
3058 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3059 (_FP_MUL_MEAT_1_hard): ... here.
3060 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3061 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3062 (_FP_MUL_MEAT_2_wide): ... here.
3063 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3064 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3065 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3066 (_FP_MUL_MEAT_2_gmp): ... here.
3067 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3068 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3069 (_FP_MUL_MEAT_4_wide): ... here.
3070 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3071 (_FP_MUL_MEAT_4_gmp): ... here.
3072 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3073 (_FP_WFRACBITS_DW_S): Likewise.
3074 (_FP_WFRACXBITS_DW_S): Likewise.
3075 (_FP_HIGHBIT_DW_S): Likewise.
3076 (FP_FMA_S): Likewise.
3077 (_FP_FRAC_HIGH_DW_S): Likewise.
3078 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3079 (_FP_WFRACBITS_DW_D): Likewise.
3080 (_FP_WFRACXBITS_DW_D): Likewise.
3081 (_FP_HIGHBIT_DW_D): Likewise.
3082 (FP_FMA_D): Likewise.
3083 (_FP_FRAC_HIGH_DW_D): Likewise.
3084 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3085 (_FP_WFRACBITS_DW_E): Likewise.
3086 (_FP_WFRACXBITS_DW_E): Likewise.
3087 (_FP_HIGHBIT_DW_E): Likewise.
3088 (FP_FMA_E): Likewise.
3089 (_FP_FRAC_HIGH_DW_E): Likewise.
3090 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3091 (_FP_WFRACBITS_DW_Q): Likewise.
3092 (_FP_WFRACXBITS_DW_Q): Likewise.
3093 (_FP_HIGHBIT_DW_Q): Likewise.
3094 (FP_FMA_Q): Likewise.
3095 (_FP_FRAC_HIGH_DW_Q): Likewise.
3096 * soft-fp/fmasf4.c: New file.
3097 * soft-fp/fmadf4.c: Likewise.
3098 * soft-fp/fmatf4.c: Likewise.
3099
6308fd9a
LD
31002013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3101
3102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3103 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3104 Silvermont.
3105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3106 macro.
3107 (index_Slow_SSE4_2): Likewise.
3108 (index_Prefer_PMINUB_for_stringop): Likewise.
3109 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3110 bit_Slow_SSE4_2 is set.
3111 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3112 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3113
89cd9569
RA
31142013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3115
3116 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3117 rtld_global._dl_hwcap2.
3118 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3119 POWER8.
3120 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3121 POWER8 feature descriptions defined in _dl_hwcap2.
3122 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3123 string handling for POWER8 feature bits.
3124 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3125 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3126 _dl_powerpc_cap_flags.
3127 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3128 * sysdeps/powerpc/rtld-global-offsets.sym
3129 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3130 _dl_hwcap2 in the rtld_global_ro structure.
3131
1ae8bfe0
RA
31322013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3133
3134 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3135 hardware capabilities in support of AT_HWCAP2.
3136 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3137 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3138 GLRO(dl_hwcap2).
3139 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3140 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3141 explicitly the unknown a_type display mechanism is used.
3142 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3143 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3144 struct member.
3145 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3146 to macro prototype for AT_HWCAP2 support.
3147 * sysdeps/i386/dl-procinfo.h: Likewise.
3148 * sysdeps/s390/dl-procinfo.h: Likewise.
3149 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3150 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3151 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3152 return -1 for unknown a_type display fallback.
3153 * sysdeps/sparc/dl-procinfo.h: Likewise.
3154 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3155 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3156
8fbec010
JM
31572013-06-28 Joseph Myers <joseph@codesourcery.com>
3158
3159 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3160 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3161
0432680e
PY
31622013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3163
3164 [BZ #12492]
3165 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3166 mprotect making __stack_prot writable.
3167
ce61a2ad
NF
31682013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3169 Joseph Myers <joseph@codesourcery.com>
3170
3171 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3172 as being properly aligned.
3173
f91f1c0f
MR
31742013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3175
3d0f5d0c
MR
3176 * dlfcn/modstatic5.c: New file.
3177 * dlfcn/tststatic5.c: New file.
3178 * dlfcn/Makefile (tests): Add tststatic5.
3179 (tests-static): Likewise.
3180 (modules-names): Add modstatic5.
3181 (tststatic5-ENV): New variable.
3182 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3183
f91f1c0f
MR
3184 [BZ #15022]
3185 * elf/dl-support.c (_dl_main_map): New variable.
3186 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3187 (_dl_nns, _dl_load_adds): Set to 1.
3188 (_dl_initial_searchlist): Refer to _dl_main_map.
3189 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3190 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3191 call to _dl_get_origin.
3192 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3193 around call_map.
3194 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3195 * dlfcn/modstatic3.c: New file.
3196 * dlfcn/tststatic3.c: New file.
3197 * dlfcn/tststatic4.c: New file.
3198 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3199 (tests-static): Likewise.
3200 (modules-names): Add modstatic3.
3201 (tststatic3-ENV, tststatic4-ENV): New variables.
3202 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3203 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3204
cbe7d24b
JM
32052013-06-26 Joseph Myers <joseph@codesourcery.com>
3206
3207 * configure.in (CC): Require GCC version 4.4 or later.
3208 * configure: Regenerated.
3209 * manual/install.texi (Tools for Compilation): Update GCC version
3210 requirement.
3211 * INSTALL: Regenerated.
3212
11b8a0e1
LD
32132013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3214
3215 [BZ #15674]
bb5bb87c
L
3216 * string/test-memcmp.c (check2): New.
3217 (main): Call check2.
3218
11b8a0e1
LD
3219 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3220
b0037103
MR
32212013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3222
3223 [BZ #15022]
3224 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3225 over to...
3226 (dl_open_worker) [!SHARED]: ... here.
3227
c18c701d
RA
32282013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3229
3230 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3231
1d17fa5f
RH
32322013-06-25 Richard Henderson <rth@redhat.com>
3233
3234 * locale/programs/locarchive.c: Include <libc-internal.h>
3235
8fcb833a
JM
32362013-06-25 Joseph Myers <joseph@codesourcery.com>
3237
3238 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3239 trailing whitespace removed.
3240
17db6e8d
MF
32412013-06-24 Mike Frysinger <vapier@gentoo.org>
3242
3243 [BZ #10283]
17db6e8d
MF
3244 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3245 * locale/programs/locarchive.c: Include libc-mmap.h.
3246 (prepare_address_space): Take two new outputs (the mmap base and len).
3247 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3248 values.
3249 (create_archive): Declare new mmap base and len values for
3250 prepare_address_space, and store the result in ah.
3251 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3252 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3253 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3254 Declare new mmap base and len values for
3255 prepare_address_space, and store the result in new_ah.
3256 (open_archive): Declare new mmap base and len values for
3257 prepare_address_space, and store the result in ah.
3258 (close_archive): If ah->mmap_base is not NULL, use that and
3259 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3260 * sysdeps/generic/libc-mmap.h: New file.
3261
d605071e
MF
32622013-06-24 Mike Frysinger <vapier@gentoo.org>
3263
3264 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3265 (ALIGN_UP): Likewise.
3266 (PTR_ALIGN_DOWN): Likewise.
3267 (PTR_ALIGN_UP): Likewise.
3268
2f063a6e
RA
32692013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3270
3271 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3272 entry mapped to PPC_PLATFORM_POWER8.
3273 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3274 POWER8.
3275 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3276 (_dl_string_platform): Add case for exporting platform position for
3277 POWER8.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3279 search path to sysdeps/powerpc/powerpc32/power8 directory.
3280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3281 search path to sysdeps/powerpc/powerpc64/power8 directory.
3282 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3283 power7 directories.
3284 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3285 power7 directories.
3286
a31ee4b3
SP
32872013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3288
a74ca98f
SP
3289 * INSTALL: Regenerate.
3290
a31ee4b3
SP
3291 * nscd/connections.c (nscd_init): Fix comment.
3292
695c378f
JM
32932013-06-22 Joseph Myers <joseph@codesourcery.com>
3294
d8412221
JM
3295 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3296
695c378f
JM
3297 [BZ #15667]
3298 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3299 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3300
d1d54715
MR
33012013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3302
3303 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3304 DL_DST_REQ_STATIC.
3305 (DL_DST_REQ_STATIC): Remove macro.
3306
8fdda7af
JM
33072013-06-21 Joseph Myers <joseph@codesourcery.com>
3308
3309 [BZ #7006]
3310 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3311 with a shift of 0 bits.
3312
f3bc5e5a
MR
33132013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3314
3315 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3316 $(tststatic-ENV).
3317
be09e8c9
KK
33182013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3319
3320 [BZ #15655]
3321 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3322
85c2e611
AZ
33232013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3324
3325 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3326 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3327 accepts -fno-tree-loop-distribute-patterns.
3328 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3329 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3330 recursive call.
3331 * string/memset.c (memset): Likewise.
3332 * string/test-memmove.c (simple_memmove): Disable loop transformation
3333 to library calls.
3334 * string/test-memset.c (simple_memset): Likewise.
3335 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3336 * benchtests/bench-memset.c (simple_memset): Likewise.
3337 * configure: Regenerated.
3338
c91e0825
JM
33392013-06-20 Joseph Myers <joseph@codesourcery.com>
3340
b8c792af
JM
3341 * math/test-misc.c (main): Ignore fesetround failure when failures
3342 of subsequent rounding tests would be ignored.
3343
c91e0825
JM
3344 [BZ #15654]
3345 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3346 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3347 * math/fegetenv.c (__fegetenv): Return 0.
3348 * math/fegetexcept.c (fegetexcept): Return 0.
3349 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3350 FE_TONEAREST.
3351 * math/feholdexcpt.c (feholdexcept): Return 0.
3352 * math/fesetenv.c (__fesetenv): Return 0.
3353 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3354 argument FE_TONEAREST.
3355 * math/feupdateenv.c (__feupdateenv): Return 0.
3356 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3357
bfcacbde
RM
33582013-06-18 Roland McGrath <roland@hack.frob.com>
3359
3360 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3361 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3362 ($(objpfx)rtld-%.os rules): Use them.
3363
e55a9b25
AZ
33642013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3365
3366 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3367 fields.
3368
346d65b3
RM
33692013-06-17 Roland McGrath <roland@hack.frob.com>
3370
12086fb4
RM
3371 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3372 length of target pattern, then descending length of dependency pattern.
3373 * configure.in (AWK): Require gawk 3.1.2 or newer.
3374 * manual/install.texi (Tools for Compilation): Say that we do.
3375 * configure: Regenerated.
3376
346d65b3
RM
3377 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3378 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3379 * scripts/sysd-rules.awk: ... this new script.
3380 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3381 than a glob-style pattern.
3382
1a846317
JM
33832013-06-17 Joseph Myers <joseph@codesourcery.com>
3384
3385 * math/test-misc.c (main): Do not treat incorrectly rounded
3386 conversions as failure unless ROUNDING_TESTS passes.
3387
8fc75e6f
JM
33882013-06-15 Joseph Myers <joseph@codesourcery.com>
3389
3711a167
JM
3390 [BZ #15631]
3391 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3392 restore exception state around main square root computation, then
3393 check for inexactness explicitly.
3394
8fc75e6f
JM
3395 * math/libm-test.inc (fma_test_data): Add another test.
3396
61dd6208
SP
33972013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3398
adf23d2c
SP
3399 * manual/threads.texi (Non-POSIX Extensions): New document
3400 node. Document pthread_getattr_default_np and
3401 pthread_setattr_default_np.
3402
61dd6208
SP
3403 * Versions.def (libpthread): Add GLIBC_2.18.
3404 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3406 Likewise.
3407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3408 Likewise.
3409 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3410 Likewise.
3411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3412 Likewise.
3413 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3414 Likewise.
3415 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3416 Likewise.
3417 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3418 Likewise.
3419 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3420 Likewise.
3421 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3422 Likewise.
3423
d086fc7b
LD
34242013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3425
3426 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3427 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3428
747ef469
SP
34292013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3430 H.J. Lu <hjl.tools@gmail.com>
3431
3432 [BZ #15627]
3433 * sysdeps/x86_64/rtld-memset.c: Remove file.
3434 * sysdeps/x86_64/rtld-memset.S: New file.
3435
1b2feed2
JM
34362013-06-14 Joseph Myers <joseph@codesourcery.com>
3437
3438 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3439 (test_in_one_mode): Take arguments for whether the rounding mode
3440 is supported for each floating-point type.
3441 (do_test): Pass new arguments to test_in_one_mode using
3442 ROUNDING_TESTS.
3443
a58ad3f8
RM
34442013-06-13 Roland McGrath <roland@hack.frob.com>
3445
3446 * posix/tst-waitid.c (do_test): Distinguish different instances of
3447 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3448 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3449 before entering the kernel for waitpid.
3450
c204ab28
SP
34512013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3452
3453 * NEWS: Fix note on clock function precision. Text by Roland
3454 McGrath.
3455
f4a29fba
RM
34562013-06-13 Roland McGrath <roland@hack.frob.com>
3457
3458 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3459 it into place only when and if the sanity check passes.
3460
1f24b9ad
JM
34612013-06-13 Joseph Myers <joseph@codesourcery.com>
3462
3463 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3464 output for whether conversion result is exact. Take argument
3465 indicating whether type is IBM long double.
3466 (round_for_all): Change need_exact field to ibm_ld.
3467 * stdlib/tst-strtod-round.c (struct exactness): New type.
3468 (struct test): Change bool ld_ok field to struct exactness exact.
3469 (TEST): Update all definitions for change to field.
3470 (tests): Regenerate array contents.
3471 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3472 field value. Check for IBM long double here.
3473 (do_test): Update calls to test_in_one_mode.
3474
58206c68
SP
34752013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3476
3477 [BZ #12515]
3478 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3479 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3480
2d6f4c5b 34812013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3482
3483 [BZ #15605]
3484 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3485 generated by the compiler on loop optimizations.
3486 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3487 general definitions.
3488
94f2c076
JM
34892013-06-12 Joseph Myers <joseph@codesourcery.com>
3490
3491 * math/bug-nextafter.c: Include <math-tests.h>.
3492 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3493 the relevant type.
3494 * math/bug-nexttoward.c: Include <math-tests.h>.
3495 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3496 the relevant type.
3497 * math/test-misc.c: Include <math-tests.h>.
3498 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3499 the relevant type.
3500
e0e50a0a
AJ
35012013-06-12 Andreas Jaeger <aj@suse.de>
3502
3503 * po/ia.po: Update Interlingua translation from translation
3504 project.
3505
25061094
SP
35062013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3507
3508 * include/fenv.h: Include stdbool.h.
3509 (struct rm_ctx): New structure.
3510 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3511 Define macro.
3512 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3513 (SET_RESTORE_ROUNDF): Likewise.
3514 (SET_RESTORE_ROUNDL): Likewise.
3515 (SET_RESTORE_ROUND_NOEX): Likewise.
3516 (SET_RESTORE_ROUND_NOEXF): Likewise.
3517 (SET_RESTORE_ROUND_NOEXL): Likewise.
3518 (SET_RESTORE_ROUND_53BIT): Likewise.
3519 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3520 (libc_feresetround_noexf_ctx): Likewise.
3521 (libc_feresetround_noexl_ctx): Likewise.
3522 (libc_feholdsetround_53bit_ctx): Likewise.
3523 (libc_feresetround_53bit_ctx): Likewise.
3524 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3525 (libc_feholdexcept_setround_sse_ctx): New function.
3526 (libc_fesetenv_sse_ctx): Likewise.
3527 (libc_feupdateenv_sse_ctx): Likewise.
3528 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3529 (libc_feholdexcept_setround_387_ctx): Likewise.
3530 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3531 (libc_feholdsetround_387_prec_ctx): Likewise.
3532 (libc_feholdsetround_387_ctx): Likewise.
3533 (libc_feholdsetround_387_53bit_ctx): Likewise.
3534 (libc_feholdsetround_sse_ctx): Likewise.
3535 (libc_feresetround_sse_ctx): Likewise.
3536 (libc_feresetround_387_ctx): Likewise.
3537 (libc_feupdateenv_387_ctx): Likewise.
3538 (libc_feholdexcept_setroundf_ctx): Define macro.
3539 (libc_fesetenvf_ctx): Likewise.
3540 (libc_feupdateenvf_ctx): Likewise.
3541 (libc_feholdsetroundf_ctx): Likewise.
3542 (libc_feresetroundf_ctx): Likewise.
3543 (libc_feholdexcept_setround_ctx): Likewise.
3544 (libc_fesetenv_ctx): Likewise.
3545 (libc_feupdateenv_ctx): Likewise.
3546 (libc_feholdsetround_ctx): Likewise.
3547 (libc_feresetround_ctx): Likewise.
3548 (libc_feholdexcept_setroundl_ctx): Likewise.
3549 (libc_feupdateenvl_ctx): Likewise.
3550 (libc_feholdsetroundl_ctx): Likewise.
3551 (libc_feresetroundl_ctx): Likewise.
3552 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3553 (libc_feresetround_53bit_ctx): Likewise.
3554
59b30555
SP
35552013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3556
3557 * locale/iso-639.def: Convert to UTF-8.
3558
f1d73d30
JM
35592013-06-11 Joseph Myers <joseph@codesourcery.com>
3560
3561 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3562 (EXCEPTION_TESTS_double): Likewise.
3563 (EXCEPTION_TESTS_long_double): Likewise.
3564 (EXCEPTION_TESTS): Likewise.
3565 * math/libm-test.inc (test_exceptions): Only test exceptions if
3566 EXCEPTION_TESTS (FLOAT).
3567
94aca5e7
SP
35682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3569
3570 * benchtests/Makefile (string-bench): Add strcpy_chk and
3571 stpcpy_chk.
3572 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3573 * benchtests/bench-stpcpy_chk.c: New file.
3574 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3575 * benchtests/bench-strcpy_chk.c: New file.
3576 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3577 code.
3578 (do_test): Likewise.
3579
fac0c5f2
RA
35802013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3581
3582 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3583 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3584 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3585 with tabs where appropriate.
3586 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3587 dl-procinfo.h.
3588 [PPC_PLATFORM_PPC440]: Likewise.
3589 [PPC_PLATFORM_PPC464]: Likewise.
3590 [PPC_PLATFORM_PPC476]: Likewise.
3591 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3592 ppc464, and ppc476 platform strings merging from ports/
3593 dl-procinfo.h.
3594
f22bc486
AS
35952013-06-11 Andreas Schwab <schwab@suse.de>
3596
3597 [BZ #14991]
3598 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3599 (from_ucs4_idx): Regenerate.
3600 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3601 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3602 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3603 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3604 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3605 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3606 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3607 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3608 from FROM_LOOP and TO_LOOP specific macros.
3609 (BODY): Handle combining characters.
3610 * iconvdata/BIG5HKSCS.irreversible: Update.
3611 * iconvdata/BIG5HKSCS.precomposed: New file.
3612 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3613 characters.
3614 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3615
c1f75dc3
SP
36162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3617
4eacded2
SP
3618 * include/sys/time.h: Fix indentation and add copyright header.
3619
fec799f8
SP
3620 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3621 (do_test): Likewise.
3622 * string/test-memchr.c (do_one_test): Likewise.
3623 (do_test): Likewise.
3624 * string/test-memcmp.c (do_one_test): Likewise.
3625 (do_test): Likewise.
3626 * string/test-memcpy.c (do_one_test): Likewise.
3627 (do_test): Likewise.
3628 * string/test-memmem.c (do_one_test): Likewise.
3629 (do_test): Likewise.
3630 (do_random_tests): Likewise.
3631 * string/test-memmove.c (do_one_test): Likewise.
3632 (do_test): Likewise.
3633 * string/test-memset.c (do_one_test): Likewise.
3634 (do_test): Likewise.
3635 * string/test-rawmemchr.c (do_one_test): Likewise.
3636 (do_test): Likewise.
3637 * string/test-strcasecmp.c (do_one_test): Likewise.
3638 (do_test): Likewise.
3639 * string/test-strcasestr.c (do_one_test): Likewise.
3640 (do_test): Likewise.
3641 * string/test-strcat.c (do_one_test): Likewise.
3642 (do_test): Likewise.
3643 * string/test-strchr.c (do_one_test): Likewise.
3644 (do_test): Likewise.
3645 * string/test-strcmp.c (do_one_test): Likewise.
3646 (do_test): Likewise.
3647 * string/test-strcpy.c (do_one_test): Likewise.
3648 (do_test): Likewise.
3649 * string/test-string.h: Likewise.
3650 (test_init): Likewise.
3651 * string/test-strlen.c (do_one_test): Likewise.
3652 (do_test): Likewise.
3653 * string/test-strncasecmp.c (do_one_test): Likewise.
3654 (do_test): Likewise.
3655 * string/test-strncat.c (do_one_test): Likewise.
3656 (do_test): Likewise.
3657 * string/test-strncmp.c (do_one_test): Likewise.
3658 (do_test_limit): Likewise.
3659 (do_test): Likewise.
3660 * string/test-strncpy.c (do_one_test): Likewise.
3661 (do_test): Likewise.
3662 * string/test-strnlen.c (do_one_test): Likewise.
3663 (do_test): Likewise.
3664 * string/test-strpbrk.c (do_one_test): Likewise.
3665 (do_test): Likewise.
3666 * string/test-strrchr.c (do_one_test): Likewise.
3667 (do_test): Likewise.
3668 * string/test-strspn.c (do_one_test): Likewise.
3669 (do_test): Likewise.
3670 * string/test-strstr.c (do_one_test): Likewise.
3671 (do_test): Likewise.
3672
97020474
SP
3673 * benchtests/Makefile (string-bench): Add string benchmarks.
3674 * benchtests/bench-bcopy-ifunc.c: New file.
3675 * benchtests/bench-bcopy.c: New file.
3676 * benchtests/bench-bzero-ifunc.c: New file.
3677 * benchtests/bench-bzero.c: New file.
3678 * benchtests/bench-memccpy-ifunc.c: New file.
3679 * benchtests/bench-memccpy.c: New file.
3680 * benchtests/bench-memchr-ifunc.c: New file.
3681 * benchtests/bench-memchr.c: New file.
3682 * benchtests/bench-memcmp-ifunc.c: New file.
3683 * benchtests/bench-memcmp.c: New file.
3684 * benchtests/bench-memmem-ifunc.c: New file.
3685 * benchtests/bench-memmem.c: New file.
3686 * benchtests/bench-memmove-ifunc.c: New file.
3687 * benchtests/bench-memmove.c: New file.
3688 * benchtests/bench-mempcpy-ifunc.c: New file.
3689 * benchtests/bench-mempcpy.c: New file.
3690 * benchtests/bench-memset-ifunc.c: New file.
3691 * benchtests/bench-memset.c: New file.
3692 * benchtests/bench-rawmemchr-ifunc.c: New file.
3693 * benchtests/bench-rawmemchr.c: New file.
3694 * benchtests/bench-stpcpy-ifunc.c: New file.
3695 * benchtests/bench-stpcpy.c: New file.
3696 * benchtests/bench-stpncpy-ifunc.c: New file.
3697 * benchtests/bench-stpncpy.c: New file.
3698 * benchtests/bench-strcasecmp-ifunc.c: New file.
3699 * benchtests/bench-strcasecmp.c: New file.
3700 * benchtests/bench-strcasestr-ifunc.c: New file.
3701 * benchtests/bench-strcasestr.c: New file.
3702 * benchtests/bench-strcat-ifunc.c: New file.
3703 * benchtests/bench-strcat.c: New file.
3704 * benchtests/bench-strchr-ifunc.c: New file.
3705 * benchtests/bench-strchr.c: New file.
3706 * benchtests/bench-strchrnul-ifunc.c: New file.
3707 * benchtests/bench-strchrnul.c: New file.
3708 * benchtests/bench-strcmp-ifunc.c: New file.
3709 * benchtests/bench-strcmp.c: New file.
3710 * benchtests/bench-strcpy-ifunc.c: New file.
3711 * benchtests/bench-strcpy.c: New file.
3712 * benchtests/bench-strcspn-ifunc.c: New file.
3713 * benchtests/bench-strcspn.c: New file.
3714 * benchtests/bench-strlen-ifunc.c: New file.
3715 * benchtests/bench-strlen.c: New file.
3716 * benchtests/bench-strncasecmp-ifunc.c: New file.
3717 * benchtests/bench-strncasecmp.c: New file.
3718 * benchtests/bench-strncat-ifunc.c: New file.
3719 * benchtests/bench-strncat.c: New file.
3720 * benchtests/bench-strncmp-ifunc.c: New file.
3721 * benchtests/bench-strncmp.c: New file.
3722 * benchtests/bench-strncpy-ifunc.c: New file.
3723 * benchtests/bench-strncpy.c: New file.
3724 * benchtests/bench-strnlen-ifunc.c: New file.
3725 * benchtests/bench-strnlen.c: New file.
3726 * benchtests/bench-strpbrk-ifunc.c: New file.
3727 * benchtests/bench-strpbrk.c: New file.
3728 * benchtests/bench-strrchr-ifunc.c: New file.
3729 * benchtests/bench-strrchr.c: New file.
3730 * benchtests/bench-strspn-ifunc.c: New file.
3731 * benchtests/bench-strspn.c: New file.
3732 * benchtests/bench-strstr-ifunc.c: New file.
3733 * benchtests/bench-strstr.c: New file.
3734
c1f75dc3
SP
3735 * benchtests/Makefile: Disable parallel execution of targets.
3736 (string-bench): Add memcpy.
3737 (benchset): New variable to store a list of benchmark sets.
3738 (bench-func): Renamed from bench.
3739 (bench-set): New target.
3740 (bench): Depend on bench-func and bench-set.
3741 * benchtests/README: Add section on benchmark sets.
3742 * benchtests/bench-memcpy-ifunc.c: New file.
3743 * benchtests/bench-memcpy.c: New file.
3744 * benchtests/bench-string.h: New file.
3745
50fd745b
AS
37462013-06-11 Andreas Schwab <schwab@suse.de>
3747
3748 [BZ #15577]
3749 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3750 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3751 values in the triple.
3752 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3753 terminator in the group key.
3754
3ee7e9fe
AJ
37552013-06-11 Andreas Jaeger <aj@suse.de>
3756
3757 * po/zh_TW.po: Update Chinese (traditional) translation from
3758 translation project.
3759
89fb6835
SP
37602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3761
3762 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3763 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3764 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3765 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3766 (clock_getcpuclockid): Likewise.
3767 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3768 Add weak_alias and libc_hidden_def.
3769 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3770 * rt/clock_gettime.c (clock_gettime): Rename to
3771 __clock_gettime. Add weak_alias and libc_hidden_def.
3772 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3773 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3774 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3775 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3776 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3777 Likewise.
3778 * rt/clock_settime.c (clock_settime): Rename to
3779 __clock_settime. Add weak_alias and libc_hidden_def.
3780 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3781
0efa6f8b
JM
37822013-06-10 Joseph Myers <joseph@codesourcery.com>
3783
b8c61b4b
JM
3784 * mach/err_boot.sub: Remove trailing whitespace.
3785 * mach/err_ipc.sub: Likewise.
3786 * mach/err_mach.sub: Likewise.
3787
0efa6f8b
JM
3788 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3789 (ROUNDING_TESTS_double): Likewise.
3790 (ROUNDING_TESTS_long_double): Likewise.
3791 (ROUNDING_TESTS): Likewise.
3792 * math/libm-test.inc: Include <math-tests.h>.
3793 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3794 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3795 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3796 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3797
50b818bf
SP
37982013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3799
3800 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3801 of assigning.
3802
60d2f8f3
JM
38032013-06-08 Joseph Myers <joseph@codesourcery.com>
3804
4902d2c3
JM
3805 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3806 otherwise empty TRANS lines.
3807 * sysdeps/gnu/errlist.c: Regenerated.
3808
60d2f8f3
JM
3809 * catgets/gencat.c (error_print): Use (void) in function
3810 definition.
3811 * crypt/crypt_util.c (__init_des): Likewise.
3812 * crypt/speeds.c (Stop): Likewise.
3813 (main): Likewise.
3814 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3815 * inet/ruserpass.c (token): Likewise.
3816 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3817 * intl/localealias.c (extend_alias_table): Likewise.
3818 * intl/plural-exp.c (init_germanic_plural): Likewise.
3819 * libio/fcloseall.c (__fcloseall): Likewise.
3820 * libio/genops.c (_IO_flush_all): Likewise.
3821 (_IO_flush_all_linebuffered): Likewise.
3822 (_IO_cleanup): Likewise.
3823 (_IO_iter_begin): Likewise.
3824 (_IO_iter_end): Likewise.
3825 (_IO_list_lock): Likewise.
3826 (_IO_list_unlock): Likewise.
3827 (_IO_list_resetlock): Likewise.
3828 * libio/getchar.c (getchar): Likewise.
3829 * libio/getchar_u.c (getchar_unlocked): Likewise.
3830 * libio/getwchar.c (getwchar): Likewise.
3831 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3832 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3833 * login/getpt.c (__getpt): Likewise.
3834 * login/tst-utmp.c (main): Likewise.
3835 * malloc/hooks.c (__malloc_check_init): Likewise.
3836 * malloc/malloc.c (__malloc_stats): Likewise.
3837 * malloc/mtrace.c (tr_break): Likewise.
3838 (mtrace): Likewise.
3839 (muntrace): Likewise.
3840 * misc/fstab.c (endfsent): Likewise.
3841 * misc/getclktck.c (__getclktck): Likewise.
3842 * misc/getdtsz.c (__getdtablesize): Likewise.
3843 * misc/gethostid.c (gethostid): Likewise.
3844 * misc/getpagesize.c (__getpagesize): Likewise.
3845 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3846 (__get_nprocs): Likewise.
3847 (__get_phys_pages): Likewise.
3848 (__get_avphys_pages): Likewise.
3849 * misc/getttyent.c (getttyent): Likewise.
3850 (setttyent): Likewise.
3851 (endttyent): Likewise.
3852 * misc/getusershell.c (getusershell): Likewise.
3853 (endusershell): Likewise.
3854 (setusershell): Likewise.
3855 (initshells): Likewise.
3856 * misc/hsearch.c (__hdestroy): Likewise.
3857 * misc/sync.c (sync): Likewise.
3858 * misc/syslog.c (closelog_internal): Likewise.
3859 (closelog): Likewise.
3860 * misc/ttyslot.c (ttyslot): Likewise.
3861 * misc/vhangup.c (vhangup): Likewise.
3862 * posix/fork.c (__fork): Likewise.
3863 * posix/getegid.c (__getegid): Likewise.
3864 * posix/geteuid.c (__geteuid): Likewise.
3865 * posix/getgid.c (__getgid): Likewise.
3866 * posix/getpid.c (__getpid): Likewise.
3867 * posix/getppid.c (__getppid): Likewise.
3868 * posix/getuid.c (__getuid): Likewise.
3869 * posix/pause.c (pause): Likewise.
3870 * posix/setpgrp.c (setpgrp): Likewise.
3871 * posix/setsid.c (__setsid): Likewise.
3872 * posix/test-vfork.c (noop): Likewise.
3873 * resolv/gethnamaddr.c (_endhtent): Likewise.
3874 (_gethtent): Likewise.
3875 (ht_endhostent): Likewise.
3876 (gethostent): Likewise.
3877 (dns_service): Likewise.
3878 * stdlib/drand48.c (drand48): Likewise.
3879 * stdlib/lrand48.c (lrand48): Likewise.
3880 * stdlib/mrand48.c (mrand48): Likewise.
3881 * stdlib/rand.c (rand): Likewise.
3882 * stdlib/random.c (__random): Likewise.
3883 * stdlib/setenv.c (clearenv): Likewise.
3884 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3885 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3886 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3887 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3888 (__get_nprocs): Likewise.
3889 (__get_phys_pages): Likewise.
3890 (__get_avphys_pages): Likewise.
3891 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3892 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3893 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3894 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3895 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3896 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3897 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3898 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3899 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3900 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3901 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3902 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3903 * sysdeps/posix/clock.c (clock): Likewise.
3904 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3905 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3906 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3907 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3908 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3909 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3910 (__get_nprocs_conf): Likewise.
3911 (__get_phys_pages): Likewise.
3912 (__get_avphys_pages): Likewise.
3913 * time/clock.c (clock): Likewise.
3914 * time/tzset.c (__tzname_max): Likewise.
3915
2e09a79a
JM
39162013-06-07 Joseph Myers <joseph@codesourcery.com>
3917
3918 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3919 (__bswap_32): Do not use "register".
3920 * crypt/crypt.c (_ufc_doit_r): Likewise.
3921 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3922 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3923 * gmon/gmon.c (__monstartup): Likewise.
3924 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3925 * hurd/hurdmalloc.c (more_memory): Likewise.
3926 (malloc): Likewise.
3927 (free): Likewise.
3928 (realloc): Likewise.
3929 (malloc_fork_prepare): Likewise.
3930 (malloc_fork_parent): Likewise.
3931 (malloc_fork_child): Likewise.
3932 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3933 (_svcauth_des): Likewise.
3934 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3935 * inet/inet_net.c (inet_network): Likewise.
3936 * inet/inet_netof.c (inet_netof): Likewise.
3937 * inet/rcmd.c (__validuser2_sa): Likewise.
3938 * io/fts.c (fts_open): Likewise.
3939 (fts_load): Likewise.
3940 (fts_close): Likewise.
3941 (fts_read): Likewise.
3942 (fts_children): Likewise.
3943 (fts_build): Likewise.
3944 (fts_stat): Likewise.
3945 (fts_sort): Likewise.
3946 (fts_alloc): Likewise.
3947 (fts_lfree): Likewise.
3948 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3949 (_IO_file_xsgetn): Likewise.
3950 (_IO_file_xsgetn_mmap): Likewise.
3951 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3952 (_IO_cookie_write): Likewise.
3953 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3954 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3955 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3956 * malloc/obstack.c (_obstack_begin): Likewise.
3957 (_obstack_begin_1): Likewise.
3958 (_obstack_newchunk): Likewise.
3959 (_obstack_allocated_p): Likewise.
3960 (obstack_free): Likewise.
3961 (_obstack_memory_used): Likewise.
3962 * misc/getttyent.c (getttynam): Likewise.
3963 (getttyent): Likewise.
3964 (skip): Likewise.
3965 (value): Likewise.
3966 * misc/getusershell.c (initshells): Likewise.
3967 * misc/syslog.c (__vsyslog_chk): Likewise.
3968 * misc/ttyslot.c (ttyslot): Likewise.
3969 * nis/nis_hash.c (__nis_hash): Likewise.
3970 * posix/fnmatch_loop.c (FCT): Likewise.
3971 * posix/getconf.c (print_all): Likewise.
3972 (main): Likewise.
3973 * posix/getopt.c (exchange): Likewise.
3974 * posix/glob.c (globfree): Likewise.
3975 (prefix_array): Likewise.
3976 (__glob_pattern_type): Likewise.
3977 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3978 (NS_GET32): Likewise.
3979 (NS_PUT16): Likewise.
3980 (NS_PUT32): Likewise.
3981 * resolv/gethnamaddr.c (getanswer): Likewise.
3982 (gethostbyname2): Likewise.
3983 (gethostbyaddr): Likewise.
3984 (_gethtent): Likewise.
3985 (_gethtbyname2): Likewise.
3986 (_gethtbyaddr): Likewise.
3987 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3988 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3989 * resolv/res_init.c (__res_vinit): Likewise.
3990 (net_mask): Likewise.
3991 * resolv/res_mkquery.c (outchar): Likewise.
3992 (PRINT): Likewise.
3993 * stdio-common/printf_fp.c (outchar): Likewise.
3994 (PRINT): Likewise.
3995 * stdio-common/printf_fphex.c (outchar): Likewise.
3996 (PRINT): Likewise.
3997 * stdio-common/printf_size.c (outchar): Likewise.
3998 (PRINT): Likewise.
3999 * stdio-common/test_rdwr.c (main): Likewise.
4000 * stdio-common/tfformat.c (matches): Likewise.
4001 * stdio-common/vfprintf.c (outchar): Likewise.
4002 (printf_unknown): Likewise.
4003 (buffered_vfprintf): Likewise.
4004 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4005 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4006 (ReadFile): Likewise.
4007 * stdlib/qsort.c (SWAP): Likewise.
4008 (_quicksort): Likewise.
4009 * stdlib/setenv.c (__add_to_environ): Likewise.
4010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4011 * stdlib/strtol_l.c (__strtol_l): Likewise.
4012 * stdlib/tst-strtod.c (main): Likewise.
4013 * stdlib/tst-strtol.c (main): Likewise.
4014 * stdlib/tst-strtoll.c (main): Likewise.
4015 * string/bits/string2.h (__strcmp_cc): Likewise.
4016 (__strcmp_cg): Likewise.
4017 (__strcspn_c1): Likewise.
4018 (__strcspn_c2): Likewise.
4019 (__strcspn_c3): Likewise.
4020 (__strspn_c1): Likewise.
4021 (__strspn_c2): Likewise.
4022 (__strspn_c3): Likewise.
4023 (__strsep_1c): Likewise.
4024 (__strsep_2c): Likewise.
4025 (__strsep_3c): Likewise.
4026 * string/memccpy.c (__memccpy): Likewise.
4027 * string/stpcpy.c (__stpcpy): Likewise.
4028 * string/strcmp.c (strcmp): Likewise.
4029 * string/strrchr.c (strrchr): Likewise.
4030 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4031 Likewise.
4032 * sysdeps/mach/hurd/getcwd.c
4033 (_hurd_canonicalize_directory_name_internal): Likewise.
4034 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4035 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4036 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4037 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4038 Likewise, in both definitions.
4039 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4040 definitions.
4041 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4042 64] (__bswap_64): Likewise.
4043 * time/test_time.c (main): Likewise.
4044 * time/tzfile.c (__tzfile_read): Likewise.
4045 (__tzfile_compute): Likewise.
4046 * time/tzset.c (__tzset_parse_tz): Likewise.
4047 (tzset_internal): Likewise.
4048 (compute_change): Likewise.
4049 * wcsmbs/wcscat.c (__wcscat): Likewise.
4050 * wcsmbs/wcschr.c (wcschr): Likewise.
4051 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4052 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4053 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4054 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4055 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4056 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4057 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4058 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4059 * wcsmbs/wmemset.c (wmemset): Likewise.
4060
9e54314b
JM
40612013-06-06 Joseph Myers <joseph@codesourcery.com>
4062
4063 * scripts/config.guess: Update to version 2013-05-16.
4064 * scripts/config.sub: Update to version 2013-04-24.
4065 * scripts/install-sh: Update to version 2011-11-20.07.
4066 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4067 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4068
350635a5
OB
40692013-06-06 Ondřej Bílka <neleai@seznam.cz>
4070
4071 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4072 * elf/sln.c: Likewise.
4073 * hurd/hurd/ioctl.h: Likewise.
4074 * hurd/hurdmalloc.c: Likewise.
4075 * hurd/xattr.c: Likewise.
4076 * include/shlib-compat.h: Likewise.
4077 * inet/ruserpass.c: Likewise.
4078 * libio/iofgets_u.c: Likewise.
4079 * libio/iofgetws_u.c: Likewise.
4080 * locale/programs/ld-identification.c: Likewise.
4081 * locale/programs/ld-time.c: Likewise.
4082 * mach/msg-destroy.c: Likewise.
4083 * nss/nss_files/files-netgrp.c: Likewise.
4084 * resolv/res_data.c: Likewise.
4085 * soft-fp/op-1.h: Likewise.
4086 * soft-fp/op-2.h: Likewise.
4087 * soft-fp/op-4.h: Likewise.
4088 * soft-fp/op-common.h: Likewise.
4089 * stdio-common/printf_fphex.c: Likewise.
4090 * stdlib/strtod_l.c: Likewise.
4091 * sunrpc/rpc/clnt.h: Likewise.
4092 * sysdeps/generic/framestate.c: Likewise.
4093 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4094 * sysdeps/i386/bsd-setjmp.S: Likewise.
4095 * sysdeps/i386/__longjmp.S: Likewise.
4096 * sysdeps/i386/setjmp.S: Likewise.
4097 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4098 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4099 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4100 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4103 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4104 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4105 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4106 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4107 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4108 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4109 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4110 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4111 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4112 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4113 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4114 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4115 * sysdeps/ieee754/support.c: Likewise.
4116 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4117 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4118 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4119 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4120 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4121 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4122 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4123 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4124 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4125 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4126 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4127 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4128 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4129 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4130 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4131 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4132 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4134
44a988af
OB
41352013-06-05 Ondřej Bílka <neleai@seznam.cz>
4136
25506f09 4137 * posix/transbug.c: Remove executable mode.
44a988af 4138
9c84384c
JM
41392013-06-05 Joseph Myers <joseph@codesourcery.com>
4140
4141 * crypt/speeds.c: Remove trailing whitespace.
4142 * dlfcn/default.c: Likewise.
4143 * elf/ifuncdep2.c: Likewise.
4144 * elf/ifuncmain1.c: Likewise.
4145 * elf/ifuncmain1vis.c: Likewise.
4146 * elf/testobj.h: Likewise.
4147 * elf/tst-stackguard1.c: Likewise.
4148 * gmon/sys/gmon.h: Likewise.
4149 * hurd/hurdmsg.c: Likewise.
4150 * hurd/new-fd.c: Likewise.
4151 * hurd/ports-get.c: Likewise.
4152 * iconvdata/ibm1008_420.c: Likewise.
4153 * inet/tst-getni1.c: Likewise.
4154 * inet/tst-getni2.c: Likewise.
4155 * libio/ioungetc.c: Likewise.
4156 * libio/wfiledoalloc.c: Likewise.
4157 * manual/libm-err-tab.pl: Likewise.
4158 * math/w_dremf.c: Likewise.
4159 * misc/ftruncate.c: Likewise.
4160 * posix/bug-glob2.c: Likewise.
4161 * posix/tst-pcre.c: Likewise.
4162 * posix/wait4.c: Likewise.
4163 * resolv/README: Likewise.
4164 * resolv/res_debug.h: Likewise.
4165 * resolv/tst-inet_ntop.c: Likewise.
4166 * setjmp/bug269-setjmp.c: Likewise.
4167 * soft-fp/extended.h: Likewise.
4168 * soft-fp/op-1.h: Likewise.
4169 * soft-fp/op-2.h: Likewise.
4170 * soft-fp/op-4.h: Likewise.
4171 * soft-fp/op-8.h: Likewise.
4172 * soft-fp/testit.c: Likewise.
4173 * stdio-common/bug16.c: Likewise.
4174 * stdlib/random.c: Likewise.
4175 * sunrpc/rpcsvc/rquota.x: Likewise.
4176 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4177 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4178 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4179 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4180 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4181 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4182 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4183 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4184 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4185 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4186 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4187 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4188 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4189 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4190 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4192 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4193 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4194 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4195 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4196 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4197 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4198 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4199 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4200 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4201 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4202 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4203 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4204 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4205 * sysdeps/ieee754/s_lib_version.c: Likewise.
4206 * sysdeps/mach/hurd/check_fds.c: Likewise.
4207 * sysdeps/mach/hurd/getsockname.c: Likewise.
4208 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4209 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4210 * sysdeps/powerpc/bits/link.h: Likewise.
4211 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4212 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4213 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4214 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4215 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4216 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4217 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4218 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4219 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4220 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4221 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4222 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4223 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4224 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4225 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4226 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4227 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4228 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4229 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4230 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4231 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4232 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4233 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4234 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4235 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4237 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4238 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4239 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4240 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4241 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4245 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4246 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4247 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4248 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4249 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4250 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4251 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4252 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4253 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4254 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4255 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4256 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4257 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4258 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4259 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4260 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4261 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4262 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4264 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4265 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4269 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4270 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4271 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4272 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4275 * sysdeps/powerpc/sysdep.h: Likewise.
4276 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4277 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4278 * sysdeps/sh/dl-trampoline.S: Likewise.
4279 * sysdeps/sh/memset.S: Likewise.
4280 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4281 * sysdeps/sh/strlen.S: Likewise.
4282 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4283 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4284 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4285 * sysdeps/sparc/sparc32/rem.S: Likewise.
4286 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4287 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4288 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4289 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4290 * sysdeps/sparc/sparc32/urem.S: Likewise.
4291 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4292 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4293 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4294 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4295 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4296 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4297 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4298 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4299 * sysdeps/unix/bsd/times.c: Likewise.
4300 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4301 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4306 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4307 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4308 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4309 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4310 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4311 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4312 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4313 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4314 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4315 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4316 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4317 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4318 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4319 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4320 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4321 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4322 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4324 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4325 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4326 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4327 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4328 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4329 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4330 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4331 * sysdeps/x86_64/strcspn.S: Likewise.
4332
869378a5
RA
43332013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4334
4335 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4336 generated file. Regenerate properly from gen-translit.pl.
4337 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4338 locale/C-translit.h.
4339
840e2943
AS
43402013-06-05 Andreas Schwab <schwab@suse.de>
4341
4342 [BZ #15100]
4343 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4344 week as 6 instead of -1.
4345 * time/tst-strptime.c (day_tests): Add test case.
4346
4c60cb0c
SP
43472013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4348
4349 * sysdeps/generic/math_private.h
4350 (libc_feholdexcept_setround_53bit): Replace with
4351 libc_feholdsetround_53bit.
4352 (libc_feupdateenv_53bit): Replace with
4353 libc_feresetround_53bit.
4354 (SET_RESTORE_ROUND_53BIT): Adjust.
4355
d180203e
SP
43562013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4357
96df079a
SP
4358 * string/test-strchrnul.c: Add copyright header.
4359
d180203e
SP
4360 * posix/tst-getaddrinfo4.c: Increase test timeout.
4361
8b0ccb2d
CD
43622013-06-03 Carlos O'Donell <carlos@redhat.com>
4363
4364 [BZ #15536]
4365 * math/libm-test.inc (MAX_EXP): Remove
4366 (MIN_EXP): Define.
4367 (ulp): Use MIN_EXP - MANT_DIG.
4368 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4369
3b3c4d40
CD
43702013-05-31 Carlos O'Donell <carlos@redhat.com>
4371
4372 * po/be.po: Revert last change.
4373 * po/zh_CN.po: Likewise.
4374 * po/header.pot: Likewise.
4375
fab7ce3f
JM
43762013-05-31 Joseph Myers <joseph@codesourcery.com>
4377
4378 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4379 link-libc-deps to empty as target-specific variable.
4380 * Makerules (link-libc-args): New variable.
4381 (libc-for-link): Likewise.
4382 (link-libc-deps): Likewise.
4383 (lib%.so): Depend on $(link-libc-deps). Link with
4384 $(link-libc-args).
4385 (build-module): Link with $(link-libc-args).
4386 (build-module-asneeded): Likewise.
4387 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4388 list of objects.
4389 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4390 target-specific variable.
4391 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4392 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4393 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4394 libc.
4395 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4396 libc and ld.so.
4397 ($(objpfx)libpcprofile.so): Likewise.
4398 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4399 libc_nonshared.a.
4400 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4401 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4402 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4403 $(link-libc-deps).
4404 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4405 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4406 * login/Makefile ($(objpfx)libutil.so): Likewise.
4407 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4408 * math/Makefile ($(objpfx)libm.so): Likewise.
4409 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4410 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4411 variable instead of depending directly on libc.
4412 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4413 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4414 $(link-libc-deps).
4415 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4416 libc.
4417 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4418 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4419 ($(objpfx)libanl.so): Likewise.
4420 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4421 ld.so.
4422 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4423 $(link-libc-deps).
4424 * sysdeps/i386/fpu/Makefile: Remove file.
4425 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4426 ($(objpfx)libm.so): Remove dependency on ld.so.
4427
eca5920c
PF
44282013-05-30 Patsy Franklin <pfrankli@redhat.com>
4429
4430 [BZ # 15553]
4431 * nis/yp_xdr.c (XDRMAXNAME): Define.
4432 (XDRMAXRECORD): Define.
4433 (xdr_domainname): Use XDRMAXNAME.
4434 (xdr_mapname): Likewise.
4435 (xdr_peername): Likewise.
4436 (xdr_keydat): Use XDRMAXRECORD.
4437 (xdr_valdat): Likewise.
4438
44392013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4440
4441 [BZ #14256]
4442 * manual/errno.texi (ESTALE): Update to account for more than
4443 just NFS file systems.
4444 * sysdeps/gnu/errlist.c: Regenerated.
4445
b9375348
SP
44462013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4447
4448 [BZ #15465]
4449 * elf/Makefile (tests): Add tst-null-argv.
4450 (modules-names): Add tst-null-argv-lib.
4451 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4452 (tst-null-argv-ENV): Set environment for tst-null-argv.
4453 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4454 (RTLD_PROGNAME): New macro.
4455 * elf/tst-null-argv.c: New test case.
4456 * elf/tst-null-argv-lib.c: Library for test case.
4457 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4458 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4459 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4460 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4461 * elf/dl-init.c (call_init): Likewise.
4462 (_dl_init): Likewise.
4463 * elf/dl-load.c (print_search_path): Likewise.
4464 (_dl_map_object): Likewise.
4465 * elf/dl-lookup.c (do_lookup_x): Likewise.
4466 (add_dependency): Likewise.
4467 (_dl_lookup_symbol_x): Likewise.
4468 (_dl_debug_bindings): Likewise.
4469 * elf/dl-open.c (_dl_show_scope): Likewise.
4470 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4471 * elf/dl-version.c (match_symbol): Likewise.
4472 (_dl_check_map_versions): Likewise.
4473 * elf/rtld.c (dl_main): Likewise.
4474 (print_unresolved): Use RTLD_PROGNAME.
4475 (print_missing_version): Likewise.
4476 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4477 (elf_machine_rela): Likewise.
4478 * sysdeps/powerpc/powerpc32/dl-machine.c
4479 (__process_machine_rela): Likewise.
4480 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4481 Likewise.
4482 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4483 Likewise.
4484 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4485 Likewise.
4486 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4487 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4488 Likewise.
4489 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4490 Likewise.
4491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4492
8a9f20c8
CD
44932013-05-28 Carlos O'Donell <carlos@redhat.com>
4494
4495 * po/be.po: Add descriptive title.
4496 * po/zh_CN.po: Likewise.
4497 * po/header.pot: Likewise.
4498
0e60d68e
MF
44992013-05-28 Mike Frysinger <vapier@gentoo.org>
4500
4501 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4502 error message.
4503 (enlarge_archive): Likewise.
4504
56b672e9
BN
45052013-05-28 Ben North <ben@redfrontdoor.org>
4506
4507 * manual/arith.texi (frexp): It is the magnitude of the return
4508 value which lies in [0.5, 1), not the return value itself.
4509
5e056687
AZ
45102013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4511
4512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4513
2b66ef5d
TS
45142013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4515
528c2405
TS
4516 * stdio-common/bug26.c (main): Correct fscanf template.
4517
07b4c13d
TS
4518 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4519 declare _dl_skip_args.
4520
ec9dd97c
TS
4521 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4522 Don't declare.
4523
2b66ef5d
TS
4524 * manual/platform.texi: Add missing @end deftypefun.
4525
4f8dfe27
JM
45262013-05-24 Joseph Myers <joseph@codesourcery.com>
4527
0323d086
JM
4528 [BZ #15529]
4529 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4530 bit of mantissa of 2^16382.
4531 * math/libm-test.inc (hypot_test_data): Add more tests.
4532
dd4259b9
JM
4533 * math/libm-test.inc: Add drem and pow10 to list of tested
4534 functions.
4535 (pow10_test): New function.
4536 (drem_test): Likewise.
4537 (drem_test_tonearest): Likewise.
4538 (drem_test_towardzero): Likewise.
4539 (drem_test_downward): Likewise.
4540 (drem_test_upward): Likewise.
4541 (main): Call the new functions.
4542
4f8dfe27
JM
4543 * math/libm-test.inc (finite_test_data): Remove.
4544 (finite_test): Run tests from isfinite_test_data.
4545 (gamma_test_data): Remove.
4546 (gamma_test): Run tests from lgamma_test_data.
4547 * sysdeps/i386/fpu/libm-test-ulps: Update.
4548 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4549
d116b7c4
AZ
45502013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4551
4552 * manual/platform.texi: Add PowerPC PPR function set documentation.
4553 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4554 implementation.
4555
e96e3767
CD
45562013-05-24 Carlos O'Donell <carlos@redhat.com>
4557
4558 * math/libm-test.inc (MAX_EXP): Define.
4559 (ULPDIFF): Define.
4560 (ulp): New function.
4561 (check_float_internal): Use ULPDIFF.
4562 (cpow_test): Disable failing test.
4563 (check_ulp): Test ulp() implemetnation.
4564 (main): Call check_ulp before starting tests.
4565
b679a606
JM
45662013-05-24 Joseph Myers <joseph@codesourcery.com>
4567
e8bdba36
JM
4568 * math/gen-libm-test.pl (generate_testfile): Do not handle
4569 START_DATA and END_DATA.
4570 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4571 END_DATA.
4572 (acos_tonearest_test_data): Likewise.
4573 (acos_towardzero_test_data): Likewise.
4574 (acos_downward_test_data): Likewise.
4575 (acos_upward_test_data): Likewise.
4576 (acosh_test_data): Likewise.
4577 (asin_test_data): Likewise.
4578 (asin_tonearest_test_data): Likewise.
4579 (asin_towardzero_test_data): Likewise.
4580 (asin_downward_test_data): Likewise.
4581 (asin_upward_test_data): Likewise.
4582 (asinh_test_data): Likewise.
4583 (atan_test_data): Likewise.
4584 (atanh_test_data): Likewise.
4585 (atan2_test_data): Likewise.
4586 (cabs_test_data): Likewise.
4587 (cacos_test_data): Likewise.
4588 (cacosh_test_data): Likewise.
4589 (carg_test_data): Likewise.
4590 (casin_test_data): Likewise.
4591 (casinh_test_data): Likewise.
4592 (catan_test_data): Likewise.
4593 (catanh_test_data): Likewise.
4594 (cbrt_test_data): Likewise.
4595 (ccos_test_data): Likewise.
4596 (ccosh_test_data): Likewise.
4597 (ceil_test_data): Likewise.
4598 (cexp_test_data): Likewise.
4599 (cimag_test_data): Likewise.
4600 (clog_test_data): Likewise.
4601 (clog10_test_data): Likewise.
4602 (conj_test_data): Likewise.
4603 (copysign_test_data): Likewise.
4604 (cos_test_data): Likewise.
4605 (cos_tonearest_test_data): Likewise.
4606 (cos_towardzero_test_data): Likewise.
4607 (cos_downward_test_data): Likewise.
4608 (cos_upward_test_data): Likewise.
4609 (cosh_test_data): Likewise.
4610 (cosh_tonearest_test_data): Likewise.
4611 (cosh_towardzero_test_data): Likewise.
4612 (cosh_downward_test_data): Likewise.
4613 (cosh_upward_test_data): Likewise.
4614 (cpow_test_data): Likewise.
4615 (cproj_test_data): Likewise.
4616 (creal_test_data): Likewise.
4617 (csin_test_data): Likewise.
4618 (csinh_test_data): Likewise.
4619 (csqrt_test_data): Likewise.
4620 (ctan_test_data): Likewise.
4621 (ctan_tonearest_test_data): Likewise.
4622 (ctan_towardzero_test_data): Likewise.
4623 (ctan_downward_test_data): Likewise.
4624 (ctan_upward_test_data): Likewise.
4625 (ctanh_test_data): Likewise.
4626 (ctanh_tonearest_test_data): Likewise.
4627 (ctanh_towardzero_test_data): Likewise.
4628 (ctanh_downward_test_data): Likewise.
4629 (ctanh_upward_test_data): Likewise.
4630 (erf_test_data): Likewise.
4631 (erfc_test_data): Likewise.
4632 (exp_test_data): Likewise.
4633 (exp_tonearest_test_data): Likewise.
4634 (exp_towardzero_test_data): Likewise.
4635 (exp_downward_test_data): Likewise.
4636 (exp_upward_test_data): Likewise.
4637 (exp10_test_data): Likewise.
4638 (exp2_test_data): Likewise.
4639 (expm1_test_data): Likewise.
4640 (fabs_test_data): Likewise.
4641 (fdim_test_data): Likewise.
4642 (finite_test_data): Likewise.
4643 (floor_test_data): Likewise.
4644 (fma_test_data): Likewise.
4645 (fma_towardzero_test_data): Likewise.
4646 (fma_downward_test_data): Likewise.
4647 (fma_upward_test_data): Likewise.
4648 (fmax_test_data): Likewise.
4649 (fmin_test_data): Likewise.
4650 (fmod_test_data): Likewise.
4651 (fpclassify_test_data): Likewise.
4652 (frexp_test_data): Likewise.
4653 (gamma_test_data): Likewise.
4654 (hypot_test_data): Likewise.
4655 (ilogb_test_data): Likewise.
4656 (isfinite_test_data): Likewise.
4657 (isgreater_test_data): Likewise.
4658 (isgreaterequal_test_data): Likewise.
4659 (isinf_test_data): Likewise.
4660 (isless_test_data): Likewise.
4661 (islessequal_test_data): Likewise.
4662 (islessgreater_test_data): Likewise.
4663 (isnan_test_data): Likewise.
4664 (isnormal_test_data): Likewise.
4665 (issignaling_test_data): Likewise.
4666 (isunordered_test_data): Likewise.
4667 (j0_test_data): Likewise.
4668 (j1_test_data): Likewise.
4669 (jn_test_data): Likewise.
4670 (ldexp_test_data): Likewise.
4671 (lgamma_test_data): Likewise.
4672 (lrint_test_data): Likewise.
4673 (lrint_tonearest_test_data): Likewise.
4674 (lrint_towardzero_test_data): Likewise.
4675 (lrint_downward_test_data): Likewise.
4676 (lrint_upward_test_data): Likewise.
4677 (llrint_test_data): Likewise.
4678 (llrint_tonearest_test_data): Likewise.
4679 (llrint_towardzero_test_data): Likewise.
4680 (llrint_downward_test_data): Likewise.
4681 (llrint_upward_test_data): Likewise.
4682 (log_test_data): Likewise.
4683 (log10_test_data): Likewise.
4684 (log1p_test_data): Likewise.
4685 (log2_test_data): Likewise.
4686 (logb_test_data): Likewise.
4687 (logb_downward_test_data): Likewise.
4688 (lround_test_data): Likewise.
4689 (llround_test_data): Likewise.
4690 (modf_test_data): Likewise.
4691 (nearbyint_test_data): Likewise.
4692 (nextafter_test_data): Likewise.
4693 (nexttoward_test_data): Likewise.
4694 (pow_test_data): Likewise.
4695 (pow_tonearest_test_data): Likewise.
4696 (pow_towardzero_test_data): Likewise.
4697 (pow_downward_test_data): Likewise.
4698 (pow_upward_test_data): Likewise.
4699 (remainder_test_data): Likewise.
4700 (remainder_tonearest_test_data): Likewise.
4701 (remainder_towardzero_test_data): Likewise.
4702 (remainder_downward_test_data): Likewise.
4703 (remainder_upward_test_data): Likewise.
4704 (remquo_test_data): Likewise.
4705 (rint_test_data): Likewise.
4706 (rint_tonearest_test_data): Likewise.
4707 (rint_towardzero_test_data): Likewise.
4708 (rint_downward_test_data): Likewise.
4709 (rint_upward_test_data): Likewise.
4710 (round_test_data): Likewise.
4711 (scalb_test_data): Likewise.
4712 (scalbn_test_data): Likewise.
4713 (scalbln_test_data): Likewise.
4714 (signbit_test_data): Likewise.
4715 (sin_test_data): Likewise.
4716 (sin_tonearest_test_data): Likewise.
4717 (sin_towardzero_test_data): Likewise.
4718 (sin_downward_test_data): Likewise.
4719 (sin_upward_test_data): Likewise.
4720 (sincos_test_data): Likewise.
4721 (sinh_test_data): Likewise.
4722 (sinh_tonearest_test_data): Likewise.
4723 (sinh_towardzero_test_data): Likewise.
4724 (sinh_downward_test_data): Likewise.
4725 (sinh_upward_test_data): Likewise.
4726 (sqrt_test_data): Likewise.
4727 (tan_test_data): Likewise.
4728 (tan_tonearest_test_data): Likewise.
4729 (tan_towardzero_test_data): Likewise.
4730 (tan_downward_test_data): Likewise.
4731 (tan_upward_test_data): Likewise.
4732 (tanh_test_data): Likewise.
4733 (tgamma_test_data): Likewise.
4734 (trunc_test_data): Likewise.
4735 (y0_test_data): Likewise.
4736 (y1_test_data): Likewise.
4737 (yn_test_data): Likewise.
4738 (significand_test_data): Likewise.
4739
b679a606
JM
4740 * math/gen-libm-test.pl (@functions): Remove variable.
4741 (generate_testfile): Don't handle START and END lines.
4742 * math/libm-test.inc (START): New macro.
4743 (END): Likewise.
4744 (END_COMPLEX): Likewise.
4745 (acos_test): Use END macro without arguments.
4746 (acos_test_tonearest): Likewise.
4747 (acos_test_towardzero): Likewise.
4748 (acos_test_downward): Likewise.
4749 (acos_test_upward): Likewise.
4750 (acosh_test): Likewise.
4751 (asin_test): Likewise.
4752 (asin_test_tonearest): Likewise.
4753 (asin_test_towardzero): Likewise.
4754 (asin_test_downward): Likewise.
4755 (asin_test_upward): Likewise.
4756 (asinh_test): Likewise.
4757 (atan_test): Likewise.
4758 (atanh_test): Likewise.
4759 (atan2_test): Likewise.
4760 (cabs_test): Likewise.
4761 (cacos_test): Use END_COMPLEX macro without arguments.
4762 (cacosh_test): Likewise.
4763 (carg_test): Use END macro without arguments.
4764 (casin_test): Use END_COMPLEX macro without arguments.
4765 (casinh_test): Likewise.
4766 (catan_test): Likewise.
4767 (catanh_test): Likewise.
4768 (cbrt_test): Use END macro without arguments.
4769 (ccos_test): Use END_COMPLEX macro without arguments.
4770 (ccosh_test): Likewise.
4771 (ceil_test): Use END macro without arguments.
4772 (cexp_test): Use END_COMPLEX macro without arguments.
4773 (cimag_test): Use END macro without arguments.
4774 (clog_test): Use END_COMPLEX macro without arguments.
4775 (clog10_test): Likewise.
4776 (conj_test): Likewise.
4777 (copysign_test): Use END macro without arguments.
4778 (cos_test): Likewise.
4779 (cos_test_tonearest): Likewise.
4780 (cos_test_towardzero): Likewise.
4781 (cos_test_downward): Likewise.
4782 (cos_test_upward): Likewise.
4783 (cosh_test): Likewise.
4784 (cosh_test_tonearest): Likewise.
4785 (cosh_test_towardzero): Likewise.
4786 (cosh_test_downward): Likewise.
4787 (cosh_test_upward): Likewise.
4788 (cpow_test): Use END_COMPLEX macro without arguments.
4789 (cproj_test): Likewise.
4790 (creal_test): Use END macro without arguments.
4791 (csin_test): Use END_COMPLEX macro without arguments.
4792 (csinh_test): Likewise.
4793 (csqrt_test): Likewise.
4794 (ctan_test): Likewise.
4795 (ctan_test_tonearest): Likewise.
4796 (ctan_test_towardzero): Likewise.
4797 (ctan_test_downward): Likewise.
4798 (ctan_test_upward): Likewise.
4799 (ctanh_test): Likewise.
4800 (ctanh_test_tonearest): Likewise.
4801 (ctanh_test_towardzero): Likewise.
4802 (ctanh_test_downward): Likewise.
4803 (ctanh_test_upward): Likewise.
4804 (erf_test): Use END macro without arguments.
4805 (erfc_test): Likewise.
4806 (exp_test): Likewise.
4807 (exp_test_tonearest): Likewise.
4808 (exp_test_towardzero): Likewise.
4809 (exp_test_downward): Likewise.
4810 (exp_test_upward): Likewise.
4811 (exp10_test): Likewise.
4812 (exp2_test): Likewise.
4813 (expm1_test): Likewise.
4814 (fabs_test): Likewise.
4815 (fdim_test): Likewise.
4816 (finite_test): Likewise.
4817 (floor_test): Likewise.
4818 (fma_test): Likewise.
4819 (fma_test_towardzero): Likewise.
4820 (fma_test_downward): Likewise.
4821 (fma_test_upward): Likewise.
4822 (fmax_test): Likewise.
4823 (fmin_test): Likewise.
4824 (fmod_test): Likewise.
4825 (fpclassify_test): Likewise.
4826 (frexp_test): Likewise.
4827 (gamma_test): Likewise.
4828 (hypot_test): Likewise.
4829 (ilogb_test): Likewise.
4830 (isfinite_test): Likewise.
4831 (isgreater_test): Likewise.
4832 (isgreaterequal_test): Likewise.
4833 (isinf_test): Likewise.
4834 (isless_test): Likewise.
4835 (islessequal_test): Likewise.
4836 (islessgreater_test): Likewise.
4837 (isnan_test): Likewise.
4838 (isnormal_test): Likewise.
4839 (issignaling_test): Likewise.
4840 (isunordered_test): Likewise.
4841 (j0_test): Likewise.
4842 (j1_test): Likewise.
4843 (jn_test): Likewise.
4844 (ldexp_test): Likewise.
4845 (lgamma_test): Likewise.
4846 (lrint_test): Likewise.
4847 (lrint_test_tonearest): Likewise.
4848 (lrint_test_towardzero): Likewise.
4849 (lrint_test_downward): Likewise.
4850 (lrint_test_upward): Likewise.
4851 (llrint_test): Likewise.
4852 (llrint_test_tonearest): Likewise.
4853 (llrint_test_towardzero): Likewise.
4854 (llrint_test_downward): Likewise.
4855 (llrint_test_upward): Likewise.
4856 (log_test): Likewise.
4857 (log10_test): Likewise.
4858 (log1p_test): Likewise.
4859 (log2_test): Likewise.
4860 (logb_test): Likewise.
4861 (logb_test_downward): Likewise.
4862 (lround_test): Likewise.
4863 (llround_test): Likewise.
4864 (modf_test): Likewise.
4865 (nearbyint_test): Likewise.
4866 (nextafter_test): Likewise.
4867 (nexttoward_test): Likewise.
4868 (pow_test): Likewise.
4869 (pow_test_tonearest): Likewise.
4870 (pow_test_towardzero): Likewise.
4871 (pow_test_downward): Likewise.
4872 (pow_test_upward): Likewise.
4873 (remainder_test): Likewise.
4874 (remainder_test_tonearest): Likewise.
4875 (remainder_test_towardzero): Likewise.
4876 (remainder_test_downward): Likewise.
4877 (remainder_test_upward): Likewise.
4878 (remquo_test): Likewise.
4879 (rint_test): Likewise.
4880 (rint_test_tonearest): Likewise.
4881 (rint_test_towardzero): Likewise.
4882 (rint_test_downward): Likewise.
4883 (rint_test_upward): Likewise.
4884 (round_test): Likewise.
4885 (scalb_test): Likewise.
4886 (scalbn_test): Likewise.
4887 (scalbln_test): Likewise.
4888 (signbit_test): Likewise.
4889 (sin_test): Likewise.
4890 (sin_test_tonearest): Likewise.
4891 (sin_test_towardzero): Likewise.
4892 (sin_test_downward): Likewise.
4893 (sin_test_upward): Likewise.
4894 (sincos_test): Likewise.
4895 (sinh_test): Likewise.
4896 (sinh_test_tonearest): Likewise.
4897 (sinh_test_towardzero): Likewise.
4898 (sinh_test_downward): Likewise.
4899 (sinh_test_upward): Likewise.
4900 (sqrt_test): Likewise.
4901 (tan_test): Likewise.
4902 (tan_test_tonearest): Likewise.
4903 (tan_test_towardzero): Likewise.
4904 (tan_test_downward): Likewise.
4905 (tan_test_upward): Likewise.
4906 (tanh_test): Likewise.
4907 (tgamma_test): Likewise.
4908 (trunc_test): Likewise.
4909 (y0_test): Likewise.
4910 (y1_test): Likewise.
4911 (yn_test): Likewise.
4912 (significand_test): Likewise.
4913
bae143d2
OB
49142013-05-24 Ondřej Bílka <neleai@seznam.cz>
4915
4916 [BZ #15381]
4917 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4918
9323d39b
EM
49192013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4920
d4ea44a0 4921 [BZ #14894]
9323d39b
EM
4922 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4923 __ppc_mdoio and __ppc_mdoom.
4924 * manual/platform.texi: Document new functions __ppc_yield,
4925 __ppc_mdoio and __ppc_mdoom.
4926
13e23af7
CD
49272013-05-22 Carlos O'Donell <carlos@redhat.com>
4928
4929 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4930 (main): Mention "tls" pseudo-hwcap is legacy.
4931 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4932
351fe550
JM
49332013-05-22 Joseph Myers <joseph@codesourcery.com>
4934
4935 * math/gen-libm-test.pl (parse_args): Output only string of
4936 arguments as text for test name, not full call or descriptions of
4937 tests for extra outputs.
4938 (generate_testfile): Do not pass function name to parse_args.
4939 Generate this_func variable from START.
4940 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4941 field to arg_str.
4942 (struct test_ff_f_data): Likewise.
4943 (test_ff_f_data_nexttoward): Likewise.
4944 (struct test_fi_f_data): Likewise.
4945 (struct test_fl_f_data): Likewise.
4946 (struct test_if_f_data): Likewise.
4947 (struct test_fff_f_data): Likewise.
4948 (struct test_c_f_data): Likewise.
4949 (struct test_f_f1_data): Likewise. Remove field extra_name.
4950 (struct test_fF_f1_data): Likewise.
4951 (struct test_ffI_f1_data): Likewise.
4952 (struct test_c_c_data): Rename test_name field to arg_str.
4953 (struct test_cc_c_data): Likewise.
4954 (struct test_f_i_data): Likewise.
4955 (struct test_ff_i_data): Likewise.
4956 (struct test_f_l_data): Likewise.
4957 (struct test_f_L_data): Likewise.
4958 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4959 and extra2_name.
4960 (COMMON_TEST_SETUP): New macro.
4961 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4962 (COMMON_TEST_CLEANUP): Likewise.
4963 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4964 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4965 macros.
4966 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4967 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4968 macros.
4969 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4970 (RUN_TEST_fff_f): Take argument string. Call new setup and
4971 cleanup macros.
4972 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4973 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4974 macros.
4975 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4976 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4977 macros.
4978 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4979 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4980 cleanup macros.
4981 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4982 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4983 cleanup macros.
4984 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4985 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4986 cleanup macros.
4987 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4988 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4989 macros.
4990 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4991 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4992 macros.
4993 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4994 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4995 macros.
4996 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4997 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4998 cleanup macros.
4999 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5000 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5001 cleanup macros.
5002 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5003 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5004 macros.
5005 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5006 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5007 cleanup macros.
5008 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5009 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5010 macros.
5011 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5012 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5013 macros.
5014 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5015 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5016 cleanup macros.
5017 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5018
85118d4d
EBM
50192013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5020
5021 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5022 to _sifields.sigfault.
5023 (si_addr_lsb): Define new macro.
5024 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5025 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5026 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5027
7a44c18f
CD
50282013-05-03 Carlos O'Donell <carlos at redhat.com>
5029
5030 [BZ #15441]
5031 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5032 returns -1.
5033 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5034 null return -1.
5035 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5036 loading the domain.
5037
b50a7181
JM
50382013-05-22 Joseph Myers <joseph@codesourcery.com>
5039
5040 * math/gen-libm-test.pl (parse_args): Do not include expected
5041 result in test name.
5042 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5043 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5044 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5045 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5046 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5048
051063c8
SP
50492013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5050
3ce9e010
SP
5051 * benchtests/Makefile: Sort function entries.
5052
051063c8
SP
5053 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5054 tanh, asinh, acosh, atanh.
5055 * benchtests/acos-inputs: New file.
5056 * benchtests/acosh-inputs: New file.
5057 * benchtests/asin-inputs: New file.
5058 * benchtests/asinh-inputs: New file.
5059 * benchtests/atanh-inputs: New file.
5060 * benchtests/cosh-inputs: New file.
5061 * benchtests/log-inputs: New file.
5062 * benchtests/sinh-inputs: New file.
5063 * benchtests/tanh-inputs: New file.
5064
47c22455
DL
50652013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5066
5067 [BZ #15339]
5068 * posix/tst-getaddrinfo4.c: New test.
5069 * posix/Makefile (tests): Add it.
5070
3d04f5db
SP
50712013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 [BZ #15339]
5074 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5075 when no services were used.
5076 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5077 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5078
d5dd6189
AS
50792013-05-21 Andreas Schwab <schwab@suse.de>
5080
5081 [BZ #15014]
5082 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5083 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5084 successful.
5085 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5086 redundant variable declarations and reallocation of buffer when
5087 parsing as IPv6 address. Always set NSS status when called from
5088 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5089 buffer too small. Correct computation of needed size.
5090 * nss/Makefile (tests): Add test-digits-dots.
5091 * nss/test-digits-dots.c: New test.
5092
fef94eab
SP
50932013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5094
5095 * benchtests/Makefile: Remove instructions for adding
5096 benchmark tests.
5097 * benchtests/README: New file to explain how to execute and
5098 enhance the benchmark tests.
5099
e39adf43
AS
51002013-05-21 Andreas Schwab <schwab@suse.de>
5101
5102 [BZ #15493]
5103 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5104 * setjmp/tst-sigsetjmp.c: New test.
5105
b2b671b6
OB
51062013-05-20 Ondřej Bílka <neleai@seznam.cz>
5107
5108 * sysdeps/x86_64/memset.S (memset): New implementation.
5109 (__bzero): Likewise.
5110 (__memset_tail): New function.
5111
2d48b41c
OB
51122013-05-20 Ondřej Bílka <neleai@seznam.cz>
5113
5114 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5115 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5116 __memcpy_sse2_unaligned ifunc selection.
5117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5118 Add memcpy-sse2-unaligned.S.
5119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5120 Add: __memcpy_sse2_unaligned.
5121
f16cc3eb
JM
51222013-05-19 Joseph Myers <joseph@codesourcery.com>
5123
3e694268
JM
5124 [BZ #15490]
5125 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5126 math_force_eval before restoring floating-point envrionment.
5127 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5128 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5129 Likewise.
5130 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5131 <math_private.h>.
5132 (__nearbyintl): Use math_force_eval before restoring
5133 floating-point environment.
5134 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5135
db62a907
JM
5136 * math/gen-libm-test.pl (special_functions): Remove.
5137 (parse_args): Don't handle TEST_extra. Handle functions with no
5138 return value.
5139 * math/libm-test.inc (struct test_sincos_data): Replace with
5140 struct test_fFF_11_data.
5141 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5142 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5143 (sincos_test_data): Change element type to struct
5144 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5145 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5146 RUN_TEST_LOOP_sincos.
5147 * math/README.libm-test: Don't mention special handling of
5148 individual functions.
5149 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5150 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5151 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5152 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5153 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5155
f16cc3eb
JM
5156 * math/gen-libm-test.pl (get_variable): Remove function.
5157 (parse_args): Don't show pointer parameters to call in test
5158 names. Use "extra output N" in test names for extra outputs
5159 rather than naming variables.
5160
3779b5b6
JM
51612013-05-18 Joseph Myers <joseph@codesourcery.com>
5162
2ee094ff
JM
5163 [BZ #15488]
5164 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5165 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5166 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5167 double tests.
5168 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5169 disable.
5170 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5171 check_long_double.
5172
3779b5b6
JM
5173 * math/gen-libm-test.pl (@tests): Remove variable.
5174 ($count): Likewise.
5175 (new_test): Remove function.
5176 (show_exceptions): New function.
5177 (special_functions): Use show_exceptions instead of new_test.
5178 (parse_args): Likewise.
5179 (generate_testfile): Pass only function name in generated call to
5180 print_max_error or print_complex_max_error.
5181 (get_ulps): Do not handle complex tests specially.
5182 (output_test): Rename to ...
5183 (get_all_ulps_for_test): ... this. Return a string rather than
5184 printing to a file. Require ulps to be present.
5185 (output_ulps): Generate arrays rather than #defines.
5186 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5187 (struct ulp_data): New type.
5188 (BUILD_COMPLEX_ULP): Remove macro.
5189 (compare_ulp_data): New function.
5190 (find_ulps): Likewise.
5191 (find_test_ulps): Likewise.
5192 (find_function_ulps): Likewise.
5193 (find_complex_function_ulps): Likewise.
5194 (print_max_error): Determine allowed ulps using
5195 find_function_ulps.
5196 (print_complex_max_error): Determine allowed ulps using
5197 find_complex_function_ulps.
5198 (check_float_internal): Determine max ulps using find_test_ulps.
5199 (check_float): Do not take max_ulp parameter. Update call to
5200 check_float_internal.
5201 (check_complex): Likewise.
5202 (check_int): Do not take max_ulp parameter.
5203 (check_long): Likewise.
5204 (check_bool): Likewise.
5205 (check_longlong): Likewise.
5206 (struct test_f_f_data): Remove max_ulp field.
5207 (struct test_ff_f_data): Likewise.
5208 (struct test_ff_f_data_nexttoward): Likewise.
5209 (struct test_fi_f_data): Likewise.
5210 (struct test_fl_f_data): Likewise.
5211 (struct test_if_f_data): Likewise.
5212 (struct test_fff_f_data): Likewise.
5213 (struct test_c_f_data): Likewise.
5214 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5215 (struct test_fF_f1_data): Likewise.
5216 (struct test_ffI_f1_data): Likewise.
5217 (struct test_c_c_data): Remove max_ulp field.
5218 (struct test_cc_c_data): Likewise.
5219 (struct test_f_i_data): Likewise.
5220 (struct test_ff_i_data): Likewise.
5221 (struct test_f_l_data): Likewise.
5222 (struct test_f_L_data): Likewise.
5223 (struct test_sincos_data): Likewise.
5224 (RUN_TEST_f_f): Do not handle ulps.
5225 (RUN_TEST_LOOP_f_f): Likewise.
5226 (RUN_TEST_2_f): Likewise.
5227 (RUN_TEST_LOOP_2_f): Likewise.
5228 (RUN_TEST_fff_f): Likewise.
5229 (RUN_TEST_LOOP_fff_f): Likewise.
5230 (RUN_TEST_c_f): Likewise.
5231 (RUN_TEST_LOOP_c_f): Likewise.
5232 (RUN_TEST_f_f1): Likewise.
5233 (RUN_TEST_LOOP_f_f1): Likewise.
5234 (RUN_TEST_fF_f1): Likewise.
5235 (RUN_TEST_LOOP_fF_f1): Likewise.
5236 (RUN_TEST_fI_f1): Likewise.
5237 (RUN_TEST_LOOP_fI_f1): Likewise.
5238 (RUN_TEST_ffI_f1): Likewise.
5239 (RUN_TEST_LOOP_ffI_f1): Likewise.
5240 (RUN_TEST_c_c): Likewise.
5241 (RUN_TEST_LOOP_c_c): Likewise.
5242 (RUN_TEST_cc_c): Likewise.
5243 (RUN_TEST_LOOP_cc_c): Likewise.
5244 (RUN_TEST_f_i): Likewise.
5245 (RUN_TEST_LOOP_f_i): Likewise.
5246 (RUN_TEST_f_i_tg): Likewise.
5247 (RUN_TEST_LOOP_f_i_tg): Likewise.
5248 (RUN_TEST_ff_i_tg): Likewise.
5249 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5250 (RUN_TEST_f_b): Likewise.
5251 (RUN_TEST_LOOP_f_b): Likewise.
5252 (RUN_TEST_f_b_tg): Likewise.
5253 (RUN_TEST_LOOP_f_b_tg): Likewise.
5254 (RUN_TEST_f_l): Likewise.
5255 (RUN_TEST_LOOP_f_l): Likewise.
5256 (RUN_TEST_f_L): Likewise.
5257 (RUN_TEST_LOOP_f_L): Likewise.
5258 (RUN_TEST_sincos): Likewise.
5259 (RUN_TEST_LOOP_sincos): Likewise.
5260
8269107f
JM
52612013-05-17 Joseph Myers <joseph@codesourcery.com>
5262
bb38759d
JM
5263 [BZ #15480]
5264 [BZ #15485]
5265 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5266 main case of finite arguments, set rounding mode to FE_TONEAREST
5267 and discard exceptions.
5268 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5269 exceptions.
5270 (remainder_tonearest_test_data): New variable.
5271 (remainder_test_tonearest): New function.
5272 (remainder_towardzero_test_data): New variable.
5273 (remainder_test_towardzero): New function.
5274 (remainder_downward_test_data): New variable.
5275 (remainder_test_downward): New function.
5276 (remainder_upward_test_data): New variable.
5277 (remainder_test_upward): New function.
5278 (main): Call the new test functions.
5279
a00bdcf0
JM
5280 * math/libm-test.inc (struct test_f_f1_data): Remove field
5281 extra_init.
5282 (struct test_fF_f1_data): Likewise.
5283 (struct test_ffI_f1_data): Likewise.
5284 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5285 based on value of EXTRA_EXPECTED.
5286 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5287 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5288 EXTRA_VAR based on value of EXTRA_EXPECTED.
5289 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5290 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5291 EXTRA_VAR based on value of EXTRA_EXPECTED.
5292 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5293 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5294 EXTRA_VAR based on value of EXTRA_EXPECTED.
5295 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5296 * math/gen-libm-test.pl (parse_args): Don't output initializers
5297 for extra output values.
5298
de407f79
JM
5299 * math/libm-test.inc (check_int): Expect result to be exactly
5300 equal to expected value and do not handle ulps.
5301 (check_long): Likewise.
5302 (check_longlong): Likewise.
5303
8269107f
JM
5304 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5305 exceptions.
5306 (cimag_test_data): Likewise.
5307 (conj_test_data): Likewise.
5308 (copysign_test_data): Likewise.
5309 (cproj_test_data): Likewise.
5310 (creal_test_data): Likewise.
5311 (fabs_test_data): Likewise.
5312 (fdim_test_data): Likewise.
5313 (finite_test_data): Likewise.
5314 (floor_test_data): Likewise.
5315 (fmax_test_data): Likewise.
5316 (fmin_test_data): Likewise.
5317 (fmod_test_data): Likewise.
5318 (fpclassify_test_data): Likewise.
5319 (frexp_test_data): Likewise.
5320 (ilogb_test_data): Likewise.
5321 (isfinite_test_data): Likewise.
5322 (isgreater_test_data): Likewise.
5323 (isgreaterequal_test_data): Likewise.
5324 (isinf_test_data): Likewise.
5325 (isless_test_data): Likewise.
5326 (islessequal_test_data): Likewise.
5327 (islessgreater_test_data): Likewise.
5328 (isnan_test_data): Likewise.
5329 (isnormal_test_data): Likewise.
5330 (issignaling_test_data): Likewise.
5331 (isunordered_test_data): Likewise.
5332 (ldexp_test_data): Likewise.
5333 (lrint_test_data): Likewise.
5334 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5335 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5336 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5337 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5338 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5339 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5340 test input.
5341 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5342 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5343 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5344 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5345 that test input.
5346 (lrint_downward_test_data): Test for "inexact" exceptions.
5347 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5348 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5349 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5350 test input.
5351 (lrint_upward_test_data): Test for "inexact" exceptions.
5352 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5353 test input.
5354 (llrint_test_data): Test for "inexact" exceptions.
5355 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5356 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5357 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5358 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5359 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5360 (llrint_downward_test_data): Test for "inexact" exceptions.
5361 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5362 (llrint_upward_test_data): Test for "inexact" exceptions.
5363 (logb_test_data): Likewise.
5364 (logb_downward_test_data): Likewise.
5365 (nextafter_test_data): Likewise.
5366 (nexttoward_test_data): Likewise.
5367 (remainder_test_data): Likewise.
5368 (remquo_test_data): Likewise.
5369 (scalbn_test_data): Likewise.
5370 (scalbln_test_data): Likewise.
5371 (signbit_test_data): Likewise.
5372 (sqrt_test_data): Likewise.
5373 (significand_test_data): Likewise.
5374
48a18de1
SP
53752013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5376
5377 [BZ #15424]
5378 * benchtests/bench-modf.c (struct args): Mark arg0 as
5379 volatile.
5380 * scripts/bench.pl: Mark members of struct args as volatile.
5381
13d3b41a
AZ
53822013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5383
68191c1d 5384 [BZ # 15497]
13d3b41a
AZ
5385 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5386 negative infinity on POWER6 or lower.
5387 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5388
2848b105
MR
53892013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5390
5391 [BZ #15442]
5392 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5393 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5394 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5395 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5396 (_FP_SETQNAN): New macro.
5397 (_FP_SETQNAN_SEMIRAW): Likewise.
5398 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5399 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5400 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5401 (FP_EXTEND): Use _FP_FRAC_SNANP.
5402 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5403 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5404 into account.
5405 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5406 New macro.
5407 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5408 Likewise.
5409
323e5cb7
JM
54102013-05-16 Joseph Myers <joseph@codesourcery.com>
5411
c58b274f
JM
5412 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5413 with DIVIDE_BY_ZERO_EXCEPTION.
5414 (gamma_test_data): Likewise.
5415 (lgamma_test_data): Likewise.
5416 (log_test_data): Likewise.
5417 (log10_test_data): Likewise.
5418 (log2_test_data): Likewise.
5419 (tgamma_test_data): Likewise.
5420
0ab34904
JM
5421 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5422 (acos_test_tonearest): Likewise.
5423 (acos_test_towardzero): Likewise.
5424 (acos_test_downward): Likewise.
5425 (acos_test_upward): Likewise.
5426 (acosh_test): Likewise.
5427 (asin_test): Likewise.
5428 (asin_test_tonearest): Likewise.
5429 (asin_test_towardzero): Likewise.
5430 (asin_test_downward): Likewise.
5431 (asin_test_upward): Likewise.
5432 (asinh_test): Likewise.
5433 (atan_test): Likewise.
5434 (atanh_test): Likewise.
5435 (atan2_test): Likewise.
5436 (cabs_test): Likewise.
5437 (cacos_test): Likewise.
5438 (cacosh_test): Likewise.
5439 (casin_test): Likewise.
5440 (casinh_test): Likewise.
5441 (catan_test): Likewise.
5442 (catanh_test): Likewise.
5443 (cbrt_test): Likewise.
5444 (ccos_test): Likewise.
5445 (ccosh_test): Likewise.
5446 (cexp_test): Likewise.
5447 (clog_test): Likewise.
5448 (clog10_test): Likewise.
5449 (cos_test): Likewise.
5450 (cos_test_tonearest): Likewise.
5451 (cos_test_towardzero): Likewise.
5452 (cos_test_downward): Likewise.
5453 (cos_test_upward): Likewise.
5454 (cosh_test): Likewise.
5455 (cosh_test_tonearest): Likewise.
5456 (cosh_test_towardzero): Likewise.
5457 (cosh_test_downward): Likewise.
5458 (cosh_test_upward): Likewise.
5459 (cpow_test): Likewise.
5460 (csin_test): Likewise.
5461 (csinh_test): Likewise.
5462 (csqrt_test): Likewise.
5463 (ctan_test): Likewise.
5464 (ctan_test_tonearest): Likewise.
5465 (ctan_test_towardzero): Likewise.
5466 (ctan_test_downward): Likewise.
5467 (ctan_test_upward): Likewise.
5468 (ctanh_test): Likewise.
5469 (ctanh_test_tonearest): Likewise.
5470 (ctanh_test_towardzero): Likewise.
5471 (ctanh_test_downward): Likewise.
5472 (ctanh_test_upward): Likewise.
5473 (erf_test): Likewise.
5474 (erfc_test): Likewise.
5475 (exp_test): Likewise.
5476 (exp_test_tonearest): Likewise.
5477 (exp_test_towardzero): Likewise.
5478 (exp_test_downward): Likewise.
5479 (exp_test_upward): Likewise.
5480 (exp10_test): Likewise.
5481 (exp2_test): Likewise.
5482 (expm1_test): Likewise.
5483 (fmod_test): Likewise.
5484 (gamma_test): Likewise.
5485 (hypot_test): Likewise.
5486 (j0_test): Likewise.
5487 (j1_test): Likewise.
5488 (jn_test): Likewise.
5489 (lgamma_test): Likewise.
5490 (log_test): Likewise.
5491 (log10_test): Likewise.
5492 (log1p_test): Likewise.
5493 (log2_test): Likewise.
5494 (logb_test_downward): Likewise.
5495 (pow_test): Likewise.
5496 (pow_test_tonearest): Likewise.
5497 (pow_test_towardzero): Likewise.
5498 (pow_test_downward): Likewise.
5499 (pow_test_upward): Likewise.
5500 (remainder_test): Likewise.
5501 (remquo_test): Likewise.
5502 (sin_test): Likewise.
5503 (sin_test_tonearest): Likewise.
5504 (sin_test_towardzero): Likewise.
5505 (sin_test_downward): Likewise.
5506 (sin_test_upward): Likewise.
5507 (sincos_test): Likewise.
5508 (sinh_test): Likewise.
5509 (sinh_test_tonearest): Likewise.
5510 (sinh_test_towardzero): Likewise.
5511 (sinh_test_downward): Likewise.
5512 (sinh_test_upward): Likewise.
5513 (sqrt_test): Likewise.
5514 (tan_test): Likewise.
5515 (tan_test_tonearest): Likewise.
5516 (tan_test_towardzero): Likewise.
5517 (tan_test_downward): Likewise.
5518 (tan_test_upward): Likewise.
5519 (tanh_test): Likewise.
5520 (tgamma_test): Likewise.
5521 (y0_test): Likewise.
5522 (y1_test): Likewise.
5523 (yn_test): Likewise.
5524
323e5cb7
JM
5525 * math/gen-libm-test.pl (adjust_arg): Remove function.
5526 (special_function): Remove argument $in_func. Only handle
5527 generating output for tables of tests, not inside functions.
5528 (parse_args): Likewise.
5529 (generate_testfile): Remove variable $in_func. Update call to
5530 parse_args.
5531 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5532 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5533 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5534 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5535 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5536 (MAX_VALUE_INIT): Rename macro to max_value.
5537 (MIN_VALUE_INIT): Rename macro to min_value.
5538 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5539 (plus_zero): Remove variable.
5540 (minus_zero): Likewise.
5541 (plus_infty): Likewise.
5542 (minus_infty): Likewise.
5543 (qnan_value): Likewise.
5544 (max_value): Likewise.
5545 (min_value): Likewise.
5546 (min_subnorm_value): Likewise.
5547
e054f494
RA
55482013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5549
5550 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5551 uint64_t or uint32_t usage.
5552 * crypt/sha256-block.c: Likewise.
5553 * crypt/sha256-crypt.c: Likewise.
5554 * crypt/sha256.c: Likewise.
5555 * crypt/sha512-block.c: Likewise.
5556 * crypt/sha512-crypt.c: Likewise.
5557 * crypt/sha512.c: Likewise.
5558 * debug/backtrace-tst.c: Likewise.
5559 * debug/pcprofiledump.c: Likewise.
5560 * elf/cache.c: Likewise.
5561 * elf/dl-cache.c: Likewise.
5562 * elf/dl-misc.c: Likewise.
5563 * elf/dl-profile.c: Likewise.
5564 * elf/dl-support.c: Likewise.
5565 * elf/ldconfig.c: Likewise.
5566 * elf/sprof.c: Likewise.
5567 * iconv/dummy-repertoire.c: Likewise.
5568 * iconv/iconv_charmap.c: Likewise.
5569 * iconv/skeleton.c: Likewise.
5570 * iconvdata/8bit-generic.c: Likewise.
5571 * iconvdata/cp737.h: Likewise.
5572 * iconvdata/cp775.h: Likewise.
5573 * iconvdata/ibm1008.h: Likewise.
5574 * iconvdata/ibm1025.h: Likewise.
5575 * iconvdata/ibm1046.h: Likewise.
5576 * iconvdata/ibm1097.h: Likewise.
5577 * iconvdata/ibm1112.h: Likewise.
5578 * iconvdata/ibm1122.h: Likewise.
5579 * iconvdata/ibm1123.h: Likewise.
5580 * iconvdata/ibm1124.h: Likewise.
5581 * iconvdata/ibm1129.h: Likewise.
5582 * iconvdata/ibm1130.h: Likewise.
5583 * iconvdata/ibm1132.h: Likewise.
5584 * iconvdata/ibm1133.h: Likewise.
5585 * iconvdata/ibm1137.h: Likewise.
5586 * iconvdata/ibm1140.h: Likewise.
5587 * iconvdata/ibm1141.h: Likewise.
5588 * iconvdata/ibm1142.h: Likewise.
5589 * iconvdata/ibm1143.h: Likewise.
5590 * iconvdata/ibm1144.h: Likewise.
5591 * iconvdata/ibm1145.h: Likewise.
5592 * iconvdata/ibm1146.h: Likewise.
5593 * iconvdata/ibm1147.h: Likewise.
5594 * iconvdata/ibm1148.h: Likewise.
5595 * iconvdata/ibm1149.h: Likewise.
5596 * iconvdata/ibm1153.h: Likewise.
5597 * iconvdata/ibm1154.h: Likewise.
5598 * iconvdata/ibm1155.h: Likewise.
5599 * iconvdata/ibm1156.h: Likewise.
5600 * iconvdata/ibm1157.h: Likewise.
5601 * iconvdata/ibm1158.h: Likewise.
5602 * iconvdata/ibm1160.h: Likewise.
5603 * iconvdata/ibm1161.h: Likewise.
5604 * iconvdata/ibm1162.h: Likewise.
5605 * iconvdata/ibm1163.h: Likewise.
5606 * iconvdata/ibm1164.h: Likewise.
5607 * iconvdata/ibm1166.h: Likewise.
5608 * iconvdata/ibm1167.h: Likewise.
5609 * iconvdata/ibm12712.h: Likewise.
5610 * iconvdata/ibm1390.h: Likewise.
5611 * iconvdata/ibm1399.h: Likewise.
5612 * iconvdata/ibm16804.h: Likewise.
5613 * iconvdata/ibm4517.h: Likewise.
5614 * iconvdata/ibm4899.h: Likewise.
5615 * iconvdata/ibm4909.h: Likewise.
5616 * iconvdata/ibm4971.h: Likewise.
5617 * iconvdata/ibm5347.h: Likewise.
5618 * iconvdata/ibm803.h: Likewise.
5619 * iconvdata/ibm856.h: Likewise.
5620 * iconvdata/ibm901.h: Likewise.
5621 * iconvdata/ibm902.h: Likewise.
5622 * iconvdata/ibm9030.h: Likewise.
5623 * iconvdata/ibm9066.h: Likewise.
5624 * iconvdata/ibm921.h: Likewise.
5625 * iconvdata/ibm922.h: Likewise.
5626 * iconvdata/ibm9448.h: Likewise.
5627 * iconvdata/isiri-3342.h: Likewise.
5628 * iconvdata/jis0201.h: Likewise.
5629 * include/link.h: Likewise.
5630 * include/netdb.h: Likewise.
5631 * inet/check_native.c: Likewise.
5632 * inet/check_pf.c: Likewise.
5633 * inet/getipv4sourcefilter.c: Likewise.
5634 * inet/getnameinfo.c: Likewise.
5635 * inet/getsourcefilter.c: Likewise.
5636 * inet/htonl.c: Likewise.
5637 * inet/setipv4sourcefilter.c: Likewise.
5638 * inet/setsourcefilter.c: Likewise.
5639 * inet/test-inet6_opt.c: Likewise.
5640 * inet/tst-network.c: Likewise.
5641 * locale/C-collate.c: Likewise.
5642 * locale/C-ctype.c: Likewise.
5643 * locale/C-time.c: Likewise.
5644 * locale/C-translit.h: Likewise.
5645 * locale/loadarchive.c: Likewise.
5646 * locale/programs/3level.h: Likewise.
5647 * locale/programs/charmap.c: Likewise.
5648 * locale/programs/charmap.h: Likewise.
5649 * locale/programs/ld-address.c: Likewise.
5650 * locale/programs/ld-collate.c: Likewise.
5651 * locale/programs/ld-ctype.c: Likewise.
5652 * locale/programs/ld-identification.c: Likewise.
5653 * locale/programs/ld-measurement.c: Likewise.
5654 * locale/programs/ld-messages.c: Likewise.
5655 * locale/programs/ld-monetary.c: Likewise.
5656 * locale/programs/ld-name.c: Likewise.
5657 * locale/programs/ld-numeric.c: Likewise.
5658 * locale/programs/ld-paper.c: Likewise.
5659 * locale/programs/ld-telephone.c: Likewise.
5660 * locale/programs/ld-time.c: Likewise.
5661 * locale/programs/linereader.c: Likewise.
5662 * locale/programs/locale.c: Likewise.
5663 * locale/programs/locarchive.c: Likewise.
5664 * locale/programs/locfile.h: Likewise.
5665 * locale/programs/repertoire.c: Likewise.
5666 * locale/programs/simple-hash.c: Likewise.
5667 * locale/programs/simple-hash.h: Likewise.
5668 * malloc/memusage.c: Likewise.
5669 * malloc/memusagestat.c: Likewise.
5670 * nis/nis_defaults.c: Likewise.
5671 * nis/nis_hash.c: Likewise.
5672 * nis/nis_print.c: Likewise.
5673 * nis/nis_xdr.c: Likewise.
5674 * nscd/connections.c: Likewise.
5675 * nscd/hstcache.c: Likewise.
5676 * nscd/nscd_gethst_r.c: Likewise.
5677 * nscd/nscd_getserv_r.c: Likewise.
5678 * nscd/nscd_helper.c: Likewise.
5679 * nscd/servicescache.c: Likewise.
5680 * nss/makedb.c: Likewise.
5681 * nss/nss_db/db-XXX.c: Likewise.
5682 * nss/nss_db/db-initgroups.c: Likewise.
5683 * nss/nss_db/db-netgrp.c: Likewise.
5684 * nss/nss_files/files-network.c: Likewise.
5685 * nss/nss_files/files-parse.c: Likewise.
5686 * posix/bug-regex5.c: Likewise.
5687 * posix/fnmatch_loop.c: Likewise.
5688 * posix/regcomp.c: Likewise.
5689 * posix/regexec.c: Likewise.
5690 * posix/tst-rfc3484-2.c: Likewise.
5691 * posix/tst-rfc3484-3.c: Likewise.
5692 * posix/tst-rfc3484.c: Likewise.
5693 * resolv/nss_dns/dns-canon.c: Likewise.
5694 * resolv/nss_dns/dns-network.c: Likewise.
5695 * resolv/res_init.c: Likewise.
5696 * resolv/res_mkquery.c: Likewise.
5697 * resolv/tst-aton.c: Likewise.
5698 * stdlib/cxa_atexit.c: Likewise.
5699 * stdlib/cxa_finalize.c: Likewise.
5700 * stdlib/gen-fpioconst.c: Likewise.
5701 * stdlib/strtol_l.c: Likewise.
5702 * string/tst-endian.c: Likewise.
5703 * sunrpc/auth_des.c: Likewise.
5704 * sunrpc/clnt_udp.c: Likewise.
5705 * sunrpc/rtime.c: Likewise.
5706 * sunrpc/svcauth_des.c: Likewise.
5707 * sunrpc/xdr.c: Likewise.
5708 * sunrpc/xdr_intXX_t.c: Likewise.
5709 * sunrpc/xdr_rec.c: Likewise.
5710 * sysdeps/generic/ldconfig.h: Likewise.
5711 * sysdeps/generic/ldsodefs.h: Likewise.
5712 * sysdeps/generic/memusage.h: Likewise.
5713 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5714 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5715 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5718 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5719 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5720 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5721 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5722 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5723 * sysdeps/posix/getaddrinfo.c: Likewise.
5724 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5725 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5726 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5727 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5728 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5729 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5730 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5731 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5732 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5733 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5734 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5735 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5736 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5737 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5738 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5739 * sysdeps/x86_64/dl-tls.h: Likewise.
5740 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5741 * time/alt_digit.c: Likewise.
5742 * time/era.c: Likewise.
5743 * wcsmbs/tst-c16c32-1.c: Likewise.
5744
8c75f674
JM
57452013-05-16 Joseph Myers <joseph@codesourcery.com>
5746
5747 * math/libm-test.inc (struct test_sincos_data): New type.
5748 (RUN_TEST_LOOP_sincos): New macro.
5749 (sincos_test_data): New variable.
5750 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5751
e6e49e59
RH
57522013-05-16 Richard Henderson <rth@redhat.com>
5753
5754 * math/atest-exp2.c (LIMB64): New macro.
5755 (CONSTSZ): New macro.
5756 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5757 (hexdig): Move ...
5758 (print_mpn_fp): ... to function scope.
5759 (read_mpn_hex): Remove.
5760 (get_log2): Remove.
5761 (exp2_mpn): Use mp_log2.
5762 (main): Use mp_exp1.
5763
15c7c18d
JM
57642013-05-16 Joseph Myers <joseph@codesourcery.com>
5765
105a07df
JM
5766 * math/libm-test.inc: Remove comment about not testing "inexact"
5767 exceptions.
5768 (INEXACT_EXCEPTION): New macro.
5769 (NO_INEXACT_EXCEPTION): Likewise.
5770 (INVALID_EXCEPTION_OK): Update value.
5771 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5772 (OVERFLOW_EXCEPTION_OK): Likewise.
5773 (UNDERFLOW_EXCEPTION_OK): Likewise.
5774 (IGNORE_ZERO_INF_SIGN): Likewise.
5775 (ERRNO_UNCHANGED): Likewise.
5776 (ERRNO_EDOM): Likewise.
5777 (ERRNO_ERANGE): Likewise.
5778 (test_exceptions): Handle testing "inexact" exceptions.
5779 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5780 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5781 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5782 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5783 INEXACT_EXCEPTION.
5784 (rint_towardzero_test_data): Likewise.
5785 (rint_downward_test_data): Likewise.
5786 (rint_upward_test_data): Likewise.
5787
e9eee333
JM
5788 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5789 with OVERFLOW_EXCEPTION.
5790 (exp10_test_data): Likewise.
5791 (exp2_test_data): Likewise.
5792 (expm1_test_data): Likewise.
5793 (lgamma_test_data): Likewise.
5794 (pow_test_data): Likewise.
5795 (tgamma_test_data): Likewise.
5796 (yn_test_data): Remove duplicate test of overflow.
5797
1c38ff73
JM
5798 * math/libm-test.inc (struct test_cc_c_data): New type.
5799 (RUN_TEST_LOOP_cc_c): New macro.
5800 (cpow_test_data): New variable.
5801 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5802
15c7c18d
JM
5803 * math/libm-test.inc (struct test_f_L_data): New type.
5804 (RUN_TEST_LOOP_f_L): New macro.
5805 (llrint_test_data): New variable.
5806 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5807 (llrint_tonearest_test_data): New variable.
5808 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5809 (llrint_towardzero_test_data): New variable.
5810 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5811 (llrint_downward_test_data): New variable.
5812 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5813 (llrint_upward_test_data): New variable.
5814 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5815 (llround_test_data): New variable.
5816 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5817
f137ff13
PC
58182013-05-13 Peter Collingbourne <pcc@google.com>
5819
5820 * math/atest-exp2.c (get_log2): Remove const attribute.
5821
3608cb24
JM
58222013-05-15 Joseph Myers <joseph@codesourcery.com>
5823
5824 * math/libm-test.inc (struct test_f_l_data): New type.
5825 (RUN_TEST_LOOP_f_l): New macro.
5826 (lrint_test_data): New variable.
5827 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5828 (lrint_tonearest_test_data): New variable.
5829 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5830 (lrint_towardzero_test_data): New variable.
5831 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5832 (lrint_downward_test_data): New variable.
5833 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5834 (lrint_upward_test_data): New variable.
5835 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5836 (lround_test_data): New variable.
5837 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5838
39b1f617
PC
58392013-05-15 Peter Collingbourne <pcc@google.com>
5840
1deff3dc
PC
5841 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5842 (EXTRACT_WORDS64) Use where appropriate.
5843 (INSERT_WORDS64) Likewise.
5844
791f3ba0
PC
5845 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5846 constraints with x constraints.
5847 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5848
39b1f617
PC
5849 * malloc/obstack.c (_obstack_compat): Add initializer.
5850
12fba011
EM
58512013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5852
5853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5854 si_trapno and add si_addr_lsb to _sifields.sigfault.
5855 (si_trapno): Remove macro.
5856 (si_addr_lsb): Define new macro.
5857 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5858
d369f531
JM
58592013-05-15 Joseph Myers <joseph@codesourcery.com>
5860
b861c6c4
JM
5861 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5862 instead of TEST_f_l.
5863 (llrint_test_tonearest): Likewise.
5864 (llrint_test_towardzero): Likewise.
5865 (llrint_test_downward): Likewise.
5866 (llrint_test_upward): Likewise.
5867 (llround_test): Likewise.
5868
7abeee12
JM
5869 * math/libm-test.inc (struct test_f_i_data): Add comment.
5870 (RUN_TEST_LOOP_f_b): New macro.
5871 (RUN_TEST_LOOP_f_b_tg): Likewise.
5872 (finite_test_data): New variable.
5873 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5874 (isfinite_test_data): New variable.
5875 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5876 (isinf_test_data): New variable.
5877 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5878 (isnan_test_data): New variable.
5879 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5880 (isnormal_test_data): New variable.
5881 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5882 (issignaling_test_data): New variable.
5883 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5884 (signbit_test_data): New variable.
5885 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5886
cbe8c4d3
JM
5887 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5888 with INVALID_EXCEPTION.
5889 (acosh_test_data): Likewise.
5890 (asin_test_data): Likewise.
5891 (atanh_test_data): Likewise.
5892 (fmod_test_data): Likewise.
5893 (log_test_data): Likewise.
5894 (log10_test_data): Likewise.
5895 (log2_test_data): Likewise.
5896 (pow_test_data): Likewise.
5897 (sqrt_test_data): Likewise.
5898 (y0_test_data): Likewise.
5899 (y1_test_data): Likewise.
5900 (yn_test_data): Likewise.
5901
5575c0e5
JM
5902 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5903 function contents.
5904
d369f531
JM
5905 * math/libm-test.inc (struct test_ff_i_data): New type.
5906 (RUN_TEST_LOOP_ff_i_tg): New macro.
5907 (isgreater_test_data): New variable.
5908 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5909 (isgreaterequal_test_data): New variable.
5910 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5911 (isless_test_data): New variable.
5912 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5913 (islessequal_test_data): New variable.
5914 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5915 (islessgreater_test_data): New variable.
5916 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5917 (isunordered_test_data): New variable.
5918 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5919
781fd748
DM
59202013-05-14 David S. Miller <davem@davemloft.net>
5921
5922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5923
87aa21df
JM
59242013-05-14 Joseph Myers <joseph@codesourcery.com>
5925
5e908270
JM
5926 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5927
f71172e5
JM
5928 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5929 extra_test to int.
5930 (struct test_f_i_data): Change type of max_ulp to int.
5931
8cfa635a
JM
5932 * math/libm-test.inc (test_ffI_f1_data): New type.
5933 (RUN_TEST_LOOP_ffI_f1): New macro.
5934 (remquo_test_data): New variable.
5935 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5936
2bcb36b2
JM
5937 * setjmp/tst-setjmp-fp.c: New file.
5938 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5939 (link-libm): New variable.
5940 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5941
acbd839a
JM
5942 * math/libm-test.inc (struct test_f_i_data): New type.
5943 (RUN_TEST_LOOP_f_i): New macro.
5944 (RUN_TEST_LOOP_f_i_tg): Likewise.
5945 (fpclassify_test_data): New variable.
5946 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5947 (ilogb_test_data): New variable.
5948 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5949
e414d745
JM
5950 * math/libm-test.inc (scalbln_test): Correct function name in END
5951 call.
5952
d9c2a0fd
JM
5953 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5954 (RUN_TEST_LOOP_fI_f1): New macro.
5955 (frexp_test_data): New variable.
5956 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5957
9dc9095d
JM
5958 * math/libm-test.inc (struct test_fF_f1_data): New type.
5959 (RUN_TEST_LOOP_fF_f1): New macro.
5960 (modf_test_data): New variable.
5961 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5962
87aa21df
JM
5963 * math/libm-test.inc (struct test_f_f1_data): New type.
5964 (RUN_TEST_LOOP_f_f1): New macro.
5965 (gamma_test_data): New variable.
5966 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5967 (lgamma_test_data): New variable.
5968 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5969
141af660
CD
59702013-05-13 Carlos O'Donell <carlos@redhat.com>
5971
5972 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5973 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5974 (main): Comment "tls" pseudo-hwcap.
5975
6d33265c
JM
59762013-05-13 Joseph Myers <joseph@codesourcery.com>
5977
68fc074c
JM
5978 * math/libm-test.inc (struct test_fl_f_data): New type.
5979 (RUN_TEST_LOOP_fl_f): New variable.
5980 (scalbln_test_data): New variable.
5981 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5982
243216e1
JM
5983 * math/libm-test.inc (struct test_fi_f_data): New type.
5984 (RUN_TEST_LOOP_fi_f): New macro.
5985 (ldexp_test_data): New variable.
5986 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5987 (scalbn_test_data): New variable.
5988 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5989
6a1992e2
JM
5990 * math/libm-test.inc (struct test_c_f_data): New type.
5991 (RUN_TEST_LOOP_c_f): New macro.
5992 (cabs_test_data): New variable.
5993 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5994 (carg_test_data): New variable.
5995 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5996 (cimag_test_data): New variable.
5997 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5998 (creal_test_data): New variable.
5999 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6000
0e400df5
JM
6001 * math/libm-test.inc (struct test_if_f_data): New type.
6002 (RUN_TEST_LOOP_if_f): New macro.
6003 (jn_test_data): New variable.
6004 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6005 (yn_test_data): New variable.
6006 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6007
6d33265c
JM
6008 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6009
f98ece5f
AZ
60102013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6013 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6014
0f7d347b
SP
60152013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6016
43fe811b
SP
6017 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6018 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6019 (bench-deps): Add bench-timing.h.
6020 * benchtests-bench-skeleton.c: Include bench-timing.h.
6021 (main): Use TIMING_* macros instead of clock_gettime.
6022 * benchtests/bench-timing.h: New file.
6023
0f7d347b
SP
6024 [BZ #14582]
6025 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6026 Renamed from _LIB_VERSION.
6027 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6028
601a3a5f
JM
60292013-05-12 Joseph Myers <joseph@codesourcery.com>
6030
4f184d30
JM
6031 * math/libm-test.inc (struct test_fff_f_data): New type.
6032 (RUN_TEST_LOOP_fff_f): New macro.
6033 (fma_test_data): New variable.
6034 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6035 (fma_towardzero_test_data): New variable.
6036 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6037 (fma_downward_test_data): New variable.
6038 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6039 (fma_upward_test_data): New variable.
6040 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6041
08198877
JM
6042 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6043 (struct test_c_c_data): New type.
6044 (RUN_TEST_LOOP_c_c): New macro.
6045 (cacos_test_data): New variable.
6046 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6047 (cacosh_test_data): New variable.
6048 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6049 (casin_test_data): New variable.
6050 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6051 (casinh_test_data): New variable.
6052 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6053 (catan_test_data): New variable.
6054 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6055 (catanh_test_data): New variable.
6056 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6057 (ccos_test_data): New variable.
6058 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6059 (ccosh_test_data): New variable.
6060 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6061 (cexp_test_data): New variable.
6062 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6063 (clog_test_data): New variable.
6064 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6065 (clog10_test_data): New variable.
6066 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6067 (conj_test_data): New variable.
6068 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6069 (cproj_test_data): New variable.
6070 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6071 (csin_test_data): New variable.
6072 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6073 (csinh_test_data): New variable.
6074 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6075 (csqrt_test_data): New variable.
6076 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6077 (ctan_test_data): New variable.
6078 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6079 (ctan_tonearest_test_data): New variable.
6080 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6081 (ctan_towardzero_test_data): New variable.
6082 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6083 (ctan_downward_test_data): New variable.
6084 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6085 (ctan_upward_test_data): New variable.
6086 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6087 (ctanh_test_data): New variable.
6088 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6089 (ctanh_tonearest_test_data): New variable.
6090 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6091 (ctanh_towardzero_test_data): New variable.
6092 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6093 (ctanh_downward_test_data): New variable.
6094 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6095 (ctanh_upward_test_data): New variable.
6096 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6097 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6098 of BUILD_COMPLEX.
6099
601a3a5f
JM
6100 * math/libm-test.inc (struct test_ff_f_data): New type.
6101 (struct test_ff_f_data_nexttoward): Likewise.
6102 (RUN_TEST_LOOP_2_f): New macro.
6103 (RUN_TEST_LOOP_ff_f): Likewise.
6104 (atan2_test_data): New variable.
6105 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6106 (copysign_test_data): New variable.
6107 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6108 (fdim_test_data): New variable.
6109 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6110 (fmax_test_data): New variable.
6111 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6112 (fmin_test_data): New variable.
6113 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6114 (fmod_test_data): New variable.
6115 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6116 (hypot_test_data): New variable.
6117 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6118 (nextafter_test_data): New variable.
6119 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6120 (nexttoward_test_data): New variable.
6121 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6122 (pow_test_data): New variable.
6123 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6124 (pow_tonearest_test_data): New variable.
6125 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6126 (pow_towardzero_test_data): New variable.
6127 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6128 (pow_downward_test_data): New variable.
6129 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6130 (pow_upward_test_data): New variable.
6131 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6132 (remainder_test_data): New variable.
6133 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6134 (scalb_test_data): New variable.
6135 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6136 * sysdeps/i386/fpu/libm-test-ulps: Update.
6137
74c57478
JM
61382013-05-11 Joseph Myers <joseph@codesourcery.com>
6139
8329e4da
JM
6140 * math/libm-test.inc (fma_test): Use max_value instead of local
6141 variable fltmax.
6142 (nextafter_test): Likewise.
6143
74c57478
JM
6144 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6145 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6146 (acos_downward_test_data): New variable.
6147 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6148 (acos_upward_test_data): New variable.
6149 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6150 (acosh_test_data): New variable.
6151 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6152 (asin_test_data): New variable.
6153 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6154 (asin_tonearest_test_data): New variable.
6155 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6156 (asin_towardzero_test_data): New variable.
6157 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6158 (asin_downward_test_data): New variable.
6159 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6160 (asin_upward_test_data): New variable.
6161 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6162 (asinh_test_data): New variable.
6163 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6164 (atan_test_data): New variable.
6165 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6166 (atanh_test_data): New variable.
6167 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6168 (cbrt_test_data): New variable.
6169 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6170 (ceil_test_data): New variable.
6171 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6172 (cos_test_data): New variable.
6173 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6174 (cos_tonearest_test_data): New variable.
6175 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6176 (cos_towardzero_test_data): New variable.
6177 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6178 (cos_downward_test_data): New variable.
6179 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6180 (cos_upward_test_data): New variable.
6181 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6182 (cosh_test_data): New variable.
6183 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6184 (cosh_tonearest_test_data): New variable.
6185 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6186 (cosh_towardzero_test_data): New variable.
6187 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6188 (cosh_downward_test_data): New variable.
6189 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6190 (cosh_upward_test_data): New variable.
6191 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6192 (erf_test_data): New variable.
6193 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6194 (erfc_test_data): New variable.
6195 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6196 (exp_test_data): New variable.
6197 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6198 (exp_tonearest_test_data): New variable.
6199 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6200 (exp_towardzero_test_data): New variable.
6201 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6202 (exp_downward_test_data): New variable.
6203 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6204 (exp_upward_test_data): New variable.
6205 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6206 (exp10_test_data): New variable.
6207 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6208 (exp2_test_data): New variable.
6209 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6210 (expm1_test_data): New variable.
6211 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6212 (fabs_test_data): New variable.
6213 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6214 (floor_test_data): New variable.
6215 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6216 (j0_test_data): New variable.
6217 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6218 (j1_test_data): New variable.
6219 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6220 (log_test_data): New variable.
6221 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6222 (log10_test_data): New variable.
6223 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6224 (log1p_test_data): New variable.
6225 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6226 (log2_test_data): New variable.
6227 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6228 (logb_test_data): New variable.
6229 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6230 (logb_downward_test_data): New variable.
6231 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6232 (nearbyint_test_data): New variable.
6233 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6234 (rint_test_data): New variable.
6235 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6236 (rint_tonearest_test_data): New variable.
6237 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6238 (rint_towardzero_test_data): New variable.
6239 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6240 (rint_downward_test_data): New variable.
6241 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6242 (rint_upward_test_data): New variable.
6243 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6244 (round_test_data): New variable.
6245 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6246 (sin_test_data): New variable.
6247 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6248 (sin_tonearest_test_data): New variable.
6249 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6250 (sin_towardzero_test_data): New variable.
6251 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6252 (sin_downward_test_data): New variable.
6253 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6254 (sin_upward_test_data): New variable.
6255 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6256 (sinh_test_data): New variable.
6257 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6258 (sinh_tonearest_test_data): New variable.
6259 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6260 (sinh_towardzero_test_data): New variable.
6261 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6262 (sinh_downward_test_data): New variable.
6263 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6264 (sinh_upward_test_data): New variable.
6265 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6266 (sqrt_test_data): New variable.
6267 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6268 (tan_test_data): New variable.
6269 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6270 (tan_tonearest_test_data): New variable.
6271 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6272 (tan_towardzero_test_data): New variable.
6273 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6274 (tan_downward_test_data): New variable.
6275 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6276 (tan_upward_test_data): New variable.
6277 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6278 (tanh_test_data): New variable.
6279 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6280 (tgamma_test_data): New variable.
6281 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6282 (trunc_test_data): New variable.
6283 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6284 (y0_test_data): New variable.
6285 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6286 (y1_test_data): New variable.
6287 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6288 (significand_test_data): New variable.
6289 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6290
7187d844
CG
62912013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6292
6293 [BZ #12387]
6294 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6295
f63fae73
PT
62962013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6297
6298 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6299
8a67a4b3
AJ
63002013-05-10 Andreas Jaeger <aj@suse.de>
6301
6302 [BZ #15448]
6303 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6304 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6305
51df539d
JM
63062013-05-10 Joseph Myers <joseph@codesourcery.com>
6307
6308 * math/gen-libm-test.pl (adjust_arg): New function.
6309 (special_functions): Handle generating output in both functions
6310 and arrays.
6311 (parse_args): Likewise.
6312 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6313 $in_func argument to parse_args.
6314 * math/libm-test.inc (struct test_f_f_data): New type.
6315 (IF_ROUND_INIT_): New macro.
6316 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6317 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6318 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6319 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6320 (ROUND_RESTORE_): Likewise.
6321 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6322 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6323 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6324 (ROUND_RESTORE_FE_UPWARD): Likewise.
6325 (RUN_TEST_LOOP_f_f): New macro.
6326 (acos_test_data): New variable.
6327 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6328 (acos_tonearest_test_data): New variable.
6329 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6330
5c637fe5
SP
63312013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6332
6333 * benchtests/bench-skeleton.c (startup): Fix coding style.
6334
ab2b9461
JM
63352013-05-10 Joseph Myers <joseph@codesourcery.com>
6336
6337 [BZ #6809]
6338 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6339 negative infinity argument.
6340 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6341 negative infinity argument.
6342 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6343 negative infinity argument.
6344 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6345 domain errors.
6346
4c0fe6fe
FW
63472013-05-10 Florian Weimer <fweimer@redhat.com>
6348
6349 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6350 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6351 * iconv/iconv_prog.c (main): Likewise.
6352 * locale/programs/charmap-dir.c (charmap_readdir)
6353 (fopen_uncompressed): Likewise.
6354 * locale/programs/locfile.c (siblings_uncached)
6355 (write_locale_data): Use lstat64 instead of lstat.
6356 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6357 stat.
6358
a3375d29
AJ
63592013-05-10 Andreas Jaeger <aj@suse.de>
6360
6361 [BZ #15395]
6362 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6363 localization.
6364 Include <locale.h>.
6365
36129722
CD
63662013-05-09 Carlos O'Donell <carlos@redhat.com>
6367
6368 * elf/dl-close.c (_dl_close_worker): Add comments.
6369
faa7f811
JM
63702013-05-09 Joseph Myers <joseph@codesourcery.com>
6371
ed41ffef
JM
6372 [BZ #15359]
6373 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6374 high part of pi/2.
6375 (__ieee754_rem_pio2l): Update comments.
6376
d0213cd0
JM
6377 [BZ #15429]
6378 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6379 high part of pi/2.
6380 (__ieee754_rem_pio2l): Update comments.
6381
0d3e777a
JM
6382 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6383 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6384
24f56066
JM
6385 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6386 M_PI_4l.
6387
faa7f811
JM
6388 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6389 (M_PI_34_LOG10El): Likewise.
6390 (M_PI2_LOG10El): Likewise.
6391 (M_PI4_LOG10El): Likewise.
6392 (M_PI_LOG10El): Likewise.
6393
e9a5e0fd
AZ
63942013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6395
6396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6397
d8cd06db
JM
63982013-05-08 Joseph Myers <joseph@codesourcery.com>
6399
a0d9f9d7
JM
6400 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6401 (MINUS_ZERO_INIT): Likewise.
6402 (PLUS_INFTY_INIT): Likewise.
6403 (MINUS_INFTY_INIT): Likewise.
6404 (QNAN_VALUE_INIT): Likewise.
6405 (MAX_VALUE_INIT): Likewise.
6406 (MIN_VALUE_INIT): Likewise.
6407 (MIN_SUBNORM_VALUE_INIT): Likewise.
6408 (plus_zero): Initialize with PLUS_ZERO_INIT.
6409 (minus_zero): Initialize with MINUS_ZERO_INIT.
6410 (plus_infty): Initialize with PLUS_INFTY_INIT.
6411 (minus_infty): Initialize with MINUS_INFTY_INIT.
6412 (qnan_value): Initialize with QNAN_VALUE_INIT.
6413 (max_value): Initialize with MAX_VALUE_INIT.
6414 (min_value): Initialize with MIN_VALUE_INIT.
6415 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6416
ae08db3b
JM
6417 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6418 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6419 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6420 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6421
f44bf14a
JM
6422 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6423 (RUN_TEST_2_f): Likewise.
6424 (RUN_TEST_ff_f): Likewise.
6425 (RUN_TEST_fi_f): Likewise.
6426 (RUN_TEST_fl_f): Likewise.
6427 (RUN_TEST_fff_f): Likewise.
6428 (RUN_TEST_c_f): Likewise.
6429 (RUN_TEST_f_f1): Likewise.
6430 (RUN_TEST_fF_f1): Likewise.
6431 (RUN_TEST_fI_f1): Likewise.
6432 (RUN_TEST_ffI_f1): Likewise.
6433 (RUN_TEST_c_c): Likewise.
6434 (RUN_TEST_cc_c): Likewise.
6435 (RUN_TEST_f_i): Likewise.
6436 (RUN_TEST_f_i_tg): Likewise.
6437 (RUN_TEST_ff_i_tg): Likewise.
6438 (RUN_TEST_f_b): Likewise.
6439 (RUN_TEST_f_b_tg): Likewise.
6440 (RUN_TEST_f_l): Likewise.
6441 (RUN_TEST_f_L): Likewise.
6442 (RUN_TEST_sincos): Likewise.
6443 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6444 whether to show exceptions. Do not include ");\n" in return
6445 value.
6446 (special_functions): Output call to RUN_TEST_sincos instead of
6447 check_float calls. Update calls to new_test.
6448 (parse_args): Output call to single RUN_TEST_* macro instead of
6449 check_* calls and other assignments. Update calls to new_test.
6450
d8cd06db
JM
6451 [BZ #2546]
6452 [BZ #2560]
6453 [BZ #5159]
6454 [BZ #15426]
6455 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6456 input to result for tgamma overflow.
6457 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6458 (gamma_coeff): New variable.
6459 (NCOEFF): New macro.
6460 (gamma_positive): New function.
6461 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6462 underflow here. Use gamma_positive instead of exp (lgamma) for
6463 other arguments.
6464 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6465 (gamma_coeff): New variable.
6466 (NCOEFF): New macro.
6467 (gammaf_positive): New function.
6468 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6469 underflow here. Use gamma_positive instead of exp (lgamma) for
6470 other arguments.
6471 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6472 (gamma_coeff): New variable.
6473 (NCOEFF): New macro.
6474 (gammal_positive): New function.
6475 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6476 underflow here. Use gamma_positive instead of exp (lgamma) for
6477 other arguments.
6478 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6479 (gamma_coeff): New variable.
6480 (NCOEFF): New macro.
6481 (gammal_positive): New function.
6482 (__ieee754_gammal_r): Handle positive infinity, overflow and
6483 underflow here. Handle NaN the same as positive infinity. Remove
6484 check x < 0xffffffff for negative integers. Use gamma_positive
6485 instead of exp (lgamma) for other arguments.
6486 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6487 (gamma_coeff): New variable.
6488 (NCOEFF): New macro.
6489 (gammal_positive): New function.
6490 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6491 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6492 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6493 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6494 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6495 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6496 * sysdeps/generic/math_private.h (__gamma_productf): New
6497 prototype.
6498 (__gamma_product): Likewise.
6499 (__gamma_productl): Likewise.
6500 * math/Makefile (libm-calls): Add gamma_product.
6501 * math/libm-test.inc (tgamma_test): Add more tests.
6502 * sysdeps/i386/fpu/libm-test-ulps: Update.
6503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6504
bb7cf681
OB
65052013-05-08 Ondřej Bílka <neleai@seznam.cz>
6506
6507 * benchtests/bench-skeleton.c (main): Preheat CPU.
6508
ba853947
AJ
65092013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6510
6511 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6512
8347c74c
RM
65132013-05-07 Roland McGrath <roland@hack.frob.com>
6514
6515 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6516 and _dl_skip_args_internal.
6517
e8dd4791
CD
65182013-05-07 Carlos O'Donell <carlos@redhat.com>
6519
6520 * manual/message.texi (Message Translation): Talk about users.
6521 Message to key mapping impacts design.
6522
c7405830
RM
65232013-05-06 Roland McGrath <roland@hack.frob.com>
6524
a9173057
RM
6525 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6526
976e2f03
RM
6527 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6528
9723ffc5
RM
6529 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6530 * sysdeps/wordsize-64/glob64.c: ... here.
6531
962e6658
RM
6532 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6533 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6534 New macros.
6535
ee586a6d
RM
6536 * debug/getlogin_r_chk.c: Moved to ...
6537 * login/getlogin_r_chk.c: ... here.
6538 * debug/Makefile (routines): Move getlogin_r_chk to ...
6539 * login/Makefile (routines): ... here.
6540 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6541 * login/Versions (libc: GLIBC_2.4): ... here.
6542
355f9165
RM
6543 * io/poll.c (__poll): Renamed from poll.
6544 Add libc_hidden_def.
6545 (poll): Define as weak alias.
6546
bd9ffde6
RM
6547 * debug/ptsname_r_chk.c: Moved to ...
6548 * login/ptsname_r_chk.c: ... here.
6549 * debug/Makefile (routines): Move ptsname_r_chk to ...
6550 * login/Makefile (routines): ... here.
6551 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6552 * login/Versions (libc: GLIBC_2.4): ... here.
6553
8fb16a04
RM
6554 * posix/getlogin.c: Moved to ...
6555 * login/getlogin.c: ... here.
6556 * posix/getlogin_r.c: Moved to ...
6557 * login/getlogin_r.c: ... here.
6558 * posix/getlogin_r.c: Moved to ...
6559 * login/getlogin_r.c: ... here.
6560 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6561 * login/Makefile (routines): ... here.
6562 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6563 * login/Versions (libc: GLIBC_2.0): ... here.
6564
b99b892f
RM
6565 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6566 (setrlimit): Define as weak alias.
6567
c7405830
RM
6568 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6569 Call __ names for open, ftruncate, and close.
6570 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6571 (truncate): Define as weak alias.
6572
5bf96de5
JM
65732013-05-06 Joseph Myers <joseph@codesourcery.com>
6574
9ea3513c
JM
6575 * math/gen-libm-test.pl (parse_args): Initialize x before each
6576 test of frexp, modf and remquo.
6577
5bf96de5
JM
6578 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6579 test signgam value.
6580
16e616a7
AZ
65812013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582
6583 [BZ #15418]
6584 [BZ #15419]
6585 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6586 internal tests.
6587 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6588
d5e82754
RM
65892013-05-06 Roland McGrath <roland@hack.frob.com>
6590
6591 * elf/dl-writev.h: New file.
6592 * elf/dl-misc.c: Include it.
6593 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6594 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6595
a7548d41
JM
65962013-05-04 Joseph Myers <joseph@codesourcery.com>
6597
b7dab1e4
JM
6598 * math/libm-test.inc (noXFails): Remove variable.
6599 (noXPasses): Likewise.
6600 (BUILD_COMPLEX_INT): Remove macro.
6601 (print_screen): Remove xfail argument.
6602 (print_screen_max_error): Likewise.
6603 (update_stats): Likewise.
6604 (print_max_error): Likewise. Update calls to other affected
6605 functions.
6606 (print_complex_max_error): Likewise.
6607 (test_single_exception): Update calls to print_screen.
6608 (test_single_errno): Likewise.
6609 (check_float_internal): Remove xfail argument. Update calls to
6610 other affected functions.
6611 (check_float): Likewise.
6612 (check_complex): Likewise.
6613 (check_int): Likewise.
6614 (check_long): Likewise.
6615 (check_bool): Likewise.
6616 (check_longlong): Likewise.
6617 (main): Don't print noXFails and noXPasses.
6618 * math/gen-libm-test.pl (top level): Don't mention expected
6619 failure handling in comment.
6620 (new_test): Don't handle expected failures.
6621 (parse_args): Don't mention expected failure handling in comment.
6622 (generate_testfile): Don't handle expected failures.
6623 (parse_ulps): Likewise.
6624 (print_ulps_file): Likewise.
6625 (get_failure): Remove function.
6626 (output_test): Don't handle expected failures.
6627 * make/README.libm-test: Don't mention expected failure handling.
6628
a7548d41
JM
6629 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6630 (minus_zero): Likewise.
6631 (plus_infty): Likewise.
6632 (minus_infty): Likewise.
6633 (qnan_value): Likewise.
6634 (max_value): Likewise.
6635 (min_value): Likewise.
6636 (min_subnorm_value): Likewise.
6637 (initialize): Do not initialize those variables dynamically.
6638
60bfd54c
RM
66392013-05-03 Roland McGrath <roland@hack.frob.com>
6640
cc0e6ed8
RM
6641 * io/open.c (__open_2): Moved to ...
6642 * io/open_2.c: ... this new file.
6643 * io/open64.c (__open64_2): Moved to ...
6644 * io/open64_2.c: ... this new file.
6645 * io/openat.c (__openat_2): Moved to ...
6646 * io/openat_2.c: ... this new file.
6647 * io/openat64.c (__openat64_2): Moved to ...
6648 * io/openat64_2.c: ... this new file.
6649 * io/Makefile (routines): Add them.
6650 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6651 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6652 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6653 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6654 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6655 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6656 (__openat64): Add hidden_ver.
6657 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6658 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6659
60bfd54c
RM
6660 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6661 Separately conditionalize setting of GLRO(dl_sysinfo) so
6662 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6663 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6664
83e7640f
AZ
66652013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666
6667 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6668 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6669 definition.
6670 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6671 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6672 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6673 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6674 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6675
d5dc2af3
JM
66762013-05-03 Joseph Myers <joseph@codesourcery.com>
6677
c31a5b1e
JM
6678 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6679 test signgam value.
6680
d5dc2af3
JM
6681 * math/libm-test.inc (hypot_test): Do not use
6682 IGNORE_ZERO_INF_SIGN.
6683
164fd39d
AJ
66842013-05-03 Andreas Jaeger <aj@suse.de>
6685
6686 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6687 Linux 3.9.
6688 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6689 (PF_MAX): Adjust for VSOCK change.
6690
8237f48c
AZ
66912013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6692
6693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6694
9df02941
CD
66952013-05-02 Carlos O'Donell <carlos@redhat.com>
6696
6697 [BZ #15264]
6698 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6699 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6700 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6701
d422395e
DM
67022013-05-02 David S. Miller <davem@davemloft.net>
6703
6704 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6705
a07c5731
OB
67062013-05-01 Ondřej Bílka <neleai@seznam.cz>
6707
6708 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6709
1324e37f
RM
67102013-05-01 Roland McGrath <roland@hack.frob.com>
6711
6712 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6713
0695940b
RS
67142013-05-01 Richard Smith <richard@metafoo.co.uk>
6715
bb5f27ad 6716 [BZ #14952]
0695940b
RS
6717 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6718 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6719 Use __attribute__ ((__gnu_inline__)).
6720 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6721 Don't use __attribute__ ((__gnu_inline__)).
6722
10de07f5
JM
67232013-05-01 Joseph Myers <joseph@codesourcery.com>
6724
6725 [BZ #15423]
6726 * math/s_catan.c (__catan): Handle small real or imaginary part of
6727 input specially to avoid spurious underflow.
6728 * math/s_catanf.c (__catanf): Likewise.
6729 * math/s_catanh.c (__catanh): Likewise.
6730 * math/s_catanhf.c (__catanhf): Likewise.
6731 * math/s_catanhl.c (__catanhl): Likewise.
6732 * math/s_catanl.c (__catanl): Likewise.
6733 * math/libm-test.inc (catan_test): Add more tests.
6734 (catanh_test): Likewise.
6735 * sysdeps/i386/fpu/libm-test-ulps: Update.
6736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6737
cb4d5414
AZ
67382013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6739
6740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6741
caf84319
JM
67422013-04-30 Joseph Myers <joseph@codesourcery.com>
6743
6744 [BZ #15416]
6745 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6746 accurately for denominator in atan2.
6747 * math/s_catanf.c (__catanf): Likewise.
6748 * math/s_catanh.c (__catanh): Likewise.
6749 * math/s_catanhf.c (__catanhf): Likewise.
6750 * math/s_catanhl.c (__catanhl): Likewise.
6751 * math/s_catanl.c (__catanl): Likewise.
6752 * math/libm-test.inc (catan_test): Add more tests.
6753 (catanh_test): Likewise.
6754 * sysdeps/i386/fpu/libm-test-ulps: Update.
6755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6756
d569c6ee
SP
67572013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6758
6dbe713d
SP
6759 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6760
f0ee064b
SP
6761 * benchtests/Makefile (bench): Remove slow benchmarks.
6762 * benchtests/atan-inputs: Add slow benchmark inputs.
6763 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6764 (BENCH_FUNC): Accept variant offset.
6765 (VARIANT): Define.
6766 * benchtests/bench-skeleton.c (main): Run benchmark for each
6767 variant.
6768 * benchtests/cos-inputs: Add slow benchmark inputs.
6769 * benchtests/exp-inputs: Likewise.
6770 * benchtests/pow-inputs: Likewise.
6771 * benchtests/sin-inputs: Likewise.
6772 * benchtests/slowatan-inputs: Remove.
6773 * benchtests/slowatan.c: Remove.
6774 * benchtests/slowcos-inputs: Remove.
6775 * benchtests/slowcos.c: Remove.
6776 * benchtests/slowexp-inputs: Remove.
6777 * benchtests/slowexp.c: Remove.
6778 * benchtests/slowpow-inputs: Remove.
6779 * benchtests/slowpow.c: Remove.
6780 * benchtests/slowsin-inputs: Remove.
6781 * benchtests/slowsin.c: Remove.
6782 * benchtests/slowtan-inputs: Remove.
6783 * benchtests/slowtan.c: Remove.
6784 * benchtests/tan-inputs: Add slow benchmark inputs.
6785 * scripts/bench.pl: Parse comments and directives.
6786
d569c6ee
SP
6787 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6788 in CPPFLAGS.
6789 ($(objpfx)bench-%.c): Remove *-ITER.
6790 * benchtests/bench-modf.c: Remove definition of ITER.
6791 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6792 (main): Loop for DURATION seconds instead of fixed number of
6793 iterations.
6794 * scripts/bench.pl: Don't expect iterations in parameters.
6795
a6a242fe
RM
67962013-04-29 Roland McGrath <roland@hack.frob.com>
6797
6798 * io/fchdir.c (__fchdir): Renamed from fchdir.
6799 (fchdir): Define as weak alias.
6800
f2da7793
JM
68012013-04-29 Joseph Myers <joseph@codesourcery.com>
6802
6803 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6804 (ERRNO_EDOM): Likewise.
6805 (ERRNO_ERANGE): Likewise.
6806 (noErrnoTests): New variable.
6807 (init_max_error): Set errno to 0.
6808 (test_single_errno): New function.
6809 (test_errno): Likewise.
6810 (check_float_internal): Call test_errno. Set errno to 0.
6811 (check_complex): Refer to errno tests in comment.
6812 (check_int): Call test_errno. Set errno to 0.
6813 (check_long): Likewise.
6814 (check_bool): Likewise.
6815 (check_longlong): Likewise.
6816 (cos_test): Use ERRNO_* flags for errno tests instead of
6817 check_int.
6818 (expm1_test): Likewise.
6819 (fmod_test): Likewise.
6820 (ilogb_test): Likewise.
6821 (lgamma_test): Likewise.
6822 (pow_test): Likewise.
6823 (remainder_test): Likewise.
6824 (sin_test): Likewise.
6825 (tan_test): Likewise.
6826 (yn_test): Likewise.
6827 (initialize): Set errno to 0.
6828 (main): Print number of errno tests.
6829 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6830
b1a36ceb
AJ
68312013-04-29 Andreas Jaeger <aj@suse.de>
6832
c3ed8088
AJ
6833 [BZ #15084]
6834 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6835 and RES_USEVC.
6836
f1a24198
AJ
6837 [BZ #15085]
6838 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6839 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6840 unimplemented.
6841
9ce3b2cb
AJ
6842 [BZ #15380]
6843 * stdlib/random.c (__initstate): Return NULL if
6844 __initstate fails.
6845
f1a24198 6846 [BZ #15086]
b1a36ceb
AJ
6847 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6848 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6849 RES_SNGLKUPREOP.
6850
7e7b6f36
AZ
68512013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6852
6853 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6854
4d14f449
JM
68552013-04-29 Joseph Myers <joseph@codesourcery.com>
6856
6857 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6858 of individual tests.
6859 (casin_test): Likewise.
6860 (casinh_test): Likewise.
6861
5b4217d7
JM
68622013-04-27 Joseph Myers <joseph@codesourcery.com>
6863
6864 [BZ #15409]
6865 * math/s_catan.c (__catan): Handle arguments with large real or
6866 imaginary part separately without squaring.
6867 * math/s_catanf.c (__catanf): Likewise.
6868 * math/s_catanh.c (__catanh): Likewise.
6869 * math/s_catanhf.c (__catanhf): Likewise.
6870 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6871 and redefine.
6872 (__catanhl): Handle arguments with large real or imaginary part
6873 separately without squaring.
6874 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6875 and redefine.
6876 (__catanl): Handle arguments with large real or imaginary part
6877 separately without squaring.
6878 * math/libm-test.inc (catan_test): Add more tests.
6879 (catanh_test): Likewise.
6880 * sysdeps/i386/fpu/libm-test-ulps: Update.
6881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6882
4220c3ef
AJ
68832013-04-27 Andreas Jaeger <aj@suse.de>
6884
6885 [BZ #15007]
6886 * stdlib/stdlib.h: Update guards for qecvt.
6887 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6888 <stdlib.h>.
6889
4721b2d1
AM
68902013-04-27 Allan McRae <allan@archlinux.org>
6891
6892 * sysdeps/i386/fpu/libm-test-ulps: Update.
6893
f0302940
JM
68942013-04-26 Joseph Myers <joseph@codesourcery.com>
6895
9457fd95
JM
6896 [BZ #15406]
6897 * math/s_catan.c: Include <float.h>.
6898 (__catan): Ensure underflow exception occurs for underflowed
6899 result.
6900 * math/s_catanf.c: Include <float.h>.
6901 (__catanf): Ensure underflow exception occurs for underflowed
6902 result.
6903 * math/s_catanh.c: Include <float.h>.
6904 (__catanh): Ensure underflow exception occurs for underflowed
6905 result.
6906 * math/s_catanhf.c: Include <float.h>.
6907 (__catanhf): Ensure underflow exception occurs for underflowed
6908 result.
6909 * math/s_catanhl.c: Include <float.h>.
6910 (__catanhl): Ensure underflow exception occurs for underflowed
6911 result.
6912 * math/s_catanl.c: Include <float.h>.
6913 (__catanl): Ensure underflow exception occurs for underflowed
6914 result.
6915 * math/libm-test.inc (catan_test): Add more tests.
6916 (catanh_test): Likewise.
6917
f0302940
JM
6918 [BZ #15405]
6919 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6920 underflowed result.
6921 * math/s_ccoshf.c (__ccoshf): Likewise.
6922 * math/s_ccoshl.c (__ccoshl): Likewise.
6923 * math/s_csin.c (__csin): Likewise.
6924 * math/s_csinf.c (__csinf): Likewise.
6925 * math/s_csinh.c (__csinh): Likewise.
6926 * math/s_csinhf.c (__csinhf): Likewise.
6927 * math/s_csinhl.c (__csinhl): Likewise.
6928 * math/s_csinl.c (__csinl): Likewise.
6929 * math/libm-test.inc (ccos_test): Add more tests.
6930 (ccosh_test): Likewise.
6931 (csin_test): Likewise.
6932 (csinh_test): Likewise.
6933
aa630f59
AZ
69342013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6935
6936 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6937 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6938 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6939 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6940 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6941 powerpc/power5+/fpu folders.
6942 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6943
6944
1b835983
MT
69452013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6946
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6948
73709b26
JM
69492013-04-25 Joseph Myers <joseph@codesourcery.com>
6950
6951 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6952 additions to variable.
6953 [$(config-machine) = x86_64] (modules-names): Likewise.
6954 ($(objpfx)tst-audit3): Remove dependency.
6955 ($(objpfx)tst-audit3.out): Likewise.
6956 ($(objpfx)tst-audit4): Likewise.
6957 ($(objpfx)tst-audit4.out): Likewise.
6958 ($(objpfx)tst-audit5): Likewise.
6959 ($(objpfx)tst-audit5.out): Likewise.
6960 ($(objpfx)tst-audit6): Likewise.
6961 ($(objpfx)tst-audit6.out): Likewise.
6962 ($(objpfx)tst-audit7): Likewise.
6963 ($(objpfx)tst-audit7.out): Likewise.
6964 (tst-audit3-ENV): Remove variable.
6965 (tst-audit4-ENV): Likewise.
6966 (tst-audit5-ENV): Likewise.
6967 (tst-audit6-ENV): Likewise.
6968 (tst-audit7-ENV): Likewise.
6969 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6970 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6971 addition to variable.
6972 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6973 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6974 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6975 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6976 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6977 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6978 tst-audit3, tst-audit4 and tst-audit5.
6979 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6980 tst-audit6 and tst-audit7.
6981 [$(subdir) = elf] (modules-names): Add audit modules for those
6982 tests.
6983 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6984 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6985 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6986 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6987 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6988 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6989 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6990 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6991 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6992 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6993 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6994 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6995 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6996 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6997 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6998 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6999 Likewise.
7000 [$(subdir) = elf && $(config-cflags-avx) = yes]
7001 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7002 [$(subdir) = elf && $(config-cflags-avx) = yes]
7003 (CFLAGS-tst-auditmod4a.c): Likewise.
7004 [$(subdir) = elf && $(config-cflags-avx) = yes]
7005 (CFLAGS-tst-auditmod4b.c): Likewise.
7006 [$(subdir) = elf && $(config-cflags-avx) = yes]
7007 (CFLAGS-tst-auditmod6b.c): Likewise.
7008 [$(subdir) = elf && $(config-cflags-avx) = yes]
7009 (CFLAGS-tst-auditmod6c.c): Likewise.
7010 [$(subdir) = elf && $(config-cflags-avx) = yes]
7011 (CFLAGS-tst-auditmod7b.c): Likewise.
7012 * elf/tst-audit3.c: Move to ...
7013 * sysdeps/x86_64/tst-audit3.c: ... here.
7014 * elf/tst-audit4.c: Move to ...
7015 * sysdeps/x86_64/tst-audit4.c: ... here.
7016 * elf/tst-audit5.c: Move to ...
7017 * sysdeps/x86_64/tst-audit5.c: ... here.
7018 * elf/tst-audit6.c: Move to ...
7019 * sysdeps/x86_64/tst-audit6.c: ... here.
7020 * elf/tst-audit7.c: Move to ...
7021 * sysdeps/x86_64/tst-audit7.c: ... here.
7022 * elf/tst-auditmod3a.c: Move to ...
7023 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7024 * elf/tst-auditmod3b.c: Move to ...
7025 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7026 * elf/tst-auditmod4a.c: Move to ...
7027 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7028 * elf/tst-auditmod4b.c: Move to ...
7029 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7030 * elf/tst-auditmod5a.c: Move to ...
7031 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7032 * elf/tst-auditmod5b.c: Move to ...
7033 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7034 * elf/tst-auditmod6a.c: Move to ...
7035 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7036 * elf/tst-auditmod6b.c: Move to ...
7037 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7038 * elf/tst-auditmod6c.c: Move to ...
7039 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7040 * elf/tst-auditmod7a.c: Move to ...
7041 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7042 * elf/tst-auditmod7b.c: Move to ...
7043 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7044
1ef74943
PP
70452013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7046
7047 [BZ #15366]
7048 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7049 define unconditionally.
7050 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7051 define unconditionally.
7052 (INT8_C, INT16_C, etc.): Likewise.
7053
93fd48c5
MR
70542013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7055
ae9552cf
MR
7056 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7057 __ehdr_start with hidden visibility.
7058
93fd48c5
MR
7059 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7060
418601aa
CD
70612013-04-24 Carlos O'Donell <carlos@redhat.com>
7062
7063 * math/libm-test.inc (cos_test): Use accurate hex constants.
7064 (sincost_test): Likewise.
7065
2f38fbfe
JM
70662013-04-24 Joseph Myers <joseph@codesourcery.com>
7067
5e221800
JM
7068 * math/libm-test.inc (catan_test): Add more tests.
7069 (catanh_test): Likewise.
7070
77f143fd
JM
7071 * math/s_catanf.c (__catanf): Use suffixed floating-point
7072 constants.
7073 * math/s_catanhf.c (__catanhf): Likewise.
7074 * math/s_catanhl.c (__catanhl): Likewise.
7075 * math/s_catanl.c (__catanl): Likewise.
7076
2f38fbfe
JM
7077 [BZ #15394]
7078 * math/s_catan.c (__catan): Calculate imaginary part of result
7079 with log1p not log unless computing log of number close to 0.
7080 * math/s_catanf.c (__catanf): Likewise.
7081 * math/s_catanl.c (__catanl): Likewise.
7082 * math/s_catanh.c (__catanh): Calculate real part of result with
7083 log1p not log unless computing log of number close to 0.
7084 * math/s_catanhf.c (__catanhf): Likewise.
7085 * math/s_catanhl.c (__catanhl): Likewise.
7086 * math/libm-test.inc (catan_test): Add more tests.
7087 (catanh_test): Likewise.
7088 * sysdeps/i386/fpu/libm-test-ulps: Update.
7089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7090
45d69176
SP
70912013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
7093 * benchtests/Makefile: Mention files in which fast and slow
7094 paths of math functions are implemented.
7095
87f51853
RM
70962013-04-23 Roland McGrath <roland@hack.frob.com>
7097
7098 * sysdeps/posix/timespec_get.c: New file.
7099
3c026539
AZ
71002013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7101
7102 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7103 POWER.
7104 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7105 for POWER.
7106 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7107 powerpc/power5/fpu folders.
7108 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7109 * benchtests/Makefile: Add modf testcase.
7110 * benchtests/bench-modf.c: New file: Benchmark test for mo
7111
ff491d14
SP
71122013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7113
7114 [BZ #14888]
7115 * time/Makefile (tests): Add tst-strptime-whitespace.
7116 * time/strptime_l.c (get_number): Use ISSPACE.
7117 (__strptime_internal): Likewise.
7118 * time/tst-strptime-whitespace.c: New test case.
7119
7ed3f4e8
AS
71202013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7121
7122 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7123 member.
7124 (_nss_files_init): Set it here.
7125
5c95f7b6
HC
71262013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7127
7128 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7129 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7130 unsigned.
7131
d34c9158
JBG
71322013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7133
7134 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7135
2169712d
SP
71362013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7137
7138 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7139 size just once.
7140
29c5de99
DM
71412013-04-21 David S. Miller <davem@davemloft.net>
7142
7143 * po/ru.po: Update Russion translation from translation project.
7144
ccdad15d
AC
71452013-04-17 Adam Conrad <adconrad@0c3.net>
7146
7147 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7148 and setfsgid.
7149
0f122b8d
CD
71502013-04-17 Carlos O'Donell <carlos@redhat.com>
7151
5c5b07da 7152 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7153 * configure: Regenerate.
5c5b07da 7154 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7155 Add example to error message.
7156 * sysdeps/i386/configure: Regenerate.
7157
037714dd
SP
71582013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7159
7160 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7161 slowtan.
7162 * benchtests/cos-inputs: New file.
7163 * benchtests/slowcos-inputs: New file.
7164 * benchtests/slowcos.c: New file.
7165 * benchtests/slowtan-inputs: New file.
7166 * benchtests/slowtan.c: New file.
7167 * benchtests/tan-inputs: New file.
7168
e913141d
RM
71692013-04-16 Roland McGrath <roland@hack.frob.com>
7170
7171 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7172 considered kosher.
7173
a2964074
SP
71742013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7175
4856bcd2
SP
7176 * benchtests/Makefile: Include cppflags-iterator.mk to add
7177 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7178
a2964074
SP
7179 * Makefile.in (bench-clean): New target.
7180 * benchtests/Makefile (bench-clean): Likewise.
7181
9fbf9aca
DH
71822013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7183
7184 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7185
207d1e2a
TS
71862013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7187
7188 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7189
306dfba9
AS
71902013-04-15 Andreas Schwab <schwab@suse.de>
7191
7192 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7193 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7194 * nscd/pwdcache.c (cache_addpw): Likewise.
7195 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7196 more than recsize.
7197
206a6699
SP
71982013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7199
7200 * benchtests/Makefile (bench): Write all output to
7201 bench-out.tmp together.
7202
0582f6b3
AS
72032013-04-15 Andreas Schwab <schwab@suse.de>
7204
7205 * nscd/nscd.c (main): Don't fork again after closing files.
7206
acb4325f
SP
72072013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7208
5cb26d0a
SP
7209 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7210
acb4325f
SP
7211 * benchtests/Rules (bench-deps): Collect dependencies into a
7212 single variable. Add Makefile to dependencies.
7213 ($(objpfx)bench-%.c): Depend on bench-deps.
7214
47792506
RM
72152013-04-12 Roland McGrath <roland@hack.frob.com>
7216 Xavier Roche <roche+kml2@exalead.com>
7217
7218 [BZ #15361]
7219 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7220 just that it's a file descriptor.
7221 * manual/llio.texi (Synchronizing AIO Operations): Update description
7222 for EBADF error from aio_fsync.
7223
8fc1bee5
SP
72242013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7225
7226 * Rules (bench): Move target definition...
7227 * benchtests/Makefile: ... here.
7228
aba5e333
CD
72292013-04-11 Carlos O'Donell <carlos@redhat.com>
7230
7231 * math/libm-test.inc (cos_test): Fix PI/2 test.
7232 (sincos_test): Likewise.
7233 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7234 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7235
273cdee8
AS
72362013-04-11 Andreas Schwab <schwab@suse.de>
7237
6ecec3b6
AS
7238 [BZ #13988]
7239 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7240 accept exponent character only when digits were seen.
7241 * stdio-common/Makefile (tests): Add bug26.
7242 * stdio-common/bug26.c: New file.
7243
273cdee8
AS
7244 [BZ #14293]
7245 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7246 non-freeable.
7247
8da491f5
SP
72482013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7249
01dc6df9
SP
7250 * Makeconfig (rtld-prefix): Define built linker prefix.
7251 * Rules (run-bench): Use it.
7252 * math/Makefile (run-regen-ulps): Likewise.
7253
8da491f5
SP
7254 * Rules (bench): Remove eval.
7255
abe7f530
SP
72562013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7257 Roland McGrath <roland@hack.frob.com>
7258 Ondrej Bilka <neleai@seznam.cz>
7259
7260 [BZ #15346]
7261 * time/getdate.c: Include ctype.h and alloca.h.
7262 (__getdate_r): Trim leading and trailing spaces of input.
7263 * time/tst-getdate.c (tests): Add tests with leading and
7264 trailing spaces.
7265
61c23e62
RM
72662013-04-08 Roland McGrath <roland@hack.frob.com>
7267
7268 [BZ #14280]
7269 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7270 when computing value.
7271
7208a313
CD
72722013-04-06 Carlos O'Donell <carlos@redhat.com>
7273
085b2d41
CD
7274 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7275 Use testrun.sh to run libm tests.
7276
7208a313
CD
7277 [BZ #15309]
7278 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7279
872c0acd
MM
72802013-04-06 Marko Myllynen <myllynen@redhat.com>
7281
7282 [BZ #15264]
7283 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7284
26510bdd
CD
72852013-04-06 Carlos O'Donell <carlos@redhat.com>
7286
7287 * Makefile.in (regen-ulps): New target.
7288 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7289 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7290 [ifneq (no,$(PERL)] (regen-ulps): New target.
7291 [ifeq (no,$(PERL)] (regen-ulps): New target.
7292 * math/libm-test.inc (ulps_file_name): Define.
7293 (output_dir): New variable.
7294 (options): Add "output-dir" option.
7295 (parse_opt): Handle 'o' case.
7296 (main): If output_dir is non-NULL use it as a prefix
7297 otherwise use "".
7298 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7299
a01f19c8
CD
73002013-04-06 Carlos O'Donell <carlos@redhat.com>
7301
7302 [BZ #10060, #10062]
7303 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7304 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7305 fail configure if __sync_val_compare_and_swap is not inlined.
7306 * sysdeps/i386/configure: Regenerate.
7307 * configure.in: Build for i686 when configured for i386.
7308 * configure: Regenerate.
7309 * README: Remove i386 reference.
7310
b7a329a5
CD
73112013-04-06 Carlos O'Donell <carlos@redhat.com>
7312
7313 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7314 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7315
bf0f50df
TS
73162013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7317
ee091edf
TS
7318 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7319 (lmsnanval): New variables.
7320 (F): Add conversion tests.
7321 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7322 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7323
a8b792d6
TS
7324 * stdio-common/tstdiomisc.c (F): Properly collect individual
7325 tests' results.
7326
a1cbf437
TS
7327 [BZ #14686, #15336]
7328 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7329 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7330 Instead, use input NaN values or generate a qNaN by arithmetic
7331 operation. Also fix bugs to comply with the standard.
7332 * math/libm-test.inc (remainder_test): Add more tests.
7333
8b43a0c9
TS
7334 [BZ #15335, #15342]
7335 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7336 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7337 input NaN values or generate a qNaN by arithmetic operation.
7338
d91da4ce
TS
7339 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7340 unreachable code.
7341
bf0f50df
TS
7342 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7343 definitions.
7344
05e166c8
JM
73452013-04-03 Joseph Myers <joseph@codesourcery.com>
7346
7347 [BZ #14478]
7348 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7349 underflowed result.
7350 * math/s_cexpf.c (__cexpf): Likewise.
7351 * math/s_cexpl.c (__cexpl): Likewise.
7352 * math/libm-test.inc (cexp_test): Add more tests.
7353
1cef1b19
AS
73542013-04-03 Andreas Schwab <schwab@suse.de>
7355
7356 [BZ #15330]
7357 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7358 order arrays from heap if bigger than alloca cutoff.
7359
74d87055
TS
73602013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7361
7362 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7363 (SNAN_TESTS_double): Refer to GCC PR56831.
7364 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7365 GCC PR56828.
7366
d755bba4
SP
73672013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7368
90d5d5bb
SP
7369 * Rules (bench): Move bench.out after the run is complete.
7370
73e0cd5d
SP
7371 * Rules (bench): Echo currently running benchmark.
7372
64aabd4b
SP
7373 * benchtests/Makefile (bench): Add atan and slowatan.
7374 * benchtests/atan-inputs: New file.
7375 * benchtests/slowatan-inputs: New file.
7376 * benchtests/slowatan.c: New file.
7377
c871eccd
SP
7378 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7379 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7380 its value.
7381
d755bba4
SP
7382 [BZ #15305]
7383 * sysdeps/unix/sysv/linux/kernel-features.h
7384 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7385 __ASSUME_XFS_RESTRICTED_CHOWN.
7386 * sysdeps/unix/sysv/linux/pathconf.c
7387 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7388 Save and restore errno.
7389
52ce4860
JM
73902013-04-02 Joseph Myers <joseph@codesourcery.com>
7391
7392 [BZ #15327]
7393 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7394 arguments using __kernel_casinh.
7395 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7396 arguments using __kernel_casinhf.
7397 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7398 arguments using __kernel_casinhl.
7399 * math/libm-test.inc (cacosh_test): Add more tests.
7400 * sysdeps/i386/fpu/libm-test-ulps: Update.
7401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7402
81f311c2
SP
74032013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7404
e7906a47
SP
7405 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7406 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7407
92e3664b
SP
7408 * bench/Makefile (bench): Add sin and slowsin.
7409 * benchtests/sin-inputs: New file.
7410 * benchtests/slowsin-inputs: New file.
7411 * benchtests/slowsin.c: New file.
7412
81f311c2
SP
7413 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7414 (bench): Add slowexp and slowpow.
7415 (exp-ITER): Increase iterations.
7416 (pow-ITER): Likewise.
7417 * benchtests/exp-inputs: Change input.
7418 * benchtests/pow-inputs: Likewise.
7419 * benchtests/slowexp-inputs: New file.
7420 * benchtests/slowexp.c: New file.
7421 * benchtests/slowpow-inputs: New file.
7422 * benchtests/slowpow.c: New file.
7423
ab0f1aa9
AZ
74242013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7425
7426 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7427 instructions.
7428 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7429 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7430 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7431 * benchtests/Makefile: Add rint benchtest.
7432 * benchtests/rint-inputs: Input for rint benchtest.
7433
57267616
TS
74342013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7435
7436 * Versions.def (libm): Add GLIBC_2.18.
7437 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7438 hidden libm prototypes.
7439 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7440 * math/Makefile (libm-calls): Add s_issignaling.
7441 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7442 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7443 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7444 declaration.
7445 * math/math.h [__USE_GNU] (issignaling): New macro.
7446 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7447 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7448 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7449 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7450 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7452 * manual/arith.texi (issignaling): New section.
7453 * manual/libm-err-tab.pl (@all_functions): Update comment.
7454 * math/gen-libm-test.pl (parse_args): Apply special handling for
7455 issignaling.
7456 * math/libm-test.inc (print_float, issignaling_test): New
7457 functions.
7458 (check_float_internal): Add issignaling checks.
7459 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7460 default definition.
7461 * sysdeps/powerpc/math-tests.h: New file.
7462 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7463 tests.
7464 * math/test-snan.c (TEST_FUNC): Likewise.
7465
6142896d
DM
74662013-03-30 David S. Miller <davem@davemloft.net>
7467
7468 * po/de.po: Update from translation team.
7469
ccc8cadf
JM
74702013-03-30 Joseph Myers <joseph@codesourcery.com>
7471
7472 [BZ #10357]
7473 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7474 imaginary part less than 1.0 and real part less than 0.5
7475 specially.
7476 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7477 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7478 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7479 (cacos_test): Add more tests.
7480 (casin_test): Likewise.
7481 (casinh_test): Likewise.
7482 * sysdeps/i386/fpu/libm-test-ulps: Update.
7483 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7484
0f6a8d4b
SP
74852013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7486
0d1029de
SP
7487 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7488 ONE with its value.
7489
c2d94018
SP
7490 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7491 (__pow_mp): Replace ONE and MONE with their values.
7492 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7493 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7494 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7495 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7496 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7497 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7498
27ec37f1
SP
7499 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7500
a64d7e0e
SP
7501 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7502 (__pow_mp): Replace ZERO and MZERO with their values.
7503 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7504 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7505 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7506 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7507 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7508 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7509 (__sqr): Likewise.
7510
d26dd3eb
SP
7511 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7512
0f6a8d4b
SP
7513 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7514
e57b0c61
RM
75152013-03-28 Roland McGrath <roland@hack.frob.com>
7516
7517 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7518 Declare with __attribute__ ((weak)).
7519 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7520 Call __call_tls_dtors only if it's not NULL.
7521
356b3480
RM
75222013-03-28 Roland McGrath <roland@hack.frob.com>
7523
288f7d79
RM
7524 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7525 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7526 magic __ehdr_start linker symbol if it's defined.
7527 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7528 them up here if it was already done.
7529
dc0a0263
RM
7530 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7531 (_dl_aux_init): Use const in cast when setting it.
7532 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7533 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7534 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7535
3d3436ae
RM
7536 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7537 Declare them here.
7538 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7539 * csu/libc-tls.c: Nor here.
7540 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7541
356b3480
RM
7542 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7543 (__libc_message): Never call vsyslog.
7544
b0f1246a
AM
75452013-03-28 Alan Modra <amodra@gmail.com>
7546
7547 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7548 Define as empty.
7549 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7550 Likewise.
7551
fbbe2b9a
AZ
75522013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7553
7554 [BZ #15214]
7555 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7556 underflow.
7557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7558
1728ab37
SP
75592013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7560
7a86be6e
SP
7561 [BZ #15304]
7562 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7563 Don't add gid passed as argument.
7564
1728ab37
SP
7565 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7566
3a7182a1
JM
75672013-03-27 Joseph Myers <joseph@codesourcery.com>
7568
7569 [BZ #15307]
7570 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7571 imaginary part between 1.0 and 1.5 and real part less than 0.5
7572 specially.
7573 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7574 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7575 * math/libm-test.inc (cacos_test): Add more tests.
7576 (casin_test): Likewise.
7577 (casinh_test): Likewise.
7578 * sysdeps/i386/fpu/libm-test-ulps: Update.
7579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7580
6f2e90e7
SP
75812013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7582
5739f705
SP
7583 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7584 constants.
7585 (norm): Likewise.
7586 (denorm): Likewise.
7587 (__dbl_mp): Likewise.
7588 (add_magnitudes): Likewise.
7589 (sub_magnitudes): Likewise.
7590 (__add): Likewise.
7591 (__sub): Likewise.
7592 (__mul): Likewise.
7593 (__sqr): Likewise.
7594 (__inv): Likewise.
7595 (__dvd): Likewise.
7596
e375e83d
SP
7597 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7598 commented code.
7599 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7600 (__dubcos): Likewise.
7601 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7602 (__ieee754_acos): Likewise.
7603 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7604 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7605 (__exp1): Likewise.
7606 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7607 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7608 (log1): Likewise.
7609 (my_log2): Likewise.
7610 (checkint): Likewise.
7611 * sysdeps/ieee754/dbl-64/e_remainder.c
7612 (__ieee754_remainder): Likewise.
7613 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7614 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7615 (bsloww): Likewise.
7616 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7617
6f2e90e7
SP
7618 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7620 MANTISSA_STORE_T to store computations on mantissa. Use
7621 macros for rounding and division.
7622 (denorm): Likewise.
7623 (__dbl_mp): Likewise.
7624 (add_magnitudes): Likewise.
7625 (sub_magnitudes): Likewise.
7626 (__mul): Likewise.
7627 (__sqr): Likewise.
7628 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7629 powers of two in terms of TWOPOW macro.
7630 (mp_no): Make type of mantissa as MANTISSA_T.
7631 [!RADIXI]: Define RADIXI.
7632 [!TWO52]: Define TWO52.
7633 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7634
fce14d4e
AZ
76352013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7636
7637 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7638 llroundl symbol when building for PPC32.
7639
9ad027fb
MW
76402013-03-24 Mark H Weaver <mhw@netris.org>
7641
7642 * manual/arith.texi (Normalization Functions): Fix prototypes for
7643 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7644
e42a38dd
AZ
76452013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7646
7647 [BZ #13889]
7648 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7649 high value to check if expl overflow.
7650 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7651 to check for underflow and overflow.
7652 * math/libm-test.inc: Add exp test.
7653
2e0fb521
DL
76542013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7655
7656 [BZ #11120]
7657 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7658 with NOT_IN_libc.
7659
b5784d95
AZ
76602013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7661
7662 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7663 symbol.
7664
5aa4a1a1
TS
76652013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7666
bdef0be7
TS
7667 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7668 wrap blocks consisting of several statements.
7669
5aa4a1a1
TS
7670 * sysdeps/generic/math-tests.h: New file.
7671 * sysdeps/i386/fpu/math-tests.h: Likewise.
7672 * math/test-snan.c: Include it.
7673 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7674
98c48fe5
JM
76752013-03-21 Joseph Myers <joseph@codesourcery.com>
7676
7677 [BZ #15285]
7678 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7679 (__ieee754_j0l): Do not improve calculations using cos of twice
7680 input for inputs above LDBL_MAX / 2.0L.
7681 (__ieee754_y0l): Likewise.
7682 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7683 (__ieee754_j1l): Do not improve calculations using cos of twice
7684 input for inputs above LDBL_MAX / 2.0L.
7685 (__ieee754_y1l): Likewise.
7686 * math/libm-test.inc (j0_test): Add another test.
7687 (j1_test): Likewise.
7688 (y0_test): Likewise.
7689 (y1_test): Likewise.
7690 * sysdeps/i386/fpu/libm-test-ulps: Update.
7691
3775a8bc
SP
76922013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7693
7694 * Rules ($(objpfx)bench-%.c): Include code from a C source
7695 file.
7696
0a1b2ae6
JM
76972013-03-21 Joseph Myers <joseph@codesourcery.com>
7698
7699 [BZ #15287]
7700 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7701 imaginary part 1.0 and real part less than 0.5 specially.
7702 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7703 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7704 * math/libm-test.inc (cacos_test): Add more tests.
7705 (casin_test): Likewise.
7706 (casinh_test): Likewise.
7707 * sysdeps/i386/fpu/libm-test-ulps: Update.
7708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7709
b33d4ce4
SP
77102013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7711
7712 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7713 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7714
bef0b507
JM
77152013-03-20 Joseph Myers <joseph@codesourcery.com>
7716
7717 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7718 * config.make.in (config-cflags-sse4): Remove variable.
7719 (config-cflags-avx): Likewise.
7720 (config-cflags-sse2avx): Likewise.
7721 (config-cflags-novzeroupper): Likewise.
7722 (config-asflags-i686): Likewise.
7723 (have-mfma4): Likewise.
7724 (have-as-vis3): Likewise.
7725 (MIG): Likewise.
7726 * configure.in (MIG): Do not AC_SUBST.
7727 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7728 (libc_cv_cc_sse4): Do not AC_SUBST.
7729 (libc_cv_cc_avx): Likewise.
7730 (libc_cv_cc_sse2avx): Likewise.
7731 (libc_cv_cc_novzeroupper): Likewise.
7732 (libc_cv_cc_fma4): Likewise.
7733 (libc_cv_as_i686): Likewise.
7734 (libc_cv_sparc_as_vis3): Likewise.
7735 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7736 LIBC_CONFIG_VAR.
7737 (config-asflags-i686): Likewise.
7738 (config-cflags-avx): Likewise.
7739 (config-cflags-sse2avx): Likewise.
7740 (have-mfma4): Likewise.
7741 (config-cflags-novzeroupper): Likewise.
7742 * sysdeps/mach/configure.in (MIG): Likewise.
7743 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7744 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7745 LIBC_CONFIG_VAR.
7746 (config-cflags-avx): Likewise.
7747 (config-cflags-sse2avx): Likewise.
7748 (have-mfma4): Likewise.
7749 (config-cflags-novzeroupper): Likewise.
7750 * configure: Regenerated.
7751 * sysdeps/i386/configure: Likewise.
7752 * sysdeps/mach/configure: Likewise.
7753 * sysdeps/sparc/configure: Likewise.
7754 * sysdeps/x86_64/configure: Likewise.
7755
912cc4b3
RM
77562013-03-20 Roland McGrath <roland@hack.frob.com>
7757
7758 [BZ #14812]
7759 * locale/programs/localedef.c (options): Put N_ translation marker
7760 on argument names, not just descriptions.
7761
04eed2b0
MS
77622013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7763
7764 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7765
a065ceff
OB
77662013-03-20 Ondřej Bílka <neleai@seznam.cz>
7767
9bb2a810 7768 [BZ #14176]
a065ceff
OB
7769 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7770
a600e5ce
RM
77712013-03-19 Roland McGrath <roland@hack.frob.com>
7772
7773 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7774 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7775 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7776 [!BEFORE_ABORT] (before_abort): New function.
7777 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7778 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7779 (writev_for_fatal): New function.
7780 (WRITEV_FOR_FATAL): New macro; call that.
7781 (backtrace_and_maps): New function.
7782 (BEFORE_ABORT): New macro; call that.
7783 (struct str_list): Type removed.
7784 (__libc_message, __libc_fatal): Functions removed.
7785 Include <sysdeps/posix/libc_fatal.c> instead.
7786
6b18bea6
JM
77872013-03-19 Joseph Myers <joseph@codesourcery.com>
7788
7789 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7790 constants.
7791 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7792 double constants.
7793
aaa8cb4b
AS
77942013-03-19 Andreas Schwab <schwab@suse.de>
7795
44673770
AS
7796 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7797 * sysdeps/gnu/configure: Regenerate.
7798
aaa8cb4b
AS
7799 * configure.in: Substitute libc_cv_rtlddir.
7800 * configure: Regenerate.
7801 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7802 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7803 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7804 * elf/Makefile (install-others, CFLAGS-interp.c)
7805 (ldso_install, common-ldd-rewrite): Likewise.
7806 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7807 $(inst_slibdir)/$(rtld-installed-name).
7808 * scripts/rellns-sh: Add -p option.
7809 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7810 for source.
7811
d3cfc668
SP
78122013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7813
7814 * manual/nptl.texi: Renamed to ...
7815 * manual/threads.texi: ... this.
7816 * manual/Makefile (chapters): Update.
7817
0e2b9cdd
RM
78182013-03-18 Roland McGrath <roland@hack.frob.com>
7819
7820 [BZ #14812]
7821 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7822 on argument names, not just descriptions.
0e2b9cdd
RM
7823 * malloc/memusagestat.c (options): Likewise.
7824 * nss/getent.c (options): Likewise.
63270c24
RM
7825
78262013-03-18 Benno Schulenberg <bensberg@justemail.net>
7827
7828 [BZ #14812]
7829 * iconv/iconv_prog.c (options): Put N_ translation marker
7830 on argument names, not just descriptions.
7831 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7832
b2e1393c
OB
78332013-03-18 Ondrej Bilka <neleai@seznam.cz>
7834
7835 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7836 implementation which is faster on all x86_64 architectures.
7837 Tested on AMD, Intel Nehalem, SNB, IVB.
7838 * sysdeps/x86_64/strnlen.S: Likewise.
7839
7840 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7841 Remove all multiarch strlen and strnlen versions.
7842 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7843 Remove strlen and strnlen related parts.
7844
7845 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7846 Inline strlen part.
7847 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7848
7849 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7850 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7851 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7852 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7853 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7854 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7855
ec4ff04d
CD
78562013-03-17 Carlos O'Donell <carlos@redhat.com>
7857
7858 * manual/memory.texi (Malloc Tunable Parameters):
7859 Sort parameters alphabetically. Add comments for missing entries.
7860
cd18e90a
DM
78612013-03-17 David S. Miller <davem@davemloft.net>
7862
7863 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7864
2a185d32
JM
78652013-03-16 Joseph Myers <joseph@codesourcery.com>
7866
d2f9799e
JM
7867 [BZ #15283]
7868 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7869 for arguments at most half maximum finite value.
7870 * math/libm-test.inc (j0_test): Add more tests.
7871 (j1_test): Likewise.
7872 (y0_test): Likewise.
7873 (y1_test): Likewise.
7874 * sysdeps/i386/fpu/libm-test-ulps: Update.
7875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7876
2a185d32
JM
7877 [BZ #14155]
7878 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7879 1 / x and functions P and Q for arguments above 0x1p256L.
7880 (__ieee754_y0l): Likewise.
7881 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7882 (__ieee754_y1l): Likewise.
7883 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7884 (j1_test): Likewise.
7885 (y0_test): Likewise.
7886 (y1_test): Likewise.
7887
6cbec759
TS
78882013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7889
7890 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7891 variable.
7892
bc16e260
RM
78932013-03-15 Roland McGrath <roland@hack.frob.com>
7894
aefc9b8c
RM
7895 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7896 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7897 zero since it's initialized to EXEC_PAGESIZE.
7898
bc16e260
RM
7899 * sysdeps/unix/sysv/linux/ldsodefs.h
7900 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7901 * sysdeps/generic/ldsodefs.h: ... here.
7902
a57da955
TS
79032013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7904
af00a34d
TS
7905 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7906
495ded2c
TS
7907 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7908 math/test-snan.c.
7909 * math/test-snan.c: Renamed from
7910 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7911 * math/Makefile (tests): Add test-snan.
7912 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7913 test-powerpc-snan.
7914
777b0332
TS
7915 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7916 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7917 functions.
7918 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7919 __builtin_nan family of functions.
7920 * math/libm-test.inc (initialize): Initialize qnan_value with
7921 __builtin_nan family of functions.
7922 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7923 Remove variables.
7924 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7925 Remove functions.
7926 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7927 storage class. Initialize qNaN_var and sNaN_var with
7928 __builtin_nan and __builtin_nans families of functions,
7929 respectively.
7930
64d063b8
TS
7931 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7932 (sqrt_test): Remove duplicate test with qNaN input.
7933 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7934 (round_test, signbit_test, significand_test): Note missing +/-Inf
7935 as well as qNaN tests.
7936
67e971f1
TS
7937 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7938 qNaN_var. Fix a few strings, too.
7939 * math/libm-test.inc (nan_value): Rename to qnan_value.
7940 * math/gen-libm-test.pl (%beautify): Adjust to that.
7941 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7942 * math/test-misc.c (main): Likewise.
7943 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7944 to __qnan_bytes, and __qnan_union, respectively.
7945 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7946 Likewise.
7947 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7948 and lqnanval, respectively.
7949 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7950 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7951 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7952 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7953
64487e12
TS
7954 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7955 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7956 doubles.
7957
e015e27b
TS
7958 * math/test-misc.c (main): Fix copy'n'pastos.
7959 * misc/tst-efgcvt.c (special): Likewise.
7960
a57da955
TS
7961 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7962 Remove declarations.
7963
1e380345
SP
79642013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7965
7966 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7967 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7968 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7969 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7970
ef26eece
AZ
79712013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972
7973 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7974 macro to return vdso values correctly in IFUNC implementations.
7975 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7976 Optimization by using IFUNC.
7977
8cfdb7e0
SP
79782013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7979 Richard Henderson <rth@redhat.com>
7980 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7981
7982 * Makefile.in (bench): New target.
7983 * NEWS: Mention the benchmark framework.
7984 * Rules (bench): Likewise.
7985 (binaries-bench): Generate binaries for functions to
7986 benchmark.
7987 * benchtests/Makefile: New makefile for benchmark tests.
7988 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7989 programs.
7990 * benchtests/exp-inputs: New input file for EXP function.
7991 * benchtests/pow-inputs: New input file for POW function.
7992 * scripts/bench.pl: New script to generate source files for
7993 benchmark programs.
7994
bcda9880
SP
79952013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7996
d22ca8cd
SP
7997 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7998 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7999 computations on mantissa. Use macros for rounding and
8000 division.
8001 (denorm): Likewise.
8002 (__dbl_mp): Likewise.
8003 (add_magnitudes): Likewise.
8004 (sub_magnitudes): Likewise.
8005 (__mul): Likewise.
8006 (__sqr): Likewise.
8007 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8008 powers of two in terms of TWOPOW macro.
8009 (mp_no): Make type of mantissa as MANTISSA_T.
8010 [!RADIXI]: Define RADIXI.
8011 [!TWO52]: Define TWO52.
8012 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8013
bcda9880
SP
8014 * manual/nptl.texi (cindex): Modify threads to pthreads.
8015
06d5adfb
JM
80162013-03-15 Joseph Myers <joseph@codesourcery.com>
8017
8018 * sysdeps/x86_64/preconfigure: Regenerated.
8019
41c7328e
JM
80202013-03-14 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #14155]
8023 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8024 0x1p28 and above.
8025 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8026 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8027 0x1p28 and above.
8028 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8029 * math/libm-test.inc (j0_test): Do not allow one spurious
8030 underflow exception.
8031 (y1_test): Likewise.
8032
e25cfa60
SP
80332013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8034
0409959c
SP
8035 * manual/Makefile (chapters): Add nptl.
8036 * manual/debug.texi (Debugging Support): Add link to Threads
8037 chapter.
8038 * manual/nptl.texi: New file.
8039
e25cfa60
SP
8040 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8041
58a1335e
PB
80422013-03-14 Petr Baudis <pasky@ucw.cz>
8043
8044 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8045 for non-NULL pointer before the memory validity test. Pointed
8046 out by Holger Brunck <holger.brunck@keymile.com>.
8047
9dc7c64f
AS
80482013-03-13 Andreas Schwab <schwab@suse.de>
8049
8050 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8051 instead of .os.
8052
54206aa6
JM
80532013-03-13 Joseph Myers <joseph@codesourcery.com>
8054
8055 * timezone/zic.c: Update from tzcode 2013b.
8056
e98cdb38
CD
80572013-03-12 Carlos O'Donell <carlos@redhat.com>
8058
8059 * manual/install.texi (Configuring and compiling):
8060 Mention i686 and i586.
8061 * INSTALL: Regenerate.
8062
9967e003
RM
80632013-03-12 Roland McGrath <roland@hack.frob.com>
8064
8065 * sysdeps/init_array/elf-init.c: New file.
8066 * csu/elf-init.c
8067 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8068 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8069
8070 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8071 __gmon_start__ as global, but as static with a .preinit_array pointer.
8072 * sysdeps/init_array/gmon-start.c: New file. Use that.
8073 * sysdeps/init_array/crti.S: New file, empty except for comments.
8074 * sysdeps/init_array/crtn.S: Likewise.
8075
e6b5a293 80762013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8077
8078 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8079 definining bcopy.
80f844c9
OB
8080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8081 Remove Prefer_SSE_for_memop.
8082 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8083 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8084 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8086 memset-x86-64.
80f844c9 8087 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8088 Remove bzero, memset ifunc support.
80f844c9
OB
8089 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8090 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8091 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8092 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8093
fb6b0fcb
AS
80942013-03-11 Andreas Schwab <schwab@suse.de>
8095
8096 [BZ #15234]
8097 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8098 by SHLIB_COMPAT.
8099 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8100 (GLIBC_2.16): Remove pthread_atfork.
8101
3e6bd4b1
PP
81022013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8103
8104 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8105 (ptestcases.h): Likewise.
8106
222d7f00
RM
81072013-03-08 Roland McGrath <roland@hack.frob.com>
8108
8109 * Makeconfig ($(common-objpfx)config.status): Depend on
8110 sysdeps/*/preconfigure{,.in} too.
8111
1ba4f030
JM
81122013-03-08 Joseph Myers <joseph@codesourcery.com>
8113
a222d91a
JM
8114 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8115 (__free_hook): Use void * instead of __malloc_ptr_t.
8116 (__malloc_hook): Likewise.
8117 (__realloc_hook): Likewise.
8118 (__memalign_hook): Likewise.
8119 (__after_morecore_hook): Likewise.
8120 * malloc/arena.c (save_malloc_hook): Likewise.
8121 (save_free_hook): Likewise.
8122 * malloc/hooks.c (malloc_hook_ini): Likewise.
8123 (realloc_hook_ini): Likewise.
8124 (memalign_hook_ini): Likewise.
8125 * malloc/malloc.c (malloc_hook_ini): Likewise.
8126 (realloc_hook_ini): Likewise.
8127 (memalign_hook_ini): Likewise.
8128 (__free_hook): Likewise.
8129 (__malloc_hook): Likewise.
8130 (__realloc_hook): Likewise.
8131 (__memalign_hook): Likewise.
8132 (__libc_malloc): Likewise.
8133 (__libc_free): Likewise.
8134 (__libc_realloc): Likewise.
8135 (__libc_memalign): Likewise.
8136 (__libc_valloc): Likewise.
8137 (__libc_pvalloc): Likewise.
8138 (__libc_calloc): Likewise.
8139 (__posix_memalign): Likewise.
8140 * malloc/morecore.c (__sbrk): Likewise.
8141 (__default_morecore): Likewise.
8142
5cc45e10
JM
8143 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8144
dd54b864
JM
8145 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8146 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8147 __malloc_ptrdiff_t.
8148
1ba4f030
JM
8149 * malloc/malloc.h (__malloc_size_t): Remove macro.
8150 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8151 __malloc_size_t.
8152 (old_memalign_hook): Likewise.
8153 (old_realloc_hook): Likewise.
8154 (struct hdr): Likewise.
8155 (flood): Likewise.
8156 (mallochook): Likewise.
8157 (memalignhook): Likewise.
8158 (reallochook): Likewise.
8159 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8160 (tr_old_realloc_hook): Likewise.
8161 (tr_old_memalign_hook): Likewise.
8162 (tr_mallochook): Likewise.
8163 (tr_reallochook): Likewise.
8164 (tr_memalignhook): Likewise.
8165
edf66e57
AZ
81662013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8167
8168 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8169 default_ldbl_pack and using as default implementation.
8170 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8171 implementation.
8172 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8173 redundant definition.
8174 (ldbl_insert_mantissa): Likewise.
8175 (ldbl_canonicalize): Likewise.
8176 (ldbl_nearbyint): Likewise.
8177 (ldbl_pack): Rename to ldbl_pack_ppc.
8178 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8179 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8180 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8181
6d9145d8
SP
81822013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8183
8184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8185 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8186 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8187 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8188 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8189 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8190 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8191 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8192
4dd4e157
AJ
81932013-03-07 Andreas Jaeger <aj@suse.de>
8194
8195 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8196 bits/mman-linux.h.
8197
adbb8027
SP
81982013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8199
ce544b5b
SP
8200 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8201 Include mpa.h and declare __MPEXP.
8202 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8203 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8204 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8206 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8207 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8208 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8209
4cc149fd
SP
8210 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8211 (__slowpow): Use long double EXPL and LOGL functions to
8212 compute POW.
8213 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8214 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8215 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8216 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8217 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8218 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8219
e6ebd4a7
SP
8220 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8221 intermediate variable to calculate exponent.
8222 (__sqr): Likewise.
8223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8224 Likewise.
8225 (__sqr): Likewise.
8226
82a9811d
SP
8227 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8228 [!NO__SQR]: Define __sqr.
8229 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8230 and NO__SQR. Remove all code except __mul and __sqr. Include
8231 sysdeps/ieee754/dbl-64/mpa.c.
8232 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8233
adbb8027
SP
8234 [BZ #12723]
8235 * posix/Makefile (tests): Add tst-pathconf.
8236 * posix/tst-pathconf.c: New test case.
8237 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8238 _PC_PIPE_BUF.
8239 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8240
39120df9
PF
82412013-03-06 Patsy Franklin <pfrankli@redhat.com>
8242
8243 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8244
67525cb8
AJ
82452013-03-06 Andreas Jaeger <aj@suse.de>
8246
664a9ce4
AJ
8247 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8248 definition via __MAP_ANONYMOUS.
8249
8e39047d
AJ
8250 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8251 it's not part of Linux headers.
8252
67525cb8
AJ
8253 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8254 (MAP_HUGE_MASK): Define.
8255
8256 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8257 Define.
8258 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8259 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8260 Define.
8261 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8262 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8263 Define.
8264 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8265 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8266 Define.
8267 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8268
8269 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8270 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8271 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8272 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8273 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8274 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8275
8276 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8277 Handle f2fs.
8278
8279 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8280 Handle f2fs and efivarfs.
8281
8282 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8283 f2fs.
8284
8285 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8286 (EFIVARFS_MAGIC): Add.
8287 (F2FS_LINK_MAX): Add.
8288
e1b42695
PP
82892013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8290
8291 * stdio-common/vfprintf.c: Replace __builtin_expect with
8292 __glibc_unlikely.
8293
2d67d91a
JM
82942013-03-06 Joseph Myers <joseph@codesourcery.com>
8295
8296 [BZ #13550]
8297 * sysdeps/generic/bp-sym.h: Remove file.
8298 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8299 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8300 <bp-sym.h> and <bp-asm.h>.
8301 (__longjmp): Don't use BP_SYM.
8302 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8303 and <bp-asm.h>.
8304 (memcpy): Don't use BP_SYM.
8305 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8306 <bp-sym.h> and <bp-asm.h>.
8307 (memcpy): Don't use BP_SYM.
8308 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8309 <bp-asm.h>.
8310 (memcpy): Don't use BP_SYM.
8311 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8312 <bp-asm.h>.
8313 (memset): Don't use BP_SYM.
8314 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8315 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8316 (__bzero): Don't use BP_SYM.
8317 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8318 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8319 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8320 <bp-sym.h> and <bp-asm.h>.
8321 (memcmp): Don't use BP_SYM. Remove comment about bounded
8322 pointers.
8323 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8324 <bp-sym.h> and <bp-asm.h>.
8325 (memcpy): Don't use BP_SYM.
8326 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8327 <bp-sym.h> and <bp-asm.h>.
8328 (memset): Don't use BP_SYM.
8329 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8331 (__bzero): Don't use BP_SYM.
8332 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8333 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8334 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8335 <bp-sym.h> and <bp-asm.h>.
8336 (strncmp): Don't use BP_SYM. Remove comment about bounded
8337 pointers.
8338 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8339 <bp-sym.h> and <bp-asm.h>.
8340 (memcpy): Don't use BP_SYM.
8341 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8342 <bp-sym.h> and <bp-asm.h>.
8343 (memset): Don't use BP_SYM.
8344 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8345 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8346 (__bzero): Don't use BP_SYM.
8347 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8348 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8349 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8350 <bp-sym.h> and <bp-asm.h>.
8351 (__memchr): Don't use BP_SYM.
8352 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8353 <bp-sym.h> and <bp-asm.h>.
8354 (memcmp): Don't use BP_SYM. Remove comment about bounded
8355 pointers.
8356 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8357 <bp-sym.h> and <bp-asm.h>.
8358 (memcpy): Don't use BP_SYM.
8359 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8360 <bp-sym.h> and <bp-asm.h>.
8361 (__mempcpy): Don't use BP_SYM.
8362 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8363 <bp-sym.h> and <bp-asm.h>.
8364 (__memrchr): Don't use BP_SYM.
8365 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8366 <bp-sym.h> and <bp-asm.h>.
8367 (memset): Don't use BP_SYM.
8368 (__bzero): Likewise.
8369 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8370 <bp-sym.h> and <bp-asm.h>.
8371 (__rawmemchr): Don't use BP_SYM.
8372 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8373 <bp-sym.h> and <bp-asm.h>.
8374 (__STRCMP): Don't use BP_SYM.
8375 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8376 <bp-sym.h> and <bp-asm.h>.
8377 (strchr): Don't use BP_SYM.
8378 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8379 <bp-sym.h> and <bp-asm.h>.
8380 (__strchrnul): Don't use BP_SYM.
8381 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8382 <bp-sym.h> and <bp-asm.h>.
8383 (strlen): Don't use BP_SYM.
8384 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8385 <bp-sym.h> and <bp-asm.h>.
8386 (strncmp): Don't use BP_SYM. Remove comment about bounded
8387 pointers.
8388 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8389 <bp-sym.h> and <bp-asm.h>.
8390 (__strnlen): Don't use BP_SYM.
8391 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8392 <bp-sym.h> and <bp-asm.h>.
8393 (__GI__setjmp): Don't use BP_SYM.
8394 (_setjmp): Likewise.
8395 (__sigsetjmp): Likewise.
8396 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8397 (L(start_addresses)): Don't use BP_SYM.
8398 (_start): Likewise.
8399 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8400 <bp-asm.h>.
8401 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8402 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8403 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8404 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8405 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8406 <bp-asm.h>.
8407 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8408 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8409 about bounded pointers.
8410 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8411 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8412 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8413 <bp-asm.h>.
8414 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8415 about bounded pointers. Remove GKM FIXME comments.
8416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8417 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8418 <bp-asm.h>.
8419 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8420 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8421 Remove GKM FIXME comments.
8422 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8423 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8424 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8425 <bp-asm.h>.
8426 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8427 about bounded pointers. Remove GKM FIXME comment.
8428 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8429 and <bp-asm.h>.
8430 (strncmp): Don't use BP_SYM. Remove comment about bounded
8431 pointers.
8432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8433 <bp-sym.h> and <bp-asm.h>.
8434 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8436 <bp-sym.h> and <bp-asm.h>.
8437 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8438 comment.
8439
cdcf361f
PP
84402013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8441
8442 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8443 call free(NULL).
8444
3c4a2b15
DM
84452013-03-05 David S. Miller <davem@davemloft.net>
8446
8447 * po/es.po: Update from translation team.
8448
cdcf361f 84492013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8450
8451 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8452 <bits/mman-linux.h>.
8453 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8454 is fine.
8455 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8456 <bits/mman-linux.h> to end of file.
8457 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8458 is fine.
8459 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8460 <bits/mman-linux.h> to end of file.
8461 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8462 is fine.
8463 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8464 <bits/mman-linux.h> to end of file.
8465
8466 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8467 (MCL_CURRENT, MCL_FUTURE): Define here.
8468
5f67c04f
AK
84692013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8470
8a4473cc 8471 [BZ #15232]
5f67c04f
AK
8472 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8473 attribute_hidden.
8474 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8475
c3e94a95
AK
84762013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8477
8478 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8479 fourth parameter needed for rt_sigprocmask syscall.
8480 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8481 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8482 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8483 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8484 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8485 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8486
cfb6382a
JM
84872013-03-04 Joseph Myers <joseph@codesourcery.com>
8488
8489 [BZ #13550]
8490 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8491 comment about bounded pointers.
8492 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8493 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8494
539d8e01
AJ
84952013-03-04 Andreas Jaeger <aj@suse.de>
8496
8497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8498 common definitions.
8499
8500 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8501 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8502 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8503 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8504 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8505 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8506
2e167a70 85072013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8508
8509 [BZ #15055]
8510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8511 __ieee754_sqrl instead of __sqrl.
8512
68508633
JM
85132013-03-01 Joseph Myers <joseph@codesourcery.com>
8514
8515 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8516 * sysdeps/powerpc/fpu_control.h: ... here.
8517 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8518 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8519 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8520 * sysdeps/powerpc/bits/mathinline.h: ... here.
8521
7775448e
RM
85222013-03-01 Roland McGrath <roland@hack.frob.com>
8523
8524 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8525 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8526 to just [NEED_DL_SYSINFO_DSO].
8527 * elf/dl-support.c: Likewise.
8528 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8529 * elf/rtld.c (dl_main): Likewise.
8530 * elf/setup-vdso.h (setup_vdso): Likewise.
8531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8532 * sysdeps/unix/sysv/linux/dl-sysdep.c
8533 (_dl_discover_osversion): Likewise.
8534
4e9b5995
CD
85352013-03-01 Carlos O'Donell <carlos@redhat.com>
8536
8537 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8538 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8539
e23872c8
SP
85402013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8541
e5c74c63
SP
8542 * NEWS: Mention libm performance improvements and non-x86 PI
8543 futex support.
8544
e23872c8
SP
8545 * csu/libc-start.c (__pthread_initialize_minimal): Change
8546 function arguments.
8547 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8548
b5510883
JM
85492013-02-28 Joseph Myers <joseph@codesourcery.com>
8550
8551 [BZ #13550]
8552 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8553 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8554 <bp-sym.h> and <bp-asm.h>.
8555 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8556 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8557 and <bp-asm.h>.
8558 (memcpy): Don't use BP_SYM.
8559 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8560 <bp-asm.h>.
8561 (__mpn_add_n): Don't use BP_SYM.
8562 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8563 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8564 and <bp-asm.h>.
8565 (__mpn_addmul_1): Don't use BP_SYM.
8566 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8567 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8568 <bp-sym.h>.
8569 (_setjmp): Don't use BP_SYM.
8570 (__novmx_setjmp): Likewise.
8571 (__GI__setjmp): Likewise.
8572 (__vmx_setjmp): Likewise.
8573 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8574 <bp-sym.h>.
8575 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8576 (__bzero): Don't use BP_SYM.
8577 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8578 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8579 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8580 <bp-sym.h> and <bp-asm.h>.
8581 (memcpy): Don't use BP_SYM.
8582 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8583 <bp-sym.h> and <bp-asm.h>.
8584 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8585 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8586 <bp-sym.h> and <bp-asm.h>.
8587 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8588 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8589 <bp-asm.h>.
8590 (__mpn_lshift): Don't use BP_SYM.
8591 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8592 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8593 <bp-asm.h>.
8594 (memset): Don't use BP_SYM.
8595 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8596 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8597 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8598 <bp-asm.h>.
8599 (__mpn_mul_1): Don't use BP_SYM.
8600 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8601 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8602 <bp-sym.h> and <bp-asm.h>.
8603 (memcmp): Don't use BP_SYM.
8604 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8605 <bp-sym.h> and <bp-asm.h>.
8606 (memcpy): Don't use BP_SYM.
8607 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8608 <bp-sym.h> and <bp-asm.h>.
8609 (memset): Don't use BP_SYM.
8610 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8611 <bp-sym.h> and <bp-asm.h>.
8612 (strncmp): Don't use BP_SYM.
8613 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8614 <bp-sym.h> and <bp-asm.h>.
8615 (memcpy): Don't use BP_SYM.
8616 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8617 <bp-sym.h> and <bp-asm.h>.
8618 (memset): Don't use BP_SYM.
8619 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8620 <bp-sym.h> and <bp-asm.h>.
8621 (__memchr): Don't use BP_SYM.
8622 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8623 <bp-sym.h> and <bp-asm.h>.
8624 (memcmp): Don't use BP_SYM.
8625 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8626 <bp-sym.h> and <bp-asm.h>.
8627 (memcpy): Don't use BP_SYM.
8628 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8629 <bp-sym.h> and <bp-asm.h>.
8630 (__mempcpy): Don't use BP_SYM.
8631 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8632 <bp-sym.h> and <bp-asm.h>.
8633 (__memrchr): Don't use BP_SYM.
8634 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8635 <bp-sym.h> and <bp-asm.h>.
8636 (memset): Don't use BP_SYM.
8637 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8638 <bp-sym.h> and <bp-asm.h>.
8639 (__rawmemchr): Don't use BP_SYM.
8640 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8641 <bp-sym.h> and <bp-asm.h>.
8642 (__STRCMP): Don't use BP_SYM.
8643 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8644 <bp-sym.h> and <bp-asm.h>.
8645 (strchr): Don't use BP_SYM.
8646 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8647 <bp-sym.h> and <bp-asm.h>.
8648 (__strchrnul): Don't use BP_SYM.
8649 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8650 <bp-sym.h> and <bp-asm.h>.
8651 (strlen): Don't use BP_SYM.
8652 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8653 <bp-sym.h> and <bp-asm.h>.
8654 (strncmp): Don't use BP_SYM.
8655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8656 <bp-sym.h> and <bp-asm.h>.
8657 (__strnlen): Don't use BP_SYM.
8658 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8659 <bp-asm.h>.
8660 (__mpn_rshift): Don't use BP_SYM.
8661 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8662 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8663 <bp-sym.h> and <bp-asm.h>.
8664 (__sigsetjmp): Don't use BP_SYM.
8665 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8666 (L(start_addresses)): Don't use BP_SYM.
8667 (_start): Likewise.
8668 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8669 <bp-asm.h>.
8670 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8671 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8672 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8673 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8674 <bp-asm.h>.
8675 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8676 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8677 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8678 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8679 <bp-asm.h>.
8680 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8681 comments.
8682 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8683 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8684 <bp-asm.h>.
8685 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8686 FIXME comments.
8687 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8688 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8689 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8690 <bp-asm.h>.
8691 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8692 comment.
8693 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8694 and <bp-asm.h>.
8695 (strncmp): Don't use BP_SYM,
8696 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8697 <bp-asm.h>.
8698 (__mpn_sub_n): Don't use BP_SYM.
8699 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8700 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8701 and <bp-asm.h>.
8702 (__mpn_submul_1): Don't use BP_SYM.
8703 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8705 <bp-sym.h> and <bp-asm.h>.
8706 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8708 <bp-sym.h> and <bp-asm.h>.
8709 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8710 comment.
8711
8d19fe64
SP
87122013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8713
8714 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8715 Use ZK to minimize writes to Z.
8716 (sub_magnitudes): Simplify code a bit.
8717 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8718 Use ZK to minimize writes to Z.
8719 (sub_magnitudes): Simplify code a bit.
8720
85bd816a
RM
87212013-02-27 Roland McGrath <roland@hack.frob.com>
8722
8723 * csu/gmon-start.c: Add special exception to license text.
8724
b5977bf2
RH
87252013-02-27 Richard Henderson <rth@redhat.com>
8726
8727 * scripts/config.guess: Update from config.git.
8728 * scripts/config.sub: Likewise.
8729
11d6e2f2
SP
87302013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8731
09c14ed2
SP
8732 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8733
a688864e
SP
8734 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8735
6295157a
SP
8736 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8737
b8de2202
SP
8738 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8739
11d6e2f2
SP
8740 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8741
7e80ddb8
RM
87422013-02-26 Roland McGrath <roland@hack.frob.com>
8743
8744 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8745 [$(build-shared = yes].
7e80ddb8 8746
7da6d9ed
SP
87472013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8748
45f05884
SP
8749 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8750 (__mul): Reduce iterations for calculating mantissa.
8751
2236d359
SP
8752 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8753 MPTWO.
8754 (__mpranred): Likewise.
8755
7da6d9ed
SP
8756 [BZ #15160]
8757 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8758 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8759
b7688c42
PE
87602013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8761
8762 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8763 Define __attribute__.
8764
53a5c423
SP
87652013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8766
8767 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8768 unused.
8769 * posix/regex_internal.h (__attribute): Remove.
8770 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8771 (re_string_context_at): Likewise.
8772 (bitset_not): Use __attribute__ and mark function as possibly
8773 unused.
8774 (bitset_merge): Likewise.
8775 (bitset_mask): Likewise.
8776 (re_string_char_size_at): Likewise.
8777 (re_string_wchar_at): Likewise.
8778 (re_string_elem_size_at): Likewise.
8779
60f5a8b5
SP
87802013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8781
2a983a2e
SP
8782 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8783 code.
8784 (cc32): Likewise.
8785
e69804d1
SP
8786 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8787 (__acr): Likewise.
8788 (__cpy): Likewise.
8789 (norm): Likewise.
8790 (denorm): Likewise.
8791 (__dbl_mp): Likewise.
8792 (add_magnitudes): Likewise.
8793 (sub_magnitudes): Likewise.
8794 (__mul): Likewise.
8795 (__inv): Likewise.
8796
2f22a1e8
SP
8797 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8798 style.
8799
8930ddc7
SP
8800 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8801 style.
8802
dc60cb11
SP
8803 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8804 code.
8805
60f5a8b5
SP
8806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8807 up changes with default code.
8808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8809 Likewise.
8810
b4d1fd33
AM
88112013-02-24 Allan McRae <allan@archlinux.org>
8812
faf6f8bc
AM
8813 * manual/socket.texi (The Internet Namespace): Order menu items
8814 to match that in the file.
8815
b4d1fd33
AM
8816 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8817 node listing of the info page menu.
8818
2366713d
JM
88192013-02-21 Joseph Myers <joseph@codesourcery.com>
8820
8821 [BZ #13550]
8822 * sysdeps/i386/bp-asm.h: Remove file.
8823 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8824 (PARMS): Do not use macros from bp-asm.h.
8825 (S1): Likewise.
8826 (S2): Likewise.
8827 (SIZE): Likewise.
8828 (__mpn_add_n): Do not use BP_SYM
8829 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8830 "bp-asm.h".
8831 (PARMS): Do not use macros from bp-asm.h.
8832 (S1): Likewise.
8833 (SIZE): Likewise.
8834 (__mpn_addmul_1): Do not use BP_SYM
8835 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8836 "bp-asm.h".
8837 (PARMS): Do not use macros from bp-asm.h.
8838 (SIGMSK): Likewise.
8839 (_setjmp): Likewise. Do not use BP_SYM.
8840 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8841 "bp-asm.h".
8842 (PARMS): Do not use macros from bp-asm.h.
8843 (SIGMSK): Likewise.
8844 (setjmp): Likewise. Do not use BP_SYM.
8845 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8846 "bp-asm.h".
8847 (PARMS): Do not use macros from bp-asm.h.
8848 (__frexp): Do not use BP_SYM.
8849 (frexp): Likewise.
8850 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8851 "bp-asm.h".
8852 (PARMS): Do not use macros from bp-asm.h.
8853 (__frexpf): Do not use BP_SYM.
8854 (frexpf): Likewise.
8855 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8856 "bp-asm.h".
8857 (PARMS): Do not use macros from bp-asm.h.
8858 (__frexpl): Do not use BP_SYM.
8859 (frexpl): Likewise.
8860 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8861 "bp-asm.h".
8862 (PARMS): Do not use macros from bp-asm.h.
8863 (__remquo): Do not use BP_SYM.
8864 (remquo): Likewise.
8865 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8866 "bp-asm.h".
8867 (PARMS): Do not use macros from bp-asm.h.
8868 (__remquof): Do not use BP_SYM.
8869 (remquof): Likewise.
8870 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8871 "bp-asm.h".
8872 (PARMS): Do not use macros from bp-asm.h.
8873 (__remquol): Do not use BP_SYM.
8874 (remquol): Likewise.
8875 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8876 "bp-asm.h".
8877 (PARMS): Do not use macros from bp-asm.h.
8878 (DEST): Likewise.
8879 (SRC): Likewise.
8880 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8881 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8882 "bp-asm.h".
8883 (PARMS): Do not use macros from bp-asm.h.
8884 (strlen): Do not use BP_SYM.
8885 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8886 "bp-asm.h".
8887 (PARMS): Do not use macros from bp-asm.h.
8888 (S1): Likewise.
8889 (S2): Likewise.
8890 (SIZE): Likewise.
8891 (__mpn_add_n): Do not use BP_SYM.
8892 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8893 "bp-asm.h".
8894 (PARMS): Do not use macros from bp-asm.h.
8895 (S1): Likewise.
8896 (SIZE): Likewise.
8897 (__mpn_addmul_1): Do not use BP_SYM.
8898 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8899 weak_alias.
8900 (bzero): Likewise.
8901 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8902 "bp-asm.h".
8903 (PARMS): Do not use macros from bp-asm.h.
8904 (S): Likewise.
8905 (SIZE): Likewise.
8906 (__mpn_lshift): Do not use BP_SYM.
8907 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8908 "bp-asm.h".
8909 (PARMS): Do not use macros from bp-asm.h.
8910 (DEST): Likewise.
8911 (SRC): Likewise.
8912 (LEN): Likewise.
8913 (memcpy): Likewise. Do not use BP_SYM.
8914 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8915 libc_hidden_def and weak_alias.
8916 (mempcpy): Do not use BP_SYM in weak_alias.
8917 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8918 "bp-asm.h".
8919 (PARMS): Do not use macros from bp-asm.h.
8920 (DEST): Likewise.
8921 (LEN): Likewise.
8922 [!BZERO_P] (CHR): Likewise.
8923 (memset): Likewise. Do not use BP_SYM.
8924 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8925 "bp-asm.h".
8926 (PARMS): Do not use macros from bp-asm.h.
8927 (S1): Likewise.
8928 (SIZE): Likewise.
8929 (__mpn_mul_1): Do not use BP_SYM.
8930 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8931 "bp-asm.h".
8932 (PARMS): Do not use macros from bp-asm.h.
8933 (S): Likewise.
8934 (SIZE): Likewise.
8935 (__mpn_rshift): Do not use BP_SYM.
8936 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8937 "bp-asm.h".
8938 (PARMS): Do not use macros from bp-asm.h.
8939 (STR): Likewise.
8940 (CHR): Likewise.
8941 (strchr): Likewise. Do not use BP_SYM.
8942 (index): Do not use BP_SYM in weak_alias.
8943 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8944 "bp-asm.h".
8945 (PARMS): Do not use macros from bp-asm.h.
8946 (DEST): Likewise.
8947 (SRC): Likewise.
8948 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8949 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8950 "bp-asm.h".
8951 (PARMS): Do not use macros from bp-asm.h.
8952 (strlen): Do not use BP_SYM.
8953 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8954 "bp-asm.h".
8955 (PARMS): Do not use macros from bp-asm.h.
8956 (S1): Likewise.
8957 (S2): Likewise.
8958 (SIZE): Likewise.
8959 (__mpn_sub_n): Do not use BP_SYM.
8960 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8961 "bp-asm.h".
8962 (PARMS): Do not use macros from bp-asm.h.
8963 (S1): Likewise.
8964 (SIZE): Likewise.
8965 (__mpn_submul_1): Do not use BP_SYM.
8966 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8967 "bp-asm.h".
8968 (PARMS): Do not use macros from bp-asm.h.
8969 (S1): Likewise.
8970 (S2): Likewise.
8971 (SIZE): Likewise.
8972 (__mpn_add_n): Do not use BP_SYM.
8973 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8974 weak_alias.
8975 (bzero): Likewise.
8976 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8977 "bp-asm.h".
8978 (PARMS): Do not use macros from bp-asm.h.
8979 (BLK2): Likewise.
8980 (LEN): Likewise.
8981 (memcmp): Do not use BP_SYM.
8982 (bcmp): Do not use BP_SYM in weak_alias.
8983 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8984 "bp-asm.h".
8985 (PARMS): Do not use macros from bp-asm.h.
8986 (DEST): Likewise.
8987 (SRC): Likewise.
8988 (LEN): Likewise.
8989 (memcpy): Likewise. Do not use BP_SYM.
8990 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8991 "bp-asm.h".
8992 (PARMS): Do not use macros from bp-asm.h.
8993 (DEST): Likewise.
8994 (SRC): Likewise.
8995 (LEN): Likewise.
8996 (memmove): Likewise. Do not use BP_SYM.
8997 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8998 "bp-asm.h".
8999 (PARMS): Do not use macros from bp-asm.h.
9000 (DEST): Likewise.
9001 (SRC): Likewise.
9002 (LEN): Likewise.
9003 (__mempcpy): Likewise. Do not use BP_SYM.
9004 (mempcpy): Do not use BP_SYM in weak_alias.
9005 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9006 "bp-asm.h".
9007 (PARMS): Do not use macros from bp-asm.h.
9008 (DEST): Likewise.
9009 (LEN): Likewise.
9010 [!BZERO_P] (CHR): Likewise.
9011 (memset): Likewise. Do not use BP_SYM.
9012 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9013 "bp-asm.h".
9014 (PARMS): Do not use macros from bp-asm.h.
9015 (STR2): Likewise.
9016 (strcmp): Do not use BP_SYM.
9017 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9018 "bp-asm.h".
9019 (PARMS): Do not use macros from bp-asm.h.
9020 (STR): Likewise.
9021 (DELIM): Likewise.
9022 [USE_AS_STRTOK_R] (SAVE): Likewise.
9023 (FUNCTION): Likewise. Do not use BP_SYM.
9024 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9025 aliases.
9026 (strtok_r): Likewise.
9027 (__GI___strtok_r): Likewise.
9028 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9029 (PARMS): Do not use macros from bp-asm.h.
9030 (S): Likewise.
9031 (SIZE): Likewise.
9032 (__mpn_lshift): Do not use BP_SYM.
9033 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9034 (PARMS): Do not use macros from bp-asm.h.
9035 (STR): Likewise.
9036 (CHR): Likewise.
9037 (__memchr): Do not use BP_SYM.
9038 (memchr): Do not use BP_SYM in weak_alias.
9039 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9040 (PARMS): Do not use macros from bp-asm.h.
9041 (BLK2): Likewise.
9042 (LEN): Likewise.
9043 (memcmp): Do not use BP_SYM.
9044 (bcmp): Do not use BP_SYM in weak_alias.
9045 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9046 (PARMS): Do not use macros from bp-asm.h.
9047 (S1): Likewise.
9048 (SIZE): Likewise.
9049 (__mpn_mul_1): Do not use BP_SYM.
9050 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9051 "bp-asm.h".
9052 (PARMS): Do not use macros from bp-asm.h.
9053 (STR): Likewise.
9054 (CHR): Likewise.
9055 (__rawmemchr): Do not use BP_SYM.
9056 (rawmemchr): Do not use BP_SYM in weak_alias.
9057 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9058 (PARMS): Do not use macros from bp-asm.h.
9059 (S): Likewise.
9060 (SIZE): Likewise.
9061 (__mpn_rshift): Do not use BP_SYM.
9062 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9063 (PARMS): Do not use macros from bp-asm.h.
9064 (SIGMSK): Likewise.
9065 (__sigsetjmp): Likewise. Do not use BP_SYM.
9066 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9067 (_start): Do not use BP_SYM.
9068 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9069 (PARMS): Do not use macros from bp-asm.h.
9070 (DEST): Likewise.
9071 (SRC): Likewise.
9072 (__stpcpy): Likewise. Do not use BP_SYM.
9073 (stpcpy): Do not use BP_SYM in weak_alias.
9074 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9075 "bp-asm.h".
9076 (PARMS): Do not use macros from bp-asm.h.
9077 (DEST): Likewise.
9078 (SRC): Likewise.
9079 (LEN): Likewise.
9080 (__stpncpy): Likewise. Do not use BP_SYM.
9081 (stpncpy): Do not use BP_SYM in weak_alias.
9082 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9083 (PARMS): Do not use macros from bp-asm.h.
9084 (STR): Likewise.
9085 (CHR): Likewise.
9086 (strchr): Likewise. Do not use BP_SYM.
9087 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9088 "bp-asm.h".
9089 (PARMS): Do not use macros from bp-asm.h.
9090 (STR): Likewise.
9091 (CHR): Likewise.
9092 (__strchrnul): Likewise. Do not use BP_SYM.
9093 (strchrnul): Do not use BP_SYM in weak_alias.
9094 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9095 "bp-asm.h".
9096 (PARMS): Do not use macros from bp-asm.h.
9097 (STOP): Likewise.
9098 (strcspn): Do not use BP_SYM.
9099 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9100 "bp-asm.h".
9101 (PARMS): Do not use macros from bp-asm.h.
9102 (STR): Likewise.
9103 (STOP): Likewise.
9104 (strpbrk): Likewise. Do not use BP_SYM.
9105 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9106 "bp-asm.h".
9107 (PARMS): Do not use macros from bp-asm.h.
9108 (STR): Likewise.
9109 (CHR): Likewise.
9110 (strrchr): Likewise. Do not use BP_SYM.
9111 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9112 (PARMS): Do not use macros from bp-asm.h.
9113 (SKIP): Likewise.
9114 (strspn): Do not use BP_SYM.
9115 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9116 (PARMS): Do not use macros from bp-asm.h.
9117 (STR): Likewise.
9118 (DELIM): Likewise.
9119 (SAVE): Likewise.
9120 (FUNCTION): Likewise. Do not use BP_SYM.
9121 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9122 aliases.
9123 (strtok_r): Likewise.
9124 (__GI___strtok_r): Likewise.
9125 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9126 (PARMS): Do not use macros from bp-asm.h.
9127 (S1): Likewise.
9128 (S2): Likewise.
9129 (SIZE): Likewise.
9130 (__mpn_sub_n): Do not use BP_SYM.
9131 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9132 "bp-asm.h".
9133 (PARMS): Do not use macros from bp-asm.h.
9134 (S1): Likewise.
9135 (SIZE): Likewise.
9136 (__mpn_submul_1): Do not use BP_SYM.
9137 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9138 <bp-sym.h>.
9139 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9140 and <bp-asm.h>.
9141 (PARMS): Do not use macros from bp-asm.h.
9142 (FLAGS): Likewise.
9143 (PTID): Likewise.
9144 (TLS): Likewise.
9145 (CTID): Likewise.
9146 (__clone): Do not use BP_SYM.
9147 (clone): Do not use BP_SYM in weak_alias.
9148 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9149 and <bp-asm.h>.
9150 (PARMS): Do not use macros from bp-asm.h.
9151 (LEN): Likewise.
9152 (__mmap64): Do not use BP_SYM.
9153 (mmap64): Do not use BP_SYM in weak_alias.
9154 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9155 <bp-sym.h> and <bp-asm.h>.
9156 (PARMS): Do not use macros from bp-asm.h.
9157 (__posix_fadvise64_l64): Do not use BP_SYM.
9158 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9159 (PARMS): Do not use macros from bp-asm.h.
9160 (NSOPS): Likewise.
9161 (semtimedop): Do not use BP_SYM.
9162 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9163 and <bp-asm.h>.
9164
582a3cff
AM
91652013-02-21 Allan McRae <allan@archlinux.org>
9166
9167 * manual/message.texi (Charset conversion in gettext):
9168 Move @end statement to beginning of line.
9169
bab8a695
SP
91702013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9171
80945231
SP
9172 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9173 static.
9174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9175 Likewise.
9176
bab8a695
SP
9177 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9178 (denorm): Likewise.
9179 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9181
e21d7aa7
AK
91822013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9183
9184 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9185 tail-call to the resolved function if pltexit isn't needed.
9186
4c7a4263
SP
91872013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9188
9189 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9190 or Y being zero as being unlikely.
9191 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9192 Likewise.
9193
41f49342
CD
91942013-02-20 Carlos O'Donell <carlos@redhat.com>
9195
9196 * manual/nss.texi (System Databases and Name Service Switch):
9197 Remove frobnicate @pxref.
9198
50022a93
TS
91992013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9200
9201 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9202 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9203
08cbd996
PM
92042013-02-20 Petr Machata <pmachata@redhat.com>
9205
9206 * elf/elf.h (R_ARM_TARGET1): New macro.
9207 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9208 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9209 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9210 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9211 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9212 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9213 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9214 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9215 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9216 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9217 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9218 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9219 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9220 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9221 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9222 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9223 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9224 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9225 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9226 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9227 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9228 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9229 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9230 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9231 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9232 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9233 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9234 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9235 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9236 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9237 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9238 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9239 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9240 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9241 (R_ARM_THM_GOT_BREL12): Likewise.
9242 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9243 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9244 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9245 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9246 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9247 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9248 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9249 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9250 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9251
c7b275d6
TS
92522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9253
9254 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9255 __attribute_used__ to __attribute__ ((unused)).
9256
20cd7fb3
SP
92572013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9258
9259 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9260 powerpc mpa.c.
9261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9262 comment formatting.
9263 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9264
92945b52
JM
92652013-02-19 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #13550]
9268 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9269 Remove macro.
9270 (ENTER): Remove both macro definitions.
9271 (LEAVE): Likewise.
9272 (CHECK_BOUNDS_LOW): Likewise.
9273 (CHECK_BOUNDS_HIGH): Likewise.
9274 (CHECK_BOUNDS_BOTH): Likewise.
9275 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9276 (RETURN_BOUNDED_POINTER): Likewise.
9277 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9278 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9279 (POP_ERRNO_LOCATION_RETURN): Likewise.
9280 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9281 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9282 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9283 macros.
9284 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9285 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9286 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9287 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9288 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9289 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9290 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9291 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9292 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9293 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9294 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9295 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9296 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9297 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9298 removed macros.
9299 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9300 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9301 macros.
9302 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9303 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9304 * sysdeps/i386/i586/memset.S (memset): Likewise.
9305 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9306 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9307 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9308 macros.
9309 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9310 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9311 Change uses of L(2) to L(out).
9312 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9313 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9314 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9315 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9316 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9317 removed macros.
9318 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9319 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9320 macros.
9321 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9322 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9323 (RETURN): Do not use macro LEAVE.
9324 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9325 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9326 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9327 * sysdeps/i386/i686/memset.S (memset): Likewise.
9328 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9329 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9330 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9331 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9332 Likewise.
9333 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9334 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9335 L(1_2) and L(1_3) into L(1).
9336 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9337 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9338 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9339 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9340 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9341 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9342 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9343 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9344 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9345 macros.
9346 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9347 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9348 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9349 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9350 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9351 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9352 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9353 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9354 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9355 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9356 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9357 * sysdeps/i386/strspn.S (strspn): Likewise.
9358 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9359 conditional code.
9360 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9361 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9362 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9363 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9364 L(1_3) into L(1_1).
9365 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9366 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9367 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9368 macros.
9369 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9370
2389741a
JJ
93712013-02-19 Jakub Jelinek <jakub@redhat.com>
9372
9373 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9374 macro.
9375
2016b3cd
SP
93762013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9377
e4f22324
SP
9378 * math/atest-exp.c (exp_mpn): Remove ROUND.
9379 * math/atest-exp2.c (exp_mpn): Likewise.
9380 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9381
2016b3cd
SP
9382 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9383 * stdlib/tst-tls-atexit-lib.c: Likewise.
9384 * stdlib/tst-tls-atexit.c: Likewise.
9385
4be9b544
MF
93862013-02-18 Mike Frysinger <vapier@gentoo.org>
9387
9388 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9389 and __attribute_alloc_size__.
9390
2f62b9ee
MF
93912013-02-18 Mike Frysinger <vapier@gentoo.org>
9392
9393 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9394 __attribute_alloc_size__.
9395 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9396 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9397
6ff444c4
MF
93982013-02-18 Mike Frysinger <vapier@gentoo.org>
9399
9400 * include/programs/xmalloc.h: New file.
9401 * catgets/gencat.c: Include it.
9402 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9403 * elf/pldd.c: Likewise.
9404 * iconv/iconv_charmap.c: Likewise.
9405 * iconv/iconvconfig.c: Likewise.
9406 * iconv/strtab.c: Likewise.
9407 * locale/programs/locale.c: Likewise.
9408 * locale/programs/localedef.h: Likewise.
9409 * locale/programs/simple-hash.c: Likewise.
9410 * nscd/nscd.h: Likewise.
9411 * nss/makedb.c: Likewise.
9412 * sysdeps/generic/ldconfig.h: Likewise.
9413
be179c8a
SP
94142013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9415
ba384f6e
SP
9416 * Versions.def: Add GLIBC_2.18.
9417 * include/link.h (struct link_map): New member l_tls_dtor_count.
9418 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9419 (__call_tls_dtors): Likewise.
9420 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9421 __cxa_thread_atexit_impl.
9422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9423 Likewise.
9424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9425 Likewise.
9426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9427 Likewise.
9428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9429 Likewise.
9430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9432 Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9434 Likewise.
9435 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9436 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9437 Likewise.
9438 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9439 (tests): Add test case tst-tls-atexit.
9440 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9441 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9442 (GLIBC_PRIVATE): Add __call_tls_dtors.
9443 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9444 for libstdc++.
9445 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9446 * stdlib/tst-tls-atexit.c: New test case.
9447 * stdlib/tst-tls-atexit-lib.c: New test case.
9448
ffaa74cf 9449 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9450
be179c8a
SP
9451 * elf/Versions (ld): Add _dl_find_dso_for_object.
9452 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9453 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9454 (dl_open_worker): Use _dl_find_dso_for_object.
9455 * elf/dl-sym.c (do_sym): Likewise.
9456 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9457
f78b5caa
AK
94582013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9459
9460 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9461 Syntactic changes only.
9462 (_dl_runtime_profile): Do a tail-call to the resolved function.
9463
29691210
JM
94642013-02-17 Joseph Myers <joseph@codesourcery.com>
9465
9466 [BZ #13550]
9467 * sysdeps/x86_64/bp-asm.h: Remove file.
9468 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9469 <bp-sym.h> and <bp-asm.h>.
9470 (__clone): Do not use BP_SYM.
9471 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9472 <bp-sym.h> and <bp-asm.h>.
9473 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9474 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9475 "bp-asm.h".
9476 (_setjmp): Do not use BP_SYM.
9477 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9478 "bp-asm.h".
9479 (setjmp): Do not use BP_SYM.
9480 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9481 libc_hidden_def.
9482 (mempcpy): Do not use BP_SYM in weak_alias.
9483 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9484 "bp-asm.h".
9485 (strchr): Do not use BP_SYM.
9486 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9487 "bp-asm.h".
9488 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9489 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9490 (_start): Do not use BP_SYM.
9491 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9492 "bp-asm.h".
9493 (strcat): Do not use BP_SYM.
9494 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9495 "bp-asm.h".
9496 (STRCMP): Do not use BP_SYM.
9497 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9498 "bp-asm.h".
9499 (STRCPY): Do not use BP_SYM.
9500 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9501 "bp-asm.h".
9502 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9503 "bp-asm.h".
9504 (FUNCTION): Do not use BP_SYM.
9505 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9506 weak_alias.
9507 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9508
f238fd19
AJ
95092013-02-17 Andreas Jaeger <aj@suse.de>
9510
9511 * time/Versions: Sort entries.
9512 * string/Versions: Likewise.
9513 * resolv/Versions: Likewise.
9514 * posix/Versions: Likewise.
9515 * iconv/Versions: Likewise.
9516 * elf/Versions: Likewise.
9517 * wcsmbs/Versions: Likewise.
9518
bd07f23c 95192013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9520
22af19f9
SP
9521 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9522 loop termination condition.
9523
4709fe76
SP
9524 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9525 variable to calculate EZ.
9526 (__sqr): Likewise.
2d0e0f29
SP
9527
9528 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9529 the lower precision input.
9530
daaa7713
JM
95312013-02-15 Joseph Myers <joseph@codesourcery.com>
9532
9533 [BZ #13550]
9534 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9535 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9536 (run-via-rtld-prefix): Do not handle %-bp tests.
9537 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9538 (all-object-suffixes): Remove .ob.
9539 (bppfx): Remove variable.
9540 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9541 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9542 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9543 [$(build-bounded) = yes] (libtype.ob): Likewise.
9544 * Makerules (elide-routines.ob): Remove variable.
9545 (do-tests-clean): Do not handle *-bp.out.
9546 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9547 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9548 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9549 (tests): Do not include $(tests-bp.out).
9550 (xtests): Do not include $(xtests-bp.out).
9551 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9552 [$(build-bounded) = yes] ($(addprefix
9553 $(objpfx),$(binaries-bounded))): Remove rule.
9554 ($(objpfx)%-bp.out): Remove rule.
9555 * config.make.in (build-bounded): Remove variable.
9556 * crypt/Makefile [$(build-bounded) = yes]
9557 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9558 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9559 append to variable.
9560 [$(build-bounded) = yes] (install-lib): Likewise.
9561 [$(build-bounded) = yes] (generated): Likewise.
9562 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9563 Remove rule.
9564 * intl/Makefile [$(build-bounded) = yes]
9565 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9566 * math/Makefile [$(build-bounded) = yes]
9567 ($(tests:%=$(objpfx)%-bp): Likewise.
9568 * misc/Makefile [$(build-bounded) = yes]
9569 ($(objpfx)tst-tsearch-bp): Likewise.
9570 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9571 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9572 Remove dependency.
9573 * string/Makefile (o-objects.ob): Remove variable.
9574 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9575 (CFLAGS-.ob): Remove variable.
9576 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9577 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9578 both definitions of variable.
9579 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9580 (ASFLAGS-.ob): Remove variable.
9581
e97ed6dd
JM
95822013-02-14 Joseph Myers <joseph@codesourcery.com>
9583
2bdd4ca6
JM
9584 [BZ #13550]
9585 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9586 Remove __BOUNDED_POINTERS__ from condition.
9587 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9588 * string/bits/string2.h [!__NO_STRING_INLINES &&
9589 !__BOUNDED_POINTERS__]: Likewise.
9590 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9591 Likewise.
9592 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9593 Remove conditional code.
9594 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9595 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9596 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9597 condition.
9598
e97ed6dd
JM
9599 [BZ #13550]
9600 * csu/libc-start.c: Do not include <bp-sym.h>.
9601 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9602 * elf/dl-open.c: Do not include <bp-sym.h>.
9603 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9604 * math/fegetenv.c: Do not include <bp-sym.h>.
9605 (fegetenv): Do not use BP_SYM in versioned symbols.
9606 * nptl/sysdeps/pthread/bits/libc-lockP.h
9607 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9608 <bp-sym.h>.
9609 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9610 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9611 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9612 (__pthread_mutex_destroy): Likewise.
9613 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9614 (__pthread_mutex_lock): Likewise.
9615 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9616 (__pthread_mutex_trylock): Likewise.
9617 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9618 (__pthread_mutex_unlock): Likewise.
9619 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9620 (__pthread_mutexattr_init): Likewise.
9621 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9622 (__pthread_mutexattr_destroy): Likewise.
9623 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9624 (__pthread_mutexattr_settype): Likewise.
9625 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9626 (__pthread_rwlock_init): Likewise.
9627 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9628 (__pthread_rwlock_destroy): Likewise.
9629 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9630 (__pthread_rwlock_rdlock): Likewise.
9631 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9632 (__pthread_rwlock_tryrdlock): Likewise.
9633 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9634 (__pthread_rwlock_wrlock): Likewise.
9635 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9636 (__pthread_rwlock_trywrlock): Likewise.
9637 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9638 (__pthread_rwlock_unlock): Likewise.
9639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9640 (__pthread_key_create): Likewise.
9641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9642 (__pthread_setspecific): Likewise.
9643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9644 (__pthread_getspecific): Likewise.
9645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9646 Likewise.
9647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9648 (_pthread_cleanup_push_defer): Likewise.
9649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9650 (_pthread_cleanup_pop_restore): Likewise.
9651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9652 (pthread_setcancelstate): Likewise.
9653 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9654 <bp-sym.h>.
9655 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9656 (memchr): Do not use BP_SYM in weak_alias.
9657 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9658 (fegetenv): Do not use BP_SYM in versioned symbols.
9659 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9660 (fesetenv): Do not use BP_SYM in versioned symbols.
9661 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9662 (feupdateenv): Do not use BP_SYM in versioned symbols.
9663 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9664 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9665 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9666 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9667 (open64): Do not use BP_SYM in weak_alias.
9668 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9669 (fegetenv): Do not use BP_SYM in versioned symbols.
9670 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9671 (fesetenv): Do not use BP_SYM in versioned symbols.
9672 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9673 (feupdateenv): Do not use BP_SYM in versioned symbols.
9674 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9675 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9676 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9677 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9678 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9679 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9680 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9681 <bp-sym.h>.
9682 (__libc_start_main): Do not use BP_SYM.
9683
d6752ccd
SP
96842013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9685
cb57ce60
SP
9686 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9687 redundant return line.
9688 (norm): Likewise.
9689 (denorm): Likewise.
9690 (dbl_mp): Likewise.
9691 (sub_magnitudes): Likewise.
9692 (__add): Likewise.
9693 (__sub): Likewise.
9694 (__mul): Likewise.
9695 (__inv): Likewise.
9696 (__dvd): Likewise.
9697 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9698 (norm): Likewise.
9699 (denorm): Likewise.
9700 (dbl_mp): Likewise.
9701 (sub_magnitudes): Likewise.
9702 (__add): Likewise.
9703 (__sub): Likewise.
9704 (__mul): Likewise.
9705 (__inv): Likewise.
9706 (__dvd): Likewise.
9707
f414520d
SP
9708 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9709 instead of __mul.
9710 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9711 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9712 (cc32): Likewise.
9713
d6752ccd
SP
9714 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9715 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9717 of __mul for squares.
9718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9719 function
9720 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9721 Likewise.
9722 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9724
70d9946a
JM
97252013-02-13 Joseph Myers <joseph@codesourcery.com>
9726
9727 [BZ #13550]
9728 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9729 code.
9730 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9731 prototype or function definition. Rename ubp_* variables and
9732 parameters. Remove argv definitions conditional on
9733 [__BOUNDED_POINTERS__].
9734 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9735 * elf/dl-runtime.c (_dl_fixup): Likewise.
9736 * include/set-hooks.h (RUN_HOOK): Likewise.
9737 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9738 definition.
9739 * string/strcpy.c (strcpy): Do not use __unbounded.
9740 * sysdeps/generic/frame.h (struct layout): Likewise.
9741 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9742 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9743 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9744 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9745 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9746 (__backtrace): Likewise.
9747 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9748 use __ptrvalue.
9749 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9750 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9751 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9752 Likewise.
9753 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9754 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9755 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9756 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9757 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9758 Do not use __unbounded.
9759 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9760 Rename __unboundedrlimits parameter to rlimits in prototype.
9761 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9762 Do not use __unbounded.
9763 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9764 not use __ptrvalue.
9765 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9766 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9767 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9768 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9769 __ptrvalue or __unbounded.
9770 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9771 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9772 use __unbounded.
9773 (__new_msgctl): Do not use __ptrvalue.
9774 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9775 __unbounded.
9776 (__libc_msgrcv): Do not use __ptrvalue.
9777 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9778 startup_info): Do not use __unbounded.
9779 (__libc_start_main): Likewise. Rename ubp_* variables and
9780 parameters. Remove argv definitions conditional on
9781 [__BOUNDED_POINTERS__].
9782 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9783 __ptrvalue.
9784 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9785 use __unbounded.
9786 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9787 or __ptrvalue.
9788 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9789 use __unbounded.
9790 (__new_shmctl): Do not use __ptrvalue.
9791 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9792 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9793 Likewise.
9794 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9795 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9796 (__libc_sigaction): Likewise.
9797 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9798 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9799 Likewise.
9800 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9801
cc7834d6
OB
98022013-02-13 Ondřej Bílka <neleai@seznam.cz>
9803
ffb1ec7b 9804 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9805
9806 * string/mempcpy.c: Implement by calling memcpy.
9807
bdf02814
SP
98082013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9809
c2af38aa
SP
9810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9811
4e92d59e
SP
9812 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9813 evaluation.
9814
909279a5
SP
9815 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9816 values in the mantissa.
9817
bdf02814
SP
9818 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9819 minimize writes to Z.
9820 (sub_magnitudes): Simplify code a bit.
9821
cd525923
RM
98222013-02-12 Roland McGrath <roland@hack.frob.com>
9823
9824 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9825 from the message. The linker prefixes all warnings with that already.
9826
7e2f0d2d
AS
98272013-02-12 Andreas Schwab <schwab@suse.de>
9828
a445af0b
AS
9829 [BZ #15078]
9830 * posix/regexec.c (extend_buffers): Add parameter min_len.
9831 (check_matching): Pass minimum needed length.
9832 (clean_state_log_if_needed): Likewise.
9833 (get_subexp): Likewise.
9834 * posix/Makefile (tests): Add bug-regex34.
9835 (bug-regex34-ENV): Define.
9836 * posix/bug-regex34.c: New file.
9837
7e2f0d2d
AS
9838 [BZ #11561]
9839 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9840 elements compare against the byte sequence of it, not its name.
9841 * posix/Makefile (tests): Add bug-regex35.
9842 (bug-regex35-ENV): Define.
9843 * posix/bug-regex35.c: New file.
9844
a175b684
TV
98452013-02-11 Tom de Vries <tom@codesourcery.com>
9846
9847 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9848 comment.
9849 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9850 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9851 (CHECK_EOL): Add undef.
9852
310998fe 98532013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9854
9855 * bits/stdlib-bsearch.h: New file.
9856 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9857 * stdlib/stdlib.h: Likewise.
41eda41d 9858
8ded91fb
RM
98592013-02-11 Roland McGrath <roland@hack.frob.com>
9860
9861 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9862 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9863 declaration.
9864 * manual/search.texi (Array Search Function): Add missing const in
9865 lfind prototype.
9866 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9867 declaration to use rlim_t.
9868 (Basic Scheduling Functions): Remove erroneous const from
9869 sched_getparam prototype. Remove erroneous * from
9870 sched_get_priority_max and sched_get_priority_min prototypes.
9871 (Resource Usage): Fix summary @comment on vtimes to refer to
9872 sys/vtimes.h rather than vtimes.h.
9873 Add missing *s in vtimes prototype.
9874 (Limits on Resources): Fix ulimit prototype to return long int.
9875 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9876 prototypes to use long int rather than double.
9877 (BSD Random): Fix initstate and setstate to use char *, not void *.
9878 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9879 prototype to make second argument 'struct aiocb64 *const[]'.
9880 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9881 (Status of AIO Operations): Remove erroneous const in aio_return and
9882 aio_return64 prototypes.
9883 (Synchronizing I/O): Fix sync prototype to return void.
9884 * manual/startup.texi (Suboptions): Remove an erroneous const in
9885 getsubopt prototype.
9886 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9887 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9888 use size_t rather than int.
9889 (Scanning All Users): Likewise for getpwent_r.
9890 (Setting Groups): Add missing const to setgroups prototype.
9891 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9892 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9893 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9894 'const void *' rather than 'const char *'.
9895 (Host Address Functions): Likewise for inet_ntop.
9896 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9897 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9898 ssize_t for return value.
9899 (Sending Data): Likewise for send, sendto, sendmsg.
9900 (Socket Option Functions): Add a missing const in setsockopt prototype.
9901 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9902 use wchar_t for the argument.
9903 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9904 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9905 take no arguments.
9906 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9907 double/float/long double for second argument.
9908 Fix return types of significand, significandf, significandl.
9909 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9910 argument in fchmod prototype.
9911 (File Owner): Use uid_t and gid_t in fchown prototype.
9912 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9913 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9914 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9915 use 'const struct dirent **' as argument types to CMP function pointer
9916 argument.
9917 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9918 (File Times): Fix summary magic @comment for struct utimbuf and utime
9919 to refer to utime.h, not time.h.
9920 * manual/string.texi (Argz Functions): Add missing const in
9921 argz_extract and argz_next prototypes.
9922 (Finding Tokens in a String): Likewise for basename.
9923 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9924 (Copying and Concatenation): Fix typo in wmemmove prototype.
9925 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9926 (Signal Stack): Remove erroneous const in sigstack prototype.
9927 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9928 prototype.
9929 (Simple Calendar Time): Likewise for stime.
9930 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9931 prototype.
9932 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9933 say sys/sysctl.h instead.
9934 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9935 and vsyslog prototypes.
9936
fe77fe6d
TV
99372013-02-11 Tom de Vries <tom@codesourcery.com>
9938
9939 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9940 Remove.
9941
3a09b620
RM
99422013-02-11 Roland McGrath <roland@hack.frob.com>
9943
9944 * misc/sys/mman.h: Fix typo in mremap comment.
9945
550a0b89
RM
99462013-02-08 Roland McGrath <roland@hack.frob.com>
9947
9948 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9949 the '\0' terminator.
9950
a2da1673
JM
99512013-02-08 Joseph Myers <joseph@codesourcery.com>
9952
9953 [BZ #13550]
9954 * debug/segfault.c: Don't include <bp-checks.h>.
9955 * sysdeps/generic/bp-checks.h: Remove file.
9956 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9957 (__GETDENTS): Don't use CHECK_N.
9958 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9959 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9960 (__getgroups): Don't use CHECK_N.
9961 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9962 (setgroups): Don't use CHECK_N.
9963 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9964 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9965 (__libc_msgrcv): Don't use CHECK_N.
9966 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9967 (__libc_msgsnd): Don't use CHECK_N.
9968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9969 <bp-checks.h>.
9970 (__libc_pread): Don't use CHECK_N.
9971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9972 include <bp-checks.h>.
9973 (__libc_pread64): Don't use CHECK_N.
9974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9975 include <bp-checks.h>.
9976 (__libc_pwrite): Don't use CHECK_N.
9977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9978 include <bp-checks.h>.
9979 (__libc_pwrite64): Don't use CHECK_N.
9980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9981 <bp-checks.h>.
9982 (__libc_pread): Don't use CHECK_N.
9983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9984 include <bp-checks.h>.
9985 (__libc_pread64): Don't use CHECK_N.
9986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9987 include <bp-checks.h>.
9988 (__libc_pwrite): Don't use CHECK_N.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9990 include <bp-checks.h>.
9991 (__libc_pwrite64): Don't use CHECK_N.
9992 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9993 (do_pread): Don't use CHECK_N.
9994 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9995 (do_pread64): Don't use CHECK_N.
9996 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9997 (do_pwrite): Don't use CHECK_N.
9998 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9999 (do_pwrite64): Don't use CHECK_N.
10000 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10001 (__libc_readv): Don't use CHECK_N.
10002 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10003 (semop): Don't use CHECK_N.
10004 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10005 <bp-checks.h>.
10006 (semtimedop): Don't use CHECK_N.
10007 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10008 (__libc_pread): Don't use CHECK_N.
10009 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10010 <bp-checks.h>.
10011 (__libc_pread64): Don't use CHECK_N.
10012 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10013 <bp-checks.h>.
10014 (__libc_pwrite): Don't use CHECK_N.
10015 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10016 <bp-checks.h>.
10017 (__libc_pwrite64): Don't use CHECK_N.
10018 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10019 <bp-checks.h>.
10020 (__libc_msgrcv): Don't use CHECK_N.
10021 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10022 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10023 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10024 (__libc_writev): Don't use CHECK_N.
10025
b84660a8
RM
100262013-02-08 Roland McGrath <roland@hack.frob.com>
10027
7f3e75f8
RM
10028 * string/strcpy.c: Removed unused variable.
10029
b84660a8
RM
10030 * Makeconfig (+sysdep-includes): Define with := rather than =.
10031 Use an existing include/ subdir of each sysdeps dir before it.
10032
471514d3
CD
100332013-02-08 Carlos O'Donell <carlos@redhat.com>
10034
10035 * nscd/connection.c (register_traced_file): Comment function.
10036 [HAVE_INOTIFY] (union __inev): Define.
10037 [HAVE_INOTIFY] (inotify_check_files): New function.
10038 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10039 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10040 clear_db_cache.
10041 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10042
b2d3c3be
CD
100432013-02-08 Carlos O'Donell <carlos@redhat.com>
10044
10045 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10046 loaded if not already and that a failure is permanent.
10047
b39949d2
CD
100482013-02-08 Carlos O'Donell <carlos@redhat.com>
10049
ddacd1db 10050 [BZ #15006]
b39949d2
CD
10051 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10052 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10053
b2c9eff4
JM
100542013-02-08 Joseph Myers <joseph@codesourcery.com>
10055
f3aae3f3
JM
10056 [BZ #13550]
10057 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10058 (CHECK_1_NULL_OK): Likewise.
10059 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10060 (__fxstat): Do not use CHECK_1.
10061 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10062 <bp-checks.h>.
10063 (___fxstat64): Do not use CHECK_1.
10064 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10065 <bp-checks.h>.
10066 (__fxstatat): Do not use CHECK_1.
10067 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10068 <bp-checks.h>.
10069 (__fxstatat64): Do not use CHECK_1.
10070 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10071 <bp-checks.h>.
10072 (__fxstat): Do not use CHECK_1.
10073 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10074 <bp-checks.h>.
10075 (__fxstatat): Do not use CHECK_1.
10076 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10077 <bp-checks.h>.
10078 (__getresgid): Do not use CHECK_1.
10079 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10080 <bp-checks.h>.
10081 (__getresuid): Do not use CHECK_1.
10082 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10083 <bp-checks.h>.
10084 (__lxstat): Do not use CHECK_1.
10085 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10086 <bp-checks.h>.
10087 (__old_msgctl): Do not use CHECK_1.
10088 (__new_msgctl): Likewise.
10089 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10090 <bp-checks.h>.
10091 (__new_setrlimit): Do not use CHECK_1.
10092 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10093 <bp-checks.h>.
10094 (__old_shmctl): Do not use CHECK_1.
10095 (__new_shmctl): Likewise.
10096 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10097 <bp-checks.h>.
10098 (__xstat): Do not use CHECK_1.
10099 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10100 (__lxstat): Do not use CHECK_1.
10101 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10102 <bp-checks.h>.
10103 (___lxstat64): Do not use CHECK_1.
10104 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10105 (__old_msgctl): Do not use CHECK_1.
10106 (__new_msgctl): Likewise.
10107 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10108 <bp-checks.h>.
10109 (__gettimeofday): Do not use CHECK_1.
10110 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10111 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10112 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10113 <bp-checks.h>.
10114 (__gettimeofday): Do not use CHECK_1.
10115 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10116 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10117 (__new_shmctl): Do not use CHECK_1.
10118 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10119 <bp-checks.h>.
10120 (do_sigtimedwait): Do not use CHECK_1.
10121 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10122 <bp-checks.h>.
10123 (do_sigwaitinfo): Do not use CHECK_1.
10124 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10125 <bp-checks.h>.
10126 (msgctl): Do not use CHECK_1.
10127 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10128 <bp-checks.h>.
10129 (shmctl): Do not use CHECK_1.
10130 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10131 (ustat): Do not use CHECK_1.
10132 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10133 <bp-checks.h>.
10134 (__fxstat): Do not use CHECK_1.
10135 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10136 <bp-checks.h>.
10137 (__fxstatat): Do not use CHECK_1.
10138 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10139 <bp-checks.h>.
10140 (__lxstat): Do not use CHECK_1.
10141 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10142 <bp-checks.h>.
10143 (__xstat): Do not use CHECK_1.
10144 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10145 (__xstat): Do not use CHECK_1.
10146 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10147 (___xstat64): Do not use CHECK_1.
10148
b2c9eff4
JM
10149 [BZ #13550]
10150 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10151 definitions.
10152 (CHECK_BOUNDS_HIGH): Likewise.
10153 * string/strcpy.c: Do not include <bp-checks.h>.
10154 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10155
f1d70dad
RM
101562013-02-07 Roland McGrath <roland@hack.frob.com>
10157
10158 * nscd/nscd-client.h (__nscd_drop_map_ref):
10159 Add __attribute__ ((unused)).
10160 * nis/nss-nisplus.h (niserr2nss): Likewise.
10161
10162 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10163 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10164
10165 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10166 Remove inline keyword.
10167 * include/rounding-mode.h (round_away): Likewise.
10168 * libio/wfileops.c (adjust_wide_data): Likewise.
10169 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10170 (__m128i_strloadu_tolower): Likewise.
10171 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10172 (__m128i_strloadu_tolower): Likewise.
10173 * time/mktime.c (ydhms_diff): Likewise.
10174 * locale/elem-hash.h (elem_hash): Likewise.
10175 * locale/setlocale.c (setdata): Likewise.
10176 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10177 (re_string_wchar_at): Likewise.
10178 (bitset_not, bitset_merge, bitset_mask): Likewise.
10179 [!(__GNUC__ > 3)] (inline): Remove macro.
10180 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10181 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10182 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10183 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10184 * string/memcmp.c (memcmp_bytes): Likewise.
10185 * locale/programs/locarchive.c (compute_hashval): Likewise.
10186 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10187 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10188 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10189 * nss/getent.c (print_rpc, print_protocols): Likewise.
10190 (print_passwd, print_group, print_aliases): Likewise.
10191 * nis/nss-nisplus.h (niserr2nss): Likewise.
10192 * nscd/connections.c (restart_p): Likewise.
10193 Change return type to bool.
10194
eab55bfb
RM
101952013-02-05 Roland McGrath <roland@hack.frob.com>
10196
7bd642f5
RM
10197 * Makeconfig (all-Depend-files): Add existing
10198 $(sorted-subdirs:=/Depend) files.
10199 (all-subdirs): Remove nss.
10200 * sysdeps/unix/inet/Subdirs: Add it here instead.
10201 * hesiod/Depend: New file.
10202
573c29b2
RM
10203 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10204 instead of calling alloca.
10205
b2e25af0
RM
10206 * io/lseek.c (__lseek): Rename to __libc_lseek.
10207 Define __lseek as an alias.
10208
eab55bfb
RM
10209 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10210
9a0d1941
CD
102112013-02-04 Carlos O'Donell <carlos@redhat.com>
10212
10213 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10214 else clause and remove check for non-standard endianness.
10215
b83bbec4
DM
102162013-02-04 David S. Miller <davem@davemloft.net>
10217
10218 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10219
6277fdab
JM
102202013-02-04 Joseph Myers <joseph@codesourcery.com>
10221
10222 [BZ #13550]
10223 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10224 (__ubp_memchr): Remove prototype.
10225 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10226 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10227 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10228 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10229 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10230 Remove alias.
10231 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10232 (__ubp_memchr): Likewise.
10233 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10234 (__ubp_memchr): Likewise.
10235 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10236 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10237 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10238 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10239 CHECK_STRING.
10240 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10241 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10242 (__getcwd): Do not use CHECK_STRING.
10243 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10244 <bp-checks.h>.
10245 (__real_chown): Do not use CHECK_STRING.
10246 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10247 <bp-checks.h>.
10248 (fchownat): Do not use CHECK_STRING.
10249 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10250 CHECK_STRING.
10251 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10252 <bp-checks.h>.
10253 (__lchown): Do not use CHECK_STRING.
10254 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10255 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10256 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10257 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10259 include <bp-checks.h>.
10260 (truncate64): Do not use CHECK_STRING.
10261 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10262 <bp-checks.h>.
10263 (__real_chown): Do not use CHECK_STRING.
10264 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10265 <bp-checks.h>.
10266 (__lchown): Do not use CHECK_STRING.
10267 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10268 <bp-checks.h>.
10269 (__chown): Do not use CHECK_STRING.
10270 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10271 <bp-checks.h>.
10272 (truncate64): Do not use CHECK_STRING.
10273 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10274 Likewise.
10275 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10276 (__xmknod): Do not use CHECK_STRING.
10277 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10278 <bp-checks.h>.
10279 (__xmknodat): Do not use CHECK_STRING.
10280 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10281 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10282
903ae060
AS
102832013-02-04 Andreas Schwab <schwab@suse.de>
10284
10285 [BZ #14142]
10286 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10287 * include/netdb.h: Likewise for h_errno.
10288 * elf/tst-stackguard1.c: Include <tls.h>.
10289
542f9466
JK
102902013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10291
10292 * elf/link.h (struct link_map): Extend the l_addr comment.
10293 * include/link.h (struct link_map): Likewise.
10294
e782a927
JM
102952013-02-01 Joseph Myers <joseph@codesourcery.com>
10296
10297 [BZ #13550]
10298 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10299 (BOUNDED_1): Remove macro.
10300 * debug/backtrace.c: Don't include <bp-checks.h>.
10301 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10302 (__backtrace): Likewise.
10303 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10304 <bp-checks.h>.
10305 (__backtrace): Don't use BOUNDED_1.
10306 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10307 <bp-checks.h>.
10308 (__backtrace): Don't use BOUNDED_1.
10309 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10310 (__backtrace): Don't use BOUNDED_1.
10311 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10312 (shmat): Don't use BOUNDED_N.
10313
8cf28c5e
JM
103142013-01-31 Joseph Myers <joseph@codesourcery.com>
10315
3a7ac8a0
JM
10316 [BZ #13550]
10317 * sysdeps/generic/bp-start.h: Remove file.
10318 * csu/libc-start.c: Don't include <bp-start.h>.
10319 (LIBC_START_MAIN): Set up __environ directly instead of using
10320 INIT_ARGV_and_ENVIRON.
10321 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10322 <bp-start.h>.
10323
f3499f95
JM
10324 [BZ #13550]
10325 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10326 definitions.
10327 (CHECK_FCNTL): Likewise.
10328 (CHECK_N_PAGES): Likewise.
10329
32a45bea
JM
10330 [BZ #13550]
10331 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10332 definitions.
10333 (CHECK_SIGSET_NULL_OK): Likewise.
10334 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10335 <bp-checks.h>.
10336 (sigpending): Don't use CHECK_SIGSET.
10337 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10338 <bp-checks.h>.
10339 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10340 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10341 <bp-checks.h>.
10342 (do_sigsuspend): Don't use CHECK_SIGSET.
10343 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10344 use CHECK_SIGSET.
10345 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10346 (do_sigwait): Don't use CHECK_SIGSET.
10347 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10348 use CHECK_SIGSET.
10349 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10350 include <bp-checks.h>.
10351 (sigpending): Don't use CHECK_SIGSET.
10352 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10353 include <bp-checks.h>.
10354 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10355 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10356 <bp-checks.h>.
10357 (sigpending): Don't use CHECK_SIGSET.
10358 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10359 <bp-checks.h>.
10360 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10361
2e8a5c8c
JM
10362 [BZ #13550]
10363 * sysdeps/generic/bp-semctl.h: Remove file.
10364 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10365 <bp-checks.h> and <bp-semctl.h>.
10366 (__old_semctl): Don't use CHECK_SEMCTL.
10367 (__new_semctl): Likewise.
10368 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10369 and <bp-semctl.h>.
10370 (__old_semctl): Don't use CHECK_SEMCTL.
10371 (__new_semctl): Likewise.
10372 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10373 <bp-checks.h> and <bp-semctl.h>.
10374 (__old_semctl): Don't use CHECK_SEMCTL.
10375 (__new_semctl): Likewise.
10376 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10377 <bp-checks.h> and <bp-semctl.h>.
10378 (semctl): Don't use CHECK_SEMCTL.
10379
c2d54929
JM
10380 [BZ #13550]
10381 * Makerules (elide-bp-thunks): Remove variable.
10382 (elide-routines.oS): Don't use $(elide-bp-thunks).
10383 (elide-routines.os): Likewise.
10384 (elide-routines.o): Likewise.
10385 (elide-routines.op): Likewise.
10386 (elide-routines.og): Likewise.
10387 (objects): Don't use $(bp-thunks).
10388 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10389 include.
10390 (common-generated): Do not add s-proto-bp.d.
10391 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10392 (int): Likewise.
10393 (typ): Likewise.
10394 Do not generate makefile rules for bounded-pointer thunks.
10395 * sysdeps/generic/bp-thunks.h: Remove file.
10396 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10397 * sysdeps/unix/s-proto-bp.S: Likewise.
10398
8cf28c5e
JM
10399 [BZ #15062]
10400 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10401 parts of result separately when argument is not close to line from
10402 -i to i and one part of argument is small.
10403 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10404 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10405 * math/libm-test.inc (cacos_test): Add more tests.
10406 (casin_test): Likewise.
10407 (casinh_test): Likewise.
10408 * sysdeps/i386/fpu/libm-test-ulps: Update.
10409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10410
c4e33b8d
DM
104112013-01-31 David S. Miller <davem@davemloft.net>
10412
10413 * po/de.po: Update from translation team.
10414
3b60b421
MK
104152013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10416
10417 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10418
bb931195
TS
104192013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10420
b5a5da23
TS
10421 * configure.in (_AC_PROG_CC_C89): New definition.
10422 * configure: Regenerate.
10423
bb931195
TS
10424 * configure.in (AC_PROG_CPP): New definition.
10425 * configure: Regenerate.
10426
8c53a12c
JM
104272013-01-23 Joseph Myers <joseph@codesourcery.com>
10428
10429 * debug/tst-backtrace.h: New file.
10430 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10431 (ret): Remove variable.
10432 (x): Likewise.
10433 (FAIL): Remove macro.
10434 (NO_INLINE): Likewise.
10435 (fn1): Use match function instead of strstr.
10436 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10437 (ret): Remove variable.
10438 (x): Likewise.
10439 (FAIL): Remove macro.
10440 (NO_INLINE): Likewise.
10441 (fn): Use match function instead of strstr.
10442 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10443 (ret): Remove variable.
10444 (x): Likewise.
10445 (FAIL): Remove macro.
10446 (NO_INLINE): Likewise.
10447 (handle_signal): Use match function instead of strstr.
10448 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10449 (ret): Remove variable.
10450 (x): Likewise.
10451 (FAIL): Remove macro.
10452 (NO_INLINE): Likewise.
10453 (handle_signal): Use match function instead of strstr.
10454
4858fa2a
RM
104552013-01-23 Roland McGrath <roland@hack.frob.com>
10456
10457 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10458
bae8e7f5
DM
104592013-01-23 David S. Miller <davem@davemloft.net>
10460
10461 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10462 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10463 argument of CAS if possible.
10464 * sysdeps/sparc/sparc64/bits/atomic.h
10465 (__arch_compare_and_exchange_val_32_acq): Likewise.
10466 (__arch_compare_and_exchange_val_64_acq): Likewise.
10467
9cbbc4ae
PT
104682013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10469
10470 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10471 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10472 Include <limits.h>.
67b3f58c 10473 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10474
5655a0b5
AC
104752013-01-23 Adam Conrad <adconrad@0c3.net>
10476
10477 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10478 (LDFLAGS-tst-array5): Likewise.
10479
052aff95
JM
104802013-01-23 Joseph Myers <joseph@codesourcery.com>
10481
10482 [BZ #15036]
10483 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10484 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10485 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10486 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10487
7c1e01aa
DM
104882013-01-21 David S. Miller <davem@davemloft.net>
10489
10490 * sysdeps/sparc/backtrace.c: New file.
10491 * sysdeps/sparc/sparc32/backtrace.h: New file.
10492 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10493 * sysdeps/sparc/sparc64/backtrace.h: New file.
10494 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10495 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10496 -funwind-tables.
10497
ab087e0a
AS
104982013-01-21 Andreas Schwab <schwab@suse.de>
10499
10500 [BZ #15020]
10501 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10502 closed its stdout.
10503
ed689c2f
AS
105042013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10505
10506 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10507 "mpa2.h".
10508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10509
31d470ac
JM
105102013-01-18 Joseph Myers <joseph@codesourcery.com>
10511 Mark Mitchell <mark@codesourcery.com>
10512 Tom de Vries <tom@codesourcery.com>
10513 Paul Pluzhnikov <ppluzhnikov@google.com>
10514
10515 * debug/tst-backtrace2.c: New file.
10516 * debug/tst-backtrace3.c: Likewise.
10517 * debug/tst-backtrace4.c: Likewise.
10518 * debug/tst-backtrace5.c: Likewise.
10519 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10520 (CFLAGS-tst-backtrace3.c): Likewise.
10521 (CFLAGS-tst-backtrace4.c): Likewise.
10522 (CFLAGS-tst-backtrace5.c): Likewise.
10523 (LDFLAGS-tst-backtrace2): Likewise.
10524 (LDFLAGS-tst-backtrace3): Likewise.
10525 (LDFLAGS-tst-backtrace4): Likewise.
10526 (LDFLAGS-tst-backtrace5): Likewise.
10527 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10528 tst-backtrace4 and tst-backtrace5.
10529
90567f30 105302013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10531 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10532
10533 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10534 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10535 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10536 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10538 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10539 "+r" and remove output regs list as redundant. Add explicit inline
10540 asm to specify register of return val to work around compiler codegen
10541 bug. Remove (int) cast on return value. Add return type parameter to
10542 use in macro so that this macro does not truncate return value for
10543 64-bit values.
10544 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10545 pass to INTERNAL_VSYSCALL_NCS.
10546 (INLINE_VSYSCALL): Add 'long int' as return type to
10547 INTERNAL_VSYSCALL_NCS macro invocation.
10548 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10549 INTERNAL_VSYSCALL_NCS macro invocation.
10550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10551
d3b9ea61
SP
105522013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10553
0b57daeb
SP
10554 [BZ #14496]
10555 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10556 Fix application of SIMD FP exception mask.
10557
caa99d06
SP
10558 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10559 mp_no from a power of two.
10560 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10561 __mpexp_twomm1. Use __pow_mp.
10562
d3b9ea61
SP
10563 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10564 multiplication.
10565
1dbaee3c
DM
105662013-01-17 David S. Miller <davem@davemloft.net>
10567
10568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10569
728d7b43
JM
105702013-01-17 Joseph Myers <joseph@codesourcery.com>
10571
10572 [BZ #15023]
10573 * include/complex.h: Condition contents on [!_COMPLEX_H].
10574 (__kernel_casinhf): New prototype.
10575 (__kernel_casinh): Likewise.
10576 (__kernel_casinhl): Likewise.
10577 * math/Makefile (libm_calls): Add k_casinh.
10578 * math/k_casinh.c: New file.
10579 * math/k_casinhf.c: Likewise.
10580 * math/k_casinhl.c: Likewise.
10581 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10582 finite nonzero arguments.
10583 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10584 finite nonzero arguments.
10585 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10586 finite nonzero arguments.
10587 * math/s_casinh.c: Do not include <float.h>.
10588 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10589 * math/s_casinhf.c: Do not include <float.h>.
10590 (__casinhf): Move code for finite nonzero arguments to
10591 k_casinhf.c.
10592 * math/s_casinhl.c: Do not include <float.h>.
10593 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10594 redefine.
10595 (__casinhl): Move code for finite nonzero arguments to
10596 k_casinhl.c.
10597 * math/libm-test.inc (cacos_test): Add more tests.
10598 * sysdeps/i386/fpu/libm-test-ulps: Update.
10599 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10600
2a26ef3a
PT
106012013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10602
10603 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10604 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10605 [!HAVE_MREMAP]: Remove [defined linux] case.
10606 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10607
a897655d
SP
106082013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10609
10610 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10611
881ebe89 106122013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10613
10614 * elf/elf.h (R_386_SIZE32): New relocation.
10615 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10616 R_386_SIZE32.
10617 (elf_machine_rela): Likewise.
10618 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10619 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10620
59981e9b
JM
106212013-01-17 Joseph Myers <joseph@codesourcery.com>
10622
10623 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10624 (FP_FAST_FMA): Do not define.
10625 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10626 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10627 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10628 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10629 !_SOFT_FLOAT]: Likewise.
10630 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10631 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10632 value.
10633 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10634 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10635 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10636 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10637 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10638 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10639 file.
10640
cfa8054f
AS
106412013-01-16 Andreas Schwab <schwab@suse.de>
10642
10643 [BZ #14327]
10644 * include/stdlib.h (__mktemp): Add declaration.
10645 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10646 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10647
dd930cc5
SP
106482013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10649
881ebe89
SP
10650 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10651 definitions.
10652 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10653 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10654 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10655 definitions here.
10656 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10657 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10658 definitions.
10659 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10660 and ONE.
10661 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10662 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10663 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10664 definitions.
10665 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10666 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10667 definitions.
10668 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10669
dd930cc5
SP
10670 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10671
c19a9f89
DM
106722013-01-15 David S. Miller <davem@davemloft.net>
10673
1aa61767
DM
10674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10675 trunc{,f} to libm-sysdep_routes.
10676 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10678 file.
10679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10681 file.
10682 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10683 file.
10684 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10685 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10686 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10687 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10688 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10689 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10690 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10691 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10692
c42d5e98
DM
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10694 nearbyint{,f} to libm-sysdep_routes.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10697 New file.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10699 file.
10700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10701 New file.
10702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10703 file.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10707 file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10710 file.
10711 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10712 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10713 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10714
c19a9f89
DM
10715 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10716 libc_feholdexcept and libc_fesetenv.
10717
357679d2
MF
107182013-01-15 Mike Frysinger <vapier@gentoo.org>
10719
10720 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10721
65a82e3d
DM
107222013-01-14 David S. Miller <davem@davemloft.net>
10723
8b954ab9
DM
10724 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10725 (SPARC_ASM_VIS2_IFUNC): Likewise.
10726 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10728 use of 'siam' instruction.
10729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10730 Likewise.
10731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10732 Likewise.
10733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10734 Likewise.
10735 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10736 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10737 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10738 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10740 file.
10741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10742 file.
10743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10744 file.
10745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10746 file.
10747 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10749 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10751 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10752 new VIS2 routines.
10753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10756 Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10758 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10759 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10760 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10762 routines to libm-sysdep_routines.
10763 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10764
65a82e3d
DM
10765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10766 fdim/fdimf to libm-sysdep_routines.
10767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10768 file.
10769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10771 file.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10773 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10775 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10776 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10777 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10778 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10779
e34ab705
SP
107802013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10781
2a91b573
SP
10782 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10783 to optimize copies.
10784
1066a534
SP
10785 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10786 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10787 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10788
e34ab705
SP
10789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10790 local variable MPTWO.
10791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10792 Likewise.
10793
aba5e596
MF
107942013-01-13 Mike Frysinger <vapier@gentoo.org>
10795
10796 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10797 GLOB_NOESCAPE.
10798
e557e9e5
MF
107992013-01-13 Mike Frysinger <vapier@gentoo.org>
10800
10801 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10802
0428cec9
MF
108032013-01-13 Mike Frysinger <vapier@gentoo.org>
10804
10805 * manual/pattern.texi (glob_t): Document gl_flags.
10806 (glob64_t): Likewise.
10807
8794a964
DM
108082013-01-11 David S. Miller <davem@davemloft.net>
10809
66438c3f
RM
10810 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10811 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10812 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10813 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10814 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10815 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10816 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10817 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10818 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10819 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10820 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10821 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10822 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10823
4ae4244d
DM
10824 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10825 sparc V9 rather than using V8 code.
10826 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10827 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10828
8794a964
DM
10829 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10830 Move to...
10831 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10832 Here.
10833
6270516e
RM
108342013-01-11 Roland McGrath <roland@hack.frob.com>
10835
10836 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10837 not in the main loop.
10838 * configure: Regenerated.
10839
6a57d931
JM
108402013-01-11 Joseph Myers <joseph@codesourcery.com>
10841
10842 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10843 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10844 to just #else.
10845 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10846 [!__GLIBC_HAVE_LONG_LONG] case.
10847 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10848 condition to just #else.
10849 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10850 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10851 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10852 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10853 unconditional.
10854 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10855 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10856 #elif condition to just #else.
10857 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10858 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10859 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10860 #elif condition to just #else.
10861
0e8529e9
SE
108622013-01-11 Steve Ellcey <sellcey@mips.com>
10863
10864 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10865 (EF_MIPS_ARCH_64): Fix value.
10866 (EF_MIPS_ARCH_32R2): New.
10867 (EF_MIPS_ARCH_64R2): New.
10868
740b3dbe
L
108692013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10870
10871 * Makeconfig (+link-pie-before-libc): New.
10872 (+link-pie-after-libc): Likewise.
10873 (+link-pie-tests): Likewise.
10874 (+link-pie): Rewritten.
10875 (link-before-libc): Remove $(config-LDFLAGS).
10876 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10877 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10878 (config-LDFLAGS): Renamed to ...
10879 (rtld-LDFLAGS): This.
10880 (rtld-tests-LDFLAGS): New macro.
10881 (link-libc-rpath-link): Likewise.
10882 (link-libc-tests-rpath-link): Likewise.
10883 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10884 (link-libc): Prepand $(link-libc-rpath-link).
10885 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10886 (test-program-prefix): New macro.
10887 (test-via-rtld-prefix): Likewise.
10888 (test-program-cmd): Likewise.
10889 (host-test-program-cmd): Likewise.
10890 * Makefile ($(common-objpfx)testrun.sh): Replace
10891 $(run-program-prefix) with $(test-program-prefix).
10892 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10893 $(rtld-LDFLAGS).
10894 ($(common-objpfx)shlib.lds): Likewise.
10895 (build-module-helper): Likewise.
10896 ($(common-objpfx)format.lds): Likewise.
10897 * Rules (binaries-pie-tests): New.
10898 (binaries-pie-notests): Likewise.
10899 (binaries-pie): Rewritten.
10900 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10901 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10902 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10903 (make-test-out): Replace $(host-built-program-cmd) with
10904 $(host-test-program-cmd).
10905 * config.make.in (build-hardcoded-path-in-tests): New variable.
10906 * configure.in (--enable-hardcoded-path-in-tests): New configure
10907 option.
10908 (hardcoded_path_in_tests): New AC_SUBST.
10909 * configure: Regenerated.
10910 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10911 $(built-program-cmd) with $(test-program-cmd).
10912 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10913 (test_program_cmd): This.
10914 * elf/Makefile ($(objpfx)order.out): Run test with
10915 $(test-program-prefix).
10916 ($(objpfx)order2.out): Likewise.
10917 ($(objpfx)tst-initorder.out): Likewise.
10918 ($(objpfx)tst-initorder2.out): Likewise.
10919 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10920 $(test-program-cmd).
10921 ($(objpfx)tst-array1-static.out): Likewise.
10922 ($(objpfx)tst-array2.out): Likewise.
10923 ($(objpfx)tst-array3.out): Likewise.
10924 ($(objpfx)tst-array4.out): Likewise.
10925 ($(objpfx)tst-array5.out): Likewise.
10926 ($(objpfx)tst-array5-static.out): Likewise.
10927 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10928 $(test-program-cmd).
10929 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10930 $(run-program-prefix) with $(test-program-prefix).
10931 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10932 (test_program_prefix): This.
10933 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10934 $(run-program-prefix) with $(test-program-prefix).
10935 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10936 (test_program_prefix): This.
10937 * iconvdata/tst-tables.sh: Likewise.
10938 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10939 $(run-program-prefix) with $(test-program-prefix).
10940 ($(objpfx)tst-translit.out): Likewise.
10941 ($(objpfx)tst-gettext2.out): Likewise.
10942 ($(objpfx)tst-gettext4.out): Likewise.
10943 ($(objpfx)tst-gettext6.out): Likewise.
10944 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10945 (test_program_prefix): This.
10946 * intl/tst-gettext2.sh: Likewise.
10947 * intl/tst-gettext4.sh Likewise.
10948 * intl/tst-gettext6.sh: Likewise.
10949 * intl/tst-translit.sh: Likewise.
10950 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10951 with $(test-program-cmd).
10952 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10953 $(run-program-prefix) with $(test-program-prefix).
10954 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10955 (test_program_prefix): This.
10956 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10957 $(run-program-prefix) with $(test-program-prefix).
10958 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10959 (test_program_prefix): This.
10960 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10961 * posix/Makefile ($(objpfx)globtest.out): Replace
10962 $(run-via-rtld-prefix) and $(test-wrapper) with
10963 $(test-program-prefix) and $(test-via-rtld-prefix).
10964 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10965 $(test-program-prefix).
10966 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10967 $(host-test-program-cmd).
10968 (tst-spawn-ARGS): Likewise.
10969 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10970 $(test-program-prefix).
10971 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10972 (test_via_rtld_prefix): This.
10973 (test_wrapper): Renamed to ...
10974 (test_program_prefix): This.
10975 (run_program_prefix): Replaced by test_program_prefix.
10976 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10977 (test_program_prefix): This.
10978 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10979 with $(host-test-program-cmd).
10980 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10981 $(run-program-prefix) with $(test-program-prefix).
10982 ($(objpfx)tst-printf.out): Likewise.
10983 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10984 $(test-program-cmd).
10985 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10986 (test_program_prefix): This.
10987 * stdio-common/tst-unbputc.sh: Likewise.
10988 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10989 $(run-program-prefix) with $(test-program-prefix).
10990 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10991 (test_program_prefix): This.
10992 * string/Makefile ($(objpfx)tst-svc.out): Replace
10993 $(built-program-cmd) with $(test-program-cmd).
10994
c6fe55cf
AJ
109952013-01-11 Andreas Jaeger <aj@suse.de>
10996
10997 [BZ #15003]
10998 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10999 value. Sync with Linux 3.7.
11000
9e6919c8
DM
110012013-01-10 David S. Miller <davem@davemloft.net>
11002
11003 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11004 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11005 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11006
1c9f1a02
RM
110072013-01-10 Roland McGrath <roland@hack.frob.com>
11008
11009 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11010 never set.
11011 * configure: Regenerated.
11012
b9de2dde
DM
110132013-01-10 David S. Miller <davem@davemloft.net>
11014
11015 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11016 sparc V9 rather than using V8 code.
11017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11019
e7f68ef4
RM
110202013-01-10 Roland McGrath <roland@hack.frob.com>
11021
11022 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11023 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11024 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11025 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11026 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11027 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11028 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11029 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11030 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11031 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11032 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11033 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11034 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11035 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11036 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11037 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11038 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11039 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11040 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11041 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11042 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11043 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11044 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11045 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11046 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11047 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11048 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11049
5a47cc9c
DM
110502013-01-10 David S. Miller <davem@davemloft.net>
11051
11052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11053
4cf8f209
L
110542013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11055
11056 * posix/Makefile (tests-static): New variable.
11057 (tests): Add $(tests-static).
11058 (tst-exec-static-ARGS): New variable.
11059 (tst-spawn-static-ARGS): Likewise.
11060 * posix/tst-exec-static.c: New file.
11061 * posix/tst-spawn-static.c: Likewise.
11062 * posix/tst-exec.c: Support run directly.
11063 * posix/tst-spawn.c: Likewise.
11064
fed0faa1
JM
110652013-01-10 Joseph Myers <joseph@codesourcery.com>
11066
828beb13
JM
11067 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11068 long.
11069 * math/bits/mathcalls.h (llrint): Likewise.
11070 (llround): Likewise.
11071 * stdlib/stdlib.h (struct drand48_data): Likewise.
11072 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11073 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11074 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11075 Likewise.
11076 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11077 Likewise.
11078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11079 (elf_greg_t): Likewise.
11080 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11081 (__jmp_buf): Likewise.
11082 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11083 definitions.
11084 (llrint): Likewise, for all definitions.
11085 (llrintl): Likewise.
11086
fed0faa1
JM
11087 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11088 Remove [__GNUC__] condition.
11089 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11090 condition to just [__USE_ISOC99].
11091 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11092
1a20cb20
L
110932013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11094
11095 [BZ #14200]
11096 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11097 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11098 defined.
11099 (_POSIX_V6_ILP32_OFF32): Likewise.
11100 (_XBS5_ILP32_OFF32): Likewise.
11101 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11102 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11103
751b85f7
SP
111042013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11105
7490eb81
SP
11106 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11107
751b85f7
SP
11108 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11109 doubles __mpexp_twomm1. Adjust usage.
11110 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11111 Remove.
11112
988197f0
AS
111132013-01-10 Andreas Schwab <schwab@suse.de>
11114
11115 [BZ #14964]
11116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11117 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11118
e83d7298
DM
111192013-01-09 David S. Miller <davem@davemloft.net>
11120
034ed64b 11121 [BZ #15003]
e83d7298
DM
11122 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11123 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11124 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11125 TCP_FASTOPEN): Define.
11126 (tcp_repair_opt): New structure.
11127 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11128 enum values.
11129 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11130 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11131 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11132 (tcp_cookie_transactions): New structure.
11133
d5e0b9bd
AB
111342013-01-09 Anton Blanchard <anton@samba.org>
11135
11136 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11137 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11138 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11140
0c07e3ea
JM
111412013-01-09 Joseph Myers <joseph@codesourcery.com>
11142
11143 * include/features.h (__USE_ANSI): Remove.
11144
232f7002
RM
111452013-01-09 Roland McGrath <roland@hack.frob.com>
11146
ad98e30c
RM
11147 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11148
232f7002
RM
11149 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11150
950c99ca
SP
111512013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11152
b5792741
SP
11153 * sysdeps/s390/fpu/libm-test-ulps: Update.
11154
47cf2278
SP
11155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11156
950c99ca
SP
11157 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11158 (__acr): Likewise.
11159 (__cpy): Likewise.
11160 (norm): Likewise.
11161 (denorm): Likewise.
11162 (__mp_dbl): Likewise.
11163 (__dbl_mp): Likewise.
11164 (add_magnitudes): Likewise.
11165 (sub_magnitudes): Likewise.
11166 (__add): Likewise.
11167 (__sub): Likewise.
11168 (__mul): Likewise.
11169 (__inv): Likewise.
11170 (__dvd): Likewise.
11171 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11172 (__acr): Likewise.
11173 (__cpy): Likewise.
11174 (norm): Likewise.
11175 (denorm): Likewise.
11176 (__mp_dbl): Likewise.
11177 (__dbl_mp): Likewise.
11178 (add_magnitudes): Likewise.
11179 (sub_magnitudes): Likewise.
11180 (__add): Likewise.
11181 (__sub): Likewise.
11182 (__mul): Likewise.
11183 (__inv): Likewise.
11184 (__dvd): Likewise.
11185 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11186 (__acr): Likewise.
11187 (__cpy): Likewise.
11188 (norm): Likewise.
11189 (denorm): Likewise.
11190 (__mp_dbl): Likewise.
11191 (__dbl_mp): Likewise.
11192 (add_magnitudes): Likewise.
11193 (sub_magnitudes): Likewise.
11194 (__add): Likewise.
11195 (__sub): Likewise.
11196 (__mul): Likewise.
11197 (__inv): Likewise.
11198 (__dvd): Likewise.
11199
eede9df9
JM
112002013-01-08 Joseph Myers <joseph@codesourcery.com>
11201
11202 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11203 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11204 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11205 2 && __USE_EXTERN_INLINES]: Likewise.
11206
c40ea3d9
AJ
112072013-01-08 Andreas Jaeger <aj@suse.de>
11208
11209 [BZ# 14985]
11210 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11211 Remove.
11212 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11213 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11214
2ccdea26
AB
112152013-01-07 Anton Blanchard <anton@samba.org>
11216
11217 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11218 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11219 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11220 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11221 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11222 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11223 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11224 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11225 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11226 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11227 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11228 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11229 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11230 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11232 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11233 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11235 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11236 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11238 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11240 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11241 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11242 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11243 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11244 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11245 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11246 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11247 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11248 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11249 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11250 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11251 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11252 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11253 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11254 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11255 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11256 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11257 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11258 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11259 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11260
a9708fed
JM
112612013-01-07 Joseph Myers <joseph@codesourcery.com>
11262
375607b9
JM
11263 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11264 (__MALLOC_PMT): Likewise.
11265 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11266 [__GNUC__], only on [_LIBC].
11267 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11268 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11269 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11270 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11271 forward declaration.
11272 (realloc_hook_ini): Likewise.
11273 (memalign_hook_ini): Likewise.
11274 (__libc_memalign): Do not use __MALLOC_PMT in variable
11275 declaration.
11276 (__libc_valloc): Likewise.
11277 (__libc_pvalloc): Likewise.
11278 (__libc_calloc): Likewise.
11279 (__posix_memalign): Likewise.
11280
a9708fed
JM
11281 [BZ #14996]
11282 * math/s_casinh.c: Include <float.h>.
11283 (__casinh): Do not do computation with squaring and square root
11284 for large arguments.
11285 * math/s_casinhf.c: Include <float.h>.
11286 (__casinhf): Do not do computation with squaring and square root
11287 for large arguments.
11288 * math/s_casinhl.c: Include <float.h>.
11289 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11290 (__casinhl): Do not do computation with squaring and square root
11291 for large arguments.
11292 * math/libm-test.inc (casin_test): Add more tests.
11293 (casinh_test): Likewise.
11294 * sysdeps/i386/fpu/libm-test-ulps: Update.
11295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11296
afec409a
L
112972013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11298
11299 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11300 (__x86_64_raw_data_cache_size): Likewise.
11301 (__x86_64_data_cache_size_half): Likewise.
11302 (__x86_64_raw_data_cache_size_half): Likewise.
11303 (__x86_64_shared_cache_size): Likewise.
11304 (__x86_64_raw_shared_cache_size): Likewise.
11305 (__x86_64_shared_cache_size_half): Likewise.
11306 (__x86_64_raw_shared_cache_size_half): Likewise.
11307 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11308 to ...
11309 (__x86_data_cache_size): This.
11310 (__x86_64_raw_data_cache_size): Renamed to ...
11311 (__x86_raw_data_cache_size): This.
11312 (__x86_64_data_cache_size_half): Renamed to ...
11313 (__x86_data_cache_size_half): This.
11314 (__x86_64_raw_data_cache_size_half): Renamed to ...
11315 (__x86_raw_data_cache_size_half): This.
11316 (__x86_64_shared_cache_size): Renamed to ...
11317 (__x86_shared_cache_size): This.
11318 (__x86_64_raw_shared_cache_size): Renamed to ...
11319 (__x86_raw_shared_cache_size): This.
11320 (__x86_64_shared_cache_size_half): Renamed to ...
11321 (__x86_shared_cache_size_half): This.
11322 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11323 (__x86_raw_shared_cache_size_half): This.
11324 * sysdeps/x86_64/memcpy.S: Updated.
11325 * sysdeps/x86_64/memset.S: Likewise.
11326 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11327 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11328 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11329
0b3986d0
DM
113302013-01-04 David S. Miller <davem@davemloft.net>
11331
11332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11333
e47686e9
AS
113342013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11335
d643bac1
AS
11336 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11337 1 to avoid redefinition warning.
11338 (__USE_GNU): Don't define.
11339 (init_signaling_nan): Protoize.
11340
e47686e9
AS
11341 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11342
b18decba
SP
113432013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11344
fffb407f
SP
11345 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11346 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11347 (__cpymn): Likewise.
11348 (norm): Remove commented code.
11349 (denorm): Likewise.
11350 (__mp_dbl): Likewise.
11351 (__inv): Likewise.
11352 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11353 (__cpymn): Likewise.
11354 (norm): Remove commented code.
11355 (denorm): Likewise.
11356 (__mp_dbl): Likewise.
11357 (__inv): Likewise.
11358
b18decba
SP
11359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11360 mp_no value for 1.0 and 2.0.
11361 (norm): Use RADIXI instead of radixi.d.
11362 (denorm): Likewise.
11363 (__mul): Use 0.0 instead of zero.d.
11364 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11365 mp_no value for 1.0 and 2.0.
11366 (norm): Use RADIXI instead of radixi.d.
11367 (denorm): Likewise.
11368 (__mul): Use 0.0 instead of zero.d.
11369
cdc1c96f
JM
113702013-01-04 Joseph Myers <joseph@codesourcery.com>
11371
11372 [BZ #14994]
11373 * math/s_casinh.c (__casinh): Reduce finite argument to first
11374 quadrant then set signs of results at the end.
11375 * math/s_casinhf.c (__casinhf): Likewise.
11376 * math/s_casinhl.c (__casinhl): Likewise.
11377 * math/libm-test.inc (casin_test): Add more tests.
11378 (casinh_test): Likewise.
11379 * sysdeps/i386/fpu/libm-test-ulps: Update.
11380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11381
302913e1
SP
113822013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11383
6420d207
SP
11384 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11385
a9e48ab4
SP
11386 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11387
b7837264
SP
11388 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11389 declarations.
11390 (denorm): Likewise.
11391 (__mp_dbl): Likewise.
11392 (__inv): Likewise.
11393
f8af25d2
SP
11394 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11395 and adjust the header comment.
11396
302913e1
SP
11397 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11398 variable name from declaration.
11399
5d7dd1ca
L
114002013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11401
11402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11403 Initialize COMMON_CPUID_INDEX_7 element.
11404 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11405 (CPUID_RTM): Likewise.
11406 (HAS_RTM): Likewise.
11407 (COMMON_CPUID_INDEX_7): New enum.
11408
2f5f40f4
AS
114092013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11410
11411 [BZ #14981]
11412 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11413 size is zero, record memory as freed.
11414
4056f4a0
AJ
114152013-01-03 Andreas Jaeger <aj@suse.de>
11416
11417 * po/ia.po: Add new Interlingua translation.
11418
ab15736f 114192012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11420
11421 * locale/programs/localedef.c: Fix description of '--posix' flag.
11422
568035b7
JM
114232013-01-02 Joseph Myers <joseph@codesourcery.com>
11424
e6898b8d
JM
11425 * NEWS: Update dates in second copyright notice.
11426 * README: Update copyright dates in example.
11427 * manual/libc.texinfo: Update copyright dates.
11428 * scripts/test-installation.pl: Update copyright date in --version
11429 output.
11430
0e2f9562
JM
11431 * hurd/ctty-input.c: Fix copyright notice formatting.
11432 * hurd/ctty-output.c: Likewise.
11433 * hurd/dtable.c: Likewise.
11434 * hurd/hurd-raise.c: Likewise.
11435 * hurd/hurdprio.c: Likewise.
11436 * hurd/msgportdemux.c: Likewise.
11437 * misc/sys/file.h: Likewise.
11438 * misc/sys/ioctl.h: Likewise.
11439 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11440 * sysdeps/mach/hurd/chdir.c: Likewise.
11441 * sysdeps/mach/hurd/fchdir.c: Likewise.
11442 * sysdeps/mach/hurd/rename.c: Likewise.
11443 * sysdeps/mach/hurd/rmdir.c: Likewise.
11444 * sysdeps/mach/hurd/seekdir.c: Likewise.
11445 * sysdeps/mach/hurd/setsid.c: Likewise.
11446 * sysdeps/posix/wait3.c: Likewise.
11447
568035b7
JM
11448 * All files with FSF copyright notices: Update copyright dates
11449 using scripts/update-copyrights.
11450 * intl/plural.c: Regenerated.
11451 * locale/programs/charmap-kw.h: Likewise.
11452 * locale/programs/locfile-kw.h: Likewise.
11453
da08f647
SP
114542013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11455
0f5477af
SP
11456 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11457 four values.
11458
44e0d4c2
SP
11459 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11460 calculation loop and add branch prediction.
11461
4d55b4e5
SP
11462 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11463 check access beyond bounds of m1np.
11464
da08f647
SP
11465 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11466 MPTWO.
11467 (__inv): Remove local variable MPTWO to use the global
11468 constant.
11469 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11470 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11471 variable MPTWO.
11472 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11473 MP3HALFS static const.
11474
8e051029
DM
114752013-01-01 David S. Miller <davem@davemloft.net>
11476
11477 * po/ca.po: Update from translation team.
11478
f4cf5f2d
JM
114792013-01-01 Joseph Myers <joseph@codesourcery.com>
11480
11481 * scripts/update-copyrights: New file.
11482 * Makeconfig: Reformat copyright notice.
11483 * ctype/ctype.h: Likewise.
11484 * debug/swprintf_chk.c: Likewise.
11485 * elf/dl-cache.c: Likewise.
11486 * elf/dl-debug.c: Likewise.
11487 * elf/dl-object.c: Likewise.
11488 * grp/initgroups.c: Likewise.
11489 * hurd/Makefile: Likewise.
11490 * hurd/hurd/signal.h: Likewise.
11491 * hurd/hurdfault.c: Likewise.
11492 * hurd/hurdioctl.c: Likewise.
11493 * hurd/hurdlookup.c: Likewise.
11494 * hurd/intr-msg.c: Likewise.
11495 * iconv/gconv_open.c: Likewise.
11496 * libio/swprintf.c: Likewise.
11497 * locale/lc-ctype.c: Likewise.
11498 * locale/nl_langinfo.c: Likewise.
11499 * mach/Machrules: Likewise.
11500 * mach/Makefile: Likewise.
11501 * malloc/obstack.h: Likewise.
11502 * manual/Makefile: Likewise.
11503 * manual/tsort.awk: Likewise.
11504 * misc/bits/stab.def: Likewise.
11505 * nis/nis_print_group_entry.c: Likewise.
11506 * nis/nis_table.c: Likewise.
11507 * nis/nss_compat/compat-pwd.c: Likewise.
11508 * nis/nss_compat/compat-spwd.c: Likewise.
11509 * po/Makefile: Likewise.
11510 * posix/fnmatch.c: Likewise.
11511 * posix/regex.h: Likewise.
11512 * resolv/Makefile: Likewise.
11513 * resolv/nss_dns/dns-network.c: Likewise.
11514 * resolv/res_hconf.c: Likewise.
11515 * scripts/gen-sorted.awk: Likewise.
11516 * soft-fp/soft-fp.h: Likewise.
11517 * stdio-common/printf.h: Likewise.
11518 * stdlib/monetary.h: Likewise.
11519 * stdlib/random.c: Likewise.
11520 * stdlib/random_r.c: Likewise.
11521 * sysdeps/generic/Makefile: Likewise.
11522 * sysdeps/gnu/Makefile: Likewise.
11523 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11524 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11525 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11526 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11527 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11529 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11530 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11533 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11534 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11535 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11536 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11537 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11538 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11542 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11546 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11547 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11548 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11549 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11550 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11551 * sysdeps/mach/hurd/errnos.awk: Likewise.
11552 * sysdeps/mach/hurd/fork.c: Likewise.
11553 * sysdeps/mach/hurd/getcwd.c: Likewise.
11554 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11555 * sysdeps/mach/hurd/mmap.c: Likewise.
11556 * sysdeps/mach/hurd/utimes.c: Likewise.
11557 * sysdeps/mach/hurd/xmknod.c: Likewise.
11558 * sysdeps/posix/profil.c: Likewise.
11559 * sysdeps/posix/readdir_r.c: Likewise.
11560 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11561 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11562 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11563 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11564 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11565 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11566 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11567 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11569 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11570 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11571 * sysdeps/pthread/lio_listio.c: Likewise.
11572 * sysdeps/sparc/dl-procinfo.h: Likewise.
11573 * sysdeps/unix/i386/sysdep.S: Likewise.
11574 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11575 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11576 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11577 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11579 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11580 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11581 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11582 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11583 * sysdeps/wordsize-32/divdi3.c: Likewise.
11584 * time/sys/time.h: Likewise.
11585 * wcsmbs/Makefile: Likewise.
11586
0549fbba
DM
115872013-01-01 David S. Miller <davem@davemloft.net>
11588
a141f1a7
DM
11589 * po/fr.po: Update from translation team.
11590
0549fbba
DM
11591 * catgets/gencat.c: Update copyright year.
11592 * csu/version.c: Likewise.
11593 * debug/catchsegv.sh: Likewise.
11594 * debug/pcprofiledump.c: Likewise.
11595 * debug/xtrace.sh: Likewise.
11596 * elf/ldconfig.c: Likewise.
11597 * elf/ldd.bash.in: Likewise.
11598 * elf/pldd.c: Likewise.
11599 * elf/sotruss.ksh: Likewise.
11600 * elf/sprof.c: Likewise.
11601 * iconv/iconv_prog.c: Likewise.
11602 * iconv/iconvconfig.c: Likewise.
11603 * locale/programs/locale.c: Likewise.
11604 * locale/programs/localedef.c: Likewise.
11605 * login/programs/pt_chown.c: Likewise.
11606 * malloc/memusage.sh: Likewise.
11607 * malloc/memusagestat.c: Likewise.
11608 * malloc/mtrace.pl: Likewise.
11609 * nscd/nscd.c: Likewise.
11610 * nss/getent.c: Likewise.
11611 * nss/makedb.c: Likewise.
11612 * posix/getconf.c: Likewise.
11613
18ea052c
SP
116142012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11615
11616 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11617 numbers.
11618
9c89fca6
MF
116192012-12-30 Mike Frysinger <vapier@gentoo.org>
11620
11621 * math/bits/mathcalls.h (modf): Use __nonnull.
11622
085ec079
SP
116232012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11624
11625 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11626 (split): Use macro CN instead of the bare value.
11627 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11628 could be used.
11629 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11630 instead of the bare value.
11631 (power1): Likewise.
11632
6d9f97e1
SP
116332012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
d63f73be
SP
11635 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11636 __ATAN_TWOM.
11637 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11638
6d9f97e1
SP
11639 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11640 their values.
11641 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11642 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11643 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11644 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11645
4c4febf5
AJ
116462012-12-28 Andreas Jaeger <aj@suse.de>
11647
af5843ef
AJ
11648 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11649 values are from Linux 3.7.
11650
4c4febf5
AJ
11651 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11652 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11653
99136f82
SP
116542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11655
2f216c3c 11656 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11657 TRUE case.
11658
99136f82
SP
11659 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11660 (norm): Likewise.
11661 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11662 variables with preprocessor constants.
11663 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11664 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11665 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11666
7fffbdff
BH
116672012-12-27 Bruno Haible <bruno@clisp.org>
11668
11669 [BZ #14317]
11670 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11671 only if needed.
11672
b76eb5f0
SP
116732012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11674
31a7fe5c
SP
11675 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11676 and use variable directly.
11677 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11678
b76eb5f0
SP
11679 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11680 MPONE.
11681 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11682 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11683 variable MPONE.
11684 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11685 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11686 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11687 include directive. Remove local variable MPONE.
11688 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11689 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11690 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11691
2c8bfe7d
DM
116922012-12-25 David S. Miller <davem@davemloft.net>
11693
11694 * version.h (RELEASE): Set to "development".
11695 (VERSION): Set to "2.17.90".
11696 * NEWS: Add 2.18 section.
11697
147d03b0
DM
116982012-12-21 David S. Miller <davem@davemloft.net>
11699
11700 * po/hr.po: Update from translation team.
11701
a8ebb2b9
AK
117022012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11703
11704 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11705
95b4f1b6
SE
117062012-12-19 Steve Ellcey <sellcey@mips.com>
11707
b2d94007 11708 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11709
cedb2a90
MS
117102012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11711
11712 * manual/contrib.texi (Contributors): Spelling correction.
11713
bbf527d6
DM
117142012-12-15 David S. Miller <davem@davemloft.net>
11715
11716 * po/ru.po: Update from translation team.
11717
bc38c906
DM
117182012-12-13 David S. Miller <davem@davemloft.net>
11719
85429b1a
DM
11720 * NEWS: Mention IFUNC testsuite enhancements.
11721
d283e353
DM
11722 * po/pl.po: Update from translation team.
11723 * po/bg.po: Likewise.
11724
bc38c906
DM
11725 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11726 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11727
a181b0d7
DM
117282012-12-11 David S. Miller <davem@davemloft.net>
11729
4641d57e
DM
11730 * po/sv.po: Update from translation team.
11731
f7bc6495
DM
11732 * po/vi.po: Update from translation team.
11733
6fc9048f
DM
11734 * po/cs.po: Update from translation team.
11735
a181b0d7
DM
11736 * po/de.po: Update from translation team.
11737 * po/eo.po: Likewise.
11738 * po/nl.po: Likewise.
11739
f70bfe80
SP
117402012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11741
3c8b4190
SP
11742 [BZ #14246]
11743 * manual/argp.texi (Argp Helper Functions): Move node to follow
11744 Argp Parsing State.
11745
f70bfe80
SP
11746 [BZ #14872]
11747 * manual/conf.texi (Limits on File System Capacity): Mention if
11748 terminating null is included in the max size.
11749
188f0adf
AJ
117502012-12-10 Andreas Jaeger <aj@suse.de>
11751
11752 * po/cs.po: Update from translation team.
11753
56e7d3ad
SP
117542012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11755
11756 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11757 void pointer and cast to uintptr_t.
11758 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11759 path.
11760 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11761 * sysdeps/s390/s390-64/memset.S: Likewise.
11762
76f2d2ea 117632012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11764
11765 [BZ #14833]
11766 * menual/message.texi (Message Translation): Fix typos.
11767 (Helper programs for gettext): Likewise.
11768
67cbf9a2
AS
117692012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11770
11771 [BZ #14898]
11772 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11773 Change to -1.
11774
682d0e9a
DM
117752012-12-07 David S. Miller <davem@davemloft.net>
11776
11777 * po/libc.pot: Update.
11778
573cd484
RH
117792012-12-07 Richard Henderson <rth@redhat.com>
11780
7e9da188 11781 [BZ #10114]
573cd484
RH
11782 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11783 normal/normal case to before the switch.
11784 (_FP_DIV): Likewise.
11785
e933a943
MF
117862012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11787 Mike Frysinger <vapier@gentoo.org>
11788
11789 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11790 check for __NR_fadvise64_64.
11791
82123268
CM
117922012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11793
11794 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11795 0, not just to plain "0" as a statement.
11796 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11797 with cw.
11798
d9814526
JM
117992012-12-06 Joseph Myers <joseph@codesourcery.com>
11800
11801 * NEWS: Use sourceware.org in Bugzilla URL.
11802
7728c574
SP
118032012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11804
f16946dd
SP
11805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11806 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11807
5704bbcb
SP
11808 * stdio-common/tst-put-error.c (do_test): Add newline to the
11809 padded test to ensure flush.
11810
17aa0516
JL
118112012-12-05 Jeff Law <law@redhat.com>
11812
11813 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11814
363313b5
JM
118152012-12-05 Joseph Myers <joseph@codesourcery.com>
11816
effbd42a
JM
11817 * README: Don't refer to ports add-on as distributed separately.
11818 Mention AArch64 in list of systems supported in the ports add-on.
11819
87600365
JM
11820 * LICENSES: Add more non-FSF copyright and license notices.
11821
a0d7066a
JM
11822 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11823 ((unused)).
11824
66ca5a5b
JM
11825 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11826
363313b5
JM
11827 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11828 10000 as width of padded output.
11829
b37984ad
JM
118302012-12-04 Joseph Myers <joseph@codesourcery.com>
11831
9003570a
JM
11832 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11833
b37984ad
JM
11834 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11835 variable LX with __attribute__ ((unused)).
11836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11837 Likewise.
11838 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11840 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11841 with __attribute__ ((unused)).
11842
c8df52ec
DM
118432012-12-04 David S. Miller <davem@abraco.davemloft.net>
11844
11845 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11846
b3b099af
JM
118472012-12-04 Joseph Myers <joseph@codesourcery.com>
11848
c33aa6e3
JM
11849 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11850 (CFLAGS-nldbl-acos.c): New variable.
11851 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11852 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11853 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11854 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11855 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11856 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11857 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11858 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11859 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11860 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11861 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11862 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11863 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11864 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11865 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11866 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11867 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11868 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11869 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11870 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11871 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11872 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11873 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11874 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11875 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11876 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11877 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11878 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11879 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11880 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11881 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11882 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11883 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11884 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11885 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11886 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11887 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11888 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11889 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11890 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11891 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11892 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11893 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11894 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11895 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11896 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11897 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11898 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11899 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11900 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11901 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11902 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11903 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11904 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11905 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11906 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11907 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11908 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11909 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11910 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11911 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11912 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11913 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11914 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11915 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11916 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11917 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11918 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11919 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11920 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11921 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11922 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11923 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11924 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11925 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11926 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11927 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11928 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11929 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11930 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11931 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11932 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11933 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11934 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11935 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11936 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11937 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11938 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11939 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11940 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11941 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11942 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11943 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11944 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11945 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11946 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11947 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11948
20f0018d
JM
11949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11950 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11951
b3b099af
JM
11952 [BZ #14914]
11953 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11954 whole low double instead of just low 47 bits when splitting values
11955 into two parts.
11956
029264d1
AM
119572012-12-03 Allan McRae <allan@archlinux.org>
11958
11959 * manual/stdio.texi (Predefined Printf Handlers): Remove
11960 @hsep and @vsep usage.
11961
c9d6789e
MF
119622012-12-03 Mike Frysinger <vapier@gentoo.org>
11963
11964 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11965 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11966
4b7634a5
JL
119672012-12-03 Jeff Law <law@redhat.com>
11968
11969 * time/sys/time.h (settimeofday): Do not mark TV argument
11970 as __nonnull.
11971
eb6cbd24
MF
119722012-12-01 Mike Frysinger <vapier@gentoo.org>
11973
11974 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11975 when currently writing and seek to current position when not.
11976 * libio/Makefile (tests): Remove bug-fclose1.
11977 * libio/bug-fclose1.c: Delete.
11978
f638872a
JM
119792012-12-01 Joseph Myers <joseph@codesourcery.com>
11980
11981 * manual/arith.texi (feenableexcept): Fix typo.
11982 (fedisableexcept): Likewise.
11983
48085d14
RM
119842012-11-30 Roland McGrath <roland@hack.frob.com>
11985
11986 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11987 second, differently-typed declaration, rather than a cast.
11988
1a538b9f
SP
119892012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11990
11991 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11992 * include/rpc/svc.h: ... here.
11993
d07f2ff1 119942012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11995
11996 [BZ #13013]
11997 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11998 depending n and resplen2 to catch cases where answer
11999 equals answerp2.
12000
c93ec1f0
CD
120012012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12002
12003 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12004 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12005
37db69de
MF
120062012-11-29 Mike Frysinger <vapier@gentoo.org>
12007
12008 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12009
e10c4e4f
RM
120102012-11-29 Roland McGrath <roland@hack.frob.com>
12011
12012 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12013
2af1b328
JL
120142012-11-28 Jeff Law <law@redhat.com>
12015
12016 [BZ #13761]
12017 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12018 dataset_temporary. Track alloca usage into alloca_used.
12019 If dataset is large allocate and release it via malloc/free.
12020
111db5b1
FW
120212012-06-04 Florian Weimer <fweimer@redhat.com>
12022
f06cc227 12023 [BZ #14197]
111db5b1
FW
12024 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12025
dd694abd
DM
120262012-11-28 David S. Miller <davem@davemloft.net>
12027
12028 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12029
9984dd01
JM
120302012-11-28 Joseph Myers <joseph@codesourcery.com>
12031
12032 [BZ #14803]
12033 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12034 of pi/2 rounded to nearest to 64 bits.
12035 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12036 nearest to 64 bits.
12037 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12038 bits.
12039
14bc93a9
JL
120402012-11-28 Jeff Law <law@redhat.com>
12041 Martin Osvald <mosvald@redhat.com>
12042
12043 [BZ #14889]
12044 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12045 * sunrpc/svc.c: Include time.h.
12046 (__svc_accept_failed): New function.
12047 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12048 any reason other than EINTR, call __svc_accept_failed.
12049 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12050 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12051
e3c6aa3a
AS
120522012-11-28 Andreas Schwab <schwab@suse.de>
12053
12054 * scripts/abilist.awk: Also handle indirect functions in .opd
12055 section.
12056
1bead169
JM
120572012-11-28 Joseph Myers <joseph@codesourcery.com>
12058
12059 [BZ #13881]
12060 * sysdeps/x86/fpu/powl_helper.c: New file.
12061 * sysdeps/x86/fpu/Makefile: Likewise.
12062 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12063 (p3): New object.
12064 (__ieee754_powl): Use __powl_helper for finite arguments except
12065 integer exponents below 8.
12066 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12067 (p3): New object.
12068 (__ieee754_powl): Use __powl_helper for finite arguments except
12069 integer exponents below 8.
12070 * math/libm-test.inc (pow_test): Add more tests and enable some
12071 previously disabled tests.
12072 * sysdeps/i386/fpu/libm-test-ulps: Update.
12073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12074
0817d63d
SP
120752012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12076 Carlos O'Donell <carlos_odonell@mentor.com>
12077
12078 * nss/makedb.c (is_prime): Assert that input is odd and greater
12079 than 4. Note that fact in a comment too.
12080 (next_prime): Add 4 to input.
12081
de2fd463
SP
120822012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12083
12084 [BZ #11741]
12085 * libio/Makefile (tests): Add test case tst-fwrite-error.
12086 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12087 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12088 * libio/tst-fwrite-error.c: New test case.
12089
c515fb51
L
120902012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12091
12092 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12093 before casting to void *.
12094 * include/libc-internal.h (__pointer_type): New macro.
12095 (__integer_if_pointer_type_sub): Likewise.
12096 (__integer_if_pointer_type): Likewise.
12097 (cast_to_integer): Likewise.
12098 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12099 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12100 before casting to atomic64_t.
12101 (atomic_exchange_acq): Likewise.
12102 (__arch_exchange_and_add_body): Likewise.
12103 (__arch_add_body): Likewise.
12104 (atomic_add_negative): Likewise.
12105 (atomic_add_zero): Likewise.
12106
4cf77aa9
JM
121072012-11-26 Joseph Myers <joseph@codesourcery.com>
12108
12109 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12110 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12111 (add_fdes): Likewise.
12112 (linear_search_fdes): Likewise.
12113 (binary_search_unencoded_fdes): Likewise.
12114
d260b3b4
AS
121152012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12116
12117 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12118
67060746
AC
121192012-11-24 Adam Conrad <adconrad@0c3.net>
12120
12121 * configure.in: Autodetect C++ header directories.
12122 * configure: Regenerated.
12123
800938a1
MF
121242012-11-23 Mike Frysinger <vapier@gentoo.org>
12125
12126 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12127
4e6e34e6
AS
121282012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12129
12130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12131
7c7feb47
JM
121322012-11-22 Joseph Myers <joseph@codesourcery.com>
12133
7184dcdf
JM
12134 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12135 LDBL_MANT_DIG == 106]: Disable some tests.
12136 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12137 Likewise.
12138 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12139 Likewise.
12140
0a42601f
JM
12141 [BZ #14871]
12142 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12143 input for small inputs. Return +/- pi/2 for large inputs.
12144 * math/libm-test.inc (atan_test): Add more tests.
12145
79c9b9fe
JM
12146 * sysdeps/generic/unwind-dw2-fde-glibc.c
12147 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12148 __attribute__ ((unused)).
12149
c60d3bf2
JM
12150 [BZ #14645]
12151 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12152 x * y if x and y are nonzero and z is zero.
12153
ef1e0867
JM
12154 [BZ #14811]
12155 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12156 nonzero exponents with absolute value below 0x1p-117 to +/-
12157 0x1p-117.
12158
1468ded3
JM
12159 [BZ #14869]
12160 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12161 up arguments below 2**-450, not just those below 2**-500.
12162 * math/libm-test.inc (hypot_test): Add another test.
12163
8e27e3cc
JM
12164 [BZ #14868]
12165 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12166 Return a+b for ratio over 2**120, not 2**60.
12167 * math/libm-test.inc (hypot_test): Add another test.
12168
c9c0279b
JM
12169 * math/libm-test.inc (clog_test): Use
12170 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12171 (clog10_test): Likewise.
12172
7c7feb47
JM
12173 [BZ #6778]
12174 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12175
fff1530e
AS
121762012-11-22 Andreas Schwab <schwab@suse.de>
12177
12178 * sysdeps/i386/fpu/libm-test-ulps: Update.
12179
94558d30
PT
121802012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12181
12182 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12183 printf output with newline.
12184
7e1be741
L
121852012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12186
6bfea974
L
12187 [BZ #14865]
12188 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12189 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12190 -z nodlopen, -z initfirst and -z execstack support.
12191 * configure: Regenerated.
12192
7e1be741
L
12193 * elf/elf.h (DF_1_NODIRECT): New macro.
12194 (DF_1_IGNMULDEF): Likewise.
12195 (DF_1_NOKSYMS): Likewise.
12196 (DF_1_NOHDR): Likewise.
12197 (DF_1_EDITED): Likewise.
12198 (DF_1_NORELOC): Likewise.
12199 (DF_1_SYMINTPOSE): Likewise.
12200 (DF_1_GLOBAUDIT): Likewise.
12201 (DF_1_SINGLETON): Likewise.
12202 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12203 DT_1_SUPPORTED_MASK bits.
12204 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12205
105ce2ce
CD
122062012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12207
12208 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12209
123be9de
TS
122102012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12211
d072f3f7
TS
12212 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12213 macro.
12214
123be9de
TS
12215 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12216 (sendmmsg): Move declarations...
12217 * socket/sys/socket.h: ... here.
12218 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12219 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12220 include it from...
12221 * socket/recvmmsg.c: ... this new file.
12222 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12223 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12224 definition of __sendmmsg hidden.
12225 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12226 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12227 Move ENOSYS stub into and include it from...
12228 * socket/sendmmsg.c: ... this new file.
12229 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12230 (sysdep_routines): Move recvmmsg and sendmmsg...
12231 * socket/Makefile (routines): ... here.
12232 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12233 (GLIBC_PRIVATE): Add __sendmmsg.
12234 * include/sys/socket.h (__sendmmsg): Add declarations.
12235 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12236 sendmmsg.
12237
cf9a5d18
JM
122382012-11-20 Joseph Myers <joseph@codesourcery.com>
12239
12240 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12241 variable I1 with __attribute__ ((unused)).
12242 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12243
ecd4caf9
JM
122442012-11-19 Joseph Myers <joseph@codesourcery.com>
12245
be14d48f
JM
12246 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12247 DUMMY variables with __attribute__ ((unused)).
12248
ecd4caf9
JM
12249 * bits/byteswap.h: Include <bits/types.h>.
12250 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12251
986cab95
PT
122522012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12253
12254 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12255 string_t. Do not manually set errno.
12256 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12257 length with __strnlen. Make sure to both set errno and return it on
12258 failure.
12259
6d33cc9d
DM
122602012-11-19 David S. Miller <davem@davemloft.net>
12261
12262 With help from Joseph Myers.
12263 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12264 very large arguments properly.
12265 * math/libm-test.inc (atan_test): New tests.
12266 (atan2_test): New tests.
12267 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12269
ee663277
JM
122702012-11-19 Joseph Myers <joseph@codesourcery.com>
12271
877f2d8e
JM
12272 [BZ #14856]
12273 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12274 Define to 3.
12275
116fc08a
JM
12276 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12277 [POSIX] (EADDRNOTAVAIL): Likewise.
12278 [POSIX] (EAFNOSUPPORT): Likewise.
12279 [POSIX] (EALREADY): Likewise.
12280 [POSIX] (ECONNABORTED): Likewise.
12281 [POSIX] (ECONNREFUSED): Likewise.
12282 [POSIX] (ECONNRESET): Likewise.
12283 [POSIX] (EDESTADDRREQ): Likewise.
12284 [POSIX] (EDQUOT): Likewise.
12285 [POSIX] (EHOSTUNREACH): Likewise.
12286 [POSIX] (EIDRM): Likewise.
12287 [POSIX] (EISCONN): Likewise.
12288 [POSIX] (ELOOP): Likewise.
12289 [POSIX] (EMULTIHOP): Likewise.
12290 [POSIX] (ENETDOWN): Likewise.
12291 [POSIX] (ENETUNREACH): Likewise.
12292 [POSIX] (ENOBUFS): Likewise.
12293 [POSIX] (ENODATA): Likewise.
12294 [POSIX] (ENOLINK): Likewise.
12295 [POSIX] (ENOMSG): Likewise.
12296 [POSIX] (ENOPROTOOPT): Likewise.
12297 [POSIX] (ENOSR): Likewise.
12298 [POSIX] (ENOSTR): Likewise.
12299 [POSIX] (ENOTCONN): Likewise.
12300 [POSIX] (ENOTSOCK): Likewise.
12301 [POSIX] (EOPNOTSUPP): Likewise.
12302 [POSIX] (EOVERFLOW): Likewise.
12303 [POSIX] (EPROTO): Likewise.
12304 [POSIX] (EPROTONOSUPPORT): Likewise.
12305 [POSIX] (EPROTOTYPE): Likewise.
12306 [POSIX] (ESTALE): Likewise.
12307 [POSIX] (ETIME): Likewise.
12308 [POSIX] (ETXTBSY): Likewise.
12309 [POSIX] (EWOULDBLOCK): Likewise.
12310 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12311 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12312 [POSIX] (SEEK_CUR): Likewise.
12313 [POSIX] (SEEK_END): Likewise.
12314 [POSIX || UNIX98] (mode_t): Do not require.
12315 [POSIX] (off_t): Likewise.
12316 [POSIX] (pid_t): Likewise.
12317 [POSIX] (sys/stat.h): Do not allow header.
12318 [POSIX] (unistd.h): Likewise.
12319 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12320 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12321 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12322 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12323 require.
12324 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12325 sigevent): Specify elements.
12326 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12327 entry.
12328 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12329 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12330
a483863f
JM
12331 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12332 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12333 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12334 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12335 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12336 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12337 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12338 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12339 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12340 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12341 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12342 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12343 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12344 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12345 Likewise.
12346 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12347 Likewise.
12348 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12349 Likewise.
12350 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12351 Likewise.
12352 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12353 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12354 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12355 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12356 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12357 Specify lower bound on value.
12358 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12359 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12360 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12361 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12362 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12363 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12364 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12365 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12366 value.
12367 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12368 as optional.
12369 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12370 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12371 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12372 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12373 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12374 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12376 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12377 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12383 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12384 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12385 entry.
12386 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12387 optional.
12388 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12394 Likewise.
12395 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12400 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12401 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12402 as optional.
12403 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12404 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12405 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12406 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12407 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12408 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12409 specify as optional.
12410 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12413 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12414 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12415 [XPG3] (NL_LANGMAX): Likewise.
12416 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12417 [POSIX || XPG3] (NL_NMAX): Likewise.
12418 [POSIX || XPG3] (NL_SETMAX): Likewise.
12419 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12420 [XPG3] (NZERO): Likewise.
12421 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12422 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12423 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12424 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12425 (REG_ERANGE): Expect.
12426 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12427 optional-constant.
12428 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12429 Use (void) in prototype.
12430 [POSIX] (*_t): Allow.
12431 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12432 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12433 (WRDE_BADVAL): Expect.
12434
5ba924e3
JM
12435 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12436 expect.
12437 [XPG3 || XPG4] (O_RSYNC): Likewise.
12438 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12439 Likewise.
12440 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12441 [XPG3 || XPG4] (sigqueue): Likewise.
12442 [XPG3 || XPG4] (sigtimedwait): Likewise.
12443 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12444 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12445 [XPG3 || XPG4] (vsnprintf): Likewise.
12446 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12447 Likewise.
12448 [XPG3 || XPG4] (blksize_t): Likewise.
12449 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12450 Likewise.
12451 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12452 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12453 [XPG3 || XPG4] (struct itimerspec): Likewise.
12454 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12455 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12456 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12457 [XPG3 || XPG4] (clockid_t): Likewise.
12458 [XPG3 || XPG4] (timer_t): Likewise.
12459 [XPG3 || XPG4] (clock_getres): Likewise.
12460 [XPG3 || XPG4] (clock_gettime): Likewise.
12461 [XPG3 || XPG4] (clock_settime): Likewise.
12462 [XPG3 || XPG4] (nanosleep): Likewise.
12463 [XPG3 || XPG4] (timer_create): Likewise.
12464 [XPG3 || XPG4] (timer_delete): Likewise.
12465 [XPG3 || XPG4] (timer_gettime): Likewise.
12466 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12467 [XPG3 || XPG4] (timer_settime): Likewise.
12468 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12469 [XPG3 || XPG4] (getlogin_r): Likewise.
12470 [XPG3 || XPG4] (pread): Likewise.
12471 [XPG3 || XPG4] (pthread_atfork): Likewise.
12472 [XPG3 || XPG4] (pwrite): Likewise.
12473
ee663277
JM
12474 [BZ #14835]
12475 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12476 <bits/siginfo.h>.
12477
942caa16
PT
124782012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12479
e19af380
PT
12480 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12481 finalizing MALLSTREAM.
12482
942caa16
PT
12483 * sysdeps/mach/hurd/syncfs.c: New file.
12484
cfde9b46
SP
124852012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12486
12487 [BZ #14719]
12488 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12489 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12490 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12491 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12492 (_nss_dns_gethostbyname4_r): Likewise.
12493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12494 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12495
f6da27e5
PH
124962012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12497
12498 [BZ #13763]
12499 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12500
6665d4a2
SM
125012012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12502
1f51ee92
SM
12503 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12504 * elf/cache.c (print_entry): Print ",AArch64" for
12505 FLAG_AARCH64_LIB64
12506
6665d4a2
SM
12507 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12508 * elf/cache.c (print_entry): Print ",hard-float" for
12509 FLAG_ARM_LIBHF.
12510
05b227bd
DM
125112012-11-18 David S. Miller <davem@davemloft.net>
12512
12513 With help from Joseph Myers.
12514 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12515 cutoff to 2**-13.
12516 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12517 cutoff to 2**-25.
12518 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12519 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12520 small.
12521 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12522 * math/libm-test.inc (y0_test): New tests.
12523 (y1_test): New tests.
12524 * sysdeps/i386/fpu/libm-test-ulps: Update.
12525 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12527
786b0b67
AS
125282012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12529
12530 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12531 64-bit targets.
12532 * configure: Regenerated.
12533
8e18b86d
DM
125342012-11-17 David S. Miller <davem@davemloft.net>
12535
12536 [BZ #14811]
12537 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12538 nonzero exponents with absolute value below 0x1p-128 to +/-
12539 0x1p-128.
12540
531f1ae0
JM
125412012-11-17 Joseph Myers <joseph@codesourcery.com>
12542
12df29e2
JM
12543 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12544
150dc1a0
JM
12545 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12546
531f1ae0
JM
12547 * posix/getconf-speclist.c: New file.
12548 * posix/posix-envs.def: Likewise.
12549 * posix/confstr.c (START_ENV_GROUP): New macro.
12550 (END_ENV_GROUP): Likewise.
12551 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12552 (KNOWN_PRESENT_ENV_STRING): Likewise.
12553 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12554 (UNKNOWN_ENVIRONMENT): Likewise.
12555 (confstr): Include posix-envs.def instead of handling
12556 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12557 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12558 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12559 (END_ENV_GROUP): Likewise.
12560 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12561 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12562 (UNKNOWN_ENVIRONMENT): Likewise.
12563 (__sysconf): Include posix-envs.def instead of handling associated
12564 cases directly here.
12565 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12566 preprocessing getconf-speclist.c rather than running getconf or
12567 generating empty file.
12568
a93f9cbc
PT
125692012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12570
12571 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12572
d64d9f87
AL
125732012-11-16 Andrej Lajovic <natrij@gmail.com>
12574
12575 [BZ #14672]
12576 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12577
447885eb
DM
125782012-11-16 David S. Miller <davem@davemloft.net>
12579
12580 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12581 smaller than LDBL_EPSILON/2.0L, just return xm1.
12582
bcbf9830
L
125832012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12584
12585 * elf/tst-array1.c (init): Set constructor priority to 1000.
12586 (fini): Set destructor priority to 1000.
12587 * elf/tst-array2dep.c: Likewise.
12588
2b766585
SP
125892012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12590
12591 [BZ #11741]
12592 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12593 (_IO_new_file_xsputn): Also return EOF if none of the input
12594 data was written when overflow failed.
12595 * libio/iopadn.c (_IO_padn): Likewise.
12596 * libio/iowpadn.c (_IO_wpadn): Likewise.
12597 * stdio-common/tst-put-error.c: Add copyright notice.
12598 (do_test): Add case for printing padded string.
12599 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12600 _IO_padn returned error.
12601 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12602 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12603 return EOF.
12604
b1848fde
SP
126052012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12606
12607 * libio/libioP.h: Add comment note that the references to C++
12608 bits are now obsolete.
12609
2fd89785
MS
126102012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12611
12612 * math/libm-test.inc (check_complex): Use asprintf.
12613
e3ea5409
JM
126142012-11-14 Joseph Myers <joseph@codesourcery.com>
12615
12616 * debug/pcprofiledump.c (print_version): Update copyright year.
12617 * malloc/memusagestat.c (print_version): Likewise.
12618
2e64d265
L
126192012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12620
12621 [BZ #14831]
12622 * elf/Makefile (tests): Add tst-audit8.
12623 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12624 ($(objpfx)tst-audit8.out): New target.
12625 (tst-audit8-ENV): New variable.
12626 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12627 audit if l_reloc_result is NULL.
12628 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12629 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12630 * elf/tst-audit8.c: New file.
12631
c485e4d2
MS
126322012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12633
12634 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12635 * misc/Makefile (CFLAGS-select.c): Define.
12636 * posix/Makefile (CFLAGS-pause.c): Define.
12637
3a0d900a
DM
126382012-11-13 David S. Miller <davem@davemloft.net>
12639
12640 * crypt/Makefile: Move test targets after toplevel Rules
12641 inclusion. Grab any necessary sysdep routines when linking.
12642 * crypt/md5.c (md5_process_block): Remove define, we will always
12643 name it __md5_process_block.
12644 (md5_finish_ctx): Update md5_process_block call.
12645 (md5_stream): Likewise.
12646 (md5_process_bytes): Likewise.
12647 (md5_process_block): Rename to __md5_process_block and move to ...
12648 * crypt/md5-block.c: ... here.
12649 * crypt/sha256.c (sha256_process_block): Move to ...
12650 * crypt/sha256-block.c: ... here.
12651 * crypt/sha512.c (sha512_process_block): Move to ...
12652 * crypt/sha512-block.c: ... here.
12653 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12654 path.
12655 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12656 * sysdeps/sparc/sparc64/multiarch/Makefile
12657 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12658 crypt subdir.
12659 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12661 multiarch changes.
12662 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12663 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12664 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12665 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12666 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12667 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12668 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12669 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12670 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12671 file.
12672 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12673 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12674 file.
12675 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12676
8ca89318
JM
126772012-11-13 Joseph Myers <joseph@codesourcery.com>
12678
e27d476a
JM
12679 * timezone/tzselect.ksh: Update from tzcode git revision
12680 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12681 * timezone/zdump.c: Likewise.
12682 * timezone/zic.c: Likewise.
12683 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12684 in TZVERSION setting, not $(PKGVERSION).
12685 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12686 REPORT_BUGS_TO settings.
12687
8ca89318
JM
12688 [BZ #14838]
12689 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12690 macro.
12691
47594329
MS
126922012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12693
12694 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12695 detection to immediately after _FP_ROUND().
12696 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12697 bits are 0.
12698
640ac3f1
DM
126992012-11-11 David S. Miller <davem@davemloft.net>
12700
12701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12702 inttypes.h
12703 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12704 __close rather than their public counterparts.
12705
3d2577bb
JM
127062012-11-10 Joseph Myers <joseph@codesourcery.com>
12707
12708 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12709 file.
12710 [UNIX98] (sem_timedwait): Do not expect.
12711 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12712 [XPG4 || UNIX98] (sockatmark): Do not expect.
12713 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12714 (clock_getcpuclockid): Do not expect.
12715 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12716 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12717 Do not expect.
12718 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12719 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12720 [UNIX98] (vwscanf): Likewise.
12721 [UNIX98] (vswscanf): Likewise.
12722
fb1ae1ee
JM
127232012-11-09 Joseph Myers <joseph@codesourcery.com>
12724
9ec6f8bd
JM
12725 * timezone/version.h: Remove file.
12726 * timezone/README: Do not refer to version.h.
12727 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12728 $(objpfx)version.h.
12729 ($(objpfx)zdump.o): Likewise.
c3f81911 12730 ($(objpfx)version.h): New target.
9ec6f8bd 12731
0aa8f8a1
JM
12732 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12733 2012i.
12734 * timezone/README: Don't mention modification to tzselect.ksh.
12735 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12736 work on unmodified tzselect.ksh. Substitute version numbers in
12737 tzselect.ksh.
12738
4e87147f
JM
12739 * Makefile (format-me): Remove.
12740 (INSTALL): Adjust indentation. Use commands directly instead of
12741 using $(format-me).
12742
8b748aed
JM
12743 * aclocal.m4 (ACX_PKGVERSION): New macro.
12744 (ACX_BUGURL): Likewise.
12745 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12746 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12747 (REPORT_BUGS_TO): Likewise.
12748 * configure: Regenerated.
12749 * config.h.in (PKGVERSION): New macro.
12750 (REPORT_BUGS_TO): Likewise.
12751 * config.make.in (PKGVERSION): New variable.
12752 (PKGVERSION_TEXI): Likewise.
12753 (REPORT_BUGS_TO): Likewise.
12754 (REPORT_BUGS_TEXI): Likewise.
12755 * Makefile (format-me): Use -I$(common-objpfx)manual.
12756 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12757 ($(common-objpfx)manual/%): New target.
12758 (manual/%): Remove target.
12759 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12760 (print_version): Use PKGVERSION.
12761 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12762 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12763 and REPORT_BUGS_TO.
12764 ($(objpfx)xtrace): Likewise.
12765 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12766 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12767 (print_version): Use PKGVERSION.
12768 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12769 (do_version): Use PKGVERSION.
12770 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12771 REPORT_BUGS_TO.
12772 (common-ldd-rewrite): Likewise.
12773 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12774 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12775 (print_version): Use PKGVERSION.
12776 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12777 * elf/pldd.c (argp_program_bug_address): Remove variable.
12778 (more_help): New function.
12779 (argp): Use more_help.
12780 (print_version): Use PKGVERSION.
12781 * elf/sln.c (main): Use PKGVERSION.
12782 (usage): Use REPORT_BUGS_TO.
12783 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12784 (top level): Use PKGVERSION.
12785 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12786 (print_version): Use PKGVERSION.
12787 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12788 (print_version): Use PKGVERSION.
12789 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12790 (print_version): Use PKGVERSION.
12791 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12792 (print_version): Use PKGVERSION.
12793 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12794 (print_version): Use PKGVERSION.
12795 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12796 (print_version): Use PKGVERSION.
12797 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12798 and BUGURL.
12799 ($(objpfx)memusage): Likewise.
12800 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12801 (do_version): Use PKGVERSION.
12802 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12803 (print_version): Use PKGVERSION.
12804 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12805 ($PKGVERSION): New variable.
12806 ($REPORT_BUGS_TO): Likewise.
12807 (usage): Use $REPORT_BUGS_TO.
12808 (top level): Use $PKGVERSION.
12809 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12810 ($(objpfx)pkgvers.texi): New rule.
12811 ($(objpfx)stamp-pkgvers): Likewise.
12812 * manual/install.texi: Include pkgvers.texi.
12813 (--with-pkgversion): Document new configure option.
12814 (--with-bugurl): Likewise.
12815 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12816 than necessarily for this particular distribution. Use
12817 REPORT_BUGS_TO for where to report bugs.
12818 * INSTALL: Regenerated.
12819 * manual/libc.texinfo: Include pkgvers.texi.
12820 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12821 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12822 (print_version): Use PKGVERSION.
12823 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12824 (print_version): Use PKGVERSION.
12825 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12826 (print_version): Use PKGVERSION.
12827 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12828 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12829 macro.
12830 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12831 (print_version): Use PKGVERSION.
12832 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12833 (print_version): Use PKGVERSION.
12834 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12835 and PKGVERSION.
12836
92e4b6a9
JM
12837 * timezone/checktab.awk: Update from tzcode 2012i.
12838 * timezone/ialloc.c: Likewise.
12839 * timezone/private.h: Likewise.
12840 * timezone/scheck.c: Likewise.
12841 * timezone/tzfile.h: Likewise.
12842 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12843 (TZVERSION): Hardcode tzcode version number.
12844 * timezone/zdump.c: Update from tzcode 2012i.
12845 * timezone/zic.c: Likewise.
12846 * timezone/version.h: New file.
12847 * timezone/README: Describe version.h. Update upstream location.
12848
9bde902c
JM
12849 [BZ #14824]
12850 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12851 (mktemp): Enable declaration.
12852 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12853 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12854 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12855 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12856 Likewise.
12857 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12858 Likewise.
12859 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12860 Likewise.
12861 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12862 Likewise.
12863 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12864 Likewise.
12865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12866 Likewise.
12867
fb1ae1ee
JM
12868 [BZ #14821]
12869 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12870 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12871 for copies of such integer values.
12872 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12873 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12874
2c1adbcb
AJ
128752012-11-09 Andreas Jaeger <aj@suse.de>
12876
12877 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12878 definitions and declarations that are provided by
12879 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12880
d0f8457e
AK
128812012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12882
3a235abb 12883 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12884 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12885 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12886 definition.
12887
57241e26
MS
128882012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12889
12890 * elf/elf.h: Update comment before AArch64 relocations.
12891
60e8270d
DM
128922012-11-07 David S. Miller <davem@davemloft.net>
12893
12894 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12895 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12896 (__start_context): Declare.
12897 (__makecontext_ret): Delete.
12898 (__makecontext): Hook up __start_context instead of
12899 __makecontext_ret.
12900 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12901 (sysdep_routines): Add __start_context when in stdlib.
12902
0fbb0fbc
JM
129032012-11-07 Joseph Myers <joseph@codesourcery.com>
12904
12905 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12906 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12907 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12908 hardcoded "nm".
12909 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12910 (READELF): New variable. Use it instead of hardcoded "readelf".
12911
eb48db7e
L
129122012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12913
12914 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12915 * sysdeps/x86/Makefile: Here.
12916 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12917 * sysdeps/x86/tst-xmmymm.sh: This.
12918
05bcf62a
JM
129192012-11-07 Joseph Myers <joseph@codesourcery.com>
12920
c4b6cf53
JM
12921 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12922 expectations.
12923 [UNIX98] (pthread_barrier_t): Do not expect.
12924 [UNIX98] (pthread_barrierattr_t): Likewise.
12925 [UNIX98] (pthread_spinlock_t): Likewise.
12926 [UNIX98] (pthread_barrier_destroy): Likewise.
12927 [UNIX98] (pthread_barrier_init): Likewise.
12928 [UNIX98] (pthread_barrier_wait): Likewise.
12929 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12930 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12931 [UNIX98] (pthread_barrierattr_init): Likewise.
12932 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12933 [UNIX98] (pthread_getcpuclockid): Likewise.
12934 [UNIX98] (pthread_mutex_timedlock): Likewise.
12935 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12936 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12937 [UNIX98] (pthread_sigmask): Likewise.
12938 [UNIX98] (pthread_spin_destroy): Likewise.
12939 [UNIX98] (pthread_spin_init): Likewise.
12940 [UNIX98] (pthread_spin_lock): Likewise.
12941 [UNIX98] (pthread_spin_trylock): Likewise.
12942 [UNIX98] (pthread_spin_unlock): Likewise.
12943 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12944 Do not expect.
12945 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12946 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12947 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12948 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12949 [XPG3 || XPG4] (pthread_key_t): Likewise.
12950 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12951 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12952 [XPG3 || XPG4] (pthread_once_t): Likewise.
12953 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12954 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12955 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12956 [XPG3 || XPG4] (pthread_t): Likewise.
12957
cbe6e120
JM
12958 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12959 not expect.
12960 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12961
1b126443
JM
12962 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12963 Change function return type to int.
12964
b961a573
JM
12965 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12966 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12967 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12968 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12969 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12970 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12971 [!POSIX] (posix_madvise): Likewise.
12972 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12973 && !UNIX98].
12974 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12975 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12976 (mode_t): Likewise.
12977 (posix_mem_offset): Likewise.
12978 (posix_typed_mem_get_info): Likewise.
12979 (posix_typed_mem_open): Likewise.
12980
9e188909
JM
12981 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12982 Change condition to [XOPEN2K8].
12983
05bcf62a
JM
12984 * conform/conformtest.pl: Preprocess allow-header data with -x c
12985 instead of from stdin.
12986 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12987 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12988 [C99-based standards] (cerfc): Likewise.
12989 [C99-based standards] (cexp2): Likewise.
12990 [C99-based standards] (cexpm1): Likewise.
12991 [C99-based standards] (clog10): Likewise.
12992 [C99-based standards] (clog1p): Likewise.
12993 [C99-based standards] (clog2): Likewise.
12994 [C99-based standards] (clgamma): Likewise.
12995 [C99-based standards] (ctgamma): Likewise.
12996 [C99-based standards] (cerff): Likewise.
12997 [C99-based standards] (cerfcf): Likewise.
12998 [C99-based standards] (cexp2f): Likewise.
12999 [C99-based standards] (cexpm1f): Likewise.
13000 [C99-based standards] (clog10f): Likewise.
13001 [C99-based standards] (clog1pf): Likewise.
13002 [C99-based standards] (clog2f): Likewise.
13003 [C99-based standards] (clgammaf): Likewise.
13004 [C99-based standards] (ctgammaf): Likewise.
13005 [C99-based standards] (cerfl): Likewise.
13006 [C99-based standards] (cerfcl): Likewise.
13007 [C99-based standards] (cexp2l): Likewise.
13008 [C99-based standards] (cexpm1l): Likewise.
13009 [C99-based standards] (clog10l): Likewise.
13010 [C99-based standards] (clog1pl): Likewise.
13011 [C99-based standards] (clog2l): Likewise.
13012 [C99-based standards] (clgammal): Likewise.
13013 [C99-based standards] (ctgammal): Likewise.
13014 * conform/data/inttypes.h-data [C99-based standards]: Include
13015 stdint.h-data. Remove all expectations for stdint.h contents.
13016 [C99-based standards] (PRI*): Do not allow.
13017 [C99-based standards] (SCN*): Likewise.
13018 [C99-based standards] (*_t): Likewise.
13019 [C99-based-standards] (PRId8): Expect macro.
13020 [C99-based-standards] (PRIi8): Likewise.
13021 [C99-based-standards] (PRIo8): Likewise.
13022 [C99-based-standards] (PRIu8): Likewise.
13023 [C99-based-standards] (PRIx8): Likewise.
13024 [C99-based-standards] (PRIX8): Likewise.
13025 [C99-based-standards] (SCNd8): Likewise.
13026 [C99-based-standards] (SCNi8): Likewise.
13027 [C99-based-standards] (SCNo8): Likewise.
13028 [C99-based-standards] (SCNu8): Likewise.
13029 [C99-based-standards] (SCNx8): Likewise.
13030 [C99-based-standards] (PRIdLEAST8): Likewise.
13031 [C99-based-standards] (PRIiLEAST8): Likewise.
13032 [C99-based-standards] (PRIoLEAST8): Likewise.
13033 [C99-based-standards] (PRIuLEAST8): Likewise.
13034 [C99-based-standards] (PRIxLEAST8): Likewise.
13035 [C99-based-standards] (PRIXLEAST8): Likewise.
13036 [C99-based-standards] (SCNdLEAST8): Likewise.
13037 [C99-based-standards] (SCNiLEAST8): Likewise.
13038 [C99-based-standards] (SCNoLEAST8): Likewise.
13039 [C99-based-standards] (SCNuLEAST8): Likewise.
13040 [C99-based-standards] (SCNxLEAST8): Likewise.
13041 [C99-based-standards] (PRIdFAST8): Likewise.
13042 [C99-based-standards] (PRIiFAST8): Likewise.
13043 [C99-based-standards] (PRIoFAST8): Likewise.
13044 [C99-based-standards] (PRIuFAST8): Likewise.
13045 [C99-based-standards] (PRIxFAST8): Likewise.
13046 [C99-based-standards] (PRIXFAST8): Likewise.
13047 [C99-based-standards] (SCNdFAST8): Likewise.
13048 [C99-based-standards] (SCNiFAST8): Likewise.
13049 [C99-based-standards] (SCNoFAST8): Likewise.
13050 [C99-based-standards] (SCNuFAST8): Likewise.
13051 [C99-based-standards] (SCNxFAST8): Likewise.
13052 [C99-based-standards] (PRId16): Likewise.
13053 [C99-based-standards] (PRIi16): Likewise.
13054 [C99-based-standards] (PRIo16): Likewise.
13055 [C99-based-standards] (PRIu16): Likewise.
13056 [C99-based-standards] (PRIx16): Likewise.
13057 [C99-based-standards] (PRIX16): Likewise.
13058 [C99-based-standards] (SCNd16): Likewise.
13059 [C99-based-standards] (SCNi16): Likewise.
13060 [C99-based-standards] (SCNo16): Likewise.
13061 [C99-based-standards] (SCNu16): Likewise.
13062 [C99-based-standards] (SCNx16): Likewise.
13063 [C99-based-standards] (PRIdLEAST16): Likewise.
13064 [C99-based-standards] (PRIiLEAST16): Likewise.
13065 [C99-based-standards] (PRIoLEAST16): Likewise.
13066 [C99-based-standards] (PRIuLEAST16): Likewise.
13067 [C99-based-standards] (PRIxLEAST16): Likewise.
13068 [C99-based-standards] (PRIXLEAST16): Likewise.
13069 [C99-based-standards] (SCNdLEAST16): Likewise.
13070 [C99-based-standards] (SCNiLEAST16): Likewise.
13071 [C99-based-standards] (SCNoLEAST16): Likewise.
13072 [C99-based-standards] (SCNuLEAST16): Likewise.
13073 [C99-based-standards] (SCNxLEAST16): Likewise.
13074 [C99-based-standards] (PRIdFAST16): Likewise.
13075 [C99-based-standards] (PRIiFAST16): Likewise.
13076 [C99-based-standards] (PRIoFAST16): Likewise.
13077 [C99-based-standards] (PRIuFAST16): Likewise.
13078 [C99-based-standards] (PRIxFAST16): Likewise.
13079 [C99-based-standards] (PRIXFAST16): Likewise.
13080 [C99-based-standards] (SCNdFAST16): Likewise.
13081 [C99-based-standards] (SCNiFAST16): Likewise.
13082 [C99-based-standards] (SCNoFAST16): Likewise.
13083 [C99-based-standards] (SCNuFAST16): Likewise.
13084 [C99-based-standards] (SCNxFAST16): Likewise.
13085 [C99-based-standards] (PRId32): Likewise.
13086 [C99-based-standards] (PRIi32): Likewise.
13087 [C99-based-standards] (PRIo32): Likewise.
13088 [C99-based-standards] (PRIu32): Likewise.
13089 [C99-based-standards] (PRIx32): Likewise.
13090 [C99-based-standards] (PRIX32): Likewise.
13091 [C99-based-standards] (SCNd32): Likewise.
13092 [C99-based-standards] (SCNi32): Likewise.
13093 [C99-based-standards] (SCNo32): Likewise.
13094 [C99-based-standards] (SCNu32): Likewise.
13095 [C99-based-standards] (SCNx32): Likewise.
13096 [C99-based-standards] (PRIdLEAST32): Likewise.
13097 [C99-based-standards] (PRIiLEAST32): Likewise.
13098 [C99-based-standards] (PRIoLEAST32): Likewise.
13099 [C99-based-standards] (PRIuLEAST32): Likewise.
13100 [C99-based-standards] (PRIxLEAST32): Likewise.
13101 [C99-based-standards] (PRIXLEAST32): Likewise.
13102 [C99-based-standards] (SCNdLEAST32): Likewise.
13103 [C99-based-standards] (SCNiLEAST32): Likewise.
13104 [C99-based-standards] (SCNoLEAST32): Likewise.
13105 [C99-based-standards] (SCNuLEAST32): Likewise.
13106 [C99-based-standards] (SCNxLEAST32): Likewise.
13107 [C99-based-standards] (PRIdFAST32): Likewise.
13108 [C99-based-standards] (PRIiFAST32): Likewise.
13109 [C99-based-standards] (PRIoFAST32): Likewise.
13110 [C99-based-standards] (PRIuFAST32): Likewise.
13111 [C99-based-standards] (PRIxFAST32): Likewise.
13112 [C99-based-standards] (PRIXFAST32): Likewise.
13113 [C99-based-standards] (SCNdFAST32): Likewise.
13114 [C99-based-standards] (SCNiFAST32): Likewise.
13115 [C99-based-standards] (SCNoFAST32): Likewise.
13116 [C99-based-standards] (SCNuFAST32): Likewise.
13117 [C99-based-standards] (SCNxFAST32): Likewise.
13118 [C99-based-standards] (PRId64): Likewise.
13119 [C99-based-standards] (PRIi64): Likewise.
13120 [C99-based-standards] (PRIo64): Likewise.
13121 [C99-based-standards] (PRIu64): Likewise.
13122 [C99-based-standards] (PRIx64): Likewise.
13123 [C99-based-standards] (PRIX64): Likewise.
13124 [C99-based-standards] (SCNd64): Likewise.
13125 [C99-based-standards] (SCNi64): Likewise.
13126 [C99-based-standards] (SCNo64): Likewise.
13127 [C99-based-standards] (SCNu64): Likewise.
13128 [C99-based-standards] (SCNx64): Likewise.
13129 [C99-based-standards] (PRIdLEAST64): Likewise.
13130 [C99-based-standards] (PRIiLEAST64): Likewise.
13131 [C99-based-standards] (PRIoLEAST64): Likewise.
13132 [C99-based-standards] (PRIuLEAST64): Likewise.
13133 [C99-based-standards] (PRIxLEAST64): Likewise.
13134 [C99-based-standards] (PRIXLEAST64): Likewise.
13135 [C99-based-standards] (SCNdLEAST64): Likewise.
13136 [C99-based-standards] (SCNiLEAST64): Likewise.
13137 [C99-based-standards] (SCNoLEAST64): Likewise.
13138 [C99-based-standards] (SCNuLEAST64): Likewise.
13139 [C99-based-standards] (SCNxLEAST64): Likewise.
13140 [C99-based-standards] (PRIdFAST64): Likewise.
13141 [C99-based-standards] (PRIiFAST64): Likewise.
13142 [C99-based-standards] (PRIoFAST64): Likewise.
13143 [C99-based-standards] (PRIuFAST64): Likewise.
13144 [C99-based-standards] (PRIxFAST64): Likewise.
13145 [C99-based-standards] (PRIXFAST64): Likewise.
13146 [C99-based-standards] (SCNdFAST64): Likewise.
13147 [C99-based-standards] (SCNiFAST64): Likewise.
13148 [C99-based-standards] (SCNoFAST64): Likewise.
13149 [C99-based-standards] (SCNuFAST64): Likewise.
13150 [C99-based-standards] (SCNxFAST64): Likewise.
13151 [C99-based-standards] (PRIdMAX): Likewise.
13152 [C99-based-standards] (PRIiMAX): Likewise.
13153 [C99-based-standards] (PRIoMAX): Likewise.
13154 [C99-based-standards] (PRIuMAX): Likewise.
13155 [C99-based-standards] (PRIxMAX): Likewise.
13156 [C99-based-standards] (PRIXMAX): Likewise.
13157 [C99-based-standards] (SCNdMAX): Likewise.
13158 [C99-based-standards] (SCNiMAX): Likewise.
13159 [C99-based-standards] (SCNoMAX): Likewise.
13160 [C99-based-standards] (SCNuMAX): Likewise.
13161 [C99-based-standards] (SCNxMAX): Likewise.
13162 [C99-based-standards] (PRIdPTR): Likewise.
13163 [C99-based-standards] (PRIiPTR): Likewise.
13164 [C99-based-standards] (PRIoPTR): Likewise.
13165 [C99-based-standards] (PRIuPTR): Likewise.
13166 [C99-based-standards] (PRIxPTR): Likewise.
13167 [C99-based-standards] (PRIXPTR): Likewise.
13168 [C99-based-standards] (SCNdPTR): Likewise.
13169 [C99-based-standards] (SCNiPTR): Likewise.
13170 [C99-based-standards] (SCNoPTR): Likewise.
13171 [C99-based-standards] (SCNuPTR): Likewise.
13172 [C99-based-standards] (SCNxPTR): Likewise.
13173 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13174 allow.
13175 * conform/data/stdint.h-data: Update comments to clarify
13176 requirements.
13177 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13178 type.
13179 [C99-based standards] (INT8_MAX): Likewise.
13180 [C99-based standards] (INT16_MIN): Likewise.
13181 [C99-based standards] (INT16_MAX): Likewise.
13182 [C99-based standards] (INT32_MIN): Likewise.
13183 [C99-based standards] (INT32_MAX): Likewise.
13184 [C99-based standards] (INT64_MIN): Likewise.
13185 [C99-based standards] (INT64_MAX): Likewise.
13186 [C99-based standards] (UINT8_MAX): Likewise.
13187 [C99-based standards] (UINT16_MAX): Likewise.
13188 [C99-based standards] (UINT32_MAX): Likewise.
13189 [C99-based standards] (UINT64_MAX): Likewise.
13190 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13191 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13192 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13193 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13194 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13195 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13196 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13197 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13198 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13199 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13200 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13201 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13202 [C99-based standards] (INT_FAST8_MIN): Likewise.
13203 [C99-based standards] (INT_FAST8_MAX): Likewise.
13204 [C99-based standards] (INT_FAST16_MIN): Likewise.
13205 [C99-based standards] (INT_FAST16_MAX): Likewise.
13206 [C99-based standards] (INT_FAST32_MIN): Likewise.
13207 [C99-based standards] (INT_FAST32_MAX): Likewise.
13208 [C99-based standards] (INT_FAST64_MIN): Likewise.
13209 [C99-based standards] (INT_FAST64_MAX): Likewise.
13210 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13211 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13212 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13213 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13214 [C99-based standards] (INTPTR_MIN): Likewise.
13215 [C99-based standards] (INTPTR_MAX): Likewise.
13216 [C99-based standards] (UINTPTR_MAX): Likewise.
13217 [C99-based standards] (INTMAX_MIN): Likewise.
13218 [C99-based standards] (INTMAX_MAX): Likewise.
13219 [C99-based standards] (UINTMAX_MAX): Likewise.
13220 [C99-based standards] (PTRDIFF_MIN): Likewise.
13221 [C99-based standards] (PTRDIFF_MAX): Likewise.
13222 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13223 [C99-based standards] (SIZE_MAX): Likewise.
13224 [C99-based standards] (WCHAR_MAX): Likewise.
13225 [C99-based standards] (WINT_MAX): Likewise.
13226 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13227 constraint on value.
13228 [C99-based standards] (WCHAR_MIN): Likewise.
13229 [C99-based standards] (WINT_MIN): Likewise.
13230 [C99-based standards] (*_t): Allow.
13231 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13232 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13233 Include math.h-data and complex.h-data. Remove all expectations
13234 of math.h and complex.h contents.
13235 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13236 at end of line.
13237 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13238 (struct tm): Expect tag.
13239 [C99-based-standards] (wcstof): Expect function.
13240 [C99-based-standards] (wcstold): Likewise.
13241 [C99-based-standards] (wcstoll): Likewise.
13242 [C99-based-standards] (wcstoull): Likewise.
13243 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13244 macro-int-constant. Specify type.
13245 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13246 constraint on value.
13247 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13248 Specify type.
13249 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13250 Specify value.
13251 [ISO C standards]: Do not allow headers.
13252 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13253 wcs[abcdefghijklmnopqrstuvwxyz]*.
13254 [ISO C standards] (*_t): Do not allow.
13255 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13256 Expect function.
13257 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13258 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13259 Specify type.
13260 [ISO C standards]: Do not allow headers.
13261 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13262 is[abcdefghijklmnopqrstuvwxyz]*.
13263 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13264 to[abcdefghijklmnopqrstuvwxyz]*.
13265 [ISO C standards] (*_t): Do not allow.
13266 * conform/data/stdalign.h-data: New file.
13267 * conform/data/stdbool.h-data: Likewise.
13268 * conform/data/stdnoreturn.h-data: Likewise.
13269
7514feb8
RM
132702012-11-07 Roland McGrath <roland@hack.frob.com>
13271
13272 [BZ #14815]
13273 * manual/filesys.texi (Directory Entries): Typo fix.
13274 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13275
19b2ecfc
MS
132762012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13277
13278 * elf/elf.h (EM_AARCH64): New macro.
13279 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13280 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13281 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13282 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13283 (R_AARCH64_TLSDESC): Likewise.
13284 (NT_ARM_TLS): Likewise.
13285 (NT_ARM_HW_BREAK): Likewise.
13286 (NT_ARM_HW_WATCH): Likewise.
13287
60e235ee
JM
132882012-11-07 Joseph Myers <joseph@codesourcery.com>
13289
13290 [BZ #14811]
13291 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13292 (__ieee754_powl): Saturate nonzero exponents with absolute value
13293 below 0x1p-79 to +/- 0x1p-79.
13294 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13295 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13296 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13297 nonzero exponents with absolute value below 0x1p-32 to +/-
13298 0x1p-32.
13299 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13300 (__ieee754_powl): Saturate nonzero exponents with absolute value
13301 below 0x1p-79 to +/- 0x1p-79.
13302 * math/libm-test.inc (pow_test): Add more tests.
13303
0ab234b7
AK
133042012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13305
13306 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13307 _dl_s390_cap_flags with kernel. Increase string length.
13308 (_dl_s390_platforms): Add z196 and zEC12.
13309
45832f74
JM
133102012-11-07 Joseph Myers <joseph@codesourcery.com>
13311
13312 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13313 Change XOPEN21K to XOPEN2K.
13314
19218757
MK
133152012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13316
13317 * string/memmove.c: Use memcpy when possible.
13318
c5f45721
AJ
133192012-11-06 Andreas Jaeger <aj@suse.de>
13320
13321 * po/eo.po: Update from translation team.
13322
82477c28
JM
133232012-11-06 Joseph Myers <joseph@codesourcery.com>
13324
13325 [BZ #14793]
13326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13327 exponent and small x and y exponents, scale x or y up. Increase
13328 by 2 the exponent used in scaling up.
13329 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13330 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13331 * math/libm-test.inc (fma_test): Add more tests.
13332 (fma_test_towardzero): Likewise.
13333 (fma_test_downward): Likewise.
13334 (fma_test_upward): Likewise.
13335
99252c8c
JM
133362012-11-05 Joseph Myers <joseph@codesourcery.com>
13337
acfa885f
JM
13338 [BZ #14805]
13339 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13340 fenv_t *.
13341
99252c8c
JM
13342 [BZ #14801]
13343 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13344 namespace for names of struct fields.
13345 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13346 fenv_t fields.
13347 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13348 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13349
d6d98dea
ST
133502012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13351
13352 [BZ #3665]
13353 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13354
e10bb107
TS
133552012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13356
13357 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13358 PTR_DEMANGLE.
13359
13360 [BZ #5246]
13361 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13362 PTR_DEMANGLE.
13363
a0c2940d
JM
133642012-11-04 Joseph Myers <joseph@codesourcery.com>
13365
13366 [BZ #14797]
13367 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13368 definitely overflow as x * y not x * y + z.
13369 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13370 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13371 * math/libm-test.inc (fma_test): Add more tests.
13372 (fma_test_towardzero): Likewise.
13373 (fma_test_downward): Likewise.
13374 (fma_test_upward): Likewise.
13375
b830319d
TS
133762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13377
13378 [BZ #157]
13379
13380 * include/stub-tag.h: Remove file.
13381 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13382 '#include' of it.
13383 * manual/maint.texi (Porting): Don't reference it.
13384 * Makerules ($(objpfx)stubs): Likewise.
13385 * dirent/closedir.c: Don't include <stub-tag.h>.
13386 * dirent/dirfd.c: Likewise.
13387 * dirent/fdopendir.c: Likewise.
13388 * dirent/getdents.c: Likewise.
13389 * dirent/getdents64.c: Likewise.
13390 * dirent/opendir.c: Likewise.
13391 * dirent/readdir.c: Likewise.
13392 * dirent/readdir64.c: Likewise.
13393 * dirent/readdir64_r.c: Likewise.
13394 * dirent/readdir_r.c: Likewise.
13395 * dirent/rewinddir.c: Likewise.
13396 * dirent/seekdir.c: Likewise.
13397 * dirent/telldir.c: Likewise.
13398 * gmon/profil.c: Likewise.
13399 * grp/setgroups.c: Likewise.
13400 * inet/if_index.c: Likewise.
13401 * io/access.c: Likewise.
13402 * io/chdir.c: Likewise.
13403 * io/chmod.c: Likewise.
13404 * io/chown.c: Likewise.
13405 * io/close.c: Likewise.
13406 * io/dup.c: Likewise.
13407 * io/dup2.c: Likewise.
13408 * io/dup3.c: Likewise.
13409 * io/euidaccess.c: Likewise.
13410 * io/faccessat.c: Likewise.
13411 * io/fchdir.c: Likewise.
13412 * io/fchmod.c: Likewise.
13413 * io/fchmodat.c: Likewise.
13414 * io/fchown.c: Likewise.
13415 * io/fchownat.c: Likewise.
13416 * io/fcntl.c: Likewise.
13417 * io/flock.c: Likewise.
13418 * io/fstatfs.c: Likewise.
13419 * io/fstatfs64.c: Likewise.
13420 * io/fstatvfs.c: Likewise.
13421 * io/fstatvfs64.c: Likewise.
13422 * io/futimens.c: Likewise.
13423 * io/fxstat.c: Likewise.
13424 * io/fxstat64.c: Likewise.
13425 * io/fxstatat.c: Likewise.
13426 * io/fxstatat64.c: Likewise.
13427 * io/getcwd.c: Likewise.
13428 * io/isatty.c: Likewise.
13429 * io/lchmod.c: Likewise.
13430 * io/lchown.c: Likewise.
13431 * io/link.c: Likewise.
13432 * io/linkat.c: Likewise.
13433 * io/lseek.c: Likewise.
13434 * io/lseek64.c: Likewise.
13435 * io/lxstat64.c: Likewise.
13436 * io/mkdir.c: Likewise.
13437 * io/mkdirat.c: Likewise.
13438 * io/mkfifo.c: Likewise.
13439 * io/mkfifoat.c: Likewise.
13440 * io/open.c: Likewise.
13441 * io/open64.c: Likewise.
13442 * io/openat.c: Likewise.
13443 * io/openat64.c: Likewise.
13444 * io/pipe.c: Likewise.
13445 * io/pipe2.c: Likewise.
13446 * io/poll.c: Likewise.
13447 * io/posix_fadvise.c: Likewise.
13448 * io/posix_fadvise64.c: Likewise.
13449 * io/posix_fallocate.c: Likewise.
13450 * io/posix_fallocate64.c: Likewise.
13451 * io/read.c: Likewise.
13452 * io/readlink.c: Likewise.
13453 * io/readlinkat.c: Likewise.
13454 * io/rmdir.c: Likewise.
13455 * io/sendfile.c: Likewise.
13456 * io/sendfile64.c: Likewise.
13457 * io/statfs.c: Likewise.
13458 * io/statfs64.c: Likewise.
13459 * io/statvfs.c: Likewise.
13460 * io/statvfs64.c: Likewise.
13461 * io/symlink.c: Likewise.
13462 * io/symlinkat.c: Likewise.
13463 * io/ttyname.c: Likewise.
13464 * io/ttyname_r.c: Likewise.
13465 * io/umask.c: Likewise.
13466 * io/unlink.c: Likewise.
13467 * io/unlinkat.c: Likewise.
13468 * io/utime.c: Likewise.
13469 * io/utimensat.c: Likewise.
13470 * io/write.c: Likewise.
13471 * io/xmknod.c: Likewise.
13472 * io/xmknodat.c: Likewise.
13473 * io/xstat.c: Likewise.
13474 * io/xstat64.c: Likewise.
13475 * login/getpt.c: Likewise.
13476 * login/grantpt.c: Likewise.
13477 * login/unlockpt.c: Likewise.
13478 * math/e_acoshl.c: Likewise.
13479 * math/e_acosl.c: Likewise.
13480 * math/e_asinl.c: Likewise.
13481 * math/e_atan2l.c: Likewise.
13482 * math/e_atanhl.c: Likewise.
13483 * math/e_coshl.c: Likewise.
13484 * math/e_expl.c: Likewise.
13485 * math/e_fmodl.c: Likewise.
13486 * math/e_gammal_r.c: Likewise.
13487 * math/e_hypotl.c: Likewise.
13488 * math/e_j0l.c: Likewise.
13489 * math/e_j1l.c: Likewise.
13490 * math/e_jnl.c: Likewise.
13491 * math/e_lgammal_r.c: Likewise.
13492 * math/e_log10l.c: Likewise.
13493 * math/e_log2l.c: Likewise.
13494 * math/e_logl.c: Likewise.
13495 * math/e_powl.c: Likewise.
13496 * math/e_rem_pio2l.c: Likewise.
13497 * math/e_sinhl.c: Likewise.
13498 * math/e_sqrtl.c: Likewise.
13499 * math/fclrexcpt.c: Likewise.
13500 * math/fedisblxcpt.c: Likewise.
13501 * math/feenablxcpt.c: Likewise.
13502 * math/fegetenv.c: Likewise.
13503 * math/fegetexcept.c: Likewise.
13504 * math/fegetround.c: Likewise.
13505 * math/feholdexcpt.c: Likewise.
13506 * math/fesetenv.c: Likewise.
13507 * math/fesetround.c: Likewise.
13508 * math/feupdateenv.c: Likewise.
13509 * math/fgetexcptflg.c: Likewise.
13510 * math/fraiseexcpt.c: Likewise.
13511 * math/fsetexcptflg.c: Likewise.
13512 * math/ftestexcept.c: Likewise.
13513 * math/k_cosl.c: Likewise.
13514 * math/k_rem_pio2l.c: Likewise.
13515 * math/k_sinl.c: Likewise.
13516 * math/k_tanl.c: Likewise.
13517 * math/s_asinhl.c: Likewise.
13518 * math/s_atanl.c: Likewise.
13519 * math/s_cbrtl.c: Likewise.
13520 * math/s_erfl.c: Likewise.
13521 * math/s_expm1l.c: Likewise.
13522 * math/s_log1pl.c: Likewise.
13523 * math/s_tanhl.c: Likewise.
13524 * misc/acct.c: Likewise.
13525 * misc/brk.c: Likewise.
13526 * misc/chflags.c: Likewise.
13527 * misc/chroot.c: Likewise.
13528 * misc/fchflags.c: Likewise.
13529 * misc/fgetxattr.c: Likewise.
13530 * misc/flistxattr.c: Likewise.
13531 * misc/fremovexattr.c: Likewise.
13532 * misc/fsetxattr.c: Likewise.
13533 * misc/fsync.c: Likewise.
13534 * misc/ftruncate.c: Likewise.
13535 * misc/futimes.c: Likewise.
13536 * misc/futimesat.c: Likewise.
13537 * misc/getdomain.c: Likewise.
13538 * misc/getdtsz.c: Likewise.
13539 * misc/gethostid.c: Likewise.
13540 * misc/gethostname.c: Likewise.
13541 * misc/getloadavg.c: Likewise.
13542 * misc/getpagesize.c: Likewise.
13543 * misc/getsysstats.c: Likewise.
13544 * misc/getxattr.c: Likewise.
13545 * misc/gtty.c: Likewise.
13546 * misc/ioctl.c: Likewise.
13547 * misc/lgetxattr.c: Likewise.
13548 * misc/listxattr.c: Likewise.
13549 * misc/llistxattr.c: Likewise.
13550 * misc/lremovexattr.c: Likewise.
13551 * misc/lsetxattr.c: Likewise.
13552 * misc/lutimes.c: Likewise.
13553 * misc/madvise.c: Likewise.
13554 * misc/mincore.c: Likewise.
13555 * misc/mlock.c: Likewise.
13556 * misc/mlockall.c: Likewise.
13557 * misc/mmap.c: Likewise.
13558 * misc/mprotect.c: Likewise.
13559 * misc/msync.c: Likewise.
13560 * misc/munlock.c: Likewise.
13561 * misc/munlockall.c: Likewise.
13562 * misc/munmap.c: Likewise.
13563 * misc/preadv.c: Likewise.
13564 * misc/preadv64.c: Likewise.
13565 * misc/ptrace.c: Likewise.
13566 * misc/pwritev.c: Likewise.
13567 * misc/pwritev64.c: Likewise.
13568 * misc/readv.c: Likewise.
13569 * misc/reboot.c: Likewise.
13570 * misc/remap_file_pages.c: Likewise.
13571 * misc/removexattr.c: Likewise.
13572 * misc/revoke.c: Likewise.
13573 * misc/select.c: Likewise.
13574 * misc/setdomain.c: Likewise.
13575 * misc/setegid.c: Likewise.
13576 * misc/seteuid.c: Likewise.
13577 * misc/sethostid.c: Likewise.
13578 * misc/sethostname.c: Likewise.
13579 * misc/setregid.c: Likewise.
13580 * misc/setreuid.c: Likewise.
13581 * misc/setxattr.c: Likewise.
13582 * misc/sstk.c: Likewise.
13583 * misc/stty.c: Likewise.
13584 * misc/swapoff.c: Likewise.
13585 * misc/swapon.c: Likewise.
13586 * misc/sync.c: Likewise.
13587 * misc/syncfs.c: Likewise.
13588 * misc/syscall.c: Likewise.
13589 * misc/truncate.c: Likewise.
13590 * misc/ualarm.c: Likewise.
13591 * misc/usleep.c: Likewise.
13592 * misc/ustat.c: Likewise.
13593 * misc/utimes.c: Likewise.
13594 * misc/vhangup.c: Likewise.
13595 * misc/writev.c: Likewise.
13596 * posix/_exit.c: Likewise.
13597 * posix/alarm.c: Likewise.
13598 * posix/execve.c: Likewise.
13599 * posix/fexecve.c: Likewise.
13600 * posix/fork.c: Likewise.
13601 * posix/fpathconf.c: Likewise.
13602 * posix/getaddrinfo.c: Likewise.
13603 * posix/getegid.c: Likewise.
13604 * posix/geteuid.c: Likewise.
13605 * posix/getgid.c: Likewise.
13606 * posix/getgroups.c: Likewise.
13607 * posix/getlogin.c: Likewise.
13608 * posix/getlogin_r.c: Likewise.
13609 * posix/getpgid.c: Likewise.
13610 * posix/getpid.c: Likewise.
13611 * posix/getppid.c: Likewise.
13612 * posix/getresgid.c: Likewise.
13613 * posix/getresuid.c: Likewise.
13614 * posix/getsid.c: Likewise.
13615 * posix/getuid.c: Likewise.
13616 * posix/glob64.c: Likewise.
13617 * posix/nanosleep.c: Likewise.
13618 * posix/pathconf.c: Likewise.
13619 * posix/pause.c: Likewise.
13620 * posix/posix_madvise.c: Likewise.
13621 * posix/pread.c: Likewise.
13622 * posix/pread64.c: Likewise.
13623 * posix/pwrite.c: Likewise.
13624 * posix/pwrite64.c: Likewise.
13625 * posix/sched_getaffinity.c: Likewise.
13626 * posix/sched_getp.c: Likewise.
13627 * posix/sched_gets.c: Likewise.
13628 * posix/sched_primax.c: Likewise.
13629 * posix/sched_primin.c: Likewise.
13630 * posix/sched_rr_gi.c: Likewise.
13631 * posix/sched_setaffinity.c: Likewise.
13632 * posix/sched_setp.c: Likewise.
13633 * posix/sched_sets.c: Likewise.
13634 * posix/sched_yield.c: Likewise.
13635 * posix/setgid.c: Likewise.
13636 * posix/setlogin.c: Likewise.
13637 * posix/setpgid.c: Likewise.
13638 * posix/setresgid.c: Likewise.
13639 * posix/setresuid.c: Likewise.
13640 * posix/setsid.c: Likewise.
13641 * posix/setuid.c: Likewise.
13642 * posix/sleep.c: Likewise.
13643 * posix/spawni.c: Likewise.
13644 * posix/sysconf.c: Likewise.
13645 * posix/times.c: Likewise.
13646 * posix/wait.c: Likewise.
13647 * posix/wait3.c: Likewise.
13648 * posix/wait4.c: Likewise.
13649 * posix/waitpid.c: Likewise.
13650 * resolv/gai_sigqueue.c: Likewise.
13651 * resource/getpriority.c: Likewise.
13652 * resource/getrlimit.c: Likewise.
13653 * resource/getrusage.c: Likewise.
13654 * resource/nice.c: Likewise.
13655 * resource/setpriority.c: Likewise.
13656 * resource/setrlimit.c: Likewise.
13657 * resource/ulimit.c: Likewise.
13658 * rt/aio_cancel.c: Likewise.
13659 * rt/aio_fsync.c: Likewise.
13660 * rt/aio_read.c: Likewise.
13661 * rt/aio_sigqueue.c: Likewise.
13662 * rt/aio_suspend.c: Likewise.
13663 * rt/aio_write.c: Likewise.
13664 * rt/clock_getres.c: Likewise.
13665 * rt/clock_gettime.c: Likewise.
13666 * rt/clock_nanosleep.c: Likewise.
13667 * rt/clock_settime.c: Likewise.
13668 * rt/lio_listio.c: Likewise.
13669 * rt/mq_close.c: Likewise.
13670 * rt/mq_getattr.c: Likewise.
13671 * rt/mq_notify.c: Likewise.
13672 * rt/mq_open.c: Likewise.
13673 * rt/mq_receive.c: Likewise.
13674 * rt/mq_send.c: Likewise.
13675 * rt/mq_setattr.c: Likewise.
13676 * rt/mq_timedreceive.c: Likewise.
13677 * rt/mq_timedsend.c: Likewise.
13678 * rt/mq_unlink.c: Likewise.
13679 * rt/shm_open.c: Likewise.
13680 * rt/shm_unlink.c: Likewise.
13681 * rt/timer_create.c: Likewise.
13682 * rt/timer_delete.c: Likewise.
13683 * rt/timer_getoverr.c: Likewise.
13684 * rt/timer_gettime.c: Likewise.
13685 * rt/timer_settime.c: Likewise.
13686 * setjmp/__longjmp.c: Likewise.
13687 * setjmp/setjmp.c: Likewise.
13688 * signal/kill.c: Likewise.
13689 * signal/killpg.c: Likewise.
13690 * signal/raise.c: Likewise.
13691 * signal/sigaction.c: Likewise.
13692 * signal/sigaltstack.c: Likewise.
13693 * signal/sigblock.c: Likewise.
13694 * signal/sigignore.c: Likewise.
13695 * signal/sigintr.c: Likewise.
13696 * signal/signal.c: Likewise.
13697 * signal/sigpause.c: Likewise.
13698 * signal/sigpending.c: Likewise.
13699 * signal/sigqueue.c: Likewise.
13700 * signal/sigreturn.c: Likewise.
13701 * signal/sigset.c: Likewise.
13702 * signal/sigsetmask.c: Likewise.
13703 * signal/sigstack.c: Likewise.
13704 * signal/sigsuspend.c: Likewise.
13705 * signal/sigtimedwait.c: Likewise.
13706 * signal/sigvec.c: Likewise.
13707 * signal/sigwait.c: Likewise.
13708 * signal/sigwaitinfo.c: Likewise.
13709 * signal/sysv_signal.c: Likewise.
13710 * socket/accept.c: Likewise.
13711 * socket/accept4.c: Likewise.
13712 * socket/bind.c: Likewise.
13713 * socket/connect.c: Likewise.
13714 * socket/getpeername.c: Likewise.
13715 * socket/getsockname.c: Likewise.
13716 * socket/getsockopt.c: Likewise.
13717 * socket/isfdtype.c: Likewise.
13718 * socket/listen.c: Likewise.
13719 * socket/recv.c: Likewise.
13720 * socket/recvfrom.c: Likewise.
13721 * socket/recvmsg.c: Likewise.
13722 * socket/send.c: Likewise.
13723 * socket/sendmsg.c: Likewise.
13724 * socket/sendto.c: Likewise.
13725 * socket/setsockopt.c: Likewise.
13726 * socket/shutdown.c: Likewise.
13727 * socket/sockatmark.c: Likewise.
13728 * socket/socket.c: Likewise.
13729 * socket/socketpair.c: Likewise.
13730 * stdio-common/ctermid.c: Likewise.
13731 * stdio-common/cuserid.c: Likewise.
13732 * stdio-common/remove.c: Likewise.
13733 * stdio-common/rename.c: Likewise.
13734 * stdio-common/renameat.c: Likewise.
13735 * stdio-common/tempname.c: Likewise.
13736 * stdlib/getcontext.c: Likewise.
13737 * stdlib/makecontext.c: Likewise.
13738 * stdlib/setcontext.c: Likewise.
13739 * stdlib/swapcontext.c: Likewise.
13740 * stdlib/system.c: Likewise.
13741 * streams/fattach.c: Likewise.
13742 * streams/fdetach.c: Likewise.
13743 * streams/getmsg.c: Likewise.
13744 * streams/getpmsg.c: Likewise.
13745 * streams/putmsg.c: Likewise.
13746 * streams/putpmsg.c: Likewise.
13747 * sysdeps/unix/bsd/getpt.c: Likewise.
13748 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13749 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13750 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13752 Likewise.
13753 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13754 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13755 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13756 * sysvipc/msgctl.c: Likewise.
13757 * sysvipc/msgget.c: Likewise.
13758 * sysvipc/msgrcv.c: Likewise.
13759 * sysvipc/msgsnd.c: Likewise.
13760 * sysvipc/semctl.c: Likewise.
13761 * sysvipc/semget.c: Likewise.
13762 * sysvipc/semop.c: Likewise.
13763 * sysvipc/semtimedop.c: Likewise.
13764 * sysvipc/shmat.c: Likewise.
13765 * sysvipc/shmctl.c: Likewise.
13766 * sysvipc/shmdt.c: Likewise.
13767 * sysvipc/shmget.c: Likewise.
13768 * termios/tcdrain.c: Likewise.
13769 * termios/tcflow.c: Likewise.
13770 * termios/tcflush.c: Likewise.
13771 * termios/tcgetattr.c: Likewise.
13772 * termios/tcgetpgrp.c: Likewise.
13773 * termios/tcsendbrk.c: Likewise.
13774 * termios/tcsetattr.c: Likewise.
13775 * termios/tcsetpgrp.c: Likewise.
13776 * time/adjtime.c: Likewise.
13777 * time/clock.c: Likewise.
13778 * time/getitimer.c: Likewise.
13779 * time/gettimeofday.c: Likewise.
13780 * time/setitimer.c: Likewise.
13781 * time/settimeofday.c: Likewise.
13782 * time/stime.c: Likewise.
13783 * time/time.c: Likewise.
13784
137852012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13786
a20492cf
PT
13787 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13788 /usr/old/bin.
13789
72e182e3
PT
13790 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13791 instead of spaces.
13792 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13793
fbeafede
JM
137942012-11-03 Joseph Myers <joseph@codesourcery.com>
13795
5b5b04d6
JM
13796 [BZ #14796]
13797 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13798 FE_TONEAREST before applying Dekker multiplication and Knuth
13799 addition. Clear inexact exceptions and check for exact zero
13800 results afterwards.
13801 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13802 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13803 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13804 * math/libm-test.inc (fma_test): Add more tests.
13805 (fma_test_towardzero): Likewise.
13806 (fma_test_downward): Likewise.
13807 (fma_test_upward): Likewise.
13808 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13809 function.
13810 (libc_fesetround): New macro.
13811 (libc_fesetroundf): Likewise.
13812 (libc_fesetroundl): Likewise.
13813 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13814 function.
13815 (libc_fesetround_387): Likewise.
13816 (libc_fesetroundf): New macro.
13817 (libc_fesetround): Likewise.
13818 (libc_fesetroundl): Likewise.
13819 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13820 function.
13821 (libc_fesetroundf): New macro.
13822 (libc_fesetround): Likewise.
13823 (libc_fesetroundl): Likewise.
13824 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13825 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13826 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13827 libm_hidden_ver.
13828 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13829 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13830 libm_hidden_def.
13831 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13832 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13833 libm_hidden_ver.
13834 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13835 libm_hidden_def.
13836
fbeafede
JM
13837 [BZ #3439]
13838 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13839 integer constant usable in #if and use that to give value to enum
13840 constant.
13841 (FE_DIVBYZERO): Likewise.
13842 (FE_UNDERFLOW): Likewise.
13843 (FE_OVERFLOW): Likewise.
13844 (FE_INVALID): Likewise.
13845 (FE_INVALID_SNAN): Likewise.
13846 (FE_INVALID_ISI): Likewise.
13847 (FE_INVALID_IDI): Likewise.
13848 (FE_INVALID_ZDZ): Likewise.
13849 (FE_INVALID_IMZ): Likewise.
13850 (FE_INVALID_COMPARE): Likewise.
13851 (FE_INVALID_SOFTWARE): Likewise.
13852 (FE_INVALID_SQRT): Likewise.
13853 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13854 (FE_TONEAREST): Likewise.
13855 (FE_TOWARDZERO): Likewise.
13856 (FE_UPWARD): Likewise.
13857 (FE_DOWNWARD): Likewise.
13858 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13859 (FE_DIVBYZERO): Likewise.
13860 (FE_OVERFLOW): Likewise.
13861 (FE_UNDERFLOW): Likewise.
13862 (FE_INEXACT): Likewise.
13863 (FE_TONEAREST): Likewise.
13864 (FE_DOWNWARD): Likewise.
13865 (FE_UPWARD): Likewise.
13866 (FE_TOWARDZERO): Likewise.
13867 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13868 (FE_UNDERFLOW): Likewise.
13869 (FE_OVERFLOW): Likewise.
13870 (FE_DIVBYZERO): Likewise.
13871 (FE_INVALID): Likewise.
13872 (FE_TONEAREST): Likewise.
13873 (FE_TOWARDZERO): Likewise.
13874 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13875 (FE_OVERFLOW): Likewise.
13876 (FE_UNDERFLOW): Likewise.
13877 (FE_DIVBYZERO): Likewise.
13878 (FE_INEXACT): Likewise.
13879 (FE_TONEAREST): Likewise.
13880 (FE_TOWARDZERO): Likewise.
13881 (FE_UPWARD): Likewise.
13882 (FE_DOWNWARD): Likewise.
13883 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13884 (FE_DIVBYZERO): Likewise.
13885 (FE_OVERFLOW): Likewise.
13886 (FE_UNDERFLOW): Likewise.
13887 (FE_INEXACT): Likewise.
13888 (FE_TONEAREST): Likewise.
13889 (FE_DOWNWARD): Likewise.
13890 (FE_UPWARD): Likewise.
13891 (FE_TOWARDZERO): Likewise.
13892
105ca950
CM
138932012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13894
13895 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13896
a542b389
AS
138972012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13898
13899 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13900 commands. Quote $PWD.
13901 (blacklist_exports): Don't use remove_newlines. Replace "declare
13902 -x" by "export".
13903 (remove_newlines): Remove.
13904
f62c8abc
L
139052012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13906
13907 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13908 * stdlib/stdlib.h (atof): Moved to ...
13909 * include/bits/stdlib-float.h: Here. New file.
13910 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13911 * stdlib/bits/stdlib-float.h: New file.
13912 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13913 -mno-sse -mno-mmx.
13914 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13915 <xmmintrin.h>.
13916
0155d5b2
JM
139172012-11-02 Joseph Myers <joseph@codesourcery.com>
13918
a68d0680
JM
13919 * conform/conformtest.pl (@headers): Add fenv.h.
13920 * conform/data/fenv.h-data: New file.
13921 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13922 include of <math/fenv.h>.
13923
caf7f573
JM
13924 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13925 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13926 && !UNIX98]. Enables tests for XOPEN2K8.
13927 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13928 POSIX2008]: Likewise.
13929
6c073ad6
JM
13930 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13931 (struct rusage): Do not expect type or its members.
13932
0155d5b2
JM
13933 [BZ #3439]
13934 * math/math.h (FP_NAN): Define macro to integer constant usable in
13935 #if and use that to give value to enum constant.
13936 (FP_INFINITE): Likewise.
13937 (FP_ZERO): Likewise.
13938 (FP_SUBNORMAL): Likewise.
13939 (FP_NORMAL): Likewise.
13940
b5dcacb4
AS
139412012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13942
13943 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13944 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13945 arguments.
13946
f7934be8
RM
139472012-11-02 Roland McGrath <roland@hack.frob.com>
13948
13949 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13950 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13951 autoconf-time if not.
13952 * configure.in: Remove AC_PREREQ.
13953
d7d08bde
TMQMF
139542012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13955
13956 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13957 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13958 of the internal implementation.
13959
dcdae19a
JM
139602012-11-02 Joseph Myers <joseph@codesourcery.com>
13961
13962 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13963 except include of <misc/sys/syslog.h>.
13964
d6cffd3e
AS
139652012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13966
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13968 function returns with a NULL context exit with zero.
13969
b3563932
TMQMF
139702012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13971
13972 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13973
b288a93d
L
139742012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13975
13976 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13977 (run_program_cmd): This.
13978 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13979 (tst_langinfo): New variable. Use it.
13980
a2421a68
SAS
139812012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13982
13983 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13984 floating point opcodes.
13985
6f796e1b
TS
139862012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13987
7402596b
TS
13988 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13989 variable.
13990
d0d4f868
TS
13991 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13992
6f796e1b
TS
13993 * sysdeps/mach/hurd/powerpc: Remove directory.
13994 * sysdeps/mach/powerpc: Likewise.
13995
4da224a2
AS
139962012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13997
13998 * scripts/check-local-headers.sh: Ignore c++ headers.
13999
341dd673
TS
140002012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14001
14002 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14003 __libc_cleanup_region_start argument.
14004
473611b2
JM
140052012-11-01 Joseph Myers <joseph@codesourcery.com>
14006
14007 [BZ #14784]
14008 [BZ #14785]
14009 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14010 x * y using scaling, not as x * y + z.
14011 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14012 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14013 * math/libm-test.inc (fma_test): Add more tests.
14014 (fma_test_towardzero): Likewise.
14015 (fma_test_downward): Likewise.
14016 (fma_test_upward): Likewise.
14017
4078da3d
TS
140182012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14019
14020 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14021
903252aa
JM
140222012-10-31 Joseph Myers <joseph@codesourcery.com>
14023
14024 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14025 New variable.
14026
cbc818d0
TS
140272012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14028
14029 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14030
5a03cb1e
AS
140312012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14032
14033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14034 Fix sort order.
14035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14036 Likewise.
14037
90aff2ff
TMQMF
140382012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14039
14040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14041 Fix the order of the list for glibc 2.17.
14042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14043 Likewise.
14044
1818fcb7
AS
140452012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14046
14047 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14048
ef82f4da
JM
140492012-10-31 Joseph Myers <joseph@codesourcery.com>
14050
16a0e2ec
JM
14051 [BZ #14610]
14052 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14053 for low part of x being zero before using __atanl (y).
14054 * math/libm-test.inc (atan2_test): Add another test.
14055
0eb69512
JM
14056 * manual/install.texi (Configuring and compiling): Document
14057 general use of test-wrapper and test-wrapper-env.
14058 * INSTALL: Regenerated.
14059
ef82f4da
JM
14060 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14061 (__fma): Do not extract and scale down low bits on after-rounding
14062 systems when result rounded to normal precision would have normal
14063 exponent.
14064 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14065 (__fmal): Do not extract and scale down low bits on after-rounding
14066 systems when result rounded to normal precision would have normal
14067 exponent.
14068 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14069 (__fmal): Do not extract and scale down low bits on after-rounding
14070 systems when result rounded to normal precision would have normal
14071 exponent.
14072 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14073 macro.
14074 (fma_test): Add more tests.
14075 (fma_test_towardzero): Likewise.
14076 (fma_test_downward): Likewise.
14077 (fma_test_upward): Likewise.
14078
954ef0d9
L
140792012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14080
14081 * sysdeps/i386/tininess.h: Renamed to ...
14082 * sysdeps/x86/tininess.h: This.
14083 * sysdeps/x86_64/tininess.h: Removed.
14084
df61ffb2
JM
140852012-10-30 Joseph Myers <joseph@codesourcery.com>
14086
14087 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14088 input. Use $(build-program-cmd).
14089 ($(objpfx)tst-array1-static.out): Likewise.
14090 ($(objpfx)tst-array2.out): Likewise.
14091 ($(objpfx)tst-array3.out): Likewise.
14092 ($(objpfx)tst-array4.out): Likewise.
14093 ($(objpfx)tst-array5.out): Likewise.
14094 ($(objpfx)tst-array5-static.out): Likewise.
14095
01767843
CM
140962012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14097
47cc1490
CM
14098 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14099 if defined.
14100
01767843
CM
14101 * nss/nsswitch.h (nss_interface_function): Provide new
14102 macro for use with NSS functions.
14103 * grp/initgroups.c: Use new macro.
14104 * nss/getXXbyYY.c: Likewise.
14105 * nss/getXXbyYY_r.c: Likewise.
14106 * nss/getXXent.c: Likewise.
14107 * nss/getXXent_r.c: Likewise.
14108 * sysdeps/posix/getaddrinfo.c: Likewise.
14109
8321aa97
AJ
141102012-10-30 Andreas Jaeger <aj@suse.de>
14111
14112 * po/ru.po: Update Russion translation from translation project.
14113
2a27fd6d
JM
141142012-10-30 Joseph Myers <joseph@codesourcery.com>
14115
8627a232
JM
14116 [BZ #14152]
14117 [BZ #14783]
14118 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14119 result and shift together with sticky bit instead of replicating
14120 round-to-nearest rounding.
14121 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14122 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14123 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14124 missing underflow exceptions.
14125 (fma_test_towardzero): Add more tests.
14126 (fma_test_downward): Likewise.
14127 (fma_test_upward): Likewise.
14128
2a27fd6d
JM
14129 [BZ #14047]
14130 * sysdeps/generic/tininess.h: New file.
14131 * sysdeps/i386/tininess.h: Likewise.
14132 * sysdeps/sh/tininess.h: Likewise.
14133 * sysdeps/x86_64/tininess.h: Likewise.
14134 * stdlib/tst-strtod-underflow.c: Likewise.
14135 * stdlib/tst-tininess.c: Likewise.
14136 * stdlib/strtod_l.c: Include <tininess.h>.
14137 (round_and_return): Do not set errno for exact underflow cases.
14138 Force an underflow exception when setting errno for underflow.
14139 Determine underflow based on rounding to normal precision if
14140 TININESS_AFTER_ROUNDING.
14141 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14142 ERANGE for exact underflow cases.
14143 * stdlib/Makefile (tests): Add tst-tininess and
14144 tst-strtod-underflow.
14145 ($(objpfx)tst-tininess): Use $(link-libm).
14146 ($(objpfx)tst-strtod-underflow): Likewise.
14147
e7170363
AJ
141482012-10-30 Andreas Jaeger <aj@suse.de>
14149
e5088dc6
AJ
14150 [BZ#14767]
14151 * elf/Makefile (tests): Remove conditional for have-initfini-array
14152 since this is now always required and the variable does not exist
14153 anymore.
14154 (tests-static): Likewise.
14155 (modules-names): Likewise.
14156
e7170363 14157 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14158
14159 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14160 merged with constructor/destructor.
14161 (init_array): Likewise.
14162 * elf/tst-array2dep.c (fini_array): Likewise.
14163 (init_array): Likewise.
14164
60457d8a
MF
141652012-10-29 Mike Frysinger <vapier@gentoo.org>
14166
14167 * manual/message.texi: Delete @cartouche tags.
14168
8bece752
PT
141692012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14170
94ce799f
PT
14171 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14172 EOPNOTSUPP.
14173 * sysdeps/mach/hurd/fsync.c: Likewise.
14174
8bece752
PT
14175 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14176 [_POSIX_REALTIME_SIGNALS]: Change condition to
14177 [_POSIX_REALTIME_SIGNALS > 0].
14178
86ebe6b1
AJ
141792012-10-27 Andreas Jaeger <aj@suse.de>
14180
14181 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14182 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14184 [__WORDSIZE != 64]: Likewise.
14185
54399c08
L
141862012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14187
14188 * iconvdata/tst-table.sh: Remove ${SHELL}.
14189 * iconvdata/tst-tables.sh: Likewise.
14190
e2211bed
DM
141912012-10-25 David S. Miller <davem@davemloft.net>
14192
14193 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14194 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14195 of strtoull.
14196
f303f97c
DM
14197 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14198 ifunc-impl-list.c
14199 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14200 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14201 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14202 file.
14203
1e9d84cd
RM
142042012-10-25 Roland McGrath <roland@hack.frob.com>
14205
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14207 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14208 __getdirentries.
14209
df381762
JM
142102012-10-25 Joseph Myers <joseph@codesourcery.com>
14211 Jim Blandy <jimb@codesourcery.com>
14212
14213 * scripts/cross-test-ssh.sh: New file.
14214 * manual/install.texi (Configuring and compiling): Document use of
14215 cross-test-ssh.sh.
14216 * INSTALL: Regenerated.
14217
bff64913
PT
142182012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14219
14220 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14221 EOPNOTSUPP.
14222
25fe8932
JM
142232012-10-25 Joseph Myers <joseph@codesourcery.com>
14224
14225 * Makeconfig (run-program-prefix): Fix comment.
14226
cc1290d0
JM
142272012-10-24 Joseph Myers <joseph@codesourcery.com>
14228 Jim Blandy <jimb@codesourcery.com>
14229
14230 * Makeconfig (test-wrapper): New variable,
14231 (test-wrapper-env): Likewise.
14232 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14233 (run-built-tests): Define to yes.
14234 (run-program-prefix): Use $(test-wrapper).
14235 (built-program-cmd): Likewise.
14236 * Rules (make-test-out): Use $(test-wrapper-env) and
14237 $(host-built-program-cmd).
14238 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14239 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14240 tst-pathopt.sh.
14241 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14242 $(test-wrapper-env) to tst-rtld-load-self.sh.
14243 ($(objpfx)order2.out): Use $(test-wrapper).
14244 ($(objpfx)tst-initorder.out): Likewise.
14245 ($(objpfx)tst-initorder2.out): Likewise.
14246 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14247 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14248 (test_wrapper_env): New variable. Use it to run ld.so.
14249 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14250 Use it to run ld.so.
14251 (test_wrapper_env): Likewise.
14252 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14253 $(test-wrapper) to run-iconv-test.sh.
14254 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14255 (ICONV): Use $test_wrapper.
14256 * posix/Makefile ($(objpfx)globtest.out): Pass
14257 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14258 globtest.sh, not $(run-program-prefix).
14259 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14260 (test_wrapper): Likewise.
14261 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14262 set together with run_via_rtld_prefix.
14263 (run_program_prefix): Define in terms of test_wrapper and
14264 run_via_rtld_prefix.
14265
6e6249d0
RM
142662012-10-24 Roland McGrath <roland@hack.frob.com>
14267
14268 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14269 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14270 Targets removed.
14271
14272 [BZ #14743]
14273 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14274 Declare __clock_getres, __clock_gettime, __clock_settime,
14275 __clock_nanosleep, and __clock_getcpuclockid.
14276 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14277 Remove librt_hidden_def (clock_gettime).
14278 * sysdeps/unix/clock_gettime.c: Likewise.
14279 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14280 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14281 * rt/clock_getres.c: Define __clock_getres as an alias.
14282 * sysdeps/posix/clock_getres.c: Likewise.
14283 * rt/clock_settime.c: Define __clock_settime as an alias.
14284 * sysdeps/unix/clock_settime.c: Likewise.
14285 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14286 * sysdeps/unix/clock_nanosleep.c: Likewise.
14287 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14288 * rt/clock-compat.c: New file.
14289 * rt/Makefile (librt-routines): Add clock-compat and move
14290 $(clock-routines) to ...
14291 (routines): ... here, new variable.
14292 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14293 Don't add get_clockfreq here.
14294 * rt/Versions (libc: GLIBC_2.17): New version set.
14295 Add clock_* symbols here.
14296 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14297 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14298 (GLIBC_2.17): Add clock_* symbols.
14299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14303 Likewise.
14304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14305 Likewise.
14306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14307 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14310 * NEWS: Mention the move.
14311
14312 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14313 Use __open, __read, __close rather than their public counterparts.
14314 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14315 (__get_clockfreq_via_cpuinfo): Likewise.
14316 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14317 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14318
14319 * config.h.in (HAVE_IFUNC): New #undef.
14320 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14321 was successful.
14322 * configure: Regenerated.
14323
0cae3f4b
MF
143242012-10-24 Mike Frysinger <vapier@gentoo.org>
14325
14326 * configure.in: Move READELF check to start of file.
14327 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14328 libc_cv_asm_gnu_indirect_function in the process.
14329 * configure: Regenerated.
14330
8175a253
MF
143312012-10-24 Mike Frysinger <vapier@gentoo.org>
14332
14333 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14334 send the output to /dev/null.
14335 (libc_cv_cc_with_libunwind): Likewise.
14336 (libc_cv_as_noexecstack): Likewise.
14337 * configure: Regenerate.
14338
0708a7d1
JM
143392012-10-24 Joseph Myers <joseph@codesourcery.com>
14340
10b40d85
JM
14341 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14342
0708a7d1
JM
14343 * posix/globtest.sh (TMPDIR): Do not set.
14344 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14345 (testout): Likewise.
14346
9fddec1a
AJ
143472012-10-24 Andreas Jaeger <aj@suse.de>
14348
3a8db22f
AJ
14349 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14350 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14351 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14352 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14353 posix_fadvise64, posix_fallocate64.
14354
9fddec1a
AJ
14355 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14356 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14357 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14358 Likewise.
14359 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14360 Likewise.
14361 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14362
14363 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14364 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14365 <bits/fcntl-linux.h>.
14366 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14367
14368 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14369 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14370 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14371 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14372 [__WORDSIZE != 64]: Likewise.
14373
ebfd1bbd
JM
143742012-10-23 Joseph Myers <joseph@codesourcery.com>
14375
03ac099f
JM
14376 * Makeconfig (run-built-tests): New variable.
14377 * Rules [$(cross-compiling) = yes]: Change condition to
14378 [$(run-built-tests) = no].
14379 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14380 to [$(run-built-tests) = yes].
14381 * elf/Makefile [$(cross-compiling) = no]: Likewise
14382 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14383 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14384 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14385 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14386 * io/Makefile [$(cross-compiling) = no]: Likewise.
14387 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14388 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14389 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14390 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14391 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14392 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14393 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14394 * string/Makefile [$(cross-compiling) = no]: Likewise.
14395
ebfd1bbd
JM
14396 * posix/Makefile ($(objpfx)globtest.out): Pass
14397 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14398 $(rtld-installed-name).
14399 * posix/globtest.sh (elf_objpfx): Remove variable.
14400 (rtld_installed_name): Likewise.
14401 (library_path): Likewise.
14402 (run_program_prefix): New variable. Use for running globtest
14403 binary.
14404
166bca24
JB
144052012-10-23 Jim Blandy <jimb@codesourcery.com>
14406 Joseph Myers <joseph@codesourcery.com>
14407
14408 * Makeconfig (host-built-program-cmd): New variable.
14409 * elf/Makefile (tst-stackguard1-ARGS): Use
14410 $(host-built-program-cmd).
14411 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14412 (tst-spawn-ARGS): Likewise.
14413 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14414
88866099
JM
144152012-10-23 Joseph Myers <joseph@codesourcery.com>
14416 Jim Blandy <jimb@codesourcery.com>
14417
14418 * Makeconfig (run-via-rtld-prefix): New variable.
14419 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14420 (built-program-cmd): Likewise.
14421
b4b4c296
AJ
144222012-10-22 Andreas Jaeger <aj@suse.de>
14423
14424 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14425 __O_RSYNC if it exists, otherwise to O_SYNC.
14426
6fb54a22
JB
144272012-10-22 Jim Blandy <jimb@codesourcery.com>
14428 Joseph Myers <joseph@codesourcery.com>
14429
14430 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14431 /dev/null.
14432 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14433 from /dev/null
14434 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14435 /dev/null.
14436
481b90b9
AJ
144372012-10-22 Andreas Jaeger <aj@suse.de>
14438
2a0e2669
AJ
14439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14440 Define always.
14441 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14442
76e38f9a
AJ
14443 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14444 bits/fcntl-linux.h.
14445
7cd37b43
AJ
14446 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14447 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14448
481b90b9
AJ
14449 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14450 to __O_LARGEFILE.
14451 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14452 to __O_LARGEFILE.
14453
aba75984
JB
144542012-10-21 Jim Blandy <jimb@codesourcery.com>
14455 Joseph Myers <joseph@codesourcery.com>
14456
14457 * config.make.in (NM): New variable.
14458
88d4247f
AJ
144592012-10-21 Andreas Jaeger <aj@suse.de>
14460
14461 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14462 definitions and declarations that are provided by
14463 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14464
f2eed205
L
144652012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14466
14467 [BZ #14683]
14468 * elf/Makefile (tests-static): Add tst-leaks1-static.
14469 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14470 ($(objpfx)tst-leaks1-static): New rule.
14471 ($(objpfx)tst-leaks1-static-mem): Likewise.
14472 (tst-leaks1-static-ENV): New macro.
14473 * elf/dl-open.c (dl_open_worker): Check the main application
14474 only if SHARED is defined.
14475 * elf/tst-leaks1-static.c: New file.
14476
335e6931
AJ
144772012-10-20 Andreas Jaeger <aj@suse.de>
14478
14479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14480 generic values for Linux.
14481 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14482 and declarations that are provided by <bits/fcntl-linux.h> and
14483 include <bits/fcntl-linux.h>.
14484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14485 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14486
ac5c94d3
RM
144872012-10-20 Roland McGrath <roland@hack.frob.com>
14488
14489 * io/fcntl.h: Move include of <bits/types.h> to the top and
14490 include it unconditionally.
14491
de54b33a
L
144922012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14493
228cfb01
L
14494 * wcsmbs/Makefile (tests-ifunc): New variable.
14495 (tests): Add $(tests-ifunc).
14496 * wcsmbs/test-wcschr-ifunc.c: New file.
14497 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14498 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14499 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14500 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14501 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14502
69f07e5f
L
14503 * string/Makefile (tests-ifunc): New variable.
14504 (tests): Add $(tests-ifunc).
14505 * string/test-memccpy.c (TEST_NAME): New macro.
14506 * string/test-memchr.c (TEST_NAME): Likewise.
14507 * string/test-memcmp.c (TEST_NAME): Likewise.
14508 * string/test-memcpy.c (TEST_NAME): Likewise.
14509 * string/test-memmem.c (TEST_NAME): Likewise.
14510 * string/test-memmove.c (TEST_NAME): Likewise.
14511 * string/test-memset.c (TEST_NAME): Likewise.
14512 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14513 * string/test-stpcpy.c (TEST_NAME): Likewise.
14514 * string/test-stpncpy.c (TEST_NAME): Likewise.
14515 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14516 * string/test-strcasestr.c (TEST_NAME): Likewise.
14517 * string/test-strcat.c (TEST_NAME): Likewise.
14518 * string/test-strchr.c (TEST_NAME): Likewise.
14519 * string/test-strcmp.c(TEST_NAME): Likewise.
14520 * string/test-strcpy.c (TEST_NAME): Likewise.
14521 * string/test-strcspn.c (TEST_NAME): Likewise.
14522 * string/test-strlen.c (TEST_NAME): Likewise.
14523 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14524 * string/test-strncmp.c (TEST_NAME): Likewise.
14525 * string/test-strncpy.c (TEST_NAME): Likewise.
14526 * string/test-strnlen.c (TEST_NAME): Likewise.
14527 * string/test-strpbrk.c (TEST_NAME): Likewise.
14528 * string/test-strrchr.c (TEST_NAME): Likewise.
14529 * string/test-strspn.c (TEST_NAME): Likewise.
14530 * string/test-strstr.c (TEST_NAME): Likewise.
14531 * string/test-bcopy-ifunc.c: New file.
14532 * string/test-bzero-ifunc.c: Likewise.
14533 * string/test-memccpy-ifunc.c: Likewise.
14534 * string/test-memchr-ifunc.c: Likewise.
14535 * string/test-memcmp-ifunc.c: Likewise.
14536 * string/test-memcpy-ifunc.c: Likewise.
14537 * string/test-memmem-ifunc.c: Likewise.
14538 * string/test-memmove-ifunc.c: Likewise.
14539 * string/test-mempcpy-ifunc.c: Likewise.
14540 * string/test-memset-ifunc.c: Likewise.
14541 * string/test-rawmemchr-ifunc.c: Likewise.
14542 * string/test-stpcpy-ifunc.c: Likewise.
14543 * string/test-stpncpy-ifunc.c: Likewise.
14544 * string/test-strcasecmp-ifunc.c: Likewise.
14545 * string/test-strcasestr-ifunc.c: Likewise.
14546 * string/test-strcat-ifunc.c: Likewise.
14547 * string/test-strchr-ifunc.c: Likewise.
14548 * string/test-strchrnul-ifunc.c: Likewise.
14549 * string/test-strcmp-ifunc.c: Likewise.
14550 * string/test-strcpy-ifunc.c: Likewise.
14551 * string/test-strcspn-ifunc.c: Likewise.
14552 * string/test-strlen-ifunc.c: Likewise.
14553 * string/test-strncasecmp-ifunc.c: Likewise.
14554 * string/test-strncat-ifunc.c: Likewise.
14555 * string/test-strncmp-ifunc.c: Likewise.
14556 * string/test-strncpy-ifunc.c: Likewise.
14557 * string/test-strnlen-ifunc.c: Likewise.
14558 * string/test-strpbrk-ifunc.c: Likewise.
14559 * string/test-strrchr-ifunc.c: Likewise.
14560 * string/test-strspn-ifunc.c: Likewise.
14561 * string/test-strstr-ifunc.c: Likewise.
14562
de54b33a
L
14563 * debug/Makefile (tests-ifunc): New variable.
14564 (tests): Add $(tests-ifunc).
14565 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14566 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14567 * debug/test-stpcpy_chk-ifunc.c: New file.
14568 * debug/test-strcpy_chk-ifunc.c: Likewise.
14569
88481c16
SP
145702012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14571
14572 [BZ #13601]
14573 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14574 header is not read in.
14575
135948bd
JM
145762012-10-19 Joseph Myers <joseph@codesourcery.com>
14577
89f1c388
JM
14578 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14579 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14580 directly. Pass built executable to script as
14581 $(built-program-cmd).
14582 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14583 $testprogram without using LD_LIBRARY_PATH and $ldso.
14584
e40a0d21
JM
14585 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14586 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14587 $(rtld-installed-name).
14588 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14589 (rtld_installed_name): Likewise.
14590 (library_path): Likewise.
14591 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14592 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14593 $(run-program-prefix) to tst-tables.sh.
14594 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14595 it to run tst-table-from and tst-table-to.
14596 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14597 Pass it to tst-table.sh.
14598 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14599 $(run-program-prefix) to tst-gettext.sh.
14600 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14601 tst-translit.sh.
14602 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14603 tst-gettext2.sh.
14604 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14605 to run tst-gettext.
14606 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14607 to run tst-gettext2.
14608 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14609 to run tst-translit.
14610 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14611 $(run-program-prefix) to tst-mtrace.sh.
14612 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14613 to run tst-mtrace.
14614 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14615 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14616 $(rtld-installed-name).
14617 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14618 (rtld_installed_name): Likewise.
14619 (run_program_prefix): New variable. Use it to run wordexp-test.
14620
728e272a
JM
14621 * Makeconfig (ARCH): Remove all definitions.
14622 (machine): Likewise.
14623 [ARCH]: Remove conditional code.
14624 [!objdir]: Give error.
14625 [!objdir] (objpfx): Remove.
14626 [!objdir] (common-objpfx): Likewise.
14627 [!objdir] (common-objdir): Likewise.
14628 * configure.in (config_makefile): Remove. Hardcode Makefile in
14629 AC_CONFIG_FILES call.
14630 * configure: Regenerated.
14631
d528cdcf
JM
14632 [BZ #13888]
14633 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14634 or TMPDIR.
14635 (testout): Likewise.
14636
135948bd
JM
14637 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14638 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14639 $(rtld-installed-name).
14640 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14641 (rtld_installed_name): Likwise.
14642 (runit): Remove function.
14643 (run_getconf): New variable, Use it for running getconf binary.
14644
38c78296
L
146452012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14646
14647 [BZ #14716]
14648 * string/test-memmem.c (check_result): New function.
14649 (do_one_test): Use it.
14650 (check1): New function.
14651 (test_main): Use it.
14652
d077f65f
MT
146532012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14654
14655 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14656
ced52c71
JM
146572012-10-18 Joseph Myers <joseph@codesourcery.com>
14658
14659 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14660 (_G_LSEEK64): Likewise.
14661 (_G_MMAP64): Likewise.
14662 (_G_FSTAT64): Likewise.
14663 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14664 (_G_LSEEK64): Likewise.
14665 (_G_MMAP64): Likewise.
14666 (_G_FSTAT64): Likewise.
14667 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14668 unconditional. Call __mmap64 directly.
14669 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14670 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14671 __lseek64 directly.
14672 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14673 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14674 __mmap64 directly.
14675 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14676 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14677 __lseek64 directly.
14678 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14679 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14680 __lseek64 directly.
14681 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14682 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14683 __lseek64 directly.
14684 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14685 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14686 __fxstat64 directly.
14687 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14688 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14689 unconditional.
14690 (freopen64) [!_G_OPEN64]: Remove conditional code.
14691 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14692 unconditional.
14693 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14694 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14695 unconditional.
14696 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14697 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14698 unconditional.
14699 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14700 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14701 unconditional.
14702 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14703 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14704 unconditional.
14705 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14706 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14707 unconditional.
14708 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14709 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14710 unconditional.
14711 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14712
b741de23
SP
147132012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14714
14715 [BZ #12140]
14716 * manual/memory.texi (Malloc Tunable Parameters): Add note
14717 about free list pointers overwriting some perturb bytes.
14718 Wording suggested by Roland McGrath.
14719
f9b9d9c9
JM
147202012-10-17 Joseph Myers <joseph@codesourcery.com>
14721
14722 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14723 (lgamma_test): Likewise.
14724 (tgamma_test): Likewise.
14725
172a631a
FW
147262012-10-16 Florian Weimer <fweimer@redhat.com>
14727
14728 [BZ #14700]
14729 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14730 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14731
e9f37252
MK
147322012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14733
14734 * NEWS: Mention BZ #14716.
14735 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14736 when removing AVAILABLE1_USES_J macro.
14737
d394eb74
L
147382012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14739
14740 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14741 (__bswap_64): __uint64_t for unsigned 64-bit int.
14742
ca38dc17
AS
147432012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14744
14745 * include/string.h (memmem): Declare libc hidden alias.
14746 * string/memmem.c (memmem): Define libc hidden alias.
14747 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14748 __read, __close instead of open, read, close.
14749
9a387d1f
L
147502012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14751
ac49ecaf
L
14752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14753 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14754 global and hidden.
14755 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14756 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14757 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14758 Likewise.
14759 (__rawmemchr_sse2): Likewise.
14760 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14761 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14762 (__strchr_sse2): Likewise.
14763 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14764 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14765 (__strcasecmp_sse2): Likewise.
14766 (__strncasecmp_sse2): Likewise.
14767 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14768 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14769 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14770 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14771 (__strrchr_sse2): Likewise.
14772 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14773 ifunc-impl-list.c.
14774 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14775 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14776 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14777 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14778 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14779 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14780 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14781 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14782 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14783 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14784 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14785 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14786 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14787 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14788 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14789 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14790 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14791 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14792 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14793 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14794 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14795 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14796 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14797 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14798 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14799 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14800 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14801 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14802 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14803 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14804
b090e8ea
L
14805 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14806 global and hidden.
14807 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14808 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14809 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14810 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14811 Likewise.
14812 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14813 Likewise.
14814 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14815 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14816 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14817 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14818 ifunc-impl-list.c.
14819 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14820 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14821 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14822 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14823 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14824 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14825 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14826 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14827 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14828 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14829 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14830 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14831 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14832 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14833 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14835 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14836 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14837 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14838 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14842 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14844 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14845 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14846 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14847 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14848 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14849 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14850 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14851 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14852 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14853 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14854 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14855 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14856 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14857 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14858 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14859 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14860
11dd4af6
L
14861 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14862 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14863 * include/ifunc-impl-list.h: New file.
14864 * misc/ifunc-impl-list.c: Likewise.
14865 * misc/Makefile (routines): Add ifunc-impl-list.
14866 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14867 * string/test-string.h: Include <ifunc-impl-list.h>.
14868 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14869 impl_array): New variables.
14870 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14871 are defined.
14872 (test_init): Call __libc_ifunc_impl_list to initialize
14873 func_list if TEST_IFUNC and TEST_NAME are defined.
14874
9a387d1f
L
14875 * string/Makefile (strop-tests): Add bcopy and bzero.
14876 * string/test-bcopy.c: New file.
14877 * string/test-bzero.c: Likewise.
14878 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14879 defined.
14880 * string/test-memset.c: Support bzero test if TEST_BZERO is
14881 defined.
14882 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14883 __libc_memmove.
14884 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14885 __libc_memset.
14886 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14887 of memset.
14888
472371b9
JM
148892012-10-10 Joseph Myers <joseph@codesourcery.com>
14890
1e4a9536
JM
14891 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14892 * configure: Regenerated.
14893
d173d12e
JM
14894 * Makeconfig (+link-static-before-libc): Don't include
14895 $(link-static-libc).
14896
472371b9
JM
14897 * libio/libio.h (_IO_pos_t): Remove.
14898
89a3ad0b
AO
148992012-10-10 Alexandre Oliva <aoliva@redhat.com>
14900
14901 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14902 McGrath.
14903
e7451425
AO
149042012-10-10 Alexandre Oliva <aoliva@redhat.com>
14905
14906 * crypt/crypt-entry.c: Include fips-private.h.
14907 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14908 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14909 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14910 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14911
4ba74a35
AO
149122012-10-10 Alexandre Oliva <aoliva@redhat.com>
14913
14914 * crypt/crypt-private.h: Include stdbool.h.
14915 (_ufc_setup_salt_r): Return bool.
14916 * crypt/crypt-entry.c: Include errno.h.
14917 (__crypt_r): Return NULL with EINVAL for bad salt.
14918 * crypt/crypt_util.c (bad_for_salt): New.
14919 (_ufc_setup_salt_r): Check that salt is long enough and within
14920 the specified alphabet.
14921 * crypt/badsalttest.c: New file.
14922 * crypt/Makefile (tests): Add it.
14923 ($(objpfx)badsalttest): New.
14924
f96f1242
MK
149252012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14926
14927 * NEWS: Add entry for BZ #14602.
14928
0e8e0c1c
JM
149292012-10-09 Joseph Myers <joseph@codesourcery.com>
14930
14931 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14932 type-generic.
14933 * math/libm-test.inc: Update comment listing what functions and
14934 macros are tested.
14935 (isgreater_test): New function.
14936 (isgreaterequal_test): Likewise.
14937 (isless_test): Likewise.
14938 (islessequal_test): Likewise.
14939 (islessgreater_test): Likewise.
14940 (isunordered_test): Likewise.
14941 (main): Call the new functions.
14942
273edc5e
RM
149432012-10-09 Roland McGrath <roland@hack.frob.com>
14944
b8493de0
RM
14945 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14946 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14947 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14948 * sysdeps/i386/configure: Regenerated.
14949 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14950 * sysdeps/mach/configure: Regenerated.
14951 * sysdeps/mach/hurd/configure: Regenerated.
14952 * sysdeps/powerpc/configure: Regenerated.
14953 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14954 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14955 * sysdeps/s390/s390-32/configure: Regenerated.
14956 * sysdeps/s390/s390-64/configure: Regenerated.
14957 * sysdeps/sh/configure: Regenerated.
14958 * sysdeps/sparc/configure: Regenerated.
14959 * sysdeps/unix/sysv/linux/configure: Regenerated.
14960 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14961 * sysdeps/x86_64/configure: Regenerated.
14962
273edc5e
RM
14963 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14964 defined. Don't check if MAP is NULL.
14965
c8450f70
JM
149662012-10-09 Joseph Myers <joseph@codesourcery.com>
14967
14968 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14969 (_G_stat64): Likewise.
14970 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14971 (_G_stat64): Likewise.
14972 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14973 instead of struct _G_stat64.
14974 * libio/fileops.c (mmap_remap_check): Likewise.
14975 (decide_maybe_mmap): Likewise.
14976 (_IO_new_file_seekoff): Likewise.
14977 (_IO_file_stat): Likewise.
14978 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14979 _G_off64_t.
14980 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14981 instead of struct _G_stat64.
14982 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14983
57e605ba
MK
149842012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14985
14986 [BZ #14602]
14987 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14988 Replace with ...
14989 (CHECK_EOL): New macro.
14990 (two_way_short_needle): Check beginning of haystack for EOL. Use
14991 CHECK_EOL.
14992 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14993 Replace with CHECK_EOL.
14994 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14995 Replace with CHECK_EOL.
14996
ef1bb361
JM
149972012-10-08 Joseph Myers <joseph@codesourcery.com>
14998
14999 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15000 type-generic.
15001 * math/libm-test.inc: Update comment listing what functions and
15002 macros are tested.
15003 (finite_test): New function.
15004 (isinf_test): Likewise.
15005 (isnan_test): Likewise.
15006 (fpclassify_test): Test subnormal input.
15007 (isfinite_test): Likewise.
15008 (isnormal_test): Likewise.
15009 (main): Call the new functions.
15010
55f11534
JN
150112012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15012
15013 [BZ #14660]
15014 * Makerules (%.dynsym): Force C locale when running
15015 $(OBJDUMP) --dynamic-syms.
15016
1ab29350
AS
150172012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15018
15019 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15020 <stdint.h>.
15021
f1ecb7ef
DM
150222012-10-06 David S. Miller <davem@davemloft.net>
15023
15024 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15025 upper 32-bits of the length value in %o2 since we use branch-on-register
15026 tests which consider the entire 64-bit register.
15027
5d41d91a
L
150282012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15029
15030 * string/test-strstr.c (check2): Add a test for page boundary.
15031
3baddb72
DM
150322012-10-05 David S. Miller <davem@davemloft.net>
15033
15034 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15035 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15036 file.
15037 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15038 sysdep_routines.
15039 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15040 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15041 and bzero when HWCAP_SPARC_CRYPTO is present.
15042
9cee5585
L
150432012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15044
d7e0dab9
L
15045 [BZ #14602]
15046 * string/test-strstr.c (check2): New function.
15047 (test_main): Call check2.
15048
03759f47
L
15049 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15050 and bug-strchr1.
15051 * string/bug-strcasestr1.c (do_test): Moved to ...
15052 * string/test-strcasestr.c (check1): Here. New function.
15053 (do_one_test): Break out result checking code into ...
15054 (check_result): This. New function.
15055 (do_one_test): Call check_result.
15056 (test_main): Call check1.
15057 * string/bug-strchr1.c (do_test): Moved to ...
15058 * string/test-strchr.c (check1): Here. New function.
15059 (do_one_test): Break out result checking code into ...
15060 (check_result): This. New function.
15061 (do_one_test): Call check_result.
15062 (test_main): Call check1.
15063 * string/bug-strstr1.c (main): Moved to ...
046f153e 15064 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15065 (do_one_test): Break out result checking code into ...
15066 (check_result): This. New function.
15067 (do_one_test): Call check_result.
15068 (test_main): Call check1.
15069 * string/bug-strcasestr1.c: Removed.
15070 * string/bug-strchr1.c: Likewise.
15071 * string/bug-strstr1.c: Likewise.
15072
53cea63e
L
15073 * elf/Makefile (dl-routines): Add hwcaps.
15074 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15075 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15076 (_dl_important_hwcaps): Moved to ...
15077 * elf/dl-hwcaps.c: Here. New file.
15078 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15079
9cee5585 15080 [BZ #14557]
bb859b06
L
15081 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15082 if IS_IN_rtld isn't defined.
15083
9cee5585
L
15084 * elf/dl-support.c (_dl_sysinfo_map): New.
15085 Include "get-dynamic-info.h" and "setup-vdso.h".
15086 (_dl_non_dynamic_init): Call setup_vdso.
15087 * elf/dynamic-link.h: Don't include <assert.h>.
15088 (elf_get_dynamic_info): Moved to ...
15089 * elf/get-dynamic-info.h: Here. New file.
15090 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15091 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15092 * elf/setup-vdso.h: Here. New file.
15093 * elf/rtld.c: Include "setup-vdso.h".
15094 (dl_main): Call setup_vdso.
15095
23c31b76
JM
150962012-10-05 Joseph Myers <joseph@codesourcery.com>
15097
28234b07
JM
15098 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15099 creal in comment listing functions tested. List finite, isinf,
15100 isnan, isless, islessequal, isgreater, isgreaterequal,
15101 islessgreater, isunordered, lgamma_r and pow10 as functions and
15102 macros not tested. Mention which functions not tested are aliases
15103 for other functions. Fix typo. Note that signs of NaNs are not
15104 tested.
15105
23c31b76
JM
15106 * scripts/config.guess: Update from config.git.
15107 * scripts/config.sub: Likewise.
15108
9043e228
RM
151092012-10-04 Roland McGrath <roland@hack.frob.com>
15110
15111 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15112 * misc/madvise.c (madvise): Renamed to __madvise.
15113 Make madvise a weak alias.
15114 * include/sys/mman.h: Declare __madvise.
15115 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15116 * sysdeps/unix/syscalls.list
15117 (madvise): Make __madvise the strong name, and madvise a weak alias.
15118 * sysdeps/unix/sysv/linux/syscalls.list
15119 (madvise, mmap): Remove redundant entries.
15120 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15121 * malloc/malloc.c (mtrim): Likewise.
15122 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15123
f57f8055
RM
151242012-10-03 Roland McGrath <roland@hack.frob.com>
15125
15126 * sysdeps/mach/hurd/dl-cache.c: File removed.
15127 * config.h.in (USE_LDCONFIG): New #undef.
15128 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15129 * configure: Regenerated.
15130 * elf/Makefile (dl-routines): Add dl-cache only under
15131 [$(use-ldconfig) = yes].
15132 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15133 cache on [USE_LDCONFIG].
15134 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15135 [USE_LDCONFIG].
15136 * elf/rtld.c (dl_main): Likewise.
15137
5bb0c10a
PT
151382012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15139
15140 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15141 _SC_LEVEL4_CACHE_LINESIZE.
15142
010188c6
RM
151432012-10-03 Roland McGrath <roland@hack.frob.com>
15144
15145 * sysdeps/unix/bsd/confstr.h: File removed.
15146
b6c5ec07
AO
151472012-10-02 Alexandre Oliva <aoliva@redhat.com>
15148
15149 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15150 sys/sdt-config.h.
15151
408223d4
RM
151522012-10-02 Roland McGrath <roland@hack.frob.com>
15153
15154 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15155 Make 'mapoff' field ElfW(Off) rather than off_t.
15156
bb9510dc
DL
151572012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15158
fc997c6e
DL
15159 * nscd/Makefile: Remove nscd-cflags and all its users.
15160 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15161 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15162
bb9510dc
DL
15163 [BZ #10631]
15164 * malloc.c (malloc_printerr): Clarify error message.
15165
05699367
L
151662012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15167
15168 [BZ #14648]
15169 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15170 Set bit_FMA_Usable if FMA is supported.
15171 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15172 macro.
15173 (bit_FMA4_Usable): Updated.
15174 (index_FMA_Usable): New macro.
15175 (CPUID_FMA): Likewise
15176 (HAS_FMA): Defined with bit_FMA_Usable.
15177
51367701
RM
151782012-10-01 Roland McGrath <roland@hack.frob.com>
15179
15180 * bits/types.h (__swblk_t): Type removed.
15181 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15182 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15183 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15184 (__SWBLK_T_TYPE): Likewise.
15185 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15186 (__SWBLK_T_TYPE): Likewise.
15187 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15188 (__SWBLK_T_TYPE): Likewise.
15189 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15190 (__SWBLK_T_TYPE): Likewise.
15191
4d57bf63 151922012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15193 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15194
15195 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15196 (xdr_mapname): Use YPMAXMAP as maxsize.
15197 (xdr_peername): Use YPMAXPEER as maxsize.
15198 (xdr_keydat): Use YPAXRECORD as maxsize.
15199 (xdr_valdat): Use YPMAXRECORD as maxsize.
15200
93c65d43
RM
152012012-10-01 Roland McGrath <roland@hack.frob.com>
15202
497a03d6
RM
15203 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15204
93c65d43
RM
15205 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15206 * csu/init-first.c: ... here.
15207 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15208 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15209 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15210 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15211 * sysdeps/i386/init-first.c: File removed.
15212 * sysdeps/sh/init-first.c: File removed.
15213
bec749fd
JM
152142012-10-01 Joseph Myers <joseph@codesourcery.com>
15215
15216 [BZ #14645]
15217 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15218 if x * y might underflow to zero and z is zero.
15219 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15220 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15221 * math/libm-test.inc (min_subnorm_value): New variable.
15222 (fma_test): Add more tests.
15223 (fma_test_towardzero): Likewise.
15224 (fma_test_downward): Likewise
15225 (fma_test_upward): Likewise.
15226 (initialize): Set min_subnorm_value.
15227
8ec5b013
JM
152282012-09-29 Joseph Myers <joseph@codesourcery.com>
15229
15230 [BZ #14638]
15231 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15232 0 + 0.
15233 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15234 mode for addition resulting in exact zero.
15235 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15237 exact 0 + 0.
15238 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15240 * math/libm-test.inc (fma_test): Add more tests.
15241 (fma_test_towardzero): New function.
15242 (fma_test_downward): Likewise.
15243 (fma_test_upward): Likewise.
15244 (main): Call the new functions.
15245
b1fa802e
DM
152462012-09-28 David S. Miller <davem@davemloft.net>
15247
15248 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15249
d3b9fd9e
RM
152502012-09-28 Roland McGrath <roland@hack.frob.com>
15251
ea4d37b3
RM
15252 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15253 instead of SIGALRM.
15254
ac51c949
RM
15255 * sysdeps/gnu/_G_config.h: Moved to ...
15256 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15257 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15258 * sysdeps/generic/_G_config.h: ... here.
15259
28c195f7
RM
15260 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15261
848917f9
RM
15262 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15263
6bacf05b
RM
15264 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15265 Conditionalize target on [libnss_test1.so-version].
15266
91363dbb
RM
15267 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15268
cc87f7d8
RM
15269 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15270 (elfobjdir): Move out of conditionals.
15271
b1c608fe
RM
15272 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15273 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15274 (__nss_lookup_function): Conditionalize label remove_from_tree on
15275 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15276
1d9a6d96
DM
152772012-09-28 David S. Miller <davem@davemloft.net>
15278
15279 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15280 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15281 file.
15282 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15283 sysdep_routines.
15284 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15285 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15286 when HWCAP_SPARC_CRYPTO is present.
15287
72581615
PT
152882012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15289
15290 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15291
715a900c
JL
152922012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15293
15294 [BZ #6530]
15295 * stdio-common/vfprintf.c (process_string_arg): Revert
15296 2000-07-22 change.
15297
152982011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15299
15300 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15301 for testcase.
15302 * stdio-common/tst-sprintf.c: Include <locale.h>
15303 (main): Test sprintf's handling of incomplete multibyte
15304 characters.
15305
9bac1d86
L
153062012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15307
15308 * elf/dl-runtime.c (VERSYMIDX): Removed.
15309 * elf/dl-version.c (VERSYMIDX): Likewise.
15310 * elf/do-rel.h (VERSYMIDX): Likewise.
15311 (VALIDX): Likewise.
15312 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15313 * elf/rtld.c (VALIDX): Likewise.
15314 (ADDRIDX): Likewise.
9bac1d86
L
15315 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15316 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15317 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15318 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15319 (VALIDX): Likewise.
15320 (ADDRIDX): Likewise.
9bac1d86 15321
b31606c0
PT
153222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15323
15324 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15325
11541177
JL
153262012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15327
15328 [BZ #11438]
15329 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15330 to global scope.
15331 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15332 addresses are in the same scope as 192.0.2/24.
15333 * posix/gai.conf: Document new scope table defaults.
15334
adb26fae
SP
153352012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15336
15337 [BZ #5298]
15338 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15339 for ftell. Compute offsets from write pointers instead.
15340 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15341
4573c6b0
SP
153422012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15343
15344 [BZ #14543]
15345 * libio/Makefile (tests): New test case tst-fseek.
15346 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15347 combination works in wide mode.
15348 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15349 state when the external buffer state changes.
15350
aa9bbfe6
DM
153512012-09-27 David S. Miller <davem@davemloft.net>
15352
15353 [BZ #14376]
15354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15355 pass reloc->r_addend in as the 'high' argument to
15356 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15357
784421e7
DM
15358 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15359
c39bc8b8
PT
153602012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15361
15362 * rt/tst-aio2.c: Include <pthread.h>.
15363 * rt/tst-aio3.c: Likewise.
15364
1ccc2399
SE
153652012-09-27 Steve Ellcey <sellcey@mips.com>
15366
15367 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15368
31ed4153
L
153692012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15370
25f5f885
L
15371 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15372 contents on [SHARED].
31ed4153 15373
b7bfe116
MP
153742012-09-26 Marek Polacek <polacek@redhat.com>
15375
15376 [BZ #14530]
15377 [BZ #13741]
15378 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15379 for C++ and GCC <4.3 as well as for non GCC compilers.
15380
43c4edba
MT
153812012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15382
15383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15384
6a1bf82f
RM
153852012-09-25 Roland McGrath <roland@hack.frob.com>
15386
15387 * Makefile.in (all, install): Declare with .PHONY.
15388 Reported by Michael Hope <michael.hope@linaro.org>.
15389
8ad11b9a
TMQMF
153902012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15391
15392 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15393 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15394 system header.
15395 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15396 Likewise.
15397 (sydep_routines): Add the new and the internal functions.
15398 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15399 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15401 (GLIBC_2.17): Add the new function.
15402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15403 (GLIBC_2.17): Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15405 (GLIBC_2.17): Likewise.
15406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15407 (GLIBC_2.17): Likewise.
15408 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15409
7e2fca8d
AM
154102012-09-25 Alan Modra <amodra@gmail.com>
15411
15412 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15413 Add release barrier before setting once_control to say
15414 initialisation is done. Add hints on lwarx. Use macro in
15415 place of isync.
15416 (clear_once_control): Add release barrier.
15417
b87c4b24
JM
154182012-09-25 Joseph Myers <joseph@codesourcery.com>
15419
d032e0d2
JM
15420 [BZ #13629]
15421 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15422 specially.
15423 * math/s_clog10.c (__clog10): Likewise.
15424 * math/s_clog10f.c (__clog10f): Likewise.
15425 * math/s_clog10l.c (__clog10l): Likewise.
15426 * math/s_clogf.c (__clogf): Likewise.
15427 * math/s_clogl.c (__clogl): Likewise.
15428 * math/Makefile (libm-calls): Add x2y2m1.
15429 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15430 (__x2y2m1): Likewise.
15431 (__x2y2m1l): Likewise.
15432 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15433 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15434 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15435 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15436 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15437 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15438 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15439 * sysdeps/i386/fpu/libm-test-ulps: Update.
15440 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15441
b87c4b24
JM
15442 [BZ #14621]
15443 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15444 int as type of variable DEPTH.
15445 (glob): Use size_t instead of int as type of variables NEWCOUNT
15446 and OLD_PATHC.
15447
6d3bf199
LD
154482012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15449
22bf5c17
LD
15450 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15451 Add s_sincosf-sse2.
15452 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15453 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15454 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15455 macros for using routine as __sincosf_ia32.
15456 Use macro for function declaration and weak_alias.
15457 * sysdeps/i386/fpu/libm-test-ulps: Update.
15458
15459 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15461
15462 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15463 subnormal argument.
15464 * math/s_cexpf.c (__cexpf): Likewise.
15465 * math/s_csinf.c (__csinf): Likewise.
15466 * math/s_csinhf.c (__csinhf): Likewise.
15467 * math/s_ctanf.c (__ctanf): Likewise.
15468 * math/s_ctanhf.c (__ctanhf): Likewise.
15469 * math/s_ccosh.c (__ccoshf): Likewise.
15470 * math/s_cexp.c (__cexpl): Likewise.
15471 * math/s_csin.c (__csin): Likewise.
15472 * math/s_csinh.c (__csinh): Likewise.
15473 * math/s_ctan.c (__ctan): Likewise.
15474 * math/s_ctanh.c (ctanh): Likewise.
15475 * math/s_ccoshl.c (__ccoshl): Likewise.
15476 * math/s_cexpl.c (__cexpl): Likewise.
15477 * math/s_csinl.c (__csinl): Likewise.
15478 * math/s_csinhl.c (__csinhl): Likewise.
15479 * math/s_ctanl.c (__ctanl): Likewise.
15480 * math/s_ctanhl.c (__ctanhl): Likewise.
15481
203e5603
JM
154822012-09-25 Joseph Myers <joseph@codesourcery.com>
15483
15484 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15485 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15486 (_IO_off_t): Define to __off_t, not _G_off_t.
15487 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15488 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15489 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15490 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15491 type of __dummy and __dummy2 fields.
15492 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15493 (_G_ssize_t): Likewise.
15494 (_G_off_t): Likewise.
15495 (_G_pid_t): Likewise.
15496 (_G_uid_t): Likewise.
15497 (_G_wchar_t): Likewise.
15498 (_G_wint_t): Likewise.
15499 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15500 (_G_ssize_t): Likewise.
15501 (_G_off_t): Likewise.
15502 (_G_pid_t): Likewise.
15503 (_G_uid_t): Likewise.
15504 (_G_wchar_t): Likewise.
15505 (_G_wint_t): Likewise.
15506 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15507 (_G_ssize_t): Likewise.
15508 (_G_off_t): Likewise.
15509 (_G_pid_t): Likewise.
15510 (_G_uid_t): Likewise.
15511 (_G_wchar_t): Likewise.
15512 (_G_wint_t): Likewise.
15513
9fab36eb
SP
155142012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15515
15516 * malloc/arena.c: Include malloc-sysdep.h.
15517 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15518 is sufficient to shrink the heap or an unmap is needed.
15519 * sysdeps/generic/malloc-sysdep.h: New file. Define
15520 new function check_may_shrink_heap.
15521 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15522 new function check_may_shrink_heap.
15523
2b4f00d1
SP
155242012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15525
15526 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15527 comments.
15528
9a9028b1
DL
155292012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15530
57c69bef
DL
15531 * catgets/test-gencat.sh: Add "set -e".
15532 * elf/tst-pathopt.sh: Likewise.
15533 * grp/tst_fgetgrent.sh: Likewise.
15534 * iconvdata/run-iconv-test.sh: Likewise.
15535 * intl/tst-gettext.sh: Likewise.
15536 * intl/tst-gettext2.sh: Likewise.
15537 * intl/tst-gettext4.sh: Likewise.
15538 * intl/tst-gettext6.sh: Likewise.
15539 * intl/tst-translit.sh: Likewise.
15540 * io/ftwtest-sh: Likewise.
15541 * libio/test-freopen.sh: Likewise.
15542 * malloc/tst-mtrace.sh: Likewise.
15543 * posix/globtest.sh: Likewise.
15544 * posix/tst-getconf.sh: Likewise.
15545 * posix/wordexp-tst.sh: Likewise.
15546 * stdio-common/tst-printf.sh: Likewise.
15547 * stdio-common/tst-unbputc.sh: Likewise.
15548 * stdlib/tst-fmtmsg.sh: Likewise.
15549 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15550 * catgets/Makefile: Do not specify -e option when running
15551 testsuite shell scripts.
15552 * elf/Makefile: Likewise.
15553 * grp/Makefile: Likewise.
15554 * iconvdata/Makefile: Likewise.
15555 * intl/Makefile: Likewise.
15556 * io/Makefile: Likewise.
15557 * libio/Makefile: Likewise.
15558 * malloc/Makefile: Likewise.
15559 * posix/Makefile: Likewise.
15560 * stdio-common/Makefile: Likewise.
15561 * stdlib/Makefile: Likewise.
15562 * sysdeps/x86_64/Makefile: Likewise.
15563
9a9028b1
DL
15564 * io/ftwtest-sh: Add copyright header.
15565 * posix/globtest.sh: Likewise.
15566 * posix/tst-getconf.sh: Likewise.
15567 * posix/wordexp-tst.sh: Likewise.
15568 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15569
ced6f16e
L
155702012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15571
94b32c39
L
15572 [BZ #13679]
15573 * Makeconfig (+link): Defined as $(+link-static) if
15574 $(build-shared) isn't yes.
15575 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15576 isn't yes.
15577 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15578
189e935b
L
15579 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15580
ced6f16e
L
15581 [BZ #14562]
15582 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15583 new chunk size with MALLOC_ALIGN_MASK.
15584
a9f8e53a
JM
155852012-09-24 Joseph Myers <joseph@codesourcery.com>
15586
15587 [BZ #5044]
15588 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15589 <rounding-mode.h>.
15590 (__printf_fphex): Determine rounding using get_rounding_mode and
15591 round_away.
15592 * stdio-common/tst-printf-round.c (struct hex_test): New
15593 structure.
15594 (hex_tests): New variable.
15595 (test_hex_in_one_mode): New function.
15596 (do_test): Also run tests for hex float output.
15597
43153109
JM
155982012-09-21 Joseph Myers <joseph@codesourcery.com>
15599
15600 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15601 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15602 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15603 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15604 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15605 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15606 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15607 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15608
8a26625d
JM
156092012-09-20 Joseph Myers <joseph@codesourcery.com>
15610
15611 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15612 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15613 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15614 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15615
f3fd569c
DL
156162012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15617
15618 [BZ #14579]
15619 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15620 mode only.
15621 * elf/tst-rtld-load-self.sh: New test.
15622 * elf/Makefile: Run it.
15623
63bbedd4
JM
156242012-09-18 Joseph Myers <joseph@codesourcery.com>
15625
15626 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15627 (tst-writev-ENV): Remove.
15628 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15629
626f8b6a
CM
156302012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15631
15632 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15633
b7aaa4d6
JM
156342012-09-17 Joseph Myers <joseph@codesourcery.com>
15635
15636 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15637 unconditional.
15638 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15639 Likewise.
15640 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15641 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15642 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15643 Likewise.
15644
65513990
L
156452012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15646
15647 [BZ #14587]
15648 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15649 * config.make.in (have-cpp-asm-debuginfo): Removed.
15650 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15651 * configure: Regenerated.
15652
784761be
JM
156532012-09-14 Joseph Myers <joseph@codesourcery.com>
15654
15655 [BZ #5044]
15656 * stdio-common/printf_fp.c: Include <stdbool.h> and
15657 <rounding-mode.h>.
15658 (___printf_fp): Determine rounding using get_rounding_mode and
15659 round_away.
15660 * stdio-common/tst-printf-round.c: New file.
15661 * stdio-common/Makefile (tests): Add tst-printf-round.
15662 (link-libm): New variable.
15663 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15664
9503345f
L
156652012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15666
15667 [BZ #14576]
15668 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15669 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15670 Likewise.
15671 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15672 Likewise.
15673
ad35fc00
JM
156742012-09-13 Joseph Myers <joseph@codesourcery.com>
15675
15676 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15677 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15678 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15679 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15680
6c9b0f68
JM
156812012-09-12 Joseph Myers <joseph@codesourcery.com>
15682
15683 [BZ #14518]
15684 * include/rounding-mode.h: New file.
15685 * sysdeps/generic/get-rounding-mode.h: Likewise.
15686 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15687 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15688 (MAX_VALUE): New macro.
15689 (MIN_VALUE): Likewise.
15690 (overflow_value): New function.
15691 (underflow_value): Likewise.
15692 (round_and_return): Use overflow_value and underflow_value to
15693 determine return values in overflow and underflow cases. Use
15694 round_away to determine rounding depending on rounding mode.
15695 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15696 determine return values in overflow and underflow cases.
15697 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15698 (struct test_results): New structure.
15699 (struct test): Use struct test_results to store expected results
15700 for all rounding modes.
15701 (TEST): Include expected results for all rounding modes.
15702 (test_in_one_mode): New function.
15703 (do_test): Use test_in_one_mode to compute and check results.
15704 Check results for all rounding modes.
15705 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15706 $(link-libm).
15707
19fcedd5
AM
157082012-12-09 Allan McRae <allan@archlinux.org>
15709
1e9d84cd 15710 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15711
8bbfd2f1
JM
157122012-09-11 Joseph Myers <joseph@codesourcery.com>
15713
15714 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15715 (_G_int32_t): Likewise.
15716 (_G_uint16_t): Likewise.
15717 (_G_uint32_t): Likewise.
15718 (_G_HAVE_BOOL): Likewise.
15719 (_G_HAVE_ATEXIT): Likewise.
15720 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15721 (_G_HAVE_IO_FILE_OPEN): Likewise.
15722 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15723 (_G_int32_t): Likewise.
15724 (_G_uint16_t): Likewise.
15725 (_G_uint32_t): Likewise.
15726 (_G_HAVE_BOOL): Likewise.
15727 (_G_HAVE_ATEXIT): Likewise.
15728 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15729 (_G_HAVE_IO_FILE_OPEN): Likewise.
15730 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15731 (_G_int32_t): Likewise.
15732 (_G_uint16_t): Likewise.
15733 (_G_uint32_t): Likewise.
15734 (_G_HAVE_BOOL): Likewise.
15735 (_G_HAVE_ATEXIT): Likewise.
15736 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15737 (_G_HAVE_IO_FILE_OPEN): Likewise.
15738
b1dc5912
L
157392012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15740
15741 * csu/libc-tls.c: Update copyright years.
15742
0e886ef9
JM
157432012-09-10 Joseph Myers <joseph@codesourcery.com>
15744
28361c5e
JM
15745 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15746 [!_G_USING_THUNKS]: Remove conditional code.
15747 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15748 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15749
0e886ef9
JM
15750 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15751 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15752 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15753 (_G_VTABLE_LABEL_PREFIX): Likewise.
15754 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15755 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15756 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15757 (_G_VTABLE_LABEL_PREFIX): Likewise.
15758 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15759 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15760 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15761 (_G_VTABLE_LABEL_PREFIX): Likewise.
15762 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15763
bcba7aa2
L
157642012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15765
15766 * libio/Makefile: Include ../Makeconfig before tests.
15767 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15768 only if $(build-shared) is yes.
15769
06585ee8
L
15770 * iconv/gconv_db.c: Update copyright years.
15771
80ccd52c
LD
157722012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15773
15774 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15775 unwind info if defined PIC. Fix special cases description.
15776 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15777
15778 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15779 DP_HI_MASK entry.
15780 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15781
691bc9c1
L
157822012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15783
3d9b46b3
L
15784 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15785
de2139a9
L
15786 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15787 is NULL.
15788
5ca78dd0
L
15789 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15790 (LDLIBS-tst-chk4): This.
15791 (LDFLAGS-tst-chk5): Renamed to ...
15792 (LDLIBS-tst-chk5): This.
15793 (LDFLAGS-tst-chk6): Renamed to ...
15794 (LDLIBS-tst-chk6): This.
15795 (LDFLAGS-tst-lfschk4): Renamed to ...
15796 (LDLIBS-tst-lfschk4): This.
15797 (LDFLAGS-tst-lfschk5): Renamed to ...
15798 (LDLIBS-tst-lfschk5): This.
15799 (LDFLAGS-tst-lfschk6): Renamed to ...
15800 (LDLIBS-tst-lfschk6): This.
15801
691bc9c1
L
15802 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15803 on $(common-objpfx)soversions.mk.
15804
65cafb1c
JM
158052012-09-07 Joseph Myers <joseph@codesourcery.com>
15806
15807 [BZ #10014]
15808 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15809 example host name.
15810
c78ab094
SP
158112012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15812
15813 * malloc/arena.c (arena_get_retry): New function that gets
15814 another arena for the caller to try its request on.
15815 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15816 current arena cannot fulfill the request.
15817 (__libc_memalign): Likewise.
15818 (__libc_memalign): Likewise.
15819 (__libc_pvalloc): Likewise.
15820 (__libc_calloc): Likewise.
15821
01f49f59
JT
158222012-09-05 John Tobey <john.tobey@gmail.com>
15823
15824 [BZ #13542]
15825 * manual/arith.texi (Operations on Complex): Fix description
15826 of carg branch cut.
15827
4c23fed5
JM
158282012-09-06 Joseph Myers <joseph@codesourcery.com>
15829
1d3c8572
JM
15830 [BZ #10014]
15831 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15832 host name.
15833
4c23fed5
JM
15834 [BZ #10038]
15835 * manual/memory.texi (Memory): Make order of menu items match
15836 order of sections.
15837
04570aaa
L
158382012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15839
15840 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15841 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15842 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15843
b80af2f4
L
158442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15845
15846 * csu/libc-tls.c (static_dtv): Renamed to ...
15847 (_dl_static_dtv): This. Make it global.
15848 (_dl_initial_dtv): Removed.
15849 (__libc_setup_tls): Updated.
15850 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15851 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15852 DL_INITIAL_DTV.
15853
2abe9f15
PM
158542012-09-06 Petr Machata <pmachata@redhat.com>
15855
15856 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15857 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15858 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15859 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15860
0948c3af
L
158612012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15862
15863 [BZ #14545]
15864 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15865 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15866 freeing dtv[-1].
15867
a5055ad1
L
158682012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15869
15870 [BZ #14544]
15871 * Makeconfig (link-static-before-libc): Replace $(+prector)
15872 with $(+prectorT).
15873 (link-static-after-libc): Replace $(+postctor) with
15874 $(+postctorT).
15875 (link-bounded): Replace $(+prector)/$(+postctor) with
15876 $(+prectorT)/$(+postctorT).
15877 (+prectorT): New macro.
15878 (+postctorT): Likewise.
15879
ed8c2ecd
JM
158802012-09-06 Joseph Myers <joseph@codesourcery.com>
15881
15882 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15883 (round_str): Handle values above the maximum for IBM long double
15884 as inexact.
15885 * stdlib/tst-strtod-round.c (tests): Regenerated.
15886
14c996c8
AK
158872012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15888
15889 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15890 assembler flag.
15891 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15892 zarch_nohighgprs around the zarch optimized routines.
15893 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15894 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15895 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15896 for zarch.
15897
430d6ce6
DM
158982012-09-05 David S. Miller <davem@davemloft.net>
15899
15900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15901
ff04dda4
DM
15902 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15903 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15904 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15905 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15906 entries.
15907
24d4e01b
AO
159082012-09-05 Alexandre Oliva <aoliva@redhat.com>
15909
15910 * malloc/arena.c: Fold copyright years.
15911 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15912
61d58174
AO
159132012-09-05 Alexandre Oliva <aoliva@redhat.com>
15914
15915 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15916
20196a5e
AO
159172012-09-05 Alexandre Oliva <aoliva@redhat.com>
15918
15919 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15920
5c447383
AO
159212012-09-05 Alexandre Oliva <aoliva@redhat.com>
15922
15923 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15924 change internal state upon failure.
15925
fad64255
AO
159262012-09-05 Alexandre Oliva <aoliva@redhat.com>
15927
15928 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15929 * malloc/memusage.c (mmap): Likewise.
15930 (mmap64, mremap): Likewise. Adjust name in comment.
15931
1ffb8c90
SP
159322012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15933
15934 * libio/fileops.c: Fix typos in comments.
15935 * libio/oldfileops.c: Likewise.
15936 * libio/wfileops.c: Likewise.
15937
6ef9cc37
SP
159382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15939
15940 [BZ #1349]
15941 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15942 (tst-malloc-usable-ENV): Set environment for test case.
15943 * malloc/hooks.c (malloc_check_get_size): New function to get
15944 requested size.
15945 * malloc/malloc.c (musable): Use malloc_check_get_size.
15946 * malloc/tst-malloc-usable.c: New test case.
15947
4d038ae3
AS
159482012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15949
15950 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15951
c4e85184
AM
159522012-09-05 Allan McRae <allan@archlinux.org>
15953
b9dafc56 15954 [BZ #13966]
c4e85184
AM
15955 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15956 determine header location.
15957 * configure: Regenerated.
15958
e1343020
AS
159592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15960
15961 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15962 float format.
15963 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15964 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15965 format.
e1343020
AS
15966 (test): Regenerate.
15967
0a9f1987
DM
159682012-09-04 David S. Miller <davem@davemloft.net>
15969
15970 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15971 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15972 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15973
29237804
FW
159742012-09-04 Florian Weimer <fweimer@redhat.com>
15975
15976 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15977 failures.
15978
edb3cb88
FW
15979 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15980
60160d83
JM
159812012-09-04 Joseph Myers <joseph@codesourcery.com>
15982
15983 [BZ #9914]
15984 * libio/iogetdelim.c: Include <limits.h>.
15985 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15986 + len + 1 would overflow.
15987
bcd6c8dc
AJ
159882012-09-03 Andreas Jaeger <aj@suse.de>
15989
15990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15991 * sysdeps/i386/fpu/libm-test-ulps: Update.
15992
4ffffbd2
LD
159932012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15994
15995 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15996 Add s_sinf-sse2, s_conf-sse2.
15997
15998 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15999 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16000 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16001 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16002
16003 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16004 for using routine as __sinf_ia32.
16005 Use macro for function declaration and weak_alias.
16006 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16007 for using routine as __cosf_ia32.
16008 Use macro for function declaration and weak_alias.
16009
16010 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16011 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16012
16013 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16014 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16015 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16016
16017 * math/libm-test.inc (cos_test): Add more test cases.
16018 (sin_test): Likewise.
16019 (sincos_test): Likewise.
16020
511fa286
AK
160212012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16022
16023 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16024 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16025 hidden.
16026 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16027
5f30cfec
L
160282012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16029
16030 [BZ #14538]
16031 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16032 first element of the GOT.
16033 (elf_machine_load_address): Return the difference between
16034 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16035
0786794f
AM
160362012-09-01 Allan McRae <allan@archlinux.org>
16037
5f30cfec
L
16038 [BZ #13412]
16039 * configure.in (AWK): Require gawk version 3.0 or later.
16040 * configure: Regenerated.
0786794f 16041
26889eac
JM
160422012-09-01 Joseph Myers <joseph@codesourcery.com>
16043
16044 * sysdeps/unix/sysv/linux/kernel-features.h
16045 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16046 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16047 [__NR_clock_getres]: Make code unconditional.
16048 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16049 (clock_getcpuclockid): Remove code left unreachable by removal of
16050 conditionals.
16051 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16052 code unconditional.
16053 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16054 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16055 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16056 Make code unconditional.
16057 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16058 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16059 * sysdeps/unix/sysv/linux/clock_settime.c
16060 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16061 conditional code.
16062 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16063 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16064
d22e28b0
L
160652012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16066
16067 [BZ #14476]
16068 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16069 scripts/test-installation.pl.
16070
16071 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16072 and $ld_so_version if it is set.
16073
050af9c4
SP
160742012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16075
16076 [BZ #14516]
16077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16078 failure if reading from procfs failed.
16079 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16080
ad845c0b
JM
160812012-08-27 Joseph Myers <joseph@codesourcery.com>
16082
16083 * sysdeps/unix/sysv/linux/kernel-features.h
16084 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16085 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16086 Remove conditional code.
16087 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16088 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16089 Remove conditional code.
16090 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16091 * sysdeps/unix/sysv/linux/i386/fxstat.c
16092 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16093 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16094 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16095 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16096 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16097 * sysdeps/unix/sysv/linux/i386/lxstat.c
16098 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16099 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16100 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16101 Remove conditional code.
16102 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16103 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16104 Remove conditional code.
16105 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16106 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16107 <kernel-features.h>.
16108 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16109 Remove.
16110 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16111 Remove conditional code.
16112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16113 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16114 Remove conditional.
16115
5dbf56af
MF
161162012-08-27 Mike Frysinger <vapier@gentoo.org>
16117
16118 [BZ #5400]
16119 * NEWS: Add fixed bug number.
16120
d6e70f43
JM
161212012-08-27 Joseph Myers <joseph@codesourcery.com>
16122
7efb4737
JM
16123 [BZ #14519]
16124 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16125 underflowing exponent in case of negative sign.
16126 * stdlib/tst-strtod-round-data: Add more tests.
16127 * stdlib/tst-strtod-round.c (tests): Regenerated.
16128
af92131a
JM
16129 [BZ #3479]
16130 * stdlib/strtod_l.c (NDIG): Remove.
16131 (HEXNDIG): Likewise.
16132 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16133 smallest representable value.
16134 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16135 lie within an exact representation of 1/2 ulp of the result.
16136 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16137 unconditionally.
16138 (TENS_P9_IDX): Define unconditionally.
16139 (TENS_P9_SIZE): Likewise.
16140 (TENS_P10_IDX): Likewise.
16141 (TENS_P10_SIZE): Likewise.
16142 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16143 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16144 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16145 entries for 10^2^13 and 10^2^14.
16146 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16147 (TENS_P13_IDX): Define.
16148 (TENS_P13_SIZE): Likewise.
16149 (TENS_P14_IDX): Likewise.
16150 (TENS_P14_SIZE): Likewise.
16151 (_fpioconst_pow10): Change array size to
16152 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16153 unconditional.
16154 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16155 1024]: Add entries for 10^2^13 and 10^2^14.
16156 [LAST_POW10 > _LAST_POW10]: Remove #error.
16157 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16158 (_fpioconst_pow10): Change array size to
16159 FPIOCONST_POW10_ARRAY_SIZE.
16160 * stdlib/gen-fpioconst.c: New file.
16161 * stdlib/gen-tst-strtod-round.c: Likewise.
16162 * stdlib/tst-strtod-round-data: Likewise.
16163 * stdlib/tst-strtod-round.c: Likewise.
16164 * stdlib/Makefile (tests): Add tst-strtod-round.
16165
d6e70f43
JM
16166 [BZ #14459]
16167 * stdlib/strtod_l.c: Include <stdint.h>.
16168 (NDEBUG): Do not define.
16169 (round_and_return): Change EXPONENT parameter to type intmax_t.
16170 Rearrange calculations to avoid internal overflow possibilities.
16171 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16172 Rearrange calculations to avoid internal overflow possibilities.
16173 Assert that number fits inside MPNSIZE limbs.
16174 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16175 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16176 calculations and add assertions to avoid internal overflow
16177 possibilities. Add casts to avoid signed/unsigned operations.
16178 * stdlib/tst-strtod-overflow.c: New file.
16179 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16180
1f529f7d
MP
161812012-08-25 Marek Polacek <polacek@redhat.com>
16182
16183 * time/time.h: Fix some typos in comments.
16184
59a629f1
RM
161852012-08-23 Roland McGrath <roland@hack.frob.com>
16186
16187 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16188 * posix/tst-rfc3484-2.c: Likewise.
16189 * posix/tst-rfc3484-3.c: Likewise.
16190
d3bafbc9
SM
161912012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16192
16193 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16194 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16195
4efcc022
JM
161962012-08-23 Joseph Myers <joseph@codesourcery.com>
16197
16198 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16199 #include of fxstatat64.c.
16200
3cc3ef96
RM
162012012-08-22 Roland McGrath <roland@hack.frob.com>
16202
f04e2132
RM
16203 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16204 * shadow/getspent_r.c: Likewise.
16205 * shadow/getspnam.c: Likewise.
16206 * shadow/getspnam_r.c: Likewise.
16207 * gshadow/getsgent.c: Likewise.
16208 * gshadow/getsgent_r.c: Likewise.
16209 * gshadow/getsgnam.c: Likewise.
16210 * gshadow/getsgnam_r.c: Likewise.
16211 * inet/getnetbyad.c: Likewise.
16212 * inet/getnetbyad_r.c: Likewise.
16213 * inet/getnetbynm.c: Likewise.
16214 * inet/getnetbynm_r.c: Likewise.
16215 * inet/getnetent.c: Likewise.
16216 * inet/getnetent_r.c: Likewise.
16217 * inet/getproto.c: Likewise.
16218 * inet/getproto_r.c: Likewise.
16219 * inet/getprtent.c: Likewise.
16220 * inet/getprtent_r.c: Likewise.
16221 * inet/getprtname.c: Likewise.
16222 * inet/getprtname_r.c: Likewise.
16223 * inet/getrpcbyname.c: Likewise.
16224 * inet/getrpcbyname_r.c: Likewise.
16225 * inet/getrpcbynumber.c: Likewise.
16226 * inet/getrpcbynumber_r.c: Likewise.
16227 * inet/getrpcent.c: Likewise.
16228 * inet/getrpcent_r.c: Likewise.
16229 * inet/getaliasent.c: Likewise.
16230 * inet/getaliasent_r.c: Likewise.
16231 * inet/getaliasname.c: Likewise.
16232 * inet/getaliasname_r.c: Likewise.
16233 * nscd/getgrgid_r.c: Likewise.
16234 * nscd/getgrnam_r.c: Likewise.
16235 * nscd/gethstbyad_r.c: Likewise.
16236 * nscd/gethstbynm3_r.c: Likewise.
16237 * nscd/getpwnam_r.c: Likewise.
16238 * nscd/getpwuid_r.c: Likewise.
16239 * nscd/getsrvbynm_r.c: Likewise.
16240 * nscd/getsrvbypt_r.c: Likewise.
16241 * nscd/gai.c: Likewise.
16242
c53d909c
RM
16243 * configure.in (build_nscd): New substituted variable, set
16244 by --disable-build-nscd and defaults to $use_nscd.
16245 * configure: Regenerated.
16246 * config.make.in (build-nscd): New substituted variable.
16247 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16248 Change conditional to require [$(build-nscd) = yes] as well.
16249 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16250
3cc3ef96
RM
16251 [BZ# 13696]
16252 * configure.in (use_nscd): New substituted variable, set by
16253 --disable-nscd. If enabled, define USE_NSCD.
16254 * configure: Regenerated.
16255 * config.h.in: Add USE_NSCD.
16256 * config.make.in (use-nscd): New substituted variable.
16257 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16258 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16259 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16260 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16261 (CFLAGS-getgrnam_r.c): Likewise.
16262 (CFLAGS-initgroups.c): Likewise.
16263 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16264 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16265 Variables removed.
16266 * inet/getnetgrent_r.c
16267 (nscd_setnetgrent): New function, broken out of ...
16268 (setnetgrent): ... here. Call it.
16269 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16270 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16271 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16272 * nscd/Makefile (routines, aux): Move definitions after include of
16273 Makeconfig. Conditionalize on [$(use-nscd) != no].
16274 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16275 Conditionalize on [USE_NSCD].
16276 (is_nscd, nscd_init_cb): Likewise.
16277 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16278 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16279 * nss/nss_db/db-init.c: Likewise.
16280 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16281 [USE_NSCD].
16282 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16283 (make_request): Use it.
16284 (cache_valid_p): New function.
16285 (__check_pf): Use it.
16286 * NEWS: Add item for --disable-nscd.
16287
07e51550
DL
162882012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16289
16290 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16291 to support sed >= 4.2.1-20-ga9bf076.
16292 * configure: Regenerated.
16293
35a5b08b
RM
162942012-08-22 Roland McGrath <roland@hack.frob.com>
16295
16296 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16297 Conditionalize whole body on [IREL].
16298
8479f23a
JL
162992012-08-22 Jeff Law <law@redhat.com>
16300
16301 [BZ #14505]
16302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16303 if the family is PF_UNSPEC.
16304
48da0b21
MF
163052012-08-22 Mike Frysinger <vapier@gentoo.org>
16306
16307 * Makerules (lib-version): Rename from V.
16308 (install-lib-nosubdir): Change V to lib-version.
16309
15d0da8c
WS
163102012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16311
16312 [BZ #14252]
16313 * powerpc32/power6/wcschr.c: New file.
16314 * powerpc32/power6/wcscpy.c: New file.
16315 * powerpc32/power6/wcsrchr.c: New file.
16316 * powerpc64/power6/wcschr.c: New file.
16317 * powerpc64/power6/wcscpy.c: New file.
16318 * powerpc64/power6/wcsrchr.c: New file.
16319
bcca0895
MK
163202012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16321
16322 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16323 (two_way_short_needle): Use it.
5a4aaa33
RM
16324 * string/strstr.c (AVAILABLE1_USES_J): Define.
16325 * string/strcasestr.c: Likewise.
99677e57
MK
16326
16327 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16328 array references.
16329 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16330
400726de
MK
16331 [BZ #11607]
16332 * NEWS: Add an entry.
16333 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16334 define their defaults.
16335 (two_way_short_needle): Detect end-of-string on-the-fly.
16336 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16337 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16338 * string/bug-strcasestr1.c: New test.
16339 * string/Makefile: Run it.
16340
20a71f2c
MK
163412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16342
16343 [BZ #11607]
16344 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16345 the first character.
16346
21ad0558
RM
163472012-08-21 Roland McGrath <roland@hack.frob.com>
16348
16349 * csu/elf-init.c (__libc_csu_irel): Function removed.
16350 * csu/libc-start.c (apply_irel): New function.
16351 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16352
0e1d9911
JM
163532012-08-21 Joseph Myers <joseph@codesourcery.com>
16354
16355 * sysdeps/unix/sysv/linux/kernel-features.h
16356 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16357 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16358 <kernel-features.h>.
16359 [__NR_fadvise64_64]: Make code unconditional.
16360 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16361 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16362 !__NR_fadvise64_64)]: Likewise.
16363 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16364 !__NR_fadvise64_64))]: Likewise.
16365 [__NR_fadvise64]: Make code unconditional.
16366 [!__NR_fadvise64]: Remove conditional code.
16367 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16368 <kernel-features.h>.
16369 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16370 unconditional.
16371 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16372 conditional code.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16374 not include <kernel-features.h>.
16375 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16376 unconditional.
16377 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16378 conditional code.
16379 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16380 include <kernel-features.h>.
16381 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16382 unconditional.
16383 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16384 conditional code.
16385
14a50c9d
WS
163862012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16387
16388 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16389 slight instruction rearrangements per scrollpipe analysis.
16390 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16391
c0f4faf0
RM
163922012-08-20 Roland McGrath <roland@hack.frob.com>
16393
696da859
RM
16394 * manual/syslog.texi (syslog; vsyslog, closelog):
16395 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16396 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16397
c0f4faf0
RM
16398 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16399 DSOCAPS to match condition on defining it.
16400
348363b2
JM
164012012-08-20 Joseph Myers <joseph@codesourcery.com>
16402
a35cbf28
JM
16403 * sysdeps/unix/sysv/linux/kernel-features.h
16404 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16406 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16407 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16409 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16410 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16412 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16413 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16414
445f7ecd
JM
16415 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16416 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16417
348363b2
JM
16418 * sysdeps/unix/sysv/linux/kernel-features.h
16419 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16420 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16421 unconditional.
16422 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16423 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16424 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16425 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16426 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16427 Make code unconditional.
16428 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16429 (__mmap64) [!__NR_mmap2]: Likewise.
16430 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16431 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16432 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16433 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16434 [__NR_mmap2]: Make code unconditional.
16435 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16436 (__mmap64) [!__NR_mmap2]: Likewise.
16437
bc5bc0e5
AK
164382012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16439
16440 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16441
88d506de
AJ
164422012-08-18 Andreas Jaeger <aj@suse.de>
16443
16444 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16445
493387d2
MF
164462012-08-18 Mike Frysinger <vapier@gentoo.org>
16447
16448 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16449 * include/unistd.h (__have_sock_cloexec): Likewise.
16450 (__have_pipe2): Likewise.
16451 (__have_dup3): Likewise.
16452
a277af22
MF
164532012-08-18 Mike Frysinger <vapier@gentoo.org>
16454
16455 [BZ #9685]
16456 * include/unistd.h (__have_pipe2): Change define into an extern int.
16457 (__have_dup3): Likewise.
16458 * socket/have_sock_cloexec.c: Include fcntl.h.
16459 (__have_pipe2): New variable.
16460 (__have_dup3): Likewise.
16461
fdab8fd3
MF
164622012-08-17 Mike Frysinger <vapier@gentoo.org>
16463
16464 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16465
31035e80
MP
164662012-08-17 Marek Polacek <polacek@redhat.com>
16467
16468 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16469 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16470
3bd9e993
RM
164712012-08-17 Roland McGrath <roland@hack.frob.com>
16472
c91c505f
RM
16473 * configure.in: Add AC_SUBST for sysheaders.
16474 * configure: Regenerated.
16475 * config.make.in (sysheaders): New substituted variable.
16476
7c6f9d53
RM
16477 * sysdeps/unix/mkfifo.c: Moved ...
16478 * sysdeps/posix/mkfifo.c: ... here.
16479 * sysdeps/unix/mkfifoat.c: Moved ...
16480 * sysdeps/posix/mkfifoat.c: ... here.
16481
16482 * sysdeps/unix/utime.c: Moved ...
16483 * sysdeps/posix/utime.c: ... here.
16484
16485 * sysdeps/unix/time.c: Moved ...
16486 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16487 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16489
16490 * sysdeps/unix/nice.c: Moved ...
16491 * sysdeps/posix/nice.c: ... here.
16492
16493 * sysdeps/unix/alarm.c: Moved ...
16494 * sysdeps/posix/alarm.c: ... here.
16495
3bd9e993
RM
16496 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16497
d1f09384
JL
164982012-08-17 Jeff Law <law@redhat.com>
16499
16500 * intl/Makefile (codeset_mo): New variable.
16501 ($(codeset_mo)): New target.
16502 (tst-codeset.out): Depend on that. Remove explicit rule.
16503 (tst-gettext3.out, tst-gettext5.out): Likewise.
16504 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16505 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16506 * intl/tst-codeset.sh: Remove.
16507 * intl/tst-gettext3.sh: Likewise.
16508 * intl/tst-gettext5.sh: Likewise.
16509
2ae1ae5c
RM
165102012-08-17 Roland McGrath <roland@hack.frob.com>
16511
c31fdb83
RM
16512 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16513 * sysdeps/unix/syscalls.list: ... here.
16514
a0844057
RM
16515 * sysdeps/posix/getaddrinfo.c
16516 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16517 (gaiconf_init, gaiconf_reload): Use them.
16518 [!_STATBUF_ST_NSEC]
16519 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16520 Define using time_t rather than struct timespec.
16521
750c1f2a
RM
16522 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16523 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16524 Macros removed.
16525 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16526 [!NO_THREADS].
16527 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16528 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16529 Likewise.
16530
2ae1ae5c
RM
16531 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16532 __libc_cleanup_push argument.
16533
e66a42f5
RM
16534 * bits/param.h: New file.
16535 * misc/sys/param.h: New file.
16536 * include/sys/param.h: New file.
16537 * misc/Makefile (headers): Add bits/param.h.
16538 * sysdeps/generic/sys/param.h: File removed.
16539 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16540 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16541 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16542 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16543
b7c08a66
RM
16544 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16545 last change.
16546
b2e1c562
RM
16547 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16548 [_IO_MTSAFE_IO].
16549 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16550 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16551 New macros.
16552
c75ccd4c
RM
16553 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16554 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16555 rather than -D_IO_MTSAFE_IO conditionally.
16556 * stdio-common/Makefile (CPPFLAGS): Likewise.
16557 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16558 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16559 Use $(libio-mtsafe).
16560 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16561 of -D_IO_MTSAFE_IO.
16562 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16563 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16564 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16565 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16566 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16567 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16568 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16569 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16570 (CFLAGS-fread_u_chk.c): Likewise.
16571 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16572 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16573 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16574 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16575 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16576 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16577 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16578 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16579 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16580
16581 * libio/Makefile: Test [$(libc-reentrant) = yes]
16582 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16583
16584 * Makeconfig
16585 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16586 * sysdeps/pthread/configure: File removed.
16587 * sysdeps/pthread/Makeconfig: New file.
16588 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16589 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16590
d9195db8
GB
165912012-08-16 Gary Benson <gbenson@redhat.com>
16592
16593 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16594 unmapping the first object in a namespace.
16595
86466cd9
RM
165962012-08-16 Roland McGrath <roland@hack.frob.com>
16597
16598 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16599 (__internal_setnetgrent): ... this. Add internal_function to
16600 definition. Add libc_hidden_def.
16601 (setnetgrent): Update caller.
16602 (internal_endnetgrent): Renamed to ...
16603 (__internal_endnetgrent): ... this. Add internal_function to
16604 definition. Add libc_hidden_def.
16605 (endnetgrent): Update caller.
16606 (internal_getnetgrent_r): Renamed to ...
16607 (__internal_getnetgrent_r): ... this. Add internal_function to
16608 definition. Add libc_hidden_def.
16609 (__getnetgrent_r): Update caller.
16610 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16611
c3c8283c
JM
166122012-08-16 Joseph Myers <joseph@codesourcery.com>
16613
16614 * stdlib/longlong.h: Update from GCC.
16615
db1ee0a8
RM
166162012-08-16 Roland McGrath <roland@hack.frob.com>
16617
16618 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16619 on _QL, which is set by umul_ppmm but never used.
16620 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16621 variables, which are set by GMP macros but never used.
16622 * stdio-common/_itowa.c (_itowa): Likewise.
16623 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16624 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16625
30f69637
CD
166262012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16627
16628 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16629 struct La_sh_regs is not constant.
16630 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16631 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16632 and struct La_sparc64_regs are not constant.
16633
93a78ac4
JM
166342012-08-16 Joseph Myers <joseph@codesourcery.com>
16635
16636 * sysdeps/unix/sysv/linux/kernel-features.h
16637 (__ASSUME_POSIX_TIMERS): Remove.
16638 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16639 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16640 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16641 Make code unconditional.
16642 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16643 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16644 Make code unconditional.
16645 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16646 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16647 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16648 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16649 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16650 Make code unconditional.
16651 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16652 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16653 (__libc_missing_posix_timers): Remove.
16654
dd924cd7
RM
166552012-08-15 Roland McGrath <roland@hack.frob.com>
16656
4b4f2771
RM
16657 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16658 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16659
601c888b
RM
16660 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16661
176790a7
RM
16662 * elf/dl-sym.c: Include <stdlib.h>.
16663
329bc018
RM
16664 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16665 constants, which avoids warnings in 32-bit builds.
16666
e04e272d
RM
16667 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16668 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16669
952bf94a
RM
16670 * misc/lseek.c: File moved to ...
16671 * io/lseek.c: ... here.
16672
7c99b50a
RM
16673 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16674
dd924cd7
RM
16675 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16676 shifting LEN more than 31 bits at once.
16677
b3f479a8
LD
166782012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16679
16680 [BZ #14195]
8c4ae0d4
RM
16681 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16682 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16683 * string/test-strncasecmp.c (check1): Renamed to...
16684 (bz12205): ...this.
16685 (bz14195): Add new testcase for two empty input strings and N > 0.
16686 (test_main): Call new testcase, adapt for renamed function.
16687
9c55864e
AJ
166882012-08-15 Andreas Jaeger <aj@suse.de>
16689
16690 [BZ #14090]
16691 * crypt/md5test2.c: New test, based on test supplied by Serge
16692 Belyshev <belyshev@depni.sinp.msu.ru>.
16693 * crypt/Makefile (xtests): Add md5test-giant..
16694 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16695
02dcb6c5
PE
166962012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16697
16698 [BZ #14090]
16699 * crypt/md5.c (md5_process_block): Don't assume the buffer
16700 length is less than 2**32.
16701 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16702 length is less than 2**64.
16703
a3f95dcc
RM
167042012-08-15 Roland McGrath <roland@hack.frob.com>
16705
be75d758
RM
16706 * string/str-two-way.h: Include <sys/param.h>.
16707 (MAX): Macro removed.
16708
7312ca90
RM
16709 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16710 Move #define and #undef of memmove to just before and after
16711 including <string.h>.
16712
9a0a5486
RM
16713 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16714 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16715 and after including <string.h>. Move declarations of
16716 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16717 to before #include "string/memmove.c".
16718
67cc348d
RM
16719 * include/dirent.h: Declare __getdirentries.
16720
a3f95dcc
RM
16721 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16722 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16723
ca98e171
MF
167242012-08-14 Mike Frysinger <vapier@gentoo.org>
16725
16726 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16727 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16728 * sysdeps/i386/configure: Regenerated.
16729 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16730 STABS_CURRENT_FILE, and STABS_FUN.
16731 (END): Remove call to STABS_FUN_END.
16732 (STABS_CURRENT_FILE1): Delete.
16733 (STABS_CURRENT_FILE): Likewise.
16734 (STABS_FUN): Likewise.
16735 (STABS_FUN_END): Likewise.
16736 (STABS_FUN2): Likewise.
16737 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16738 * sysdeps/x86_64/configure: Regenerated.
16739
5908bf46
RM
167402012-08-14 Roland McGrath <roland@hack.frob.com>
16741
16742 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16743 * elf/dl-lookup.c: Likewise.
5908bf46 16744
f2c05b9e
JM
167452012-08-14 Joseph Myers <joseph@codesourcery.com>
16746
16747 * sysdeps/unix/sysv/linux/kernel-features.h
16748 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16749 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16750 unconditionally.
16751 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16752 unconditionally.
16753 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16754 condition on __ASSUME_CLONE_THREAD_FLAGS.
16755
e11f5155
AJ
167562012-08-14 Andreas Jaeger <aj@suse.de>
16757
16758 * sysdeps/i386/fpu/libm-test-ulps: Update.
16759
51a9ba86
MK
167602012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16761
2fdd4f78
AJ
16762 * include/atomic.h (atomic_exchange_and_add): Split into ...
16763 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16764 New atomic macros.
51a9ba86 16765
ba6cba9e
MT
167662012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16767
16768 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16769
42443a47
JL
167702012-08-13 Jeff Law <law@redhat.com>
16771
16772 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16773 null byte in the output string.
16774
121dce05
JM
167752012-08-10 Joseph Myers <joseph@codesourcery.com>
16776
16777 * sysdeps/unix/sysv/linux/kernel-features.h
16778 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16779 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16780 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16781 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16782 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16783 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16784 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16785
bf51f568
JL
167862012-08-09 Jeff Law <law@redhat.com>
16787
16788 [BZ #13939]
16789 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16790 When avoid_arena is set, don't retry in the that arena. Pick the
16791 next one, whatever it might be.
16792 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16793 (arena_lock): Pass in new parameter to arena_get2.
16794 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16795 arena_get2.
16796 (__libc_malloc): Unify retrying after main arena failure with
16797 __libc_memalign version.
16798 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16799
f85fa270
L
168002012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16801
16802 [BZ #14166]
16803 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16804 to __redirect_strstr.
16805 (__strstr_sse42): Use typeof __redirect_strstr.
16806 (__strstr_ia32): Likewise.
16807 (__libc_strstr): New prototype.
16808 (strstr): Renamed to ...
16809 (__libc_strstr): This.
16810 (strstr): New strong alias of __libc_strstr.
16811 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16812 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16813 __redirect_time.
16814 Include <time.h>.
16815 (__libc_time): New prototype.
16816 (time_ifunc): Replace time with __libc_time.
16817 (time): New strong alias and hidden definition of __libc_time.
16818 (__GI_time): Remove strong alias.
16819 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16820 Include <stddef.h>.
16821 (memmove): Redefined to __redirect_memmove.
16822 (__memmove_sse2): Use typeof __redirect_memmove.
16823 (__memmove_ssse3): Likewise.
16824 (__memmove_ssse3_back): Likewise.
16825 (__libc_memmove): New prototype.
16826 (memmove): Renamed to ...
16827 (__libc_memmove): This.
16828 (memmove): New strong alias of __libc_memmove.
16829
33b4a91e
MS
168302012-08-08 Mark Salter <msalter@redhat.com>
16831
16832 * elf/elf.h
16833 (R_MN10300_TLS_GD): Define.
16834 (R_MN10300_TLS_LD): Likewise.
16835 (R_MN10300_TLS_LDO): Likewise.
16836 (R_MN10300_TLS_GOTIE): Likewise.
16837 (R_MN10300_TLS_IE): Likewise.
16838 (R_MN10300_TLS_LE): Likewise.
16839 (R_MN10300_TLS_DTPMOD): Likewise.
16840 (R_MN10300_TLS_DTPOFF): Likewise.
16841 (R_MN10300_TLS_TPOFF): Likewise.
16842 (R_MN10300_SYM_DIFF): Likewise.
16843 (R_MN10300_ALIGN): Likewise.
16844 (R_MN10300_NUM): Update.
16845
b36137f1
JM
168462012-08-08 Joseph Myers <joseph@codesourcery.com>
16847
16848 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16849 Remove.
16850
cdd915fd
RM
168512012-08-08 Roland McGrath <roland@hack.frob.com>
16852
a2433aac
RM
16853 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16854
cdd915fd
RM
16855 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16856 sysdeps/unix -> sysdeps/posix move.
16857 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16858
bf9b740a
AM
168592012-08-07 Allan McRae <allan@archlinux.org>
16860
16861 [BZ #14303]
16862 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16863 (SUNOS_CPP): Likewise.
16864 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16865 not found.
16866 (open_input): Call CPP using execvp.
16867
93df14ee
JM
168682012-08-07 Joseph Myers <joseph@codesourcery.com>
16869
16870 * sysdeps/unix/sysv/linux/kernel-features.h
16871 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16872 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16873 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16874 (__ASSUME_WAITID_SYSCALL): Likewise.
16875 * sysdeps/unix/sysv/linux/dl-execstack.c
16876 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16877 code unconditional.
16878 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16879 conditional code.
16880 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16881 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16882 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16883 code.
16884 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16885 unconditional.
16886 [__ASSUME_WAITID_SYSCALL]: Likewise.
16887 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16888
d34689de
RM
168892012-08-07 Roland McGrath <roland@hack.frob.com>
16890
a281decc
RM
16891 * sysdeps/unix/closedir.c: Renamed to ...
16892 * sysdeps/posix/closedir.c: ... here.
16893 * sysdeps/unix/dirfd.c: Renamed to ...
16894 * sysdeps/posix/dirfd.c: ... here.
16895 * sysdeps/unix/dirstream.h: Renamed to ...
16896 * sysdeps/posix/dirstream.h: ... here.
16897 * sysdeps/unix/fdopendir.c: Renamed to ...
16898 * sysdeps/posix/fdopendir.c: ... here.
16899 * sysdeps/unix/opendir.c: Renamed to ...
16900 * sysdeps/posix/opendir.c: ... here.
16901 * sysdeps/unix/readdir.c: Renamed to ...
16902 * sysdeps/posix/readdir.c: ... here.
16903 * sysdeps/unix/readdir_r.c: Renamed to ...
16904 * sysdeps/posix/readdir_r.c: ... here.
16905 * sysdeps/unix/rewinddir.c: Renamed to ...
16906 * sysdeps/posix/rewinddir.c: ... here.
16907 * sysdeps/unix/seekdir.c: Renamed to ...
16908 * sysdeps/posix/seekdir.c: ... here.
16909 * sysdeps/unix/telldir.c: Renamed to ...
16910 * sysdeps/posix/telldir.c: ... here.
16911 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16912 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16913 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16914 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16915
22895b47
RM
16916 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16917 * bits/fcntl.h: ... here.
16918
707a53b6
RM
16919 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16920 not 0.
16921 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16922 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16923 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16924 (struct flock): Move l_start, l_len to the beginning.
16925 Use __pid_t for l_pid.
16926 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16927 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16928 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16929 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16930 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16931 [__USE_LARGEFILE64] (struct flock64): New type.
16932 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16933
f0bd3e25
RM
16934 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16935 * bits/dirent.h: ... here.
16936
d34689de
RM
16937 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16938 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16939
6dad2c06
JM
169402012-08-07 Joseph Myers <joseph@codesourcery.com>
16941
16942 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16943 Change from 2.6.0 to 2.6.16.
16944 * sysdeps/unix/sysv/linux/configure: Regenerated.
16945 * sysdeps/unix/sysv/linux/kernel-features.h
16946 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16947 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16948 version.
16949 (__ASSUME_UTIMES): Likewise.
16950 (__ASSUME_CLONE_STOPPED): Remove.
16951 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16952 architectures, not kernel version.
16953 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16954 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16955 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16956 (__ASSUME_WAITID_SYSCALL): Likewise.
16957 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16958 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16959 * README: State 2.6.16 as minimum Linux kernel version. Do not
16960 refer to older versions.
16961
03af9520
RM
169622012-08-06 Roland McGrath <roland@hack.frob.com>
16963
8e49df1d
RM
16964 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16965 Define alphasort64 as an alias.
16966 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16967 Define versionsort64 as an alias.
16968 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16969 Define scandir64 as an alias.
16970 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16971 Define scandirat64 as an alias.
16972 * dirent/alphasort64.c (alphasort64):
16973 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16974 * dirent/versionsort64.c: Likewise.
16975 * dirent/scandir64.c: Likewise.
16976 * dirent/scandirat64.c: Likewise.
16977 * sysdeps/wordsize-64/alphasort.c: File removed.
16978 * sysdeps/wordsize-64/alphasort64.c: File removed.
16979 * sysdeps/wordsize-64/scandir.c: File removed.
16980 * sysdeps/wordsize-64/scandir64.c: File removed.
16981 * sysdeps/wordsize-64/scandirat.c: File removed.
16982 * sysdeps/wordsize-64/scandirat64.c: File removed.
16983 * sysdeps/wordsize-64/versionsort.c: File removed.
16984 * sysdeps/wordsize-64/versionsort64.c: File removed.
16985 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16986 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16987 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16988 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16989 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16990 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16991 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16992 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16993
16994 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16995 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16996 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16997 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16998 [defined __arch64__ || defined __sparcv9]
16999 (__INO_T_MATCHES_INO64_T): New macro.
17000 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17001 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17002 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17003 * sysdeps/unix/sysv/linux/bits/dirent.h
17004 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17005 (_DIRENT_MATCHES_DIRENT64): New macro.
17006
03af9520
RM
17007 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17008 Define lockf64 as an alias.
17009 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17010 Define fseeko64 as an alias.
17011 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17012 Define ftello64 as an alias.
17013 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17014 Define _IO_fgetpos64 and fgetpos64 as aliases.
17015 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17016 Define _IO_fsetpos64 and fsetpos64 as aliases.
17017 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17018 Conditionalize body on this.
17019 * libio/fseeko64.c: Likewise.
17020 * libio/ftello64.c: Likewise.
17021 * libio/iofgetpos64.c: Likewise.
17022 * libio/iofsetpos64.c: Likewise.
17023 * sysdeps/wordsize-64/lockf.c: File removed.
17024 * sysdeps/wordsize-64/lockf64.c: File removed.
17025 * sysdeps/wordsize-64/fseeko.c: File removed.
17026 * sysdeps/wordsize-64/fseeko64.c: File removed.
17027 * sysdeps/wordsize-64/ftello.c: File removed.
17028 * sysdeps/wordsize-64/ftello64.c: File removed.
17029 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17030 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17031 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17032 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17033 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17034 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17035 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17036 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17037 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17038 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17039 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17040 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17041 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17042 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17043
17044 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17045 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17046 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17047 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17048 [defined __arch64__ || defined __sparcv9]
17049 (__OFF_T_MATCHES_OFF64_T): New macro.
17050 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17051 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17052 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17053 (__OFF_T_MATCHES_OFF64_T): New macro.
17054
c5757acd
L
170552012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17056
17057 * stdlib/secure-getenv.c (__secure_getenv): Replace
17058 GLIBC_2_16 with GLIBC_2_17.
17059
3a31811e
L
170602012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17061
17062 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17063 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17064
faa2bccb
DM
170652012-08-03 David S. Miller <davem@davemloft.net>
17066
17067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17068
85fe1997
JM
170692012-08-03 Joseph Myers <joseph@codesourcery.com>
17070
17071 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17072 Remove.
17073 (__ASSUME_CORRECT_SI_PID): Likewise.
17074 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17075 (__ASSUME_TMPFS_NAME): Likewise.
17076 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17077 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17078 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17079 (HAVE_AUX_SECURE): Make definition unconditional.
17080 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17081 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17082
4f75b7a0
RM
170832012-08-03 Roland McGrath <roland@hack.frob.com>
17084
17085 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17086 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17087 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17088 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17089 __eloop_threshold instead of SYMLOOP_MAX.
17090
17091 * sysdeps/generic/eloop-threshold.h: New file.
17092 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17093 of MAXSYMLINKS.
17094 * elf/chroot_canon.c (chroot_canon): Likewise.
17095
7aab07e4
JM
170962012-08-03 Joseph Myers <joseph@codesourcery.com>
17097
17098 [BZ #13717]
17099 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17100 Change to 2.6.0 everywhere.
17101 * sysdeps/unix/sysv/linux/configure: Regenerated.
17102 * sysdeps/unix/sysv/linux/kernel-features.h
17103 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17104 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17105 kernel versions.
17106 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17107 (__ASSUME_FUTEX_REQUEUE): Remove.
17108 (__ASSUME_STATFS64): Define unconditionally.
17109 (__ASSUME_AT_SECURE): Likewise.
17110 (__ASSUME_CORRECT_SI_PID): Likewise.
17111 (__ASSUME_TGKILL): Define without depending on kernel version for
17112 i386.
17113 (__ASSUME_UTIMES): Likewise.
17114 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17115 kernel version.
17116 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17117 (__ASSUME_TMPFS_NAME): Likewise.
17118 * README: Update reference to Linux kernel versions.
17119
b67e9372
MP
171202012-08-02 Marek Polacek <polacek@redhat.com>
17121
1f529f7d 17122 [BZ# 14150]
b67e9372
MP
17123 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17124 libc_cv_asm_type_prefix with %.
17125 * configure: Regenerated.
d2441631
RM
17126 * include/libc-symbols.h: Remove comment about
17127 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17128 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17129 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17130 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17131 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17132 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17133 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17134 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17135 * elf/tst-unique2mod1.c: Likewise.
17136 * elf/tst-unique1mod2.c: Likewise.
17137 * elf/tst-unique1mod1.c: Likewise.
17138 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17139 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17140 Replace ASM_TYPE_DIRECTIVE with .type.
17141 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17142 * sysdeps/i386/sysdep.h: Likewise.
17143 * sysdeps/x86_64/sysdep.h: Likewise.
17144 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17146 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17147 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17148 * sysdeps/powerpc/powerpc32/sysdep.h:
17149 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17150 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17151 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17152 * sysdeps/i386/fpu/e_powf.S: Likewise.
17153 * sysdeps/i386/fpu/e_expl.S: Likewise.
17154 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17155 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17156 * sysdeps/i386/fpu/e_pow.S: Likewise.
17157 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17159 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17160 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17161 * sysdeps/i386/fpu/e_log2.S: Likewise.
17162 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17163 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17164 * sysdeps/i386/fpu/e_powl.S: Likewise.
17165 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17166 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17167 * sysdeps/i386/fpu/e_logl.S: Likewise.
17168 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17169 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17170 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17171 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17172 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17173 * sysdeps/i386/fpu/e_log.S: Likewise.
17174 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17175 * sysdeps/i386/fpu/e_logf.S: Likewise.
17176 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17177 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17178 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17179 * sysdeps/i386/fpu/e_log10.S: Likewise.
17180 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17181 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17182 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17183 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17184 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17185 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17186 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17187 * sysdeps/i386/i686/strtok.S: Likewise.
17188 * sysdeps/i386/i386-mcount.S: Likewise.
17189 * sysdeps/i386/strtok.S: Likewise.
17190 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17192 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17193 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17194 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17195 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17196 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17197 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17198 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17199 * sysdeps/x86_64/_mcount.S: Likewise.
17200 * sysdeps/x86_64/strtok.S: Likewise.
17201 * sysdeps/sh/_mcount.S: Likewise.
17202
2747bf9a
RM
172032012-08-01 Roland McGrath <roland@hack.frob.com>
17204
17205 * libio/iofopen.c: Include <fcntl.h>.
17206 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17207 (_IO_fopen64, fopen64): Define as aliases.
17208 * libio/iofopen64.c: Include <fcntl.h>.
17209 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17210 Conditionalize body on this.
17211 * sysdeps/wordsize-64/iofopen.c: File removed.
17212 * sysdeps/wordsize-64/iofopen64.c: File removed.
17213
3fb791b8
MP
172142012-08-01 Marek Polacek <polacek@redhat.com>
17215
17216 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17217 Use dlfcn directly instead of a variable.
17218 (binfmt-subdir): Do not define.
17219 (dlfcn): Likewise.
17220
a9f1039f
JM
172212012-08-01 Joseph Myers <joseph@codesourcery.com>
17222
23bddc06
JM
17223 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17224 Remove all definitions.
17225 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17226 <kernel-features.h>.
17227 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17228 (miss_F_GETOWN_EX): Remove all definitions.
17229 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17230 macro definition.
17231 [!__ASSUME_FCNTL64]: Remove conditional code.
17232 [__ASSUME_FCNTL64]: Make code unconditional.
17233 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17234 <kernel-features.h>.
17235 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17236 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17237 (lockf64) [__NR_fcntl64]: Make code unconditional.
17238 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17239
a9f1039f
JM
17240 * sysdeps/unix/sysv/linux/kernel-features.h
17241 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17242 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17243 Make code unconditional.
17244 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17245 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17247 [__NR_vfork]: Make code unconditional.
17248 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17249 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17251 [__NR_vfork]: Make code unconditional.
17252 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17253 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17254
09c0ee5f
RM
172552012-08-01 Roland McGrath <roland@hack.frob.com>
17256
48aec5b9
RM
17257 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17258 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17259
cd97c966
RM
17260 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17261 Define mkstemp64 as an alias.
3f55550c
RM
17262 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17263 Define mkstemps64 as an alias.
cd97c966
RM
17264 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17265 Define mkostemp64 as an alias.
b8625cfc
RM
17266 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17267 Define mkostemps64 as an alias.
cd97c966
RM
17268 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17269 Conditionalize body on this.
17270 * misc/mkostemp64.c: Likewise.
b8625cfc 17271 * misc/mkostemps64.c: Likewise.
3f55550c 17272 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17273 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17274 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17275 * sysdeps/wordsize-64/mkostemp.c: File removed.
17276 * sysdeps/wordsize-64/mkstemp.c: File removed.
17277 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17278 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17279 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17280 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17281
09c0ee5f
RM
17282 [BZ #14138]
17283 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17284 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17285 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17286 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17287
17288 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17289 compat_symbol macros from <shlib-compat.h> rather than the underlying
17290 default_symbol_version and symbol_version macros, so that DEFAULT
17291 lines in shlib-versions are respected.
17292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17293
7e66ee51
FW
172942012-08-01 Florian Weimer <fweimer@redhat.com>
17295
17296 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17297 Declare with warn_unused_result.
17298 (setgid, setregid, setegid, setresgid): Likewise.
17299 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17300 Likewise.
17301 * WUR-REPORT: Remove set*id functions.
17302
d2a54255
PT
173032012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17304
17305 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17306
7ecdb005
RM
173072012-07-31 Roland McGrath <roland@hack.frob.com>
17308
b4180a5e 17309 [BZ #10191]
789bd351
RM
17310 * include/sys/socket.h (__libc_accept, __libc_accept4):
17311 Add attribute_hidden.
17312 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17313
40ce302d
RM
17314 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17315 use of PTR_MANGLE.
17316 * inet/getnetgrent_r.c (setup): Likewise.
17317
7ecdb005
RM
17318 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17319
e2eabb2c
DM
173202012-07-31 David S. Miller <davem@davemloft.net>
17321
17322 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17323
d0419dbf
JM
173242012-07-31 Joseph Myers <joseph@codesourcery.com>
17325
17326 [BZ #13629]
17327 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17328 value between 1.0 and 2.0 and smaller part has absolute value less
17329 than 1.0.
17330 * math/s_clog10.c (__clog10): Likewise.
17331 * math/s_clog10f.c (__clog10f): Likewise.
17332 * math/s_clog10l.c (__clog10l): Likewise.
17333 * math/s_clogf.c (__clogf): Likewise.
17334 * math/s_clogl.c (__clogl): Likewise.
17335 * math/libm-test.inc (clog_test): Add more tests.
17336 (clog10_test): Likewise.
17337 * sysdeps/i386/fpu/libm-test-ulps: Update.
17338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17339
2bc13872
FW
173402012-07-31 Florian Weimer <fweimer@redhat.com>
17341
17342 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17343 Exit with zero in case no suitable GID is found, and write a
17344 message to standard error.
17345
bea9b193
RM
173462012-07-30 Roland McGrath <roland@hack.frob.com>
17347
17348 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17349 rather than to 1.
17350 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17351 (MAXPATHLEN): Removed.
17352 (NOGROUP, NODEV): New macros.
17353 (setbit, clrbit, isset, isclr): New macros.
17354 (howmany, roundup, powerof2): New macros.
17355 (DEV_BSIZE): New macro.
17356
17357 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17358 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17359
17360 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17361 definition on [!__NO_LONG_DOUBLE_MATH].
17362
17363 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17364 PTR_MANGLE and PTR_DEMANGLE.
17365
17366 * socket/accept4.c (accept4): Rename to __libc_accept4.
17367 Define accept4 as a weak alias.
17368
17369 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17370 on [_DIRENT_HAVE_D_TYPE].
17371 * io/ftw.c (ftw_dir): Likewise.
17372
17373 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17374
17375 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17376
17377 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17378 Use the BSD numbers rather than the arbitrary ones we had.
17379 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17380 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17381 (SIGXCPU, SIGXFSZ): New macros.
17382 (_NSIG): Now 32.
17383
17384 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17385 initializer on [_LIBC_REENTRANT].
17386
17387 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17388 definitions inside [_POSIX_MAPPED_FILES].
17389
17390 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17391
17392 * dirent/opendir.c: Include <fcntl.h>.
17393
17394 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17395 (__libc_getspecific): Likewise.
17396 (__libc_key_create): Likewise.
17397
17398 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17399 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17400 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17401 (tmpfile64): Define as alias.
17402 * sysdeps/wordsize-64/tmpfile.c: File removed.
17403 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17404 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17405 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17406
17407 * stdio-common/vfscanf.c: Include <stdbool.h>.
17408 * nss/makedb.c: Likewise.
17409 * stdio-common/_i18n_number.h: Likewise.
17410 * argp/argp-help.c: Likewise.
17411 * posix/wordexp.c: Likewise.
17412 * sysdeps/posix/spawni.c: Likewise.
17413 * nss/nss_files/files-initgroups.c: Likewise.
17414 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17415 * nss/nss_files/files-initgroups.c: Likewise.
17416 * nss/nss_db/db-netgrp.c: Likewise.
17417 * nss/nss_db/db-initgroups.c: Likewise.
17418 * io/fchmodat.c: Include <sys/stat.h>.
17419
17420 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17421 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17422
17423 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17424 [HAVE_MMAP].
17425
17426 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17427 Add multiple inclusion protection.
17428
e5abc686
DM
174292012-07-27 David S. Miller <davem@davemloft.net>
17430
17431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17432
815e6fa3
GB
174332012-07-27 Gary Benson <gbenson@redhat.com>
17434
17435 [BZ #14298]
17436 * elf/rtld.c: Include <stap-probe.h>.
17437 (dl_main): Added static probes "init_start" and "init_complete".
17438 * elf/dl-load.c: Include <stap-probe.h>.
17439 (lose): Take new parameter "nsid".
17440 Added static probe "map_failed".
17441 (_dl_map_object_from_fd): Pass namespace id to lose.
17442 Added static probe "map_start".
17443 (open_verify): Pass namespace id to lose.
17444 * elf/dl-open.c: Include <stap-probe.h>.
17445 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17446 and "reloc_complete".
17447 * elf/dl-close.c: Include <stap-probe.h>.
17448 (_dl_close_worker): Added static probes "unmap_start" and
17449 "unmap_complete".
17450 * elf/rtld-debugger-interface.txt: New file documenting the above.
17451
9f98c16c
RM
174522012-07-26 Roland McGrath <roland@hack.frob.com>
17453
17454 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17455 rather than a string variable.
17456 * sunrpc/rpc_main.c (h_output): Likewise.
17457 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17458
f3c22df3
PT
174592012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17460
17461 * inet/check_native.c: New file.
17462
3129cfc6
JM
174632012-07-26 Joseph Myers <joseph@codesourcery.com>
17464
da865e95
JM
17465 [BZ #13629]
17466 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17467 if larger part has absolute value 1.0.
17468 * math/s_clog10.c (__clog10): Likewise.
17469 * math/s_clog10f.c (__clog10f): Likewise.
17470 * math/s_clog10l.c (__clog10l): Likewise.
17471 * math/s_clogf.c (__clogf): Likewise.
17472 * math/s_clogl.c (__clogl): Likewise.
17473 * math/libm-test.inc (clog_test): Add more tests.
17474 (clog10_test): Likewise.
17475 * sysdeps/i386/fpu/libm-test-ulps: Update.
17476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17477
3129cfc6
JM
17478 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17479 (pltexit): Likewise.
17480 (La_regs): Likewise.
17481 (La_retval): Likewise.
17482 (int_retval): Likewise.
17483 Update #error for removed macros to refer only to definitions in
17484 tst-audit.h.
17485 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17486 macro.
17487 (pltexit): Likewise.
17488 (La_regs): Likewise.
17489 (La_retval): Likewise.
17490 (int_retval): Likewise.
17491 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17492 macro.
17493 (pltexit): Likewise.
17494 (La_regs): Likewise.
17495 (La_retval): Likewise.
17496 (int_retval): Likewise.
17497 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17498 macro.
17499 (pltexit): Likewise.
17500 (La_regs): Likewise.
17501 (La_retval): Likewise.
17502 (int_retval): Likewise.
17503 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17504 macro.
17505 (pltexit): Likewise.
17506 (La_regs): Likewise.
17507 (La_retval): Likewise.
17508 (int_retval): Likewise.
17509 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17510 macro.
17511 (pltexit): Likewise.
17512 (La_regs): Likewise.
17513 (La_retval): Likewise.
17514 (int_retval): Likewise.
17515 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17516 macro.
17517 (pltexit): Likewise.
17518 (La_regs): Likewise.
17519 (La_retval): Likewise.
17520 (int_retval): Likewise.
17521 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17522 macro definitions in tst-audit.h.
17523 * sysdeps/i386/tst-audit.h: New file.
17524 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17525 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17526 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17527 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17528 * sysdeps/sh/tst-audit.h: Likewise.
17529 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17530 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17531 * sysdeps/x86_64/tst-audit.h: Likewise.
17532
bfc07087
AJ
175332012-07-26 Andreas Jaeger <aj@suse.de>
17534
b1b2aaf8
AJ
17535 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17536 ptrace.
17537
17538 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17539 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17540 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17541 PTRACE_O_MASK.
17542 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17543 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17544 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17545
bfc07087
AJ
17546 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17547 value.
17548
17549 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17550 _sigsys.
17551 (si_call_addr, si_syscall, si_arch): Define new macro.
17552 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17553 _sigsys.
17554 (si_call_addr, si_syscall, si_arch): Define new marcro.
17555 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17556 _sigsys.
17557 (si_call_addr, si_syscall, si_arch): Define new macro.
17558 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17559 _sigsys.
17560 (si_call_addr, si_syscall, si_arch): Define new macro.
17561
89b4b02f
JM
175622012-07-25 Joseph Myers <joseph@codesourcery.com>
17563
17564 [BZ #13717]
17565 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17566 Change to 2.4.21 where previously 2.4.1.
17567 * sysdeps/unix/sysv/linux/configure: Regenerated.
17568 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17569 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17570 Linux kernel version.
17571 (__ASSUME_STD_AUXV): Remove.
17572 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17573 kernel version.
17574 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17575 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17576 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17577 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17578 (__ASSUME_NETLINK_SUPPORT): Likewise.
17579 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17580 (__no_netlink_support): Remove conditional definition.
17581 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17582 Remove.
17583 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17584 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17585 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17586 (if_nameindex_ioctl): Remove.
17587 (if_nameindex_netlink): Do not handle __no_netlink_support.
17588 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17589 code.
17590 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17591 Remove conditional code.
17592 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17593 code.
17594 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17595 unconditional.
17596 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17597 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17598 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17599 Remove.
17600 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17601 [!__ASSUME_STD_AUXV]: Remove conditional code.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17603 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17604 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17606 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17607 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17608 code.
17609 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17611 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17612 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17613 conditional code.
17614 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17616 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17617 code.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17619 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17620 conditional code.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17622 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17623 code unconditional.
17624 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17625 conditional code.
17626 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17627 unconditional.
17628 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17629 conditional code.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17631 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17632 unconditional.
17633 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17634 conditional code.
17635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17636 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17637 code unconditional.
17638 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17639 conditional code.
17640 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17641 unconditional.
17642 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17643 conditional code.
17644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17645 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17646 code unconditional.
17647 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17648 conditional code.
17649 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17650 unconditional.
17651 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17652 conditional code.
17653
842a39cd
AS
176542012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17655
17656 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17657 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17658 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17659 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17660 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17661 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17662 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17663 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17664 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17665 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17666 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17667 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17668 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17669 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17670 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17672 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17673 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17674 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17676 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17677 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17678 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17679
84b3fd84
FW
176802012-07-25 Florian Weimer <fweimer@redhat.com>
17681
17682 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17683 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17684 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17685 Introduce __libc_secure_getenv.
0c7936d5
FW
17686 * stdlib/Versions (2.17): Add secure_getenv
17687 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17688 * stdlib/secure-getenv.c: Rename __secure_getenv to
17689 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17690 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17691 * stdlib/tst-secure-getenv.c: New.
17692 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17693 * manual/startup.texi (Environment Access): Document
17694 secure_getenv.
84b3fd84
FW
17695 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17696 __libc_secure_getenv.
17697 * inet/ruserpass.c (ruserpass): Likewise.
17698 * malloc/mtrace.c (mtrace): Likewise.
17699 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17700 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17701 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17702 * sysdeps/posix/tempname.c: Likewise. Evaluate
17703 HAVE_SECURE_GETENV.
17704 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17705 __secure_getenv to __libc_secure_getenv.
84b3fd84 17706 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17708 Likewise.
17709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17710 Likewise.
17711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17718
56e49b71
JM
177192012-07-25 Joseph Myers <joseph@codesourcery.com>
17720
17721 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17722 (struct La_i86_retval): Likewise.
17723 (struct La_x86_64_regs): Likewise.
17724 (struct La_x86_64_retval): Likewise.
17725 (struct La_x32_regs): Likewise.
17726 (struct La_x32_retval): Likewise.
17727 (struct La_ppc32_regs): Likewise.
17728 (struct La_ppc32_retval): Likewise.
17729 (struct La_ppc64_regs): Likewise.
17730 (struct La_ppc64_retval): Likewise.
17731 (struct La_sh_regs): Likewise.
17732 (struct La_sh_retval): Likewise.
17733 (struct La_s390_32_regs): Likewise.
17734 (struct La_s390_32_retval): Likewise.
17735 (struct La_s390_64_regs): Likewise.
17736 (struct La_s390_64_retval): Likewise.
17737 (struct La_sparc32_regs): Likewise.
17738 (struct La_sparc32_retval): Likewise.
17739 (struct La_sparc64_regs): Likewise.
17740 (struct La_sparc64_retval): Likewise.
17741 (struct audit_ifaces): Remove architecture-specific pltenter and
17742 pltexit members.
17743 * sysdeps/i386/ldsodefs.h: New file.
17744 * sysdeps/powerpc/ldsodefs.h: Likewise.
17745 * sysdeps/s390/ldsodefs.h: Likewise.
17746 * sysdeps/sh/ldsodefs.h: Likewise.
17747 * sysdeps/sparc/ldsodefs.h: Likewise.
17748 * sysdeps/x86_64/ldsodefs.h: Likewise.
17749
354691b7
MP
177502012-07-25 Marek Polacek <polacek@redhat.com>
17751
17752 [BZ #6808]
17753 * math/libm-test.inc (yn_test): Add another test.
17754 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17755 to ERANGE when the result is +-Inf.
17756 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17757 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17758 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17759 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17760
bf9e2071
JM
177612012-07-24 Joseph Myers <joseph@codesourcery.com>
17762
17763 * conform/data/time.h-data (NULL): Use macro-constant. Require
17764 equal to 0.
17765 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17766 clock_t.
17767 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17768
57633811
TS
177692012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17770
17771 * configure.in <sysdeps resolving>: Correct printing
17772 Implies_before.
17773 * configure: Regenerate.
17774
c23c33b0
TS
177752012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17776
17777 * math/w_ilogb.c: Include <limits.h>.
17778 * math/w_ilogbl.c: Likewise.
17779
b5982523
JM
177802012-07-20 Joseph Myers <joseph@codesourcery.com>
17781
17782 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17783 va_copy. Document allowing for unavailable va_copy only as
17784 pre-C99 compatibility.
17785 * manual/string.texi (Copying and Concatenation): Use va_copy
17786 instead of __va_copy in concat example.
17787
ac4ea442
PT
177882012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17789
17790 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17791 (__sendto): Use create_address_port. Initialize APORT and deallocate
17792 it if not null.
17793
f98eafbd
PT
17794 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17795 with O_NOLINK passed to __file_name_lookup.
17796
898c7aab
PT
17797 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17798 with O_NOLINK passed to __file_name_lookup.
17799
0ced335a
PT
17800 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17801 negative N or less than NGIDS.
17802
b3404dbd
PT
17803 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17804 type to string_t. Set ERANGE as errno and return it if NAME is not big
17805 enough. Use memcpy instead of strncpy.
17806
0f48659e
JM
178072012-07-20 Joseph Myers <joseph@codesourcery.com>
17808
17809 * elf/Makefile (check-data): Remove.
17810 (localplt.data): New vpath directive.
17811 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17812 instead of $(check-data).
17813 * scripts/data/localplt-generic.data: Move to ...
17814 * sysdeps/generic/localplt.data: ... here.
17815 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17816 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17817 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17819 ... here.
17820 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17822 ... here.
17823 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17824 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17825 ... here.
17826 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17828 ... here.
17829 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17830 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17831 ... here.
17832 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17834 ... here.
17835
d37cbdaa
AZ
178362012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17837
17838 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17839 PPC32 and PPC64 files.
17840 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17841 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17842
46f85fc2
AK
178432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17844
17845 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17846 __makecontext_ret to ...
17847 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17848 ... here and call exit if uc_link is NULL. New file.
17849 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17850 __makecontext_ret.S.
17851 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17852 __makecontext_ret to ...
17853 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17854 ... here and call exit if uc_link is NULL. New file.
17855 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17856 __makecontext_ret.S.
17857
08f43f9b
AK
178582012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17859
17860 * elf/elf.h (R_390_IRELATIVE): New definition.
17861 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17862 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17863 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17865 (elf_machine_lazy_rel): Likewise.
17866 * sysdeps/s390/dl-irel.h: New file.
17867 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17868 * sysdeps/s390/s390-64/memset.S: New asm code.
17869 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17870 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17871 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17872 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17873 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17874 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17875 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17876 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17877 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17878 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17879 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17880 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17881 * sysdeps/s390/s390-32/memset.S: New asm code.
17882 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17883
3b05db33
MP
178842012-07-17 Marek Polacek <polacek@redhat.com>
17885
17886 [BZ #14349]
17887 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17888 * sysdeps/s390/s390-64/configure.in: Likewise.
17889 * sysdeps/sparc/configure.in: Likewise.
17890 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17891 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17892 * sysdeps/i386/configure.in: Likewise.
17893 * sysdeps/x86_64/configure.in: Likewise.
17894 * sysdeps/sh/configure.in: Likewise.
17895 * sysdeps/s390/s390-32/configure: Regenerated.
17896 * sysdeps/s390/s390-64/configure: Likewise.
17897 * sysdeps/x86_64/configure: Likewise.
17898 * sysdeps/sh/configure: Likewise.
17899 * sysdeps/powerpc/powerpc64/configure: Likewise.
17900 * sysdeps/powerpc/powerpc32/configure: Likewise.
17901 * sysdeps/sparc/configure: Likwise.
17902 * sysdeps/i386/configure: Likewise.
17903
a66877c6
MP
17904 * elf/dl-open.c: Comment fixes.
17905
cfc82fd8
JM
179062012-07-17 Joseph Myers <joseph@codesourcery.com>
17907
bd29910a
JM
17908 * Makefile [CXX] (check-data): Remove.
17909 [CXX] (c++-types.data): New vpath directive.
17910 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17911 vpath. Do not allow for C++ type data being missing.
17912 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17913 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17914 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17915 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17916 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17917 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17918 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17920 ... here.
17921 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17923 ... here.
17924 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17925 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17926 ... here.
17927 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17929 ... here.
17930 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17932 ... here.
17933 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17934 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17935 ... here.
17936 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17937 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17938 ... here.
17939 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17940 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17941
cfc82fd8
JM
17942 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17943 definitions to architecture-specific files.
17944 (TLS_IE): Likewise.
17945 (TLS_LD): Likewise.
17946 (TLS_GD): Likewise.
17947 * sysdeps/i386/tls-macros.h: New file.
17948 * sysdeps/powerpc/tls-macros.h: Likewise.
17949 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17950 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17951 * sysdeps/sh/tls-macros.h: Likewise.
17952 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17953 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17954 * sysdeps/x86_64/tls-macros.h: Likewise.
17955
f7db3170
TS
179562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17957
07cbfc23
TS
17958 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17959 zero value for regular exit case.
17960
f7db3170
TS
17961 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17962 (__start_context): Preserve zero value for regular exit case.
17963
dc97c227
TS
179642012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17965 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17966
17967 * manual/setjmp.texi (setcontext): Clarify normal process
17968 termination when uc_link is the null pointer.
17969 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17970 exit call.
17971
d0cd7d02
AS
179722012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17973
17974 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17975 preprocessor. Test for each exception mask separately.
17976
dd318934
AJ
179772012-07-16 Andreas Jaeger <aj@suse.de>
17978
17979 * po/ru.po: Update from translation team.
17980
8048311a
JM
179812012-07-15 Joseph Myers <joseph@codesourcery.com>
17982
17983 * conform/data/string.h-data (NULL): Use macro-constant. Require
17984 equal to 0.
17985 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17986 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17987 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17988 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17990
b637d46e
AJ
179912012-07-13 Andreas Jaeger <aj@suse.de>
17992
17993 * po/fr.po: Update from translation team.
17994
541428fe
MP
179952012-07-12 Marek Polacek <polacek@redhat.com>
17996
17997 [BZ #14173]
17998 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17999 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18000 loop condition.
18001
ec332e94
JM
180022012-07-12 Joseph Myers <joseph@codesourcery.com>
18003
18004 [BZ #13717]
18005 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18006 Change to 2.4.1 where previously 2.4.0.
18007 * sysdeps/unix/sysv/linux/configure: Regenerated.
18008 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18009 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18010 version.
18011 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18012 (__ASSUME_AT_CLKTCK): Remove.
18013 (__ASSUME_AT_PAGESIZE): Likewise.
18014 (__ASSUME_AT_XID): Likewise.
18015 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18016 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18017 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18018 unconditionally.
18019 (HAVE_AUX_PAGESIZE): Likewise.
18020 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18021 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18022 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18023
7b6e99be
JB
180242012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18025
18026 [BZ #14307]
18027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18028 the temporary buffer used to invoke __gethostbyname2_r,
18029 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18030 host_data / struct gaih_addrtuple.
18031 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18032 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18033 header file nss/nsswitch.h.
18034 * nss/nsswitch.h (global scope): Add definition of implementation
18035 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18036 resolv/nss_dns/dns-host.c).
18037
608404eb
AJ
180382012-07-11 Andreas Jaeger <aj@suse.de>
18039
18040 * po/fr.po: Update from translation team.
18041
71220aca
AJ
18042 * po/sv.po: Update from translation team
18043 * po/fr.po: Another update from translation team.
18044
28cfe843
AZ
180452012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18046
18047 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18048 for subnormals or multiply small sinh result by itself.
18049 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18051
6b90f981
DM
180522012-07-11 David S. Miller <davem@davemloft.net>
18053
18054 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18055
c6825772
AS
180562012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18057
18058 [BZ #14347]
18059 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18060 (INTERNAL_MARK): Shift it here.
18061
7b8e0d49
MP
180622012-07-10 Marek Polacek <polacek@redhat.com>
18063
18064 [BZ #14151]
18065 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18066 libc_cv_asm_global_directive with .globl.
18067 * configure: Regenerated.
18068 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18069 with .globl.
18070 * sysdeps/i386/configure: Regenerated.
18071 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18072 with .globl.
18073 * sysdeps/x86_64/configure: Regenerated.
18074 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18075 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18076 * elf/tst-unique2mod2.c: Likewise.
18077 * elf/tst-unique2mod1.c: Likewise.
18078 * elf/tst-unique1mod2.c: Likewise.
18079 * elf/tst-unique1mod1.c: Likewise.
18080 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18081 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18082 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18084 * sysdeps/mach/sysdep.h: Likewise.
18085 * sysdeps/i386/sysdep.h: Likewise.
18086 * sysdeps/i386/i386-mcount.S: Likewise.
18087 * sysdeps/x86_64/_mcount.S: Likewise.
18088 * sysdeps/x86_64/sysdep.h: Likewise.
18089 * sysdeps/sh/_mcount.S: Likewise.
18090 * sysdeps/sh/sysdep.h: Likewise.
18091 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18092 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18093 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18094 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18095 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18096 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18097 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18098 * locale/localeinfo.h: Likewise.
18099 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18100 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18101
6c55cda3
RM
181022012-07-09 Roland McGrath <roland@hack.frob.com>
18103
18104 [BZ #14336]
18105 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18106 system".
18107 * manual/message.texi (The Uniforum approach): Likewise.
18108 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18109 (glibc iconv Implementation): Likewise.
18110
638a572e
JM
181112012-07-09 Joseph Myers <joseph@codesourcery.com>
18112
18113 [BZ #14337]
18114 * math/s_clog.c (__clog): Avoid scaling a value down where that
18115 could result in underflow.
18116 * math/s_clog10.c (__clog10): Likewise.
18117 * math/s_clog10f.c (__clog10f): Likewise.
18118 * math/s_clog10l.c (__clog10l): Likewise.
18119 * math/s_clogf.c (__clogf): Likewise.
18120 * math/s_clogl.c (__clogl): Likewise.
18121 * math/libm-test.inc (clog_test): Add more tests.
18122 (clog10_test): Likewise.
18123 * sysdeps/i386/fpu/libm-test-ulps: Update.
18124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18125
261f4859
AS
181262012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18127
0abaf3e4
AS
18128 [BZ #14283]
18129 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18130 by 7 not 8 to examine high bit of fractional part.
18131
261f4859
AS
18132 [BZ #14042]
18133 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18134 for call to __mcount_internal.
18135 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18136 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18137 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18138
f17ac40d
JM
181392012-07-06 Joseph Myers <joseph@codesourcery.com>
18140
9ad63c23
JM
18141 [BZ #14154]
18142 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18143 approximation for values within 0x1p-13f of an odd multiple of
18144 pi/4.
18145 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18146 exception. Add more tests.
18147 * sysdeps/i386/fpu/libm-test-ulps: Update.
18148
f17ac40d
JM
18149 [BZ #6778]
18150 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18151 inputs and return -1 for them. Do not check for +Inf in case not
18152 reachable for +Inf.
18153 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18154 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18155 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18156 and return -1 for them. Do not check for +Inf in case not
18157 reachable for +Inf.
18158 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18159 define.
18160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18161 and return -1 for them. Do not check for +Inf in case not
18162 reachable for +Inf.
18163 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18164 spurious underflow.
18165 * sysdeps/i386/fpu/libm-test-ulps: Update.
18166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18167
fb21f89b
MF
181682012-07-06 Mike Frysinger <vapier@gentoo.org>
18169
18170 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18171
cdfe2c5e
JM
181722012-07-05 Joseph Myers <joseph@codesourcery.com>
18173
18174 [BZ #14157]
18175 [BZ #14331]
18176 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18177 could result in spurious underflow. Scale down values above
18178 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18179 * math/s_csqrtf.c (__csqrtf): Likewise.
18180 * math/s_csqrtl.c (__csqrtl): Likewise.
18181 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18182 spurious underflow.
18183 * sysdeps/i386/fpu/libm-test-ulps: Update.
18184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18185
70d35b67
AS
181862012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18187
704bc459
AS
18188 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18189 xopen-msg.sed.
18190 * catgets/xopen-msg.awk: New file.
18191 * catgets/xopen-msg.sed: Removed.
18192
70d35b67
AS
18193 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18194 po2text.sed.
18195 * intl/po2test.awk: New file.
18196 * intl/po2test.sed: Removed.
18197
ca61cf32
JM
181982012-07-04 Joseph Myers <joseph@codesourcery.com>
18199
18200 [BZ #14328]
18201 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18202 or multiply small sinh result by itself.
18203 * math/s_ctanf.c (__ctanf): Likewise.
18204 * math/s_ctanh.c (__ctanh): Likewise.
18205 * math/s_ctanhf.c (__ctanhf): Likewise.
18206 * math/s_ctanhl.c (__ctanhl): Likewise.
18207 * math/s_ctanl.c (__ctanl): Likewise.
18208 * math/libm-test.inc (ctan_test_tonearest): New function.
18209 (ctan_test_towardzero): Likewise.
18210 (ctan_test_downward): Likewise.
18211 (ctan_test_upward): Likewise.
18212 (ctanh_test_tonearest): Likewise.
18213 (ctanh_test_towardzero): Likewise.
18214 (ctanh_test_downward): Likewise.
18215 (ctanh_test_upward): Likewise.
18216 (main): Call these new functions.
18217 * sysdeps/i386/fpu/libm-test-ulps: Update.
18218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18219
ca48a46a
MF
182202012-07-03 Mike Frysinger <vapier@gentoo.org>
18221
18222 * .gitignore: Delete /ports entry.
18223
9d63d37d
AJ
182242012-07-03 Andreas Jaeger <aj@suse.de>
18225
18226 * po/bg.po: Update from translation team.
18227 * po/cs.po: Likewise.
18228 * po/de.po: Likewise.
18229 * po/hr.po: Likewise.
18230 * po/nl.pl: Likewise.
18231 * po/pl.po: Likewise.
18232 * po/vi.po: Likewise.
18233
370ca3d2
JM
182342012-07-03 Joseph Myers <joseph@codesourcery.com>
18235
95f5a9a8
JM
18236 * Makeconfig [!+link] (+link-before-libc): New variable.
18237 [!+link] (+link-after-libc): Likewise.
18238 [!+link] (+link-tests): Likewise.
18239 [!+link] (+link): Define in terms of $(+link-before-libc) and
18240 $(+link-after-libc).
18241 [!+link-static] (+link-static-before-libc): New variable.
18242 [!+link-static] (+link-static-after-libc): Likewise.
18243 [!+link-static] (+link-static-tests): Likewise.
18244 [!+link-static] (+link-static): Define in terms of
18245 $(+link-static-before-libc) and $(+link-static-after-libc).
18246 [build-shared] (link-libc-before-gnulib): New variable.
18247 [build-shared] (link-libc-tests): Likewise.
18248 [build-shared] (link-libc): Define in terms of
18249 $(link-libc-before-gnulib).
18250 [!build-shared] (link-libc-tests): New variable.
18251 (link-libc-static-tests): New variable.
18252 [!gnulib] (gnulib-arch): New variable.
18253 [!gnulib] (gnulib-tests): Likewise.
18254 [!gnulib] (static-gnulib-arch): Likewise.
18255 [!gnulib] (static-gnulib-tests): Likewise.
18256 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18257 Define with "=" instead of ":=".
18258 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18259 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18260 * Rules (binaries-all-notests): New variable.
18261 (binaries-all-tests): Likewise.
18262 (binaries-static-notests): Likewise.
18263 (binaries-static-tests): Likewise.
18264 (binaries-all): Define using $(binaries-all-notests) and
18265 $(binaries-all-tests).
18266 (binaries-static): Define using $(binaries-static-notests) and
18267 $(binaries-static-tests).
18268 (binaries-shared-tests): New variable.
18269 (binaries-shared-notests): Likewise.
18270 (binaries-shared): Remove variable.
18271 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18272 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18273 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18274 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18275 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18276 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18277 * elf/Makefile (sln-modules): New variable.
18278 (extra-objs): Add $(sln-modules:=.o).
18279 (ldconfig-modules): Add static-stubs.
18280 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18281 * elf/static-stubs.c: New file.
18282
7a845b2c
JM
18283 [BZ #14283]
18284 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18285 by 7 not 8 to examine high bit of fractional part. Use volatile
18286 variables when splitting into final array of floats if
18287 __FLT_EVAL_METHOD__ != 0.
18288 * math/libm-test.inc (cos_test): Add another test.
18289 (sin_test): Likewise.
18290 * sysdeps/i386/fpu/libm-test-ulps: Update.
18291
e2283f38
JM
18292 [BZ #14273]
18293 * math/libm-test.inc (cosh_test): Add more tests.
18294
370ca3d2
JM
18295 * version.h (RELEASE): Set to "development".
18296 (VERSION): Set to "2.16.90".
18297
ee9247c3
CD
182982012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18299
18300 * NEWS: Update copyright. Remove last-updated date.
18301 Mention math library bug fixes and timezone data changes.
18302 * README: Mention GNU/Hurd, x32, and HPPA support status.
18303
4648c381
TS
183042012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18305
18306 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18307
aac78a43
AJ
183082012-06-27 Andreas Jaeger <aj@suse.de>
18309
18310 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18311
ed3dbfad
AJ
183122012-06-25 Andreas Jaeger <aj@suse.de>
18313
18314 * sysdeps/s390/fpu/libm-test-ulps: Update.
18315
4d0ee855
AS
183162012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18317 Thomas Schwinge <thomas@codesourcery.com>
18318
18319 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18320 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18321 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18322 fanotify_mark.
18323
af1bce34
TS
183242012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18325
a9fa33ba
TS
18326 * sysdeps/mach/start.c: Remove file.
18327 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18328 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18329 * sysdeps/sh/init-first.c: Likewise.
18330
58f902b8
TS
18331 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18332 registers for frame unwinding purposes, add CFI directives.
18333 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18334 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18335 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18336 Likewise.
18337
1518f58b
TS
18338 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18339 __fortify_fail returning.
18340 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18341
db9b5059
TS
18342 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18343 sysdeps/sh/____longjmp_chk.S.
18344 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18345 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18346 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18347 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18348
967705fe
TS
18349 * sysdeps/sh/abort-instr.h: New file.
18350 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18351 process in case exit returns.
18352
a9def8c4
TS
18353 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18354 initialize the GOT register before use.
18355
2a649725
TS
18356 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18357 calculation of ARGC > 4.
18358
af1bce34
TS
18359 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18360 meaningful names to some local labels.
18361
d230f50a
KK
183622012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18363 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18364
18365 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18366 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18367 (__arch_compare_and_exchange_val_16_acq): Likewise.
18368 (__arch_compare_and_exchange_val_32_acq): Likewise.
18369 (atomic_exchange_and_add): Fix gUSA sequence.
18370 (atomic_add): Likewise.
18371 (atomic_add_negative): Likewise.
18372 (atomic_add_zero): Likewise.
18373 (atomic_bit_test_set): Likewise.
18374
0479b305
AS
183752012-06-22 Andreas Schwab <schwab@redhat.com>
18376
18377 [BZ #13579]
18378 * include/link.h (struct link_map): Add l_free_initfini.
18379 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18380 l_initfini.
18381 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18382 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18383 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18384 set.
18385
0e3933b9
CD
183862012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18387
18388 * configure.in: Use AC_LANG_SOURCE.
18389 * configure: Regenerate.
18390
4248b1b1
RM
183912012-06-22 Roland McGrath <roland@hack.frob.com>
18392
18393 * configure.in (libc_cv_localstatedir): New substituted variable.
18394 * configure: Regenerated.
18395 * config.make.in (localstatedir): New variable, substituted from
18396 libc_cv_localstatedir.
18397 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18398 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18399 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18400 * sysdeps/gnu/configure: Regenerated.
18401
006dd861
JL
184022012-06-21 Jeff Law <law@redhat.com>
18403
18404 [BZ #14277]
18405 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18406 free. Simplify list management for _LIBC case.
18407
79662d42
JM
184082012-06-21 Joseph Myers <joseph@codesourcery.com>
18409
b7abb4bf
JM
18410 [BZ #14273]
18411 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18412 Clear sign bit of 64-bit integer value before comparing against
18413 overflow value.
18414
79662d42
JM
18415 * sysdeps/mach/configure: Regenerated.
18416
1f150908
L
184172012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18418
18419 [BZ #14278]
18420 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18421
28363bbf
JL
184222012-06-21 Jeff Law <law@redhat.com>
18423
18424 [BZ #13882]
18425 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18426 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18427 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18428 * elf/dl-open.c (dl_open_worker): Likewise.
18429
09615db4
CD
184302012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18431
18432 * scripts/list-sources.sh: Scan PORTS for translations.
18433 * po/libc.pot: Regenerated.
18434
2174c6dd
AJ
184352012-06-21 Andreas Jaeger <aj@suse.de>
18436
18437 [BZ #12194]
18438 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18439 warning.
18440 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18441 * bits/byteswap-16.h (__bswap_16): Likewise.
18442 * bits/byteswap.h (__bswap_constant_16): Likewise.
18443
3ee947b1
L
184442012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18445
18446 [BZ #14117]
a2f34833
L
18447 * sysdeps/i386/fpu_control.h: Removed.
18448 * sysdeps/x86_64/fpu_control.h: Moved to ...
18449 * sysdeps/x86/fpu_control.h: Here.
18450
3ee947b1
L
18451 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18452 (_FPU_SETCW): Likewise.
18453
ed1825f8
L
184542012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18455
25f1282a
L
18456 [BZ #14117]
18457 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18458 * sysdeps/x86/fpu/bits/mathinline.h: This.
18459 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18460
ed1825f8
L
18461 [BZ #14050]
18462 [BZ #14117]
18463 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18464 functions if __x86_64__ is defined.
18465
36d54b74
CLT
184662012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18467
18468 * string/endian.h: Add !__ASSEMBLER__ condition for including
18469 conversion interfaces.
18470
10285c21
JM
184712012-06-15 Joseph Myers <joseph@codesourcery.com>
18472
18473 [BZ #14241]
18474 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18475 of ABS(x) in calculating zero to negative powers other than odd
18476 integers.
18477 * math/libm-test.inc (pow_test): Add more tests.
18478
06c5abbd
AJ
184792012-06-15 Andreas Jaeger <aj@suse.de>
18480
18481 * manual/contrib.texi (Contributors): Update entry of Liubov
18482 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18483 Machado Filho.
18484
a3aeac40
CH
184852012-06-15 Cyril Hrubis <metan@ucw.cz>
18486
18487 * string/string.h: Add __wur to GNU version of strerror_r.
18488
49bdf4c1
L
184892012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18490
18491 [BZ #14229]
18492 * string/Makefile (tests): Add tst-strtok_r.
18493 * string/tst-strtok_r.c: New file.
18494 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18495 RAX_LP/RDX_LP on SAVE_PTR.
18496
834f9b8d
RM
184972012-06-14 Roland McGrath <roland@hack.frob.com>
18498
18499 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18500
75fa1921
JM
185012012-06-14 Joseph Myers <joseph@codesourcery.com>
18502
18503 * libm_test.inc (csqrt_test): Allow more spurious underflow
18504 exceptions.
18505 (j0_test): Likewise.
18506 (j1_test): Likewise.
18507 (y0_test): Likewise.
18508 (y1_test): Likewise.
18509
771766df
CD
185102012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18511
18512 * po/Makefile (libc.pot): Use UTF-8 charset.
18513
ceb9e56b
PP
185142012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18515
18516 [BZ #14210]
18517 Suppress sign-conversion warning from FD_SET.
18518 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18519 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18520 not unsigned long int.
18521 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18522
ddb28975
L
185232012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18524
18525 [BZ #14050]
18526 [BZ #14117]
18527 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18528 __extern_always_inline instead of __extern_inline.
18529 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18530 (__signbit): Likewise.
18531 (__signbitl): Support C++ namespace.
18532 (lrintf): New inline function.
18533 (lrint): Likewise.
18534 (llrintf): Likewise.
18535 (llrint): Likewise.
18536 (fmaxf): Likewise.
18537 (fmax): Likewise.
18538 (fminf): Likewise.
18539 (fmin): Likewise.
18540 (rint): Likewise.
18541 (rintf): Likewise.
18542 (ceil): Likewise.
18543 (ceilf): Likewise.
18544 (floor): Likewise.
18545 (floorf): Likewise.
18546 (nearbyint): Likewise.
18547 (nearbyintf): Likewise.
18548
d7b4fb26
TS
185492012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18550
18551 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18552 non-default versions.
18553
eb55f5c2
RM
185542012-06-11 Roland McGrath <roland@hack.frob.com>
18555
18556 [BZ #14218]
18557 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18558
366af02c
TS
185592012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18560
99ff6e5c
TS
18561 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18562 (FE_UPWARD, FE_DOWNWARD): Don't define.
18563 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18564 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18565
366af02c
TS
18566 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18567 reading it.
18568 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18569 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18570
793ea851
KK
185712012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18572
18573 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18574 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18575 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18576 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18577
a728a38f
L
185782012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18579
18580 [BZ #14117]
c08010c7
L
18581 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18582 * sysdeps/i386/fpu/Implies: New file.
18583 * sysdeps/x86_64/fpu/Implies: Likewise.
18584 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18585 * sysdeps/x86/fpu/bits/fenv.h: This.
18586
a728a38f
L
18587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18588 __SSE_MATH__.
18589
6e230d11
SP
185902012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18591
18592 [BZ #14134]
18593 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18594 character 0xffff that matches the last element of the
18595 conversion table.
18596
1b671feb
AZ
185972012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18598
18599 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18600 fmodl commit.
18601
6043738b
AZ
186022012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18603
18604 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18605 values higher than 25.6283.
18606
34ae0b32
AZ
186072012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18608
18609 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18610 subnormal exponent extraction and add some __builtin_expect.
18611 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18612 Fix for subnormal mantissa calculation.
18613
1214ec8f
MF
186142012-06-04 Mike Frysinger <vapier@gentoo.org>
18615
18616 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18617 cpu2 is -1 and errno is not ENOSYS.
18618
f3d1f93c
L
186192012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18620
18621 [BZ #14117]
0e4a3cd7
L
18622 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18623 * sysdeps/x86/bits/string.h: This.
18624 * sysdeps/x86_64/bits/string.h: Removed.
18625
6704c645
L
18626 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18627 if not compiling for x86-64, but compiling for >= i486.
18628
48495318
L
18629 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18630 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18631
14adcbfc
L
18632 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18633 New macro from Linux kernel 3.4.0.
18634 (FP_XSTATE_MAGIC2): Likewise.
18635 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18636 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18637 (struct _fpx_sw_bytes): New struct.
18638 (struct _xsave_hdr): Likewise.
18639 (struct _ymmh_state): Likewise.
18640 (struct _xstate): Likewise.
18641
68e408ab
L
18642 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18643 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18644 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18645 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18646 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18647 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18648
f3d1f93c
L
18649 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18650 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18651 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18652 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18653 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18654 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18655
d9dc34cd
TMQMF
186562012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18657
18658 [BZ #13743]
18659 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18660 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18661 (sysdep_headers): Include sys/platform/ppc.h.
18662 * sysdeps/powerpc/test-gettimebase.c: Test for
18663 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18664 * manual/Makefile (appendices): Include platform.texi.
18665 * manual/contrib.texi (Contributors): Update @node pointers.
18666 * manual/maint.texi (Maintenance): Likewise.
18667 (Platform): New node.
18668 * manual/platform.texi: New file. Document the new features.
18669
4af3879c
SP
186702012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18671 Jakub Jelinek <jakub@redhat.com>
18672
18673 [BZ #14188]
18674 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18675 where __builtin_expect is unavailable.
18676
2fd6ff13
DM
186772012-06-03 David S. Miller <davem@davemloft.net>
18678
18679 * stdlib/longlong.h: Updated from GCC.
18680
173f7220
AS
186812012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18682
18683 [BZ #14042]
18684 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18685 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18686 __mcount_internal.
18687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18688 (GLIBC_2.16): Likewise.
18689
f34a1c6f
L
186902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18691
18692 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18693
88a4576f
JM
186942012-06-01 Joseph Myers <joseph@codesourcery.com>
18695
ea32bcdd
JM
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18697 (default-abi): New variable.
18698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18699 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18700 variable.
18701 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18702 Likewise.
18703 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18704 Likewise.
18705 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18706 Likewise.
18707
88a4576f
JM
18708 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18709 definition. Document in comment.
18710
402fe938
DM
187112012-06-01 David S. Miller <davem@davemloft.net>
18712
18713 * stdlib/longlong.h: Updated from GCC.
18714
3553723f
L
187152012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18716
18717 [BZ #14117]
3bd872c4
L
18718 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18719 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18720 sys/debugreg.h sys/io.h here.
18721 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18722 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18723 sys/io.h.
18724 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18725 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18726 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18727 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18728 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18729 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18730
3553723f
L
18731 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18732 Define only if __x86_64__ is defined.
18733
4842e4fe
JM
187342012-06-01 Joseph Myers <joseph@codesourcery.com>
18735
c5bfe3d5
JM
18736 [BZ #14048]
18737 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18738 Use int64_t for variable i.
18739 * math/libm-test.inc (fmod_test): Add more tests.
18740
4842e4fe
JM
18741 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18742 z computation is not scheduled after fetestexcept.
18743 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18744 Use math_force_eval instead of asm to ensure calculation scheduled
18745 before exception test.
18746 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18747 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18748
efb73488
AJ
187492012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18750
18751 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18752 computation is not scheduled after fetestexcept.
18753
29bcce7c
L
187542012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18755
18756 [BZ #14117]
18757 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18758 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18759
73a68f94
AZ
187602012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18761
18762 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18763 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18764
67b6df78
L
187652012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18766
edf2933a 18767 [BZ #14117]
ebc64a18
L
18768 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18769 <bits/wordsize.h>.
18770 (__WCHAR_MIN): Support __WORDSIZE == 64.
18771 (__WCHAR_MAX): Likewise.
18772
edf2933a
L
18773 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18774 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18775
57c6cf40
L
18776 [BZ #14183]
18777 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18778 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18779
67b6df78 18780 [BZ #14117]
8eb6281e
L
18781 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18782 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18783
aac639f4
L
18784 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18785 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18786
67b6df78
L
18787 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18788 Defined to 1 if __x86_64__ isn't defined.
18789 (_STAT_VER_LINUX_OLD): New.
18790 (st_atime): Remove duplicate.
18791 (st_mtime): Likewise.
18792 (st_ctime): Likewise.
18793
1c2cfe81
DM
187942012-05-31 David S. Miller <davem@davemloft.net>
18795
18796 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18797 entries.
18798
5be8418c
AS
187992012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18800
e7725326
AS
18801 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18802 gen-libm-test.pl.
18803
5be8418c
AS
18804 [BZ #14132]
18805 * elf/dl-reloc.c: Include <_itoa.h>.
18806 (_dl_reloc_bad_type): Remove use of INTUSE.
18807 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18808 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18809 * stdio-common/psiginfo.c (psiginfo): Likewise.
18810 * stdio-common/psignal.c (psignal): Likewise.
18811 * string/strsignal.c (strsignal): Likewise.
18812 * include/signal.h (_sys_siglist): Declare hidden proto.
18813 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18814 INTVARDEF with libc_hidden_data_def.
18815 * stdio-common/itoa-udigits.c: Likewise.
18816 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18817 (_itoa_lower_digits_internal): Remove declaration.
18818 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18819 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18820 (_sys_sigabbrev_internal): Remove aliases.
18821 (_sys_siglist): Define hidden alias.
18822
507352f1
MT
188232012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18824
18825 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18826 bits/sysctl.h.
18827
42bbb1c3
L
188282012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18829
18830 [BZ #14117]
6bd784b6
L
18831 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18832 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18833
8bca20f0
L
18834 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18835 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18836 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18837 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18838 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18839 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18840
f9e890a9
L
18841 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18842 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18843 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18844
471101a1
L
18845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18846 with __addr.
18847 (insw): Likewise.
18848 (insl): Likewise.
18849 (outsb): Likewise.
18850 (outsw): Likewise.
18851 (outsl): Likewise.
18852
6451c862
L
18853 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18854 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18855 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18856
a254b8c9
L
18857 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18858 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18859 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18860 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18861 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18862 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18863
b8dfdd92
L
18864 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18865 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18866
578cd270
L
18867 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18868 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18869
de662f5f
L
18870 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18872 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18873
25653439
L
18874 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18875 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18876 to ...
18877 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18878
6bad24a0
L
18879 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18880 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18881 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18882
42bbb1c3
L
18883 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18884 for x86-64.
18885 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18886
2d10d547
JM
188872012-05-31 Joseph Myers <joseph@codesourcery.com>
18888
18889 * math/math.h (M_El): Use two more decimal places.
18890 (M_LOG2El): Likewise.
18891 (M_LOG10El): Likewise.
18892 (M_LN2l): Likewise.
18893 (M_LN10l): Likewise.
18894 (M_PIl): Likewise.
18895 (M_PI_2l): Likewise.
18896 (M_PI_4l): Likewise.
18897 (M_1_PIl): Likewise.
18898 (M_2_PIl): Likewise.
18899 (M_2_SQRTPIl): Likewise.
18900 (M_SQRT2l): Likewise.
18901 (M_SQRT1_2l): Likewise.
18902
f230c29b
DM
189032012-05-31 David S. Miller <davem@davemloft.net>
18904
18905 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18906 values between float registers.
18907 * sysdeps/sparc/sparc64/memset.S: Likewise.
18908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18909
fed806c3
MF
189102012-05-31 Mike Frysinger <vapier@gentoo.org>
18911
18912 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18913 -D_FORTIFY_SOURCE=1.
18914 (CPPFLAGS-tst-longjmp_chk.c): Define.
18915 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18916 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18917 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18918 CFLAGS-tst-wchar-h.c.
18919
30917259
MP
189202012-05-31 Marek Polacek <polacek@redhat.com>
18921
18922 [BZ #14132]
18923 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18924 __endmntent_internal): Remove declaration.
18925 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18926 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18927 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18928
1c58d5dc
DM
189292012-05-30 David S. Miller <davem@davemloft.net>
18930
18931 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18932 (___Q_simulate_exceptions): Use real FP ops rather than writing
18933 into the %fsr.
18934 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18935 Likewise.
18936
7dc00e0d
L
189372012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18938
18939 [BZ #14117]
0bd53985
L
18940 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18941 * sysdeps/x86/bits/xtitypes.h: This.
18942
3a257e66
L
18943 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18944 * sysdeps/x86/bits/wordsize.h: This.
18945
62f62904
L
18946 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18947 * sysdeps/x86/bits/huge_vall.h: This.
18948
404fe9d9
L
18949 * sysdeps/i386/bits/select.h: Removed.
18950 * sysdeps/x86_64/bits/select.h: Renamed to ...
18951 * sysdeps/x86/bits/select.h: This.
18952
d48d0446
L
18953 * sysdeps/i386/bits/setjmp.h: Removed.
18954 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18955 * sysdeps/x86/bits/setjmp.h: This.
18956
7dc00e0d
L
18957 * sysdeps/i386/bits/mathdef.h: Removed.
18958 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18959 * sysdeps/x86/bits/mathdef.h: This.
18960
03277f8f
AS
189612012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18962
18963 [BZ #14132]
18964 * include/sys/socket.h (__connect_internal)
18965 (__libc_sa_len_internal): Remove declaration.
18966 (__connect, __libc_sa_len): Declare hidden_proto.
18967 (SA_LEN): Remove use of INTUSE.
18968 * socket/connect.c: Add libc_hidden_def.
18969 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18970 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18971 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18972 alias.
18973 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18974 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18975 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18976 of adding _internal alias.
18977
13764867
L
189782012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18979
18980 [BZ #14117]
6bd97696
L
18981 * sysdeps/i386/bits/link.h: Removed.
18982 * sysdeps/i386/bits/linkmap.h: Likewise.
18983 * sysdeps/x86_64/bits/link.h: Renamed to ...
18984 * sysdeps/x86/bits/link.h: This.
18985 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18986 * sysdeps/x86/bits/linkmap.h: This.
18987
f726f0bb
L
18988 * sysdeps/i386/bits/endian.h: Removed.
18989 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18990 * sysdeps/x86/bits/endian.h: This.
18991
13764867
L
18992 * sysdeps/i386/bits/byteswap.h: Removed.
18993 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18994 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18995 * sysdeps/x86/bits/byteswap.h: This.
18996 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18997 * sysdeps/x86/bits/byteswap-16.h: This.
18998 * sysdeps/i386/Implies: Add x86.
18999 * sysdeps/x86_64/Implies: Likewise.
19000
ae251b0b
DM
190012012-05-30 David S. Miller <davem@davemloft.net>
19002
19003 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19004 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19005 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19006 (FP_TRAPPING_EXCEPTIONS): Define.
19007 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19008 (FP_TRAPPING_EXCEPTIONS): Define.
19009 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19010 subnormals only when inexact has been signalled or underflow
19011 exceptions are enabled.
19012 (_FP_PACK_CANONICAL): Likewise.
19013
d5c90867
L
190142012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19015
19016 [BZ #14183]
19017 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19018 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19019
63f1549e
RH
190202012-05-30 Richard Henderson <rth@twiddle.net>
19021
8d8f2279
RH
19022 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19023 with #ifndef NOT_IN_libc.
19024
63f1549e
RH
19025 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19026 marked to avoid plt entry.
19027
0ab0291b
L
190282012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19029
19030 [BZ #14112]
19031 * Makeconfig (default-abi): New macro.
19032 (abi-includes): Likewise.
19033 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19034 $(abi-$(default-abi)-lib-soname) for soname if defined.
19035 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19036 abi-variants.
19037 * Makefile (installed-stubs): Likewise.
19038 * include/stubs-biarch.h: Removed.
19039 * scripts/lib-names.awk: Only handle one library at a time.
19040 * scripts/soversions.awk: Remove WORDSIZE support.
19041 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19042 entries.
19043 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19044 Removed.
19045 (syscall-list-default-condition): Likewise.
19046 (syscall-list-default-condition): Likewise.
19047 (syscall-list-includes): Likewise.
19048 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19049 syscall-list-* with abi-*. Handle undefined abi-variants.
19050 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19051 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19052 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19053 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19054 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19055 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19056 Removed.
19057 (syscall-list-32-options): Likewise.
19058 (syscall-list-32-condition): Likewise.
19059 (syscall-list-64-options): Likewise.
19060 (syscall-list-64-condition): Likewise.
19061 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19062 macro.
19063 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19064 Renamed to ...
19065 (abi-*): This.
19066 (abi-64-ld-soname): New macro.
19067 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19068 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19069 Renamed to ...
19070 (abi-*): This.
19071 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19072 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19073
4da0431d
JM
190742012-05-30 Joseph Myers <joseph@codesourcery.com>
19075
3a85279c
JM
19076 * sysdeps/unix/sysv/linux/kernel-features.h
19077 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19078 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19079 include <kernel-features.h>.
19080 [!__NR_ftruncate64]: Remove conditional code.
19081 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19082 [__NR_ftruncate64]: Make code unconditional.
19083 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19084 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19085 include <kernel-features.h>.
19086 [!__NR_ftruncate64]: Remove conditional code.
19087 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19088 [__NR_ftruncate64]: Make code unconditional.
19089 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19091 include <kernel-features.h>.
19092 [!__NR_ftruncate64]: Remove conditional code.
19093 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19094 [__NR_ftruncate64]: Make code unconditional.
19095 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19097 include <kernel-features.h>.
19098 [!__NR_ftruncate64]: Remove conditional code.
19099 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19100 [__NR_ftruncate64]: Make code unconditional.
19101 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19102
4da0431d
JM
19103 * configure.in (libc_cv_fpie): Weaken to a compile test using
19104 LIBC_TRY_CC_OPTION.
19105 * configure: Regenerated.
19106
11ef492c
AK
191072012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19108
19109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19112 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19113 Refreshed.
19114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19120 Refreshed.
19121
d66ef399
DM
191222012-05-27 David S. Miller <davem@davemloft.net>
19123
19124 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19125 (___Q_zero): New.
19126 (__Q_simulate_exceptions): Return void. Change to simulate
19127 exceptions by writing into the %fsr.
19128 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19129 (__Qp_handle_exceptions): Likewise.
19130 (numbers): Delete.
19131 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19132 __Qp_handle_exceptions.
19133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19134 __Qp_handle_exceptions.
19135 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19136 as unused and give dummy FP_RND_NEAREST initializer.
19137 (FP_INHIBIT_RESULTS): Define.
19138 (___Q_simulate_exceptions): Update declaration.
19139 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19140 formatting.
19141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19142 as unused and give dummy FP_RND_NEAREST initializer.
19143 (__Qp_handle_exceptions): Update declaration.
19144 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19145 formatting.
19146
04fb54b5
TS
191472012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19148
19149 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19150 the temporary FPU control word.
19151 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19152 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19153 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19154 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19155 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19156 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19157 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19158 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19159 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19160 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19161 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19162
3f99608f
KK
191632012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19164
19165 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19166 fields.
19167
65a4de4e
CLT
191682012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19169
19170 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19171 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19172 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19173 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19174 Likewise.
19175 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19176 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19177 Likewise.
19178
15749d40
UD
191792012-05-27 Ulrich Drepper <drepper@gmail.com>
19180
19181 * po/h.po: Update from translation team.
19182
25dbcb27
AS
191832012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19184
3d3f8e55
AS
19185 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19186
25dbcb27
AS
19187 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19188 handling of denormals.
19189 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19190 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19192 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19193 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19194 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19195 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19196 Likewise.
19197
7ad47a80 191982012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19199
19200 [BZ #14152]
19201 * math/libm-test.inc (fma_test): Don't always expect underflow
19202 exception.
19203
9c6ea9fa
SP
192042012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19205
19206 [BZ #12416]
19207 * elf/tst-execstack.c: Include stackinfo.h.
19208 (do_test): Adjust test case to ensure that pthread_getattr_np
19209 behaviour remains the same after marking stack executable.
19210
a8239222
JM
192112012-05-25 Joseph Myers <joseph@codesourcery.com>
19212
19213 * sysdeps/unix/sysv/linux/kernel-features.h
19214 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19215 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19216 kernel-features.h.
19217 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19218 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19219 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19220 kernel-features.h.
19221 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19222 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19223
918b5606
L
192242012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19225
19226 * configure.in: Define the default includes to being none.
19227 * configure: Regenerated.
19228
3a097cc7
RM
192292012-05-25 Roland McGrath <roland@hack.frob.com>
19230
8422c9a5
RM
19231 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19232 * sysdeps/x86_64/setjmp.S: Likewise.
19233 * sysdeps/i386/bsd-setjmp.S: Likewise.
19234 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19235 * sysdeps/i386/setjmp.S: Likewise.
19236 * sysdeps/i386/__longjmp.S: Likewise.
19237 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19238 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19239
3a097cc7
RM
19240 * include/stap-probe.h: New file.
19241 * configure.in: Handle --enable-systemtap.
19242 * configure: Regenerated.
19243 * config.h.in (USE_STAP_PROBE): New #undef.
19244 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19245 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19246 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19247
21708942
JM
192482012-05-25 Joseph Myers <joseph@codesourcery.com>
19249
19250 [BZ #13717]
19251 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19252 to 2.4.0 where earlier.
19253 * sysdeps/unix/sysv/linux/configure: Regenerated.
19254 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
19263 [__ASSUME_32BITUIDS]: Make code unconditional.
19264 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19265 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19266 <kernel-features.h>.
19267 [__ASSUME_32BITUIDS]: Make code unconditional.
19268 [!__ASSUME_32BITUIDS]: Remove conditional code.
19269 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19270 <kernel-features.h>.
19271 [__ASSUME_32BITUIDS]: Make code unconditional.
19272 [!__ASSUME_32BITUIDS]: Remove conditional code.
19273 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19274 <kernel-features.h>.
19275 [__ASSUME_32BITUIDS]: Make code unconditional.
19276 [!__ASSUME_32BITUIDS]: Remove conditional code.
19277 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19278 <kernel-features.h>.
19279 [__ASSUME_32BITUIDS]: Make code unconditional.
19280 [!__ASSUME_32BITUIDS]: Remove conditional code.
19281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19282 <kernel-features.h>.
19283 [__ASSUME_32BITUIDS]: Make code unconditional.
19284 [!__ASSUME_32BITUIDS]: Remove conditional code.
19285 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19286 <kernel-features.h>.
19287 [__ASSUME_32BITUIDS]: Make code unconditional.
19288 [!__ASSUME_32BITUIDS]: Remove conditional code.
19289 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19290 <kernel-features.h>.
19291 [__ASSUME_32BITUIDS]: Make code unconditional.
19292 [!__ASSUME_32BITUIDS]: Remove conditional code.
19293 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19294 <kernel-features.h>.
19295 [__ASSUME_32BITUIDS]: Make code unconditional.
19296 [!__ASSUME_32BITUIDS]: Remove conditional code.
19297 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19298 <kernel-features.h>.
19299 [__ASSUME_32BITUIDS]: Make code unconditional.
19300 [!__ASSUME_32BITUIDS]: Remove conditional code.
19301 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19302 <kernel-features.h>.
19303 [__ASSUME_32BITUIDS]: Make code unconditional.
19304 [!__ASSUME_32BITUIDS]: Remove conditional code.
19305 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19306 <kernel-features.h>.
19307 [__NR_setresgid] (__setresgid): Do not declare.
19308 [__ASSUME_32BITUIDS]: Make code unconditional.
19309 [!__ASSUME_32BITUIDS]: Remove conditional code.
19310 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19311 <kernel-features.h>.
19312 [__NR_setresuid] (__setresuid): Do not declare.
19313 [__ASSUME_32BITUIDS]: Make code unconditional.
19314 [!__ASSUME_32BITUIDS]: Remove conditional code.
19315 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19316 <kernel-features.h>.
19317 [__ASSUME_32BITUIDS]: Make code unconditional.
19318 [!__ASSUME_32BITUIDS]: Remove conditional code.
19319 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19320 <kernel-features.h>.
19321 [__ASSUME_32BITUIDS]: Make code unconditional.
19322 [!__ASSUME_32BITUIDS]: Remove conditional code.
19323 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19324 <kernel-features.h>.
19325 [__ASSUME_32BITUIDS]: Make code unconditional.
19326 [!__ASSUME_32BITUIDS]: Remove conditional code.
19327 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19328 <kernel-features.h>.
19329 [__ASSUME_32BITUIDS]: Make code unconditional.
19330 [!__ASSUME_32BITUIDS]: Remove conditional code.
19331 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19332 <kernel-features.h>.
19333 [__ASSUME_32BITUIDS]: Make code unconditional.
19334 [!__ASSUME_32BITUIDS]: Remove conditional code.
19335 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19336 <kernel-features.h>.
19337 [__ASSUME_32BITUIDS]: Make code unconditional.
19338 [!__ASSUME_32BITUIDS]: Remove conditional code.
19339 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19340 <kernel-features.h>.
19341 [__ASSUME_32BITUIDS]: Make code unconditional.
19342 [!__ASSUME_32BITUIDS]: Remove conditional code.
19343 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19344 <kernel-features.h>.
19345 [__ASSUME_32BITUIDS]: Make code unconditional.
19346 [!__ASSUME_32BITUIDS]: Remove conditional code.
19347 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19348 <kernel-features.h>.
19349 [__ASSUME_32BITUIDS]: Make code unconditional.
19350 [!__ASSUME_32BITUIDS]: Remove conditional code.
19351 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19352 <kernel-features.h>.
19353 [__ASSUME_32BITUIDS]: Make code unconditional.
19354 [!__ASSUME_32BITUIDS]: Remove conditional code.
19355 * sysdeps/unix/sysv/linux/kernel-features.h
19356 (__ASSUME_SETRESUID_SYSCALL): Remove.
19357 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19358 (__ASSUME_32BITUIDS): Likewise.
19359 (__ASSUME_LDT_WORKS): Likewise.
19360 (__ASSUME_O_DIRECTORY): Likewise.
19361 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19362 architecture but not kernel version.
19363 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19364 (__ASSUME_MMAP2_SYSCALL): Likewise.
19365 (__ASSUME_STAT64_SYSCALL): Likewise.
19366 (__ASSUME_IPC64): Likewise.
19367 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19368 <kernel-features.h>.
19369 [__ASSUME_32BITUIDS]: Make code unconditional.
19370 [!__ASSUME_32BITUIDS]: Remove conditional code.
19371 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19372 <kernel-features.h>.
19373 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19374 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19375 132096]: Remove conditional code.
19376 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19377 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19378 <kernel-features.h>.
19379 [__ASSUME_32BITUIDS]: Make code unconditional.
19380 [!__ASSUME_32BITUIDS]: Remove conditional code.
19381 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19382 <kernel-features.h>.
19383 [__ASSUME_32BITUIDS]: Make code unconditional.
19384 [!__ASSUME_32BITUIDS]: Remove conditional code.
19385 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19386 <kernel-features.h>.
19387 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19388 unconditional.
19389 (__setresgid): Do not declare.
19390 [__ASSUME_32BITUIDS]: Make code unconditional.
19391 [!__ASSUME_32BITUIDS]: Remove conditional code.
19392 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19393 <kernel-features.h>.
19394 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19395 unconditional.
19396 (__setresuid): Do not declare.
19397 [__ASSUME_32BITUIDS]: Make code unconditional.
19398 [!__ASSUME_32BITUIDS]: Remove conditional code.
19399 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19400 <kernel-features.h>.
19401 [__ASSUME_32BITUIDS]: Make code unconditional.
19402 [!__ASSUME_32BITUIDS]: Remove conditional code.
19403 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19404 <kernel-features.h>.
19405 [__ASSUME_32BITUIDS]: Make code unconditional.
19406 [!__ASSUME_32BITUIDS]: Remove conditional code.
19407
a386f1cc
RH
194082012-05-25 Richard Henderson <rth@twiddle.net>
19409
19410 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19411 dl_hwcap to ifunc resolver.
19412 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19413 elf_ifunc_invoke.
19414 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19415 dl_hwcap to ifunc resolver.
19416 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19417
b6550497
JM
194182012-05-24 Joseph Myers <joseph@codesourcery.com>
19419
19420 [BZ #14153]
19421 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19422 for |x| <= 2**-26, not 2**-57.
19423 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19424 exception.
19425
b0bc23a1
JL
194262012-05-24 Jeff Law <law@redhat.com>
19427
19428 * stdio-common/Makefile (tests): Add bug25.
19429 * stdio-common/bug25.c: New test.
19430
347c92e9
L
194312012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19432
19433 [BZ #13576]
19434 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19435 multiple of MALLOC_ALIGNMENT in size.
19436 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19437
6bcc8b3f
JM
194382012-05-24 Joseph Myers <joseph@codesourcery.com>
19439
19440 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19441 Require >= 256.
19442 (FILENAME_MAX): Use macro-int-constant.
19443 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19444 (_IOFBF): Use macro-int-constant.
19445 (_IOLBF): Likewise.
19446 (_IONBF): Likewise.
19447 (SEEK_CUR): Likewise.
19448 (SEEK_END): Likewise.
19449 (SEEK_SET): Likewise.
19450 (TMP_MAX): Likewise.
19451 (EOF): Use macro-int-constant. Require < 0.
19452 (NULL): Use macro-constant. Require == 0.
19453 (stdin): Require type to be FILE *.
19454 (stdout): Likewise.
19455 (stderr): Likewise.
19456 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19457 macro-int-constant.
19458 (EXIT_SUCCESS): Likewise.
19459 (NULL): Use macro-constant. Require == 0.
19460 (RAND_MAX): Use macro-int-constant.
19461 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19462 [C99-based standards] (strtof): Require function.
19463 [C99-based standards] (strtold): Likewise.
19464 [C99-based standards] (strtoll): Likewise.
19465 [C99-based standards] (strtoull): Likewise.
19466 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19467 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19468 [ISO || ISO99 || ISO11] (math.h): Likewise.
19469 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19470 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19471 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19472
d18ea0c5
AS
194732012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19474
19475 [BZ #14132]
56d25bb8
AS
19476 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19477 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19478 * intl/dgettext.c (DCGETTEXT): Likewise.
19479 * intl/gettext.c (DCGETTEXT): Likewise.
19480 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19481 * posix/regex_internal.h (gettext): Likewise.
19482 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19483 Remove declaration.
19484 * include/argz.h (__argz_count_internal)
19485 (__argz_stringify_internal): Remove declaration.
19486 (__argz_count, __argz_stringify): Declare hidden proto.
19487 * intl/dcgettext.c: Remove use of INTDEF.
19488 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19489 * string/argz-stringify.c: Likewise.
19490 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19491 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19492 Declare hidden proto.
d18ea0c5
AS
19493 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19494 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19495 Declare hidden proto.
19496 * include/stdio.h (__asprintf_internal): Don't declare.
19497 (__asprintf): Don't define as macro. Declare hidden proto.
19498 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19499 (__fsetlocking): Declare hidden proto.
19500 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19501 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19502 hidden proto.
19503 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19504 (_IO_setlinebuf): Remove use of INTUSE.
19505 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19506 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19507 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19508 Remove declaration.
19509 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19510 (_IO_do_flush): Remove use of INTUSE.
19511 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19512 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19513 (_IO_adjust_column, _IO_least_wmarker)
19514 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19515 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19516 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19517 (_IO_default_doallocate, _IO_wdefault_doallocate)
19518 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19519 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19520 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19521 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19522 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19523 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19524 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19525 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19526 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19527 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19528 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19529 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19530 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19531 proto.
19532 (_IO_flush_all_internal, _IO_adjust_column_internal)
19533 (_IO_default_uflow_internal, _IO_default_finish_internal)
19534 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19535 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19536 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19537 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19538 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19539 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19540 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19541 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19542 (_IO_file_close_internal, _IO_file_close_it_internal)
19543 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19544 (_IO_file_init_internal, _IO_file_attach_internal)
19545 (_IO_file_fopen_internal, _IO_file_read_internal)
19546 (_IO_file_sync_internal, _IO_file_seek_internal)
19547 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19548 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19549 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19550 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19551 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19552 (_IO_list_all_internal, _IO_link_in_internal)
19553 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19554 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19555 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19556 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19557 (_IO_do_write_internal, _IO_padn_internal)
19558 (_IO_getline_info_internal, _IO_getline_internal)
19559 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19560 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19561 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19562 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19563 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19564 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19565 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19566 with libc_hidden_ver, remove use of INTUSE.
19567 * libio/genops.c: Likewise.
19568 * libio/freopen.c: Likewise.
19569 * libio/freopen64.c: Likewise.
19570 * libio/iofclose.c: Likewise.
19571 * libio/iofdopen.c: Likewise.
19572 * libio/iofflush.c: Likewise.
19573 * libio/iofflush_u.c: Likewise.
19574 * libio/iofgets.c: Likewise.
19575 * libio/iofgets_u.c: Likewise.
19576 * libio/iofopen.c: Likewise.
19577 * libio/iofopncook.c: Likewise.
19578 * libio/iofread.c: Likewise.
19579 * libio/iofread_u.c: Likewise.
19580 * libio/ioftell.c: Likewise.
19581 * libio/iofwrite.c: Likewise.
19582 * libio/iogetline.c: Likewise.
19583 * libio/iogets.c: Likewise.
19584 * libio/iogetwline.c: Likewise.
19585 * libio/iopadn.c: Likewise.
19586 * libio/iopopen.c: Likewise.
19587 * libio/ioseekoff.c: Likewise.
19588 * libio/ioseekpos.c: Likewise.
19589 * libio/iosetbuffer.c: Likewise.
19590 * libio/iosetvbuf.c: Likewise.
19591 * libio/ioungetc.c: Likewise.
19592 * libio/ioungetwc.c: Likewise.
19593 * libio/iovdprintf.c: Likewise.
19594 * libio/iovsprintf.c: Likewise.
19595 * libio/iovsscanf.c: Likewise.
19596 * libio/memstream.c: Likewise.
19597 * libio/obprintf.c: Likewise.
19598 * libio/oldfileops.c: Likewise.
19599 * libio/oldiofclose.c: Likewise.
19600 * libio/oldiofdopen.c: Likewise.
19601 * libio/oldiofopen.c: Likewise.
19602 * libio/oldiopopen.c: Likewise.
19603 * libio/oldstdfiles.c: Likewise.
19604 * libio/putc.c: Likewise.
19605 * libio/setbuf.c: Likewise.
19606 * libio/setlinebuf.c: Likewise.
19607 * libio/stdfiles.c: Likewise.
19608 * libio/strops.c: Likewise.
19609 * libio/vasprintf.c: Likewise.
19610 * libio/vscanf.c: Likewise.
19611 * libio/vsnprintf.c: Likewise.
19612 * libio/vswprintf.c: Likewise.
19613 * libio/wfiledoalloc.c: Likewise.
19614 * libio/wfileops.c: Likewise.
19615 * libio/wgenops.c: Likewise.
19616 * libio/wmemstream.c: Likewise.
19617 * libio/wstrops.c: Likewise.
19618 * libio/__fpurge.c: Likewise.
19619 * libio/__fsetlocking.c: Likewise.
19620 * assert/assert.c: Likewise.
19621 * debug/fgets_chk.c: Likewise.
19622 * debug/fgets_u_chk.c: Likewise.
19623 * debug/fread_chk.c: Likewise.
19624 * debug/fread_u_chk.c: Likewise.
19625 * debug/gets_chk.c: Likewise.
19626 * debug/obprintf_chk.c: Likewise.
19627 * debug/vasprintf_chk.c: Likewise.
19628 * debug/vdprintf_chk.c: Likewise.
19629 * debug/vsnprintf_chk.c: Likewise.
19630 * debug/vsprintf_chk.c: Likewise.
19631 * malloc/mtrace.c: Likewise.
19632 * misc/error.c: Likewise.
19633 * misc/syslog.c: Likewise.
19634 * stdio-common/asprintf.c: Likewise.
19635 * stdio-common/fxprintf.c: Likewise.
19636 * stdio-common/getw.c: Likewise.
19637 * stdio-common/isoc99_fscanf.c: Likewise.
19638 * stdio-common/isoc99_scanf.c: Likewise.
19639 * stdio-common/isoc99_vfscanf.c: Likewise.
19640 * stdio-common/isoc99_vscanf.c: Likewise.
19641 * stdio-common/isoc99_vsscanf.c: Likewise.
19642 * stdio-common/printf-prs.c: Likewise.
19643 * stdio-common/printf_fp.c: Likewise.
19644 * stdio-common/printf_fphex.c: Likewise.
19645 * stdio-common/printf_size.c: Likewise.
19646 * stdio-common/putw.c: Likewise.
19647 * stdio-common/scanf.c: Likewise.
19648 * stdio-common/sprintf.c: Likewise.
19649 * stdio-common/tmpfile.c: Likewise.
19650 * stdio-common/vfprintf.c: Likewise.
19651 * stdio-common/vfscanf.c: Likewise.
19652 * stdlib/strfmon_l.c: Likewise.
19653 * sunrpc/openchild.c: Likewise.
19654 * sunrpc/xdr_stdio.c: Likewise.
19655 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19656 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19657
d6c33fda
RM
196582012-05-24 Roland McGrath <roland@hack.frob.com>
19659
c1487492
RM
19660 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19661
19662 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19663 in the third column, to generate for the shared library an IFUNC
19664 that uses _dl_vdso_vsym.
19665 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19666 * Makeconfig (object-suffixes-noshared): New variable.
19667
19668 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19669 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19670 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19671 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19672
d6c33fda
RM
19673 [BZ #14132]
19674 * include/sys/time.h (__gettimeofday): Remove macro.
19675 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19676 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19677 Remove INTDEF.
19678 (__gettimeofday): Add libc_hidden_def.
19679 (gettimeofday): Add libc_hidden_weak.
19680 * sysdeps/mach/gettimeofday.c: Likewise.
19681 * sysdeps/posix/gettimeofday.c: Likewise.
19682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19683 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19684 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19685 (__gettimeofday_internal): Remove strong_alias.
19686 (__gettimeofday): Add libc_hidden_def.
19687 (gettimeofday): Add libc_hidden_weak.
19688 * sysdeps/unix/syscalls.list (gettimeofday):
19689 Remove __gettimeofday_internal alias.
19690
b5a2bbe6
L
196912012-05-24 Daniel Jacobowitz <drow@false.org>
19692 H.J. Lu <hongjiu.lu@intel.com>
19693
19694 [BZ #12495]
19695 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19696 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19697 (largebin_index_32_big): New.
19698 (largebin_index): Use it for 16-byte alignment.
19699 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19700 correction with front_misalign.
19701
cfba4fda
L
197022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19703
7f907421
L
19704 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19706 Likewise.
19707 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19708 Likewise.
19709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19710 Likewise.
19711 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19712 Likewise.
19713 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19714 Likewise.
19715 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19716 Likewise.
19717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19718 Likewise.
19719 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19720 Likewise.
19721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19722 Likewise.
19723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19724 Likewise.
19725 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19726 Likewise.
19727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19728 Likewise.
19729
cfba4fda
L
19730 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19731 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19732
80bad0cc
JM
197332012-05-24 Joseph Myers <joseph@codesourcery.com>
19734
7a25eb06
JM
19735 [BZ #10846]
19736 [BZ #14036]
19737 * math/libm-test.inc (exp_test): Add test from bug 14036.
19738 (pow_test): Add test from bug 10846.
19739
795405f9
JM
19740 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19741 and other flags.
19742 (special_function): Do not include flags in test name.
19743 (parse_args): Likewise.
19744 * sysdeps/i386/fpu/libm-test-ulps: Update.
19745 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19746 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19747 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19748 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19749
80bad0cc
JM
19750 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19751 exceptions.
19752 * math/libm-test.inc ("Philosophy"): Update comment about
19753 exception testing.
19754 (UNDERFLOW_EXCEPTION): New macro.
19755 (UNDERFLOW_EXCEPTION_OK): Likewise.
19756 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19757 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19758 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19759 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19760 (INVALID_EXCEPTION_OK): Update value.
19761 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19762 (OVERFLOW_EXCEPTION_OK): Likewise.
19763 (IGNORE_ZERO_INF_SIGN): Likewise.
19764 (test_exceptions): Handle underflow exceptions.
19765 (acos_test): Update for underflow exception expectations.
19766 (cexp_test): Likewise.
19767 (clog_test): Likewise.
19768 (clog10_test): Likewise.
19769 (csqrt_test): Likewise.
19770 (ctan_test): Likewise.
19771 (ctanh_test): Likewise.
19772 (exp_test): Likewise.
19773 (exp10_test): Likewise.
19774 (exp2_test): Likewise.
19775 (expm1_test): Likewise.
19776 (fma_test): Likewise.
19777 (j0_test): Likewise.
19778 (jn_test): Likewise.
19779 (nexttoward_test): Likewise.
19780 (pow_test): Likewise.
19781 (scalbn_test): Likewise.
19782 (scalbln_test): Likewise.
19783 (tan_test): Likewise.
19784 (y1_test): Likewise.
19785 * sysdeps/i386/fpu/libm-test-ulps: Update.
19786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19787
9e0e3d0b
DM
197882012-05-23 David S. Miller <davem@davemloft.net>
19789
19790 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19791 (__libc_sigaction): Remove unused local variables.
19792
ccd0a08f
L
197932012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19794
19795 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19796
62bdf9a6
PE
197972012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19798
f8591f80
PE
19799 mktime: avoid signed integer overflow
19800 * time/mktime.c (__mktime_internal): Do not mishandle the case
19801 where diff == INT_MIN.
19802
94c7d826
PE
19803 mktime: simplify computation of average
19804 * time/mktime.c (ranged_convert): Use new time_t_avg function
19805 instead of rolling our own (probably-slower) code.
19806
ce73d683
PE
19807 mktime: do not assume signed right shift propagates sign bit
19808 * time/mktime.c (isdst_differ): New static function.
19809 (__mktime_internal): No need to normalize tm_isdst now.
19810 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19811 tm_isdst values.
19812
72a22e59
PE
19813 mktime: merge another wrapv change from gnulib
19814 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19815 from some compilers.
19816
68605433
PE
19817 mktime: remove incorrect attempt at unusual arithmetics
19818 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19819 The code didn't really work on such machines anyway.
19820 (TYPE_MINIMUM): Assume two's complement.
19821 (twos_complement_arithmetic): Verify that long_int and time_t
19822 are two's complement (or unsigned, in the latter case).
19823
03cf7fe3
PE
19824 mktime: check signed shifts on long_int and time_t, too
19825 * time/mktime.c (SHR): Check that shifts work as desired
19826 on the types long_int and time_t too, as SHR is used on
19827 such types.
19828
f04dfbc2
PE
19829 mktime: do not assume 'long' is wide enough
19830 * time/mktime.c (verify): Move decl up.
19831 (long_int): New type.
19832 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19833 to remove assumption in the code that 'long' is wide enough to
19834 store year values. This assumption is not true on x32 and on
19835 some non-glibc platforms.
19836
62bdf9a6
PE
19837 mktime: merge wrapv change from gnulib
19838 * time/mktime.c (WRAPV): New macro.
19839 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19840 (guess_time_tm, __mktime_internal): Do not assume that signed
19841 integer overflow wraps around; modern compilers generate code
19842 where this assumption is no longer valid.
19843
5e292e4f
L
198442012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19845
19846 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19847 Replace "jmp L(pseudo_end)" with "ret".
19848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19849 Likewise.
19850
8caf8c87
AJ
198512012-05-23 Andreas Jaeger <aj@suse.de>
19852
19853 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19854 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19855
1a09dc56
AJ
198562012-05-23 Andreas Jaeger <aj@suse.de>
19857 Maximilian Attems <max@stro.at>
19858
19859 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19860 New macros.
19861
1c87aba0
L
198622012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19863
19864 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19865 code so that pseudo_end is just ret and the stack pointer is
19866 correct also for static library in error case.
19867
40e45bd5
JM
198682012-05-23 Joseph Myers <joseph@codesourcery.com>
19869
c2670533
JM
19870 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19871 move to syscalls.list.
19872 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19876
40e45bd5
JM
19877 * manual/install.texi (Running make install): Do not mention Linux
19878 kernel version for which pt_chown is not needed.
19879 (Linux): Do not mention problems with nscd with 2.0 kernels.
19880 * INSTALL: Regenerated.
19881
be08eda5
AJ
198822012-05-23 Andreas Jaeger <aj@suse.de>
19883
19884 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19885 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19886 macro.
19887 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19888 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19889 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19890 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19891 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19892 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19893 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19894 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19896 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19897 * sysdeps/unix/sysv/linux/bits/in.h
19898 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19899
a6a056bb
RM
199002012-05-22 Roland McGrath <roland@hack.frob.com>
19901
19902 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19903 (PREPARE_VERSION): Just use assert instead, it will be elided
19904 under [NDEBUG] anyway.
19905
c9009328
L
199062012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19907
19908 * sysdeps/unix/sysv/linux/Makefile: Include
19909 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19910 (sysdep_routines): Remove sysctl.
c9009328
L
19911 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19912 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19913 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19914 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19915 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19916
73338355
AJ
199172012-05-22 Andreas Jaeger <aj@suse.de>
19918
19919 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19920 that pseudo_end is just ret and the stack pointer is correct also
19921 for static library in error case.
19922
d44638b0
PP
199232012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19924
19925 [BZ #14122]
19926 * nss/nsswitch.c (defconfig_entries): New variable.
19927 (__nss_database_lookup): Don't leak defconfig entries.
19928 (nss_parse_service_list): Don't leak on error paths.
19929 (free_database_entries): New function.
19930 (free_defconfig): New function.
19931 (free_mem): Move common code to free_database_entries.
19932
31a39bd8
L
199332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19934
da0331a8
L
19935 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19936 Add arch_prctl.
19937 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19938
31a39bd8
L
19939 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19940 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19941 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19942 New macro.
19943 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19944 (INTERNAL_SYSCALL_TYPES): Likewise.
19945 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19946 (LOAD_REGS_TYPES_[1-6]): Likewise.
19947 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19948 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19949
45470df3
AZ
199502012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951
19952 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19953 copysignl for GLIBC_2_0.
19954 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19955 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19956 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19957 logbl for GLIBC_2_0.
19958 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19959 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19960
98a61bcb
L
199612012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19962
a4f6e481
L
19963 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19964 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19965
f63d5db6
L
19966 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19967 Use "neg %eax".
19968
98a61bcb
L
19969 * time/mktime.c: Update copyright years.
19970
95770f14
PE
199712012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19972
6226efbd
PE
19973 mktime: merge comment-quoting-style change from gnulib
19974 * time/mktime.c: Quote 'like this' in comments.
19975 The GNU coding standards suggest that we no longer quote `like this',
19976 as "`" and "'" are typically rendered asymmetrically nowadays.
19977 The typical gnulib style is to quote 'like this' when quoting
19978 code, and "like this" when quoting English.
19979
b99e4f78
PE
19980 * time/mktime.c (compile-command): Add "-I.".
19981
643e01e6
PE
19982 mktime: merge mktime-internal.h change from gnulib
19983 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19984
2554247d
PE
19985 mktime: merge time_r change from gnulib
19986 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19987
826dd0ab
PE
19988 mktime: merge DEBUG change from gnulib
19989 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19990 case system <time.h> has a #define.
19991
bd83aabe
PE
19992 mktime: merge <sys/types.h> change from gnulib
19993 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19994 since <time.t> is now guaranteed to define time_t.
19995
95770f14
PE
19996 mktime: merge HAVE_CONFIG_H change from gnulib
19997 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19998
5e1a27a9
L
199992012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20000
0e44a77e
L
20001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20002 Use "neg %eax".
20003
5e1a27a9
L
20004 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20005 __rlim_t cast.
20006 (struct rusage): Use anonymous union to pad each field to
20007 __syscall_slong_t.
20008
46259bec
DM
200092012-05-21 David S. Miller <davem@davemloft.net>
20010
20011 * Makefules (o-iterator): Remove .s cases.
20012 (compile-command.s): Delete.
20013 (COMPILE.s): Delete.
20014 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20015
59f0c22e
JM
200162012-05-21 Joseph Myers <joseph@codesourcery.com>
20017
20018 * configure.in (libc_cv_predef_stack_protector): Only consider
20019 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20020 * configure: Regenerated.
20021
20c07380
L
200222012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20023
bbb3154b
L
20024 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20025 New macro. Use R*LP on int and pointer.
20026 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20027 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20028 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20029 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20030
20c07380
L
20031 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20032 [__WORDSIZE_TIME64_COMPAT32] instead of
20033 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20034 (struct utmp): Likewise.
20035 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20036 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20037 Renamed to ...
20038 (__WORDSIZE_TIME64_COMPAT32): This.
20039 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20040 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20041 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20042 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20043 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20044 (__WORDSIZE_TIME64_COMPAT32): New macro.
20045
d8d1017e
AJ
200462012-05-21 Andreas Jaeger <aj@suse.de>
20047
20048 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20049 only if [SHARED]. Add prototype for __wcschr_ia32.
20050
6c7fb145
RM
200512012-05-21 Roland McGrath <roland@hack.frob.com>
20052
20053 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20054 of %rbp unmolested in the jmp_buf while mangling the low bits.
20055 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20056 unmolested high bits of %rbp while demangling the low bits.
20057 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20058
66274218
AJ
200592012-05-21 Andreas Jaeger <aj@suse.de>
20060
07c58f8f
AJ
20061 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20062 * sunrpc/svc_simple.c: Use it for registerrpc.
20063 * sunrpc/xcrypt.c: Use it for passwd2des.
20064
66274218
AJ
20065 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20066
61f65140
L
200672012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20068
20069 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20070 Don't define if [__SYSCALL_WORDSIZE != 32].
20071 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20072 New macro.
20073
5fefb436
AJ
200742012-05-21 Bruno Haible <bruno@clisp.org>
20075 Andreas Jaeger <aj@suse.de>
20076
20077 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20078 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20079 inptr and inend for must_buffer_ch.
20080 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20081 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20082 * stdio-common/Makefile (tests): Remove bug15.
20083 (bug15-ENV): Remove macro.
20084 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20085 anymore.
20086
d8e272ab
AJ
200872012-05-19 Andreas Jaeger <aj@suse.de>
20088 Roland McGrath <roland@hack.frob.com>
20089
20090 * manual/contrib.texi: Completely rewritten. It contains now an
20091 alphabetical list of contributors and their contributions.
20092
4a56a162
RH
200932012-05-21 Richard Henderson <rth@twiddle.net>
20094
20095 * misc/getauxval.c (__getauxval): Use unsigned long int.
20096 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20097 (getauxval): Use unsigned long int.
20098
d024d23c
L
200992012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20100
20101 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20102
cbc00a03
RM
201032012-05-21 Roland McGrath <roland@hack.frob.com>
20104
20105 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20106 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20107 __alignof__ (long double).
20108
478143fa
AZ
201092012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20110
20111 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20112
c7683a6d
RH
201132012-05-20 Richard Henderson <rth@twiddle.net>
20114
20115 * misc/getauxval.c: New file.
20116 * misc/sys/auxv.h: New file.
20117 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20118 (routines): Add getauxval.
20119 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20120 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20121 * elf/dl-sysdep.c (_dl_auxv): Remove.
20122 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20123 * elf/dl-support.c (_dl_auxv): New variable.
20124 (_dl_aux_init): Initialize it.
20125 * manual/startup.texi (Auxiliary Vector): New node.
20126 * sysdeps/generic/bits/hwcap.h: New file.
20127 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20128 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20129 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20130 * sysdeps/sparc/sysdep.h: ... here. Include it.
20131 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20132 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20134 Update.
c7683a6d
RH
20135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20136 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20138 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20143
a6f1845d
AZ
201442012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20145
20146 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20147
cbcbe830
DM
201482012-05-19 David S. Miller <davem@davemloft.net>
20149
20150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20151
e0b16cc2
JM
201522012-05-19 Joseph Myers <joseph@codesourcery.com>
20153
20154 [BZ #14123]
20155 * math/s_ccosh.c: Include <float.h>
20156 (__ccosh): Avoid internal overflow calculating sinh and cosh
20157 values before multiplying by sin and cos values.
20158 * math/s_ccoshf.c: Likewise.
20159 * math/s_ccoshl.c: Likewise.
20160 * math/s_csin.c: Likewise.
20161 * math/s_csinf.c: Likewise.
20162 * math/s_csinl.c: Likewise.
20163 * math/s_csinh.c: Likewise.
20164 * math/s_csinhf.c: Likewise.
20165 * math/s_csinhl.c: Likewise.
20166 * math/libm-test.inc (ccos_test): Add more tests.
20167 (ccosh_test): Likewise.
20168 (csin_test): Likewise.
20169 (csinh_test): Likewise.
20170 * sysdeps/i386/fpu/libm-test-ulps: Update.
20171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20172
6ad13e08
L
201732012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20174
f66f0ce8
L
20175 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20176 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20177
6ad13e08
L
20178 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20179
b1d072a7
JM
201802012-05-19 Joseph Myers <joseph@codesourcery.com>
20181
20182 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20183 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20184 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20185 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20186 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20187 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20188 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20189 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20190 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20191 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20192 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20193 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20194 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20195 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20196 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20197 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20198 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20199 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20200 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20201 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20202 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20203 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20204 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20205 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20206 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20207 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20208 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20209 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20210 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20211 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20212 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20213
9eae47cb
AJ
202142012-05-18 Andreas Jaeger <aj@suse.de>
20215
20216 * csu/.gitignore: Delete.
20217
bb07f69f
L
202182012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20219
20220 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20221 (timex): Use __syscall_slong_t.
20222
e6bdb741
AJ
202232012-05-18 Andreas Jaeger <aj@suse.de>
20224 Carlos O'Donell <carlos_odonell@mentor.com>
20225
20226 * manual/install.texi (Configuring and compiling): Update
20227 description about files modified in the source directory.
d6c33fda 20228 * INSTALL: Regenerated.
e6bdb741 20229
1b74487e
L
202302012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20231
20232 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20233 value. Use "or" to set return value to -1.
20234 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20235 negate return value.
20236
a88b64b9
TMQMF
202372012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20238
20239 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20240 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20241 failure if the compiler has Graphite support disabled.
20242 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20243 Likewise.
20244 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20245 CFLAGS-memmove.c): Likewise.
20246 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20247 Likewise.
20248
3707636e
L
202492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20250
610b8622
L
20251 * sysdeps/x86_64/x32/_itoa.h: New file.
20252
7cd195df
L
20253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20254 getdents system call only if kernel and user dirents have the
20255 same d_ino and d_off.
20256
94b07d20
L
20257 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20258 LLONG_MAX != LONG_MAX.
20259 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20260 (_fitoa_word): Likewise.
20261
18298070
L
20262 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20263 years.
20264 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20265 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20266 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20267
553c7ea4
L
20268 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20269 include <bits/wordsize.h>. Check __x86_64__ instead of
20270 __WORDSIZE.
20271 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20272 if __x86_64__ is defined. Use anonymous union on fpstate.
20273
3707636e
L
20274 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20275 anonymous union.
20276
b53ef01a
AS
202772012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20278
37fb1dc0
AS
20279 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20280 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20282 Refer to _rtld_local_ro instead of _rtld_global_ro.
20283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20284 Likewise.
20285 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20286 Likewise.
20287 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20288 Likewise.
20289 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20290 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20291 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20292
b53ef01a
AS
20293 * sysdeps/powerpc/powerpc32/dl-machine.c
20294 (__elf_machine_runtime_setup) [PROF]: Don't reference
20295 _dl_prof_resolve.
20296
7a185db2
AJ
202972012-05-18 Andreas Jaeger <aj@suse.de>
20298
20299 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20300 function only available for GCCs before 3.4 since GCC 3.4
20301 introduced a builtin.
20302 (lrint): Likewise.
20303 (llrintf): Likewise.
20304 (llrint): Likewise.
20305 (fmaxf): Likewise.
20306 (fmax): Likewise.
20307 (fminf): Likewise.
20308 (fmin): Likewise.
20309 (rint): Likewise.
20310 (rintf): Likewise.
20311 (nearbyint): Likewise.
20312 (nearbyintf): Likewise.
20313 (ceil): Likewise.
20314 (ceilf): Likewise.
20315 (floor): Likewise.
20316 (floorf): Likewise.
20317
3e5aef87
L
203182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20319
428bd707
L
20320 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20321 on both fields and cast pointer to __syscall_ulong_t.
20322
3e5aef87
L
20323 * bits/types.h (__fsword_t): New type.
20324 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20325 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20326 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20327 (__FSWORD_T_TYPE): Likewise.
20328 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20329 (__FSWORD_T_TYPE): Likewise.
20330 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20331 (__FSWORD_T_TYPE): Likewise.
20332 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20333 (__FSWORD_T_TYPE): Likewise.
20334 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20335 __SWORD_TYPE with __fsword_t.
20336 (statfs64): Likewise.
20337
1ba7c3dc
DM
203382012-05-17 David S. Miller <davem@davemloft.net>
20339
20340 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20341
59910343
AJ
203422012-05-17 Andreas Jaeger <aj@suse.de>
20343
20344 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20345 warning.
20346
2e4c1e9e
L
203472012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20348
20349 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20350
de7f5ce7
AJ
203512012-05-17 Andreas Jaeger <aj@suse.de>
20352
20353 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20354 when it is used.
20355
286abc3d
CM
203562012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20357
20358 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20359
477cc68e
L
203602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20361
20362 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20363 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20364
1a0994f5
CD
203652012-05-17 Andreas Jaeger <aj@suse.de>
20366 Carlos O'Donell <carlos_odonell@mentor.com>
20367
20368 [BZ #14059]
20369 * sysdeps/x86_64/multiarch/init-arch.h
20370 (bit_YMM_Usable): Rename to...
20371 (bit_AVX_Usable): ... this.
20372 (bit_FMA4_Usable): New macro.
20373 (bit_XMM_state): New macro.
20374 (bit_YMM_state): New macro.
20375 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20376 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20377 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20378 (CPUID_OSXSAVE): New macro.
20379 (CPUID_AVX): New macro.
20380 (CPUID_FMA4): New macro.
20381 (index_YMM_Usable): Rename to...
20382 (index_AVX_Usable): ... this.
20383 (HAS_AVX): Use HAS_ARCH_FEATURE.
20384 (HAS_FMA4): Likewise.
20385 (HAS_YMM_USABLE): Remove.
20386 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20387 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20388 are present.
20389 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20390 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20391 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20392 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20393 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20394
0af797de
CM
203952012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20396
20397 * math/libm-test.c: Support platforms without multiple rounding modes.
20398 * math/bug-nextafter.c: Support platforms without FP exceptions.
20399 * math/bug-nexttoward.c: Likewise.
20400 * math/test-fenv.c: Likewise.
20401 * math/test-misc.c: Likewise.
20402 * stdlib/bug-getcontext.c: Likewise.
20403
e39745ff
AJ
204042012-05-17 Andreas Jaeger <aj@suse.de>
20405
20406 * manual/examples/search.c (critter_cmp): Change signature to
20407 avoid warnings.
20408 * manual/string.texi (Collation Functions): Likewise.
20409
48970aba
L
204102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20411
20412 * bits/types.h: Fold copyright years.
20413 * bits/typesizes.h: Likewise.
20414 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20415 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20416 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20418 * time/time.h: Likewise.
20419
bedee953
PP
204202012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20421
20422 [BZ #208]
20423 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20424 in instead of returning them. Return void.
20425 (__libc_mallinfo): Accumulate over all arenas.
20426 (__malloc_stats): Adjust for change in int_mallinfo interface.
20427
61653dfb
RM
204282012-05-16 Roland McGrath <roland@hack.frob.com>
20429
30b99d79
RM
20430 [BZ #10375]
20431 * configure.in (NM): Add AC_CHECK_TOOL for it.
20432 (libc_extra_cflags): New substituted variable.
20433 Check for -fstack-protector being used implicitly.
20434 * configure: Regenerated.
20435 * config.make.in (config-extra-cflags): New variable,
20436 gets @libc_extra_cflags@.
20437 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20438
61653dfb
RM
20439 [BZ #10375]
20440 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20441 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20442 * configure: Regenerated.
20443 * config.make.in (CPPUNDEFS): New substituted variable.
20444 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20445 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20446 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20447
661768bb
L
204482012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20449
20450 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20451 (mq_attr): Use __syscall_slong_t.
20452
d4261567
L
204532012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20454
20455 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20456 Check __x86_64__ instead of __WORDSIZE.
20457 (_STAT_VER_LINUX): Likewise.
20458 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20459 __syscall_ulong_t and __syscall_slong_t.
20460 (stat64): Likewise.
20461
cf3ff365
L
204622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20463
20464 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20465
76cf3e4d
L
204662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20467
20468 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20469
a637753a
L
204702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20471
20472 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20473 __syscall_ulong_t.
20474
d5e05119
L
20475 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20476 include <bits/wordsize.h>. Check __x86_64__ instead of
20477 __WORDSIZE.
20478 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20479 defined.
20480 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20481
f62ee380
L
20482 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20483 include <bits/wordsize.h>. Check __x86_64__ instead of
20484 __WORDSIZE.
20485 (user_regs_struct): Use "__extension__ unsigned long long"
20486 instead of "unsigned long" if __x86_64__ is defined.
20487 (user): Likewise. Pad after pointer field if __ILP32__ is
20488 defined.
20489
4e124ced
JM
204902012-05-16 Joseph Myers <joseph@codesourcery.com>
20491
6a3951a0
JM
20492 * configure.in (makeinfo): Require version 4.5 or later. Allow
20493 versions 5 to 9.
20494 * configure: Regenerated.
20495 * manual/install.texi (texinfo): Increase version requirement to
20496 4.5 or later.
20497 * INSTALL: Regenerated.
20498
4e124ced
JM
20499 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20500
953ca31a
L
205012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20502
20503 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20504
617aca05
L
20505 * sysdeps/x86_64/x32/ffs.c: New file.
20506
5762f7ae
L
20507 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20508 __syscall_ulong_t.
20509 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20510 defined. Use __syscall_ulong_t.
20511 (shminfo): Use __syscall_ulong_t.
20512 (shm_info): Likewise.
20513
a26b6856
L
20514 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20515 __syscall_ulong_t.
20516
cb2b9ef7
L
20517 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20518 <bits/wordsize.h>.
20519 (msgqnum_t): Use __syscall_ulong_t.
20520 (msglen_t): Likewise.
20521 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20522 __syscall_ulong_t.
20523
34683bb0
L
20524 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20525 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20526
84a68786
L
20527 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20528
48baa5f1
L
20529 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20530 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20531
180be88b
L
20532 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20533 __syscall_slong_t.
20534
5e90c8ad
L
20535 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20536 include <bits/wordsize.h>. Check __x86_64__ instead of
20537 __WORDSIZE.
20538
23dfb58b
L
20539 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20540 "unsigned long long int" if __x86_64__ is defined.
20541 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20542
ce5d54b0
L
20543 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20544 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20545 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20546
13dc9eac
L
20547 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20548 <stdint.h>.
20549 (GET_PC): Cast to uintptr_t first.
20550 (GET_FRAME): Likewise.
20551 (GET_STACK): Likewise.
20552
a7895d15
L
20553 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20554 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20555 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20556 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20557 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20558 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20559 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20560 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20561 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20562 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20563 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20564 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20565 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20566 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20567 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20568 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20569 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20582
656416c9
AS
205832012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20584
5bd66283
AS
20585 * Makerules (+depfiles): Also collect depfiles from .oS in
20586 $(extra-objs).
20587 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20588 .oS, $(libnldbl-routines)).
20589
656416c9
AS
20590 * Makerules (native-compile-mkdep-flags): Define.
20591 * sunrpc/Makefile (extra-objs): Add $(addprefix
20592 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20593 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20594 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20595 calling $(make-target-directory).
20596
a46f2169
L
205972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20598
20599 * bits/types.h (__snseconds_t): Removed.
20600 * time/time.h (struct timespec): Replace __snseconds_t with
20601 __syscall_slong_t.
20602 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20603 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20604 Likewise.
20605 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20606 (__SNSECONDS_T_TYPE): Likewise.
20607 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20608 (__SNSECONDS_T_TYPE): Likewise.
20609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20610 (__SNSECONDS_T_TYPE): Likewise.
20611
6af6528b
L
206122012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20613
20614 * sysdeps/mach/hurd/bits/typesizes.h
20615 (__SYSCALL_SLONG_TYPE): New macro.
20616 (__SYSCALL_ULONG_TYPE): Likewise.
20617
de986b56
L
206182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20619
20620 * bits/types.h (__syscall_slong_t): New type.
20621 (__syscall_ulong_t): Likewise.
20622
20623 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20624 (__SYSCALL_ULONG_TYPE): Likewise.
20625 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20626 (__SYSCALL_SLONG_TYPE): Likewise.
20627 (__SYSCALL_ULONG_TYPE): Likewise.
20628 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20629 (__SYSCALL_SLONG_TYPE): Likewise.
20630 (__SYSCALL_ULONG_TYPE): Likewise.
20631 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20632 (__SYSCALL_SLONG_TYPE): Likewise.
20633 (__SYSCALL_ULONG_TYPE): Likewise.
20634
85736dc7
L
206352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20636
20637 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20638 Add sigaltstack-offsets.sym.
20639 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20640 <sigaltstack-offsets.h>.
20641 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20642 longjmp_msg pointer.
20643 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20644 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20645 signal stack.
20646 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20647
cc03b296
JM
206482012-05-15 Joseph Myers <joseph@codesourcery.com>
20649
a9538892
JM
20650 * elf/stackguard-macros.h: Remove file.
20651 * sysdeps/generic/stackguard-macros.h: New file.
20652 * sysdeps/i386/stackguard-macros.h: Likewise.
20653 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20654 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20655 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20656 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20657 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20658 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20659 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20660 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20661 <elf/stackguard-macros.h>.
20662
cc03b296
JM
20663 [BZ #14109]
20664 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20665 __aligned__ in attribute.
20666 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20667 (gregset_t): Likewise.
20668
93171016
L
206692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20670
20671 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20672 * sysdeps/x86_64/64/Implies-after: Here. New file.
20673 * sysdeps/x86_64/x32/Implies-after: New file.
20674
d86813a0
L
206752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20676
20677 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20678 and access return value for _dl_profile_fixup. Use R10_LP to
20679 load frame size.
20680
2953ec75
L
206812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20682
20683 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20684
3b550e9e
L
206852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20686
20687 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20688 * sysdeps/x86_64/x32/sysdep.h: New file.
20689
eda41706
L
206902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20691
20692 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20693 * sysdeps/x86_64/setjmp.S: Likewise.
20694
9ea01d93
AZ
206952012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20696
20697 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20698 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20699 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20700 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20701 remove unused global constant.
20702
02a91938
CM
207032012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20704
20705 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20706 include of <not-cancel.h>.
20707
6540185f
RM
207082012-05-15 Roland McGrath <roland@hack.frob.com>
20709
20710 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20711
509072a0
AJ
207122012-05-15 Jeff Law <law@redhat.com>
20713 Andreas Jaeger <aj@suse.de>
20714
20715 [BZ #13594]
20716 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20717 out from...
20718 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20719 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20720 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20721 code changing __hst_map_handle.map.
20722
ba75122d
RM
207232012-05-15 Roland McGrath <roland@hack.frob.com>
20724
20725 * configure.in (sysnames): Look for Implies-before and Implies-after
20726 files.
20727 * configure: Regenerated.
20728
890d8bd8
L
207292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20730
20731 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20732 8-byte data alignment with LP_SIZE alignment.
20733
f6ee6623
L
207342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20735
20736 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20737 into R10_LP.
20738
ea2626f6
L
207392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20740
20741 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20742
085f715e
L
207432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20744
20745 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20746 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20747 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20748 Likewise.
20749 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20750
be8498fc
L
207512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20752
20753 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20754 (stackinfo_sub_sp): Likewise.
20755
70bc83b9
L
207562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20757
20758 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20759 RAX_LP.
20760
9bc0b730
L
207612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20762
20763 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20764 into R*_LP.
20765
6d2850e7
L
207662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20767
20768 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20769 sizes into R*_LP.
20770
3cb84561
L
207712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20772
20773 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20774
54e2ed81
L
207752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20778 into R11_LP and load __x86_64_shared_cache_size_half into
20779 R8_LP.
20780
8a17f349
L
207812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20782
20783 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20784 R8_LP.
20785
777b1eea
AZ
207862012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20787
20788 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20789 logb for POWER7.
20790 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20791 logbf for POWER7.
20792 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20793 logbl for POWER7.
20794 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20795 powerpc32/power7/fpu/s_logb.c via #include.
20796 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20797 powerpc32/power7/fpu/s_logbf.c via #include.
20798 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20799 powerpc32/power7/fpu/s_logbl.c via #include.
20800
d20d4ac2
JM
208012012-05-15 Joseph Myers <joseph@codesourcery.com>
20802
20803 * README.libm: Remove file.
20804
6cdef1ab
L
208052012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20806
20807 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20808 count for x32. Use R*_LP and omit operand-size suffix.
20809
0b254d8f
L
208102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20811
20812 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20813 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20814 * sysdeps/x86_64/x32/shlib-versions: New file.
20815
ceb809dc
RM
208162012-05-14 Roland McGrath <roland@hack.frob.com>
20817
20818 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20819 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20820 Use _dl_fatal_printf instead.
20821
37f1abd4
JM
208222012-05-14 Joseph Myers <joseph@codesourcery.com>
20823
20824 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20825 set if not set by the user. Do not allow for being unset.
20826 * sysdeps/unix/sysv/linux/configure: Regenerated.
20827
11de3a33
L
208282012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20829
20830 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20831 the `q' suffix from lea and replace .quad with ASM_ADDR.
20832
e02f153a
L
208332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20834
20835 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20836 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20837 instead of $17.
20838 (PTR_DEMANGLE): Likewise.
20839
520ae0fd
L
208402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20841
20842 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20843 (LP_OP): Likewise.
20844 (ASM_ADDR): Likewise.
20845 (RAX_LP): Likewise.
20846 (RBP_LP): Likewise.
20847 (RBX_LP): Likewise.
20848 (RCX_LP): Likewise.
20849 (RDI_LP): Likewise.
20850 (RSI_LP): Likewise.
20851 (RSP_LP): Likewise.
20852 (R8_LP): Likewise.
20853 (R9_LP): Likewise.
20854 (R10_LP): Likewise.
20855 (R10_LP): Likewise.
20856 (R11_LP): Likewise.
20857 (R12_LP): Likewise.
20858 (R13_LP): Likewise.
20859 (R14_LP): Likewise.
20860 (R15_LP): Likewise.
20861
b985be81
L
208622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20863
20864 * sysdeps/x86_64/x32/dl-machine.h: New file.
20865
6a4888ff
AJ
208662012-05-14 Andreas Jaeger <aj@suse.de>
20867
20868 * manual/Makefile (subdir): Remove export of subdir.
20869 (all): Remove target.
20870 (.PHONY): Remove all from list.
20871 (mkinstalldirs): Remove.
20872 (.PHONY): Remove installdirs from list.
20873 ($(inst_infodir)/libc.info): Use make-target-directory.
20874 (installdirs): Remove.
20875 (subdir_%): Remove.
20876 (glibc-targets): Remove.
20877 (lib): Remove.
20878 (stubs): Remove.
20879 ($(objpfx)stubs ../po/manual.pot): Remove.
20880 ($(objpfx)stamp%): Remove.
20881 (make-target-directory): Remove.
20882 (subdir_install): Remove.
20883 (routines): Remove.
20884 (aux): Remove.
20885 (sources): Remove.
20886 (objects): Remove.
20887 (headers): Remove.
20888
20889 [BZ #13750]
20890 * manual/.gitignore: Remove, it's not needed anymore.
20891 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20892 all files in it.
20893 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20894 directory.
20895 (texis): Renamed to $(objpfx)texis.
20896 (texis-path): New, contains path to generated files.
20897 (chapters.%): Use texis-path for complete path, add extra argument
20898 libc-texinfo.sh.
20899 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20900 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20901 (summary,texi, stamp-summary): Use complete path of
20902 files. Generate files in build dir.
20903 (dir-add.texi): Build in build dir.
20904 (libm-err.texi,stamp-libm-err): Likewise.
20905 (version.texi, stamp-version): Likewise.
20906 (.%c.texi): Likewise.
20907 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20908 (mostlyclean): Remove target.
20909 (realclean): Remove target.
20910 (generated): Add new variable with contents from mostlyclean and
20911 realclean, remove entries duplicated in common-mostlyclean, add
20912 stamp-libm-err and stamp-version.
20913 (generated-dirs): Add libc directory.
20914 ($(inst_infodir)/libc.info): Install files from build dir.
20915
20916 * manual/install.texi (Configuring and compiling): Adjust since
20917 the info files are not part of the tar ball anymore.
20918
7ac77294
AJ
209192012-05-14 Andreas Jaeger <aj@suse.de>
20920
20921 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20922 variable.
20923
ffb7875d
JM
209242012-05-14 Joseph Myers <joseph@codesourcery.com>
20925
20926 [BZ #13717]
20927 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20928 to 2.2.0 where earlier.
20929 * sysdeps/unix/sysv/linux/configure: Regenerated.
20930 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20931 Remove conditional code.
20932 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20933 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20934 Remove conditional code.
20935 [!__NR_lchown]: Likewise.
20936 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20937 [__NR_lchown]: Likewise.
20938 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20939 comment referencing __ASSUME_LCHOWN_SYSCALL.
20940 * sysdeps/unix/sysv/linux/i386/sigaction.c
20941 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20942 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20943 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20944 Remove conditional code.
20945 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20946 (__protocol_available): Remove #if 0 code.
20947 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20948 conditional code.
20949 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20950 * sysdeps/unix/sysv/linux/kernel-features.h
20951 (__ASSUME_GETCWD_SYSCALL): Don't define.
20952 (__ASSUME_REALTIME_SIGNALS): Likewise.
20953 (__ASSUME_PREAD_SYSCALL): Likewise.
20954 (__ASSUME_PWRITE_SYSCALL): Likewise.
20955 (__ASSUME_POLL_SYSCALL): Likewise.
20956 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20957 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20958 non-SPARC.
20959 (__ASSUME_SIOCGIFNAME): Don't define.
20960 (__ASSUME_MSG_NOSIGNAL): Likewise.
20961 (__ASSUME_SENDFILE): Define unconditionally.
20962 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20963 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20964 conditional code.
20965 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20966 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20967 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20968 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20969 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20970 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20971 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20973 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20974 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20976 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20977 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20979 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20980 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20982 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20983 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20985 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20986 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20988 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20989 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20991 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20992 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20994 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20995 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20996 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20997 Remove conditional code.
20998 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20999 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21000 Remove conditional code.
21001 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21002 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21003 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21004 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21005 Remove conditional code.
21006 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21007 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21008 Remove conditional code.
21009 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21010 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21011 Remove conditional code.
21012 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21013 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21014 Remove conditional code.
21015 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21016 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21017 Remove conditional code.
21018 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21019 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21020 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21021 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21022 * sysdeps/unix/sysv/linux/sigaction.c
21023 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21024 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21025 * sysdeps/unix/sysv/linux/sigpending.c
21026 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21027 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21028 * sysdeps/unix/sysv/linux/sigprocmask.c
21029 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21030 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21031 * sysdeps/unix/sysv/linux/sigsuspend.c
21032 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21033 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21034 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21035 (__libc_missing_rt_sigs): Remove.
21036 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21037 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21038 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21039 Remove conditional code.
21040 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21041 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21042 return 1.
21043 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21044 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21045 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21046 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21047
1bfb7291
AJ
210482012-05-14 Andreas Jaeger <aj@suse.de>
21049
caae5a81
AJ
21050 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21051 it's not used in glibc.
21052 (__coshm1): Likewise.
21053 (__acosh1p): Likewise.
21054 (__sgn): Likewise.
21055
1bfb7291
AJ
21056 * manual/string.texi (Copying and Concatenation): Add missing
21057 variable in concat example.
21058 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21059
c044d724
L
210602012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21061
144c5467 21062 [BZ #14103]
c044d724
L
21063 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21064 __builtin_clzl with __builtin_clzll.
21065
2523c62b
L
210662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 [BZ #14104]
21069 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21070 libc_freeres_ptr.
21071
d7bb4c42
LD
210722012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21073
21074 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21075 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21076 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21077 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21078
9dc4e1fb
MF
210792012-05-14 Mike Frysinger <vapier@gentoo.org>
21080
21081 * NEWS: Update ia64 info.
21082
c7df0112
AS
210832012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21084
21085 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21086 used as bcopy.
21087
dc70356c
TS
210882012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21089
21090 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21091 * sysdeps/unix/syscalls.list (dup3): Likewise.
21092 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21093 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21094
9fb1a21f
L
210952012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21096
21097 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21098 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21099
4822a2a5
L
211002012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21101
21102 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21103 thread pointer.
21104 (TLS_IE): Use mov/add instead of movq/addq to load thread
21105 pointer.
21106 (TLS_GD_PREFIX): New.
21107 (TLS_GD): Use it.
21108
842b81d6
DM
211092012-05-11 David S. Miller <davem@davemloft.net>
21110
21111 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21112 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21113 (_FPU_SETCW): Likewise.
21114
1cf463cd
L
211152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21116
21117 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21118 is 32-byte aligned.
21119
60cc4a18
AS
211202012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21121
21122 [BZ #11837]
21123 * iconvdata/gb18030.c: Update tables.
21124 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21125 characters specially.
21126 (BODY for TO_LOOP): Add encoding of missing ranges.
21127
febb44a4
TS
211282012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21129
21130 [BZ #13673]
21131 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21132 * sysdeps/mach/hurd/dup3.c: Likewise.
21133 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21134 * sysdeps/powerpc/memmove.c:: Likewise.
21135
0a10fb9e
L
211362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21137
21138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21139 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21140
df8a552f
L
211412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21142
21143 * elf/elf.h (R_X86_64_RELATIVE64): New.
21144 (R_X86_64_NUM): Updated.
21145 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21146 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21147 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21148 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21149 tst-quad1pie tst-quad2pie
21150 (modules-names): Add tst-quadmod1 tst-quadmod2.
21151 ($(objpfx)tst-quad1): New dependency.
21152 ($(objpfx)tst-quad2): Likewise.
21153 ($(objpfx)tst-quad1pie): Likewise.
21154 ($(objpfx)tst-quad2pie): Likewise.
21155 * sysdeps/x86_64/tst-quad1.c: New file.
21156 * sysdeps/x86_64/tst-quad1pie.c: New file.
21157 * sysdeps/x86_64/tst-quad2.c: Likewise.
21158 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21159 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21160 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21161 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21162 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21163
f34d6f84
ST
211642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21165
f42d41d1
ST
21166 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21167 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21168 * streams/stropts.h (t_scalar_t): Define type.
21169
3c3571fc
ST
21170 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21171 (_PATH_PRESERVE): Set to "/var/lib".
21172 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21173
61f06bd3
ST
21174 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21175 instead of int.
21176
918d4d71
ST
21177 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21178 if __dir_mkfile succeeded.
21179
f34d6f84
ST
21180 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21181 checking for _hurd_dtablesize. Unlock it right after having
21182 finished _hurd_dtable allocation.
21183
10589b4a
TS
211842012-05-10 Thomas Schwinge <thomas@schwinge.name>
21185
674cdbc7
TS
21186 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21187 * sysdeps/mach/hurd/configure: Regenerated.
21188 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21189 special-casing to...
21190 * sysdeps/gnu/configure.in: ... this new file.
21191 * sysdeps/unix/sysv/linux/configure: Regenerated.
21192 * sysdeps/gnu/configure: New generated file.
21193
8e41b99f
TS
21194 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21195 for Linux: use nsec instead of usec, as well as:
21196 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21197 members of type struct timespec.
21198 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21199 New macros.
21200 (struct stat64): Likewise.
21201 (_STATBUF_ST_NSEC): New macro.
21202 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21203
10589b4a
TS
21204 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21205 __strtoul_internal rather than strtoul.
21206
63643c85
PT
212072012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21208
21209 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21210 and reject them.
21211
3faebe6a
ST
212122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21213
21214 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21215 which preserves existing values.
21216 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21217
c6474b07
PT
212182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21219
21220 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21221 TIMEOUT values. Return EINVAL for NFDS values either negative or
21222 greater than FD_SETSIZE.
21223
1043890b
ST
212242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21225
21226 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21227 allocated, call __vm_protect to finish enabling the existing space, and
21228 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21229 allocate the remainder.
21230
37ed8b9b
PT
212312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21232
21233 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21234 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21235
db653660
ST
212362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21237
37ed8b9b
PT
21238 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21239 sysdeps/mach/hurd/readlink.c.
b29d4053 21240
db653660
ST
21241 * posix/tst-sysconf.c (posix_options): Only use
21242 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21243 _POSIX_SYNCHRONIZED_IO when they are defined
21244 * sysdeps/mach/hurd/bits/posix_opt.h:
21245 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21246 (_XOPEN_REALTIME): Undefine macro.
21247 (_XOPEN_REALTIME_THREADS): Undefine macro.
21248 (_XOPEN_SHM): Undefine macro.
21249 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21250 macro to -1.
21251 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21252 macro to -1.
21253 (_POSIX_ASYNC_IO): Undefine macro.
21254 (_POSIX_PRIORITIZED_IO): Undefine macro.
21255 (_POSIX_SPIN_LOCKS): Define macro to -1.
21256
ee16e894
ST
21257 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21258 SA_NODEFER, SA_RESETHAND.
21259 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21260 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21261 F_DUPFD_CLOEXEC.
21262
6103ae3b
TS
212632012-05-10 Thomas Schwinge <thomas@schwinge.name>
21264
21265 * elf/Makefile (pldd-modules): Define unconditionally.
21266
80b4e5f3
TS
212672012-05-10 Thomas Schwinge <thomas@schwinge.name>
21268
21269 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21270
edadcbd6
ST
212712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21272
21273 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21274 Return ENOENT when name is empty.
21275 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21276
80694780
TS
212772012-05-10 Thomas Schwinge <thomas@schwinge.name>
21278
1792c087
TS
21279 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21280
80694780
TS
21281 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21282
6b645f0d
ST
212832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21284
80694780
TS
21285 Fix mlock in all cases except non-readable pages.
21286 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21287 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21288
6b645f0d
ST
21289 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21290 (__mkdir): When path is `/', just fail with EEXIST.
21291 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21292
e468f8a3
TS
212932012-05-10 Thomas Schwinge <thomas@schwinge.name>
21294
21295 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21296 <sys/uio.h> (for writev).
21297 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21298 and <sys/param.h> (for MIN).
21299
a4186cff
PT
213002012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21301
21302 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21303 REQUESTED_TIME. Properly set the remaining time and return EINTR
21304 if interrupted.
21305
510bbf14
TS
213062012-05-10 Thomas Schwinge <thomas@schwinge.name>
21307
21308 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21309 Depend on against $(link-rpcuserlibs).
21310
5d5722e8
ST
213112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21312
a4186cff
PT
21313 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21314 (__libc_stack_end): Do not use attribute_relro.
21315 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21316 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21317 to libthread-provided value.
a4186cff
PT
21318 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21319 attribute_relro.
5d5722e8 21320
37233df9
TS
213212012-05-10 Thomas Schwinge <thomas@schwinge.name>
21322
be971a2b
TS
21323 [BZ #3748]
21324 * bits/libc-lock.h (__libc_once_get): New macro.
21325 * sysdeps/mach/bits/libc-lock.h: Likewise.
21326 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21327 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21328 instead of using implementation details.
21329
37233df9
TS
21330 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21331 * libio/freopen.c: Likewise.
21332 * libio/freopen64.c: Likewise.
21333 * misc/syslog.c: Likewise.
21334 * nscd/connections.c: Likewise.
21335 * nscd/netgroupcache.c: Likewise.
21336 * sysdeps/posix/getcwd.c: Likewise.
21337
38de94a5
RM
213382012-05-10 Roland McGrath <roland@hack.frob.com>
21339
21340 * math/w_ilogbf.c: Add #include <limits.h>.
21341
67530489
ST
213422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21343
a4186cff 21344 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21345 path instead of returning without unlocking.
21346
67530489
ST
21347 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21348 immediate-write ioctls.
21349 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21350
5aa3a74a
TS
213512012-05-10 Thomas Schwinge <thomas@schwinge.name>
21352
18bad2ae
TS
21353 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21354 __builtin_frame_address instead of making assumptions about the
21355 location of the return address relative to DATA. Force early load of
21356 the return address.
21357 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21358 __builtin_frame_address.
21359
5aa3a74a
TS
21360 dup3 for GNU Hurd.
21361 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21362 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21363 implement dup3 and do some further code clean-ups.
21364 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21365 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21366
ecd0de9a
ST
213672012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21368
cd9fa985
ST
21369 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21370
a4186cff
PT
21371 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21372 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21373 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21374 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21375 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21376 d->port.lock.
802ca5a5 21377
a4186cff
PT
21378 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21379 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21380 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21381
bcf55240
TS
213822012-05-10 Thomas Schwinge <thomas@schwinge.name>
21383
6960eb42
TS
21384 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21385 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21386 definitions.
21387
eb43375f
TS
21388 accept4 for GNU Hurd.
21389 * include/sys/socket.h (__libc_accept4): New prototype.
21390 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21391 to implement __libc_accept4.
21392 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21393 __libc_accept4.
21394 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21395
bcf55240
TS
21396 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21397 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21398 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21399 signal-defines.sym.
21400
6178c55b
ST
214012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21402
a4186cff 21403 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21404
6f080c2f
TS
214052012-05-10 Thomas Schwinge <thomas@schwinge.name>
21406
21407 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21408 assertion on O_CLOEXEC flag.
21409 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21410 * hurd/intern-fd.c: Likewise.
21411 * hurd/port2fd.c: Likewise.
21412
bcfe3a54
ST
214132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21414
21415 [BZ #3906]
21416 * bits/in.h (IPV6_PKTINFO): Define new macro.
21417 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21418
89c9aa49
AZ
214192012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21420
21421 [BZ #13954]
21422 [BZ #13955]
21423 [BZ #13956]
21424 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21425 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21426 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21427 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21429 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21430 * math/libm-test.inc (logb_test) : Additional logb tests.
21431
021db4be
AJ
214322012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21433 Andreas Jaeger <aj@suse.de>
21434
21435 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21436 * configure: Regenerated.
21437 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21438 * config.make.in (link-obsolete-rpc): New substituted variable.
21439 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21440 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21441 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21442 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21443 so that libc.a contains the symbols.
21444 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21445 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21446 * sunrpc/auth_none.c: Likewise.
21447 * sunrpc/auth_unix.c: Likewise.
21448 * sunrpc/authdes_prot.c: Likewise.
21449 * sunrpc/authuxprot.c: Likewise.
21450 * sunrpc/clnt_gen.c: Likewise.
21451 * sunrpc/clnt_perr.c: Likewise.
21452 * sunrpc/clnt_raw.c: Likewise.
21453 * sunrpc/clnt_simp.c: Likewise.
21454 * sunrpc/clnt_tcp.c: Likewise.
21455 * sunrpc/clnt_udp.c: Likewise.
21456 * sunrpc/clnt_unix.c: Likewise.
21457 * sunrpc/des_crypt.c: Likewise.
21458 * sunrpc/des_soft.c: Likewise.
21459 * sunrpc/get_myaddr.c: Likewise.
21460 * sunrpc/key_call.c: Likewise.
21461 * sunrpc/key_prot.c: Likewise.
21462 * sunrpc/netname.c: Likewise.
21463 * sunrpc/pm_getmaps.c: Likewise.
21464 * sunrpc/pm_getport.c: Likewise.
21465 * sunrpc/pmap_clnt.c: Likewise.
21466 * sunrpc/pmap_prot.c: Likewise.
21467 * sunrpc/pmap_prot2.c: Likewise.
21468 * sunrpc/pmap_rmt.c: Likewise.
21469 * sunrpc/publickey.c: Likewise.
21470 * sunrpc/rpc_cmsg.c: Likewise.
21471 * sunrpc/rpc_common.c: Likewise.
21472 * sunrpc/rpc_dtable.c: Likewise.
21473 * sunrpc/rpc_prot.c: Likewise.
21474 * sunrpc/rpc_thread.c: Likewise.
21475 * sunrpc/rtime.c: Likewise.
21476 * sunrpc/svc.c: Likewise.
21477 * sunrpc/svc_auth.c: Likewise.
21478 * sunrpc/svc_raw.c: Likewise.
21479 * sunrpc/svc_run.c: Likewise.
21480 * sunrpc/svc_tcp.c: Likewise.
21481 * sunrpc/svc_udp.c: Likewise.
21482 * sunrpc/svc_unix.c: Likewise.
21483 * sunrpc/svcauth_des.c: Likewise.
21484 * sunrpc/xcrypt.c: Likewise.
21485 * sunrpc/xdr.c: Likewise.
21486 * sunrpc/xdr_array.c: Likewise.
21487 * sunrpc/xdr_float.c: Likewise.
21488 * sunrpc/xdr_intXX_t.c: Likewise.
21489 * sunrpc/xdr_mem.c: Likewise.
21490 * sunrpc/xdr_rec.c: Likewise.
21491 * sunrpc/xdr_ref.c: Likewise.
21492 * sunrpc/xdr_sizeof.c: Likewise.
21493 * sunrpc/xdr_stdio.c: Likewise.
21494
b5c086a2
RM
214952012-05-10 Roland McGrath <roland@hack.frob.com>
21496
21497 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21498 change. Update copyright years.
21499
6d74dd09
JM
215002012-05-10 Joseph Myers <joseph@codesourcery.com>
21501
21502 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21503
28e72501
MK
215042012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21505 Joseph Myers <joseph@codesourcery.com>
21506 Paul Pluzhnikov <ppluzhnikov@google.com>
21507
21508 [BZ #14012]
21509 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21510 requiring rpcgen.
21511 [cross-compiling] (extra-libs): Likewise.
21512 [cross-compiling] (extra-libs-others): Likewise.
21513 [cross-compiling] (librpcsvc-routines): Likewise.
21514 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21515 [cross-compiling] (omit-deps): Likewise.
21516 (sunrpc-CPPFLAGS): New variable.
21517 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21518 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21519 (cross-rpcgen-objs): New variable.
21520 (extra-objs): Append $(cross-rpcgen-objs).
21521 ($(cross-rpcgen-objs)): New rule.
21522 ($(objpfx)cross-rpcgen): Likewise.
21523 (rpcgen-cmd): Define to use $(built-program-file). Expand
21524 comment.
21525 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21526 ($(objpfx)x%.stmp): Likewise.
21527 * sunrpc/proto.h [IS_IN_build] (_): Define.
21528 [IS_IN_build] (_libc_intl_domainname): Likewise.
21529
c8c59454
L
215302012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21531
21532 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21533 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21534 and R_X86_64_TPOFF64.
21535
6f27cd16
JM
215362012-05-10 Joseph Myers <joseph@codesourcery.com>
21537
21538 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21539 sysdeps/unix/sysv/syscalls.list.
21540 (stime): Likewise.
21541 (utime): Likewise.
21542 * sysdeps/unix/sysv/syscalls.list: Remove file.
21543
02467e1c
PE
215442012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21545
21546 [BZ #3440]
21547 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21548 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21549 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21550 (__LC_IDENTIFICATION): Make these macros useful in #if
21551 expressions, as required by C99.
21552
da392631
AS
215532012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21554
21555 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21556 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21557 after this.
21558
8115f29b
L
215592012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21560
21561 * stdlib/longlong.h: Updated from GCC.
21562
bdd74070
AJ
215632012-05-09 Andreas Jaeger <aj@suse.de>
21564
edfe0dbe
AJ
21565 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21566 default is first entry.
21567 (run_mode): Set type.
21568 (main): Remove informal message about syslog.
21569 (options): Fix typo.
21570
bcfe3a54
ST
21571 [BZ #14053]
21572 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21573 to asm.
bcfe3a54
ST
21574 (lrint): Likewise.
21575 (llrintf): Likewise.
21576 (llrint): Likewise.
21577 (rint): Likewise.
21578 (rintf): Likewise.
21579 (nearbyint): Likewise.
21580 (nearbyintf): Likewise.
bdd74070 21581
91d8d69e
AJ
215822012-05-09 Andreas Jaeger <aj@suse.de>
21583 Pedro Alves <palves@redhat.com>
21584
21585 * nscd/nscd.c (run_mode): Use enum.
21586 (main): Cleanup coding style issue.
21587
bb90b80b
AJ
215882012-05-09 Alexandre Oliva <aoliva@redhat.com>
21589 Andreas Jaeger <aj@suse.de>
21590
bcfe3a54
ST
21591 * nscd/nscd.c (go_background): Replaced with...
21592 (run_mode): ... this.
bb90b80b 21593 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21594 (options): Add -F --foreground.
21595 (main): Implement it.
21596 (parse_opt): Parse it.
bb90b80b 21597
1a4b75a1
AJ
215982012-05-09 Andreas Jaeger <aj@suse.de>
21599
21600 [BZ #14083]
21601 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21602 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21603 -Wconversion warning.
21604 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21605 Likewise.
21606
b1cc2472
JM
216072012-05-09 Joseph Myers <joseph@codesourcery.com>
21608
21609 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21610 == 0.
21611 (LC_ALL): Use macro-int-constant.
21612 (LC_COLLATE): Likewise.
21613 (LC_CTYPE): Likewise.
21614 (LC_MESSAGES): Likewise.
21615 (LC_MONETARY): Likewise.
21616 (LC_NUMERIC): Likewise.
21617 (LC_TIME): Likewise.
21618 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21619 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21620 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21621 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21622 Specify type.
21623 [C99-based standards] (float_t): Expect type.
21624 [C99-based standards] (double_t): Expect type.
21625 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21626 type.
21627 [C99-based standards] (HUGE_VALL): Likewise.
21628 [C99-based standards] (INFINITY): Likewise.
21629 [C99-based standards] (NAN): Likewise.
21630 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21631 [C99-based standards] (FP_NAN): Likewise.
21632 [C99-based standards] (FP_NORMAL): Likewise.
21633 [C99-based standards] (FP_SUBNORMAL): Likewise.
21634 [C99-based standards] (FP_ZERO): Likewise.
21635 [C99-based standards] (FP_FAST_FMA): Use
21636 optional-macro-int-constant. Specify type. Require == 1.
21637 [C99-based standards] (FP_FAST_FMAF): Likewise.
21638 [C99-based standards] (FP_FAST_FMAL): Likewise.
21639 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21640 [C99-based standards] (FP_ILOGBNAN): Likewise.
21641 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21642 Specify type.
21643 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21644 [C99-based standards] (math_errhandling): Specify type.
21645 [ISO99 || ISO11] (signgam): Do not allow.
21646 [non-C99-based standards] (copysignf): Do not allow.
21647 [non-C99-based standards] (exp2f): Likewise.
21648 [non-C99-based standards] (log2f): Likewise.
21649 [non-C99-based standards] (modff): Allow.
21650 [non-C99-based standards] (erff): Do not allow.
21651 [non-C99-based standards] (erfcf): Likewise.
21652 [non-C99-based standards] (gammaf): Likewise.
21653 [non-C99-based standards] (hypotf): Likewise.
21654 [non-C99-based standards] (j0f): Likewise.
21655 [non-C99-based standards] (j1f): Likewise.
21656 [non-C99-based standards] (jnf): Likewise.
21657 [non-C99-based standards] (lgammaf): Likewise.
21658 [non-C99-based standards] (tgammaf): Likewise.
21659 [non-C99-based standards] (y0f): Likewise.
21660 [non-C99-based standards] (y1f): Likewise.
21661 [non-C99-based standards] (ynf): Likewise.
21662 [non-C99-based standards] (isnanf): Likewise.
21663 [non-C99-based standards] (acoshf): Likewise.
21664 [non-C99-based standards] (asinhf): Likewise.
21665 [non-C99-based standards] (atanhf): Likewise.
21666 [non-C99-based standards] (cbrtf): Likewise.
21667 [non-C99-based standards] (expm1f): Likewise.
21668 [non-C99-based standards] (ilogbf): Likewise.
21669 [non-C99-based standards] (log1pf): Likewise.
21670 [non-C99-based standards] (logbf): Likewise.
21671 [non-C99-based standards] (nextafterf): Likewise.
21672 [non-C99-based standards] (remainderf): Likewise.
21673 [non-C99-based standards] (rintf): Likewise.
21674 [non-C99-based standards] (scalbf): Likewise.
21675 [non-C99-based standards] (copysignl): Likewise.
21676 [non-C99-based standards] (exp2l): Likewise.
21677 [non-C99-based standards] (log2l): Likewise.
21678 [non-C99-based standards] (modfl): Allow.
21679 [non-C99-based standards] (erfl): Do not allow.
21680 [non-C99-based standards] (erfcl): Likewise.
21681 [non-C99-based standards] (gammal): Likewise.
21682 [non-C99-based standards] (hypotl): Likewise.
21683 [non-C99-based standards] (j0l): Likewise.
21684 [non-C99-based standards] (j1l): Likewise.
21685 [non-C99-based standards] (jnl): Likewise.
21686 [non-C99-based standards] (lgammal): Likewise.
21687 [non-C99-based standards] (tgammal): Likewise.
21688 [non-C99-based standards] (y0l): Likewise.
21689 [non-C99-based standards] (y1l): Likewise.
21690 [non-C99-based standards] (ynl): Likewise.
21691 [non-C99-based standards] (isnanl): Likewise.
21692 [non-C99-based standards] (acoshl): Likewise.
21693 [non-C99-based standards] (asinhl): Likewise.
21694 [non-C99-based standards] (atanhl): Likewise.
21695 [non-C99-based standards] (cbrtl): Likewise.
21696 [non-C99-based standards] (expm1l): Likewise.
21697 [non-C99-based standards] (ilogbl): Likewise.
21698 [non-C99-based standards] (log1pl): Likewise.
21699 [non-C99-based standards] (logbl): Likewise.
21700 [non-C99-based standards] (nextafterl): Likewise.
21701 [non-C99-based standards] (remainderl): Likewise.
21702 [non-C99-based standards] (rintl): Likewise.
21703 [non-C99-based standards] (scalbl): Likewise.
21704 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21705 [non-C99-based standards] (FP_*): Do not allow.
21706 [C99-based standards] (FP_*): Change to
21707 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21708 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21709 allow.
21710 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21711 (SIG_ERR): Likewise.
21712 [X/Open-based standards] (SIG_HOLD): Likewise.
21713 (SIG_IGN): Likewise.
21714 (SIGABRT): Use macro-int-constant. Specify type. Require
21715 positive value.
21716 (SIGFPE): Likewise.
21717 (SIGILL): Likewise.
21718 (SIGINT): Likewise.
21719 (SIGSEGV): Likewise.
21720 (SIGTER): Likewise.
21721 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21722 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21723 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21724 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21725 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21726 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21727 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21728 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21729 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21730 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21731 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21732 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21733 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21734 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21735 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21736 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21737 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21738 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21739 [X/Open-based standards] (SIGTRAP): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21744 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21745 allow.
21746
b9f1922d
IW
217472012-05-08 Ian Wienand <ianw@vmware.com>
21748
21749 [BZ #14080]
21750 * time/tzset.c (__tzset_parse_tz): Update default rules for
21751 daylight time changes in the Energy Policy Act of 2005.
21752
1db86e88
AJ
217532012-05-09 Andreas Jaeger <aj@suse.de>
21754
21755 [BZ #13983]
21756 * elf/ldconfig.c (parse_conf): Change string to make clear that
21757 ldconfig only issued a warning if ld.so.conf does not exist.
21758
dee4a4e3
DM
217592012-05-08 David S. Miller <davem@davemloft.net>
21760
ee0db190
DM
21761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21762 movxtod instead of popping the value on the stack.
21763
dee4a4e3
DM
21764 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21765
6a43ec98
CD
217662012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21767
21768 * config.h.in: Add HAVE_ARM_PCS_VFP.
21769
05c2c961
RMG
217702012-05-08 Roland Mc Grath <roland@hack.frob.com>
21771
bcfe3a54
ST
21772 [BZ #13979]
21773 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21774 checking but the checks are disabled for any reason.
05c2c961 21775
4b30f61a
L
217762012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21777
21778 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21779 and ELF64_R_TYPE with ELFW(R_TYPE).
21780
eee2bc67
JM
217812012-05-08 Joseph Myers <joseph@codesourcery.com>
21782
7ea5391a
JM
21783 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21784 (ulimit): Likewise.
21785
eee2bc67
JM
21786 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21787 (settimeofday): Likewise.
21788
abb66a67
MF
217892012-05-08 Mike Frysinger <vapier@gentoo.org>
21790
21791 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21792 a struct th_u2 inside the union, and move tu_block/tu_code into
21793 a new th_u3 union of tu_block/tu_code inside of that. Move
21794 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21795 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21796 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21797 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21798 (th_stuff): Change to th_u1.tu_stuff.
21799 (th_data): Define.
21800 (th_msg): Change to th_u1.th_u2.tu_data.
21801
7f18b530
DM
218022012-05-07 David S. Miller <davem@davemloft.net>
21803
05760585
DM
21804 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21805
7f18b530
DM
21806 [BZ #14074]
21807 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21808 (SETUP_PIC_REG): Use it.
21809 (SETUP_PIC_REG_LEAF): Use it.
21810
495fd99f
JM
218112012-05-07 Joseph Myers <joseph@codesourcery.com>
21812
21813 [BZ #13885]
21814 [BZ #13923]
21815 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21816 USE_AS_EXPM1L.
21817 (EXPL_FINITE): Likewise.
21818 (FLDLOG): Likewise.
21819 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21820 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21821 e_expl.S.
21822 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21823 USE_AS_EXPM1L.
21824 (EXPL_FINITE): Likewise.
21825 (FLDLOG): Likewise.
21826 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21827 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21828 e_expl.S.
21829 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21830 test of -max_value argument for long double.
21831 * sysdeps/i386/fpu/libm-test-ulps: Update.
21832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21833
6693d694
DM
218342012-05-06 David S. Miller <davem@davemloft.net>
21835
21836 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21837 quad soft-float symbols whose references which are compiler
21838 generated.
21839 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21840
6c23e11c
JM
218412012-05-06 Joseph Myers <joseph@codesourcery.com>
21842
d8b82cad
JM
21843 [BZ #13884]
21844 [BZ #13914]
21845 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21846 USE_AS_EXP10L.
21847 (EXPL_FINITE): Likewise.
21848 (FLDLOG): Likewise.
21849 (c0): Likewise.
21850 (c1): Likewise.
21851 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21852 Adjust comments for base varying.
21853 (__expl_finite): Change alias to EXPL_FINITE.
21854 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21855 e_expl.S.
21856 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21857 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21858 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21859 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21860 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21861 USE_AS_EXP10L.
21862 (EXPL_FINITE): Likewise.
21863 (FLDLOG): Likewise.
21864 (c0): Likewise.
21865 (c1): Likewise.
21866 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21867 Adjust comments for base varying.
21868 (__expl_finite): Change alias to EXPL_FINITE.
21869 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21870 tests for bugs.
21871 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21872
6c23e11c
JM
21873 [BZ #14064]
21874 * math/libm-test.inc (check_float_internal): Correct ulp
21875 calculation for subnormal expected results.
21876
29ba805c
AJ
218772012-05-06 Andreas Jaeger <aj@suse.de>
21878
21879 * Makeconfig (+math-flags): New, set to -frounding-math.
21880 (+cflags): Add +math-flags so that all of glibc gets compiled with
21881 it.
21882
21883 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21884
7b17aeda
JM
218852012-05-05 Joseph Myers <joseph@codesourcery.com>
21886
5779f134
JM
21887 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21888 Disable one test.
21889
41498f4d
JM
21890 [BZ #13787]
21891 [BZ #13922]
21892 [BZ #14036]
21893 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21894 (__ieee754_expl): Allow for and saturate large arguments.
21895 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21896 (u_threshold): Likewise.
21897 (__exp): Call __ieee754_exp before checking for overflow and
21898 underflow.
21899 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21900 (u_threshold): Likewise.
21901 (__expf): Call __ieee754_expf before checking for overflow and
21902 underflow.
21903 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21904 (u_threshold): Likewise.
21905 (__expl): Call __ieee754_expl before checking for overflow and
21906 underflow.
21907 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21908 (__ieee754_expl): Allow for and saturate large arguments.
21909 * math/libm-test.inc (exp_test): Add another test. Do not allow
21910 missing overflow exception on overflow.
21911 (expm1_test): Do not allow missing overflow exception on overflow.
21912
6698b8bf
JM
21913 * sysdeps/i386/fpu/e_expl.c: Move to ...
21914 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21915 rather than using inline asm.
21916 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21917 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21918 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21919
7b17aeda
JM
21920 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21921 (nice): Likewise.
21922 (poll): Likewise.
21923 (signal): Likewise.
21924 (time): Likewise.
21925 (times): Likewise.
21926
f7c85819
JM
219272012-05-04 Joseph Myers <joseph@codesourcery.com>
21928
21929 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21930 sysdeps/unix/common/syscalls.list.
21931 (fchmod): Likewise.
21932 (fchown): Likewise.
21933 (ftruncate): Likewise.
21934 (getrusage): Likewise.
21935 (gettimeofday): Likewise.
21936 (setpgid): Likewise.
21937 (setregid): Likewise.
21938 (setreuid): Likewise.
21939 (sigaction): Likewise.
21940 (truncate): Likewise.
21941 (vhangup): Likewise.
21942 * sysdeps/unix/common/syscalls.list: Remove file.
21943 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21944 * sysdeps/unix/sysv/linux/Implies: Likewise.
21945
336270d0
L
219462012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21947
21948 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21949 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21950 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21951 Moved to ...
21952 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21953 Here.
21954 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21955 to ...
21956 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21957 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21958 to ...
21959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21960 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21961 to ...
21962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21963 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21964 to ...
21965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21966 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21967 to ...
21968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21969 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21970 to ...
21971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21972 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21973 to ...
21974 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21975 Here.
21976 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21977 to ...
21978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21979 Here.
21980 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21981 to ...
21982 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21984 Moved to ...
21985 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21986 Here.
21987 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21988 to ...
21989 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21990
d128e450
JM
219912012-05-04 Joseph Myers <joseph@codesourcery.com>
21992
fa8ee516
JM
21993 * sysdeps/unix/common/bits/dirent.h: Remove file.
21994 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21995
d128e450
JM
21996 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21997 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21998 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21999 * sysdeps/unix/bsd/isatty.c: Likewise.
22000 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22001 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22002 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22003
ff8faaf0 220042012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22005
62881be4 22006 [BZ #13563]
31dc8730
AZ
22007 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22008 long double comparison inaccuracies.
22009 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22010 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22011
6fef930c
AS
220122012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22013
22014 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22015 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22016
8f203e6c
JM
220172012-05-04 Joseph Myers <joseph@codesourcery.com>
22018
22019 [BZ #14049]
22020 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22021 nonzero digits before rounding a hex value.
22022 * stdlib/tst-strtod.c (tests): Add another test.
22023
5197d9c2
AK
220242012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22025
22026 * sysdeps/s390/fpu/libm-test-ulps: Update.
22027
f0c1dedf
AJ
220282012-05-03 Andreas Jaeger <aj@suse.de>
22029
22030 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22031 does not get optimized out.
22032 (malloc_opt_barrier): New.
22033
a65ef2ae 220342012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22035 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22036
2b942cb7 22037 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22038 intermediate file deletion.
2b942cb7 22039 (generated): Add .symlist files.
a65ef2ae 22040
54b71e02
JM
220412012-05-03 Joseph Myers <joseph@codesourcery.com>
22042
22043 [BZ #13775]
22044 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22045 Redirect under this condition.
22046 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22047 [__USE_GNU] (__dprintf_chk): Not under this condition.
22048 [__USE_GNU] (__vdprintf_chk): Likewise.
22049 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22050 under this condition.
22051 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22052 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22053 [__USE_XOPEN2K8] (vdprintf): Likewise.
22054 [__USE_GNU] (__dprintf_chk): Not under this condition.
22055 [__USE_GNU] (__vdprintf_chk): Likewise.
22056 [__USE_GNU] (dprintf): Likewise.
22057 [__USE_GNU] (vdprintf): Likewise.
22058
d3dfcc41
RM
220592012-05-03 Roland McGrath <roland@hack.frob.com>
22060
22061 * elf/Makefile (common-generated): Set this instead of generated for
22062 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22063 $(all-built-dso)-derived lists.
22064
7ac30cc5
AJ
220652012-05-03 Andreas Jaeger <aj@suse.de>
22066
0c51e550
AJ
22067 * sysdeps/i386/fpu/libm-test-ulps: Update.
22068
7ac30cc5
AJ
22069 * FAQ: Removed.
22070 * FAQ.in: Likewise.
22071 * scripts/gen-FAQ.pl: Likewise.
22072 * manual/install.texi (Installation): Point to online location of
22073 FAQ.
22074 * Makefile (files-for-dist): Remove FAQ.
22075 (FAQ): Remove.
22076
d4c2917f
AM
220772012-05-02 Allan McRae <allan@archlinux.org>
22078
22079 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22080 (LDFLAGS-reldepmod5.so): Likewise.
22081 (LDFLAGS-reldep6mod1.so): Likewise.
22082 (LDFLAGS-reldep6mod4.so): Likewise.
22083 (LDFLAGS-reldep8mod3.so): Likewise.
22084 (LDFLAGS-unload4mod1.so): Likewise.
22085 (LDFLAGS-unload4mod2.so): Likewise.
22086 (LDFLAGS-tst-initorder): Likewise.
22087 (LDFLAGS-tst-initordera2.so): Likewise.
22088 (LDFLAGS-tst-initordera3.so): Likewise.
22089 (LDFLAGS-tst-initordera4.so): Likewise.
22090 (LDFLAGS-tst-initorderb2.so): Likewise.
22091 (LDFLAGS-noload): Likewise.
22092 (LDFLAGS-next): Likewise.
22093 (LDFLAGS-order2mod1.so): Likewise.
22094 (LDFLAGS-order2mod2.so): Likewise.
22095 (LDFLAGS-tst-initorder2): Likewise.
22096 (LDFLAGS-tst-initorder2a.so): Likewise.
22097 (LDFLAGS-tst-initorder2b.so): Likewise.
22098 (LDFLAGS-tst-initorder2c.so): Likewise.
22099 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22100
d77f993f
DM
221012012-05-02 David S. Miller <davem@davemloft.net>
22102
22103 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22104
171a70b4
PP
221052012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22106
22107 [BZ #14055]
22108 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22109
0be196ad
AJ
221102012-05-02 Andreas Jaeger <aj@suse.de>
22111
22112 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22113 since we manipulate rounding mode.
22114 (CPPFLAGS-test-idouble.c): Likewise.
22115 (CPPFLAGS-test-ifloat.c): Likewise.
22116 (CFLAGS-test-ldouble.c): Likewise.
22117 (CFLAGS-test-double.c): Likewise.
22118 (CFLAGS-test-float.c): Likewise.
22119 (CFLAGS-test-misc.c): Likewise.
22120 (CFLAGS-test-test-fenv.c): Likewise.
22121
4f9d04aa
AZ
221222012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22123
2b942cb7
RM
22124 [BZ #2550]
22125 [BZ #2570]
22126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22127 comparisons to determine direction to adjust input.
4f9d04aa 22128
82a79e7d
RM
221292012-05-01 Roland McGrath <roland@hack.frob.com>
22130
f5a01ca9
RM
22131 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22132 output to the target.
22133
90fe4186
RM
22134 * scripts/localplt.awk: New file.
22135 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22136 (check-localplt-CFLAGS): Variable removed.
22137 ($(all-built-dso:=.jmprel)): New static pattern rule.
22138 (generated): Add those targets.
22139 (localplt-built-dso): New variable.
22140 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22141
22142 * elf/check-localplt.c: File removed.
22143
82397ed6
RM
22144 * scripts/check-execstack.awk: New file.
22145 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22146 (check-execstack-CFLAGS): Variable removed.
22147 ($(objpfx)check-execstack.h): Target removed.
22148 ($(objpfx)execstack-default): New target.
22149 (generated): Add that instead of check-execstack.h.
22150 ($(all-built-dso:=.phdr)): New static pattern rule.
22151 (generated): Add those targets.
22152 * elf/check-execstack.c: File removed.
22153
82a79e7d
RM
22154 * scripts/check-textrel.awk: New file.
22155 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22156 (check-textrel-CFLAGS): Variable removed.
22157 (all-built-dso): Use := to define.o
22158 ($(all-built-dso:=.dyn)): New static pattern rule.
22159 (generated): Add those targets.
22160 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22161 * config.make.in (READELF): New substituted variable.
22162 * elf/check-textrel.c: File removed.
22163
62fde54f 221642012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22165
615605c9
JM
22166 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22167 allow.
22168 * conform/data/ctype.h-data [C99-based standards] (isblank):
22169 Expect function.
22170 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22171 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22172 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22173 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22174 Specify type. Require positive value.
22175 (EILSEQ): Likewise.
22176 (ERANGE): Likewise.
22177 [ISO || POSIX] (EILSEQ): Do not expect.
22178 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22179 Specify type. Require positive value.
22180 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22181 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22182 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22183 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22184 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22185 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22186 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22187 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22188 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22189 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22190 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22191 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22192 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22193 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22194 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22195 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22196 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22197 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22198 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22199 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22204 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22205 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22206 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22207 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22227 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22247 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22248 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22254 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22255 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22256 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22257 Require >= 2.
22258 (FLT_ROUNDS): Expect as macro, not constant.
22259 (FLT_MANT_DIG): Use macro-int-constant.
22260 (DBL_MANT_DIG): Likewise.
22261 (LDBL_MANT_DIG): Likewise.
22262 (FLT_DIG): Likewise.
22263 (DBL_DIG): Likewise.
22264 (LDBL_DIG): Likewise.
22265 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22266 (DBL_MIN_EXP): Likewise.
22267 (LDBL_MIN_EXP): Likewise.
22268 (FLT_MAX_EXP): Use macro-int-constant.
22269 (DBL_MAX_EXP): Likewise.
22270 (LDBL_MAX_EXP): Likewise.
22271 (FLT_MAX_10_EXP): Likewise.
22272 (DBL_MAX_10_EXP): Likewise.
22273 (LDBL_MAX_10_EXP): Likewise.
22274 (FLT_MAX): Use macro-constant.
22275 (DBL_MAX): Likewise.
22276 (LDBL_MAX): Likewise.
22277 (FLT_EPSILON): Use macro-constant. Give upper bound.
22278 (DBL_EPSILON): Likewise.
22279 (LDBL_EPSILON): Likewise.
22280 (FLT_MIN): Likewise.
22281 (DBL_MIN): Likewise.
22282 (LDBL_MIN): Likewise.
22283 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22284 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22285 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22286 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22287 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22288 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22289 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22290 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22291 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22292 [ISO11] (FLT_TRUE_MIN): Likewise.
22293 [ISO11] (LDBL_TRUE_MIN): Likewise.
22294 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22295 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22296 (SCHAR_MIN): Use macro-int-constant. Specify type.
22297 (SCHAR_MAX): Likewise.
22298 (UCHAR_MAX): Likewise.
22299 (CHAR_MIN): Likewise.
22300 (CHAR_MAX): Likewise.
22301 (MB_LEN_MAX): Use macro-int-constant.
22302 (SHRT_MIN): Use macro-int-constant. Specify type.
22303 (SHRT_MAX): Likewise.
22304 (USHRT_MAX): Likewise.
22305 (INT_MAX): Likewise.
22306 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22307 bound negative.
22308 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22309 bound with "U".
22310 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22311 bound with "L".
22312 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22313 bound negative. Suffix upper bound with "L".
22314 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22315 bound with "UL".
22316 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22317 Specify type.
22318 [C99-based standards] (LLONG_MAX): Likewise.
22319 [C99-based standards] (ULLONG_MAX): Likewise.
22320 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22321 == 0.
22322 [ISO11] (max_align_t): Require type.
22323 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22324
c9140a62
JM
22325 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22326 from $CFLAGS, without defining away __attribute__ calls.
22327 (checknamespace): Use $CFLAGS_namespace.
22328
9af0bf29
JM
22329 * conform/conformtest.pl (@keywords): Only include C99 keywords
22330 for standards based on C99 or C11.
22331
343222a2
JM
22332 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22333 Disable tests.
22334 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22335 UNIX98]: Likewise.
22336
661f8cf0
JM
22337 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22338 usability of symbols in #if.
22339
ee74b9cb
JM
22340 * conform/conformtest.pl: If macro or constant types start
22341 "promoted:", expect the symbol to be of the following type
22342 promoted by the integer promotions.
62fde54f 22343
aafc49b3
JM
22344 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22345 in one place. Also handle "macro-constant".
22346
fefdf574
JM
22347 * conform/conformtest.pl: Only accept expected macro values with
22348 "==". Parse all "macro" lines in one place.
22349 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22350
f2d922fe
JM
22351 * conform/conformtest.pl: Handle braced types on "constant" lines
22352 instead of handling "typed-constant".
22353 * conform/data/signal.h-data: Use "constant" instead of
22354 "typed-constant".
22355
d22956c9
JM
22356 * conform/conformtest.pl: Handle "optional-" at start of lines in
22357 one place rather than duplicating several cases. Handle each
22358 format of "macro" line with initial "optional-".
22359
028e2e38
JM
22360 * conform/conformtest.pl: Only accept expected constant or
22361 optional-constant values with "==". Parse all "constant" lines in
22362 one place. Parse all "optional-constant" lines in one place.
22363 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22364 * conform/data/fmtmsg.h-data: Likewise.
22365 * conform/data/netinet/in.h-data: Likewise.
22366 * conform/data/tar.h-data: Likewise.
22367 * conform/data/limits.h-data: Use "==" form on "constant" and
22368 "optional-constant" lines.
22369
1b8f2850
JM
22370 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22371 Use -std=c99 for XOPEN2K.
22372 (@knownproblems): Remove.
22373 (newtoken): Don't check %isknown.
22374
a05a144b
JM
22375 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22376 Do not expect macro.
22377 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22378 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22379 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22380 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22381 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22382 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22383 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22384 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22385 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22386 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22387 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22388 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22389 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22390 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22391 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22392 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22393 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22394 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22395 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22396 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22407 [XPG3] (acosh): Likewise.
22408 [XPG3] (asinh): Likewise.
22409 [XPG3] (atanh): Likewise.
22410 [XPG3] (cbrt): Likewise.
22411 [XPG3] (expm1): Likewise.
22412 [XPG3] (ilogb): Likewise.
22413 [XPG3] (log1p): Likewise.
22414 [XPG3] (logb): Likewise.
22415 [XPG3] (nextafter): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22418 [XPG3] (remainder): Likewise.
22419 [XPG3] (rint): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22426 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22427 [UNIX98 || XOPEN2K] (scalb): Expect.
22428 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22429 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22430 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22431 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22432 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22433 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22434 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22437 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22438 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22446 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22447 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22448 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22479 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22482 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22483 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22485 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22486 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22487 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22488 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22489 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22490 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22491 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22492 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22493 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22494 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22495 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22496 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22497 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22498 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22499 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22500 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22501 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22502 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22503 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22504 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22505 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22506 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22507 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22508 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22509 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22510 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22511 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22512 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22513 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22514 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22565
73c5ebe3
JM
22566 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22567 _XOPEN_SOURCE_EXTENDED for XPG4.
22568
39c33b6c
JM
22569 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22570
62fde54f
JM
22571 * Makeconfig (localtime): Remove variable.
22572 (inst_localtime-file): Likewise.
22573
0741d64c
AS
225742012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22575
22576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22577 Update.
22578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22579 Update.
22580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22581 Update.
22582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22583 Update.
22584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22585 Update.
22586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22587 Update.
22588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22589 Update.
22590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22591 Update.
22592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22593 Update.
22594
7cb029ee
JM
225952012-05-01 Joseph Myers <joseph@codesourcery.com>
22596
22597 [BZ #2550]
22598 [BZ #2570]
22599 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22600 comparisons to determine direction to adjust input.
22601 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22602 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22603 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22604 Likewise.
22605 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22606 Likewise.
22607 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22608 Likewise.
22609 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22610 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22611 Likewise.
22612 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22613 Likewise.
22614 * math/libm-test.inc (nexttoward_test): Add more tests.
22615
412bd966
AS
226162012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22617
22618 [BZ #14040]
22619 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22620 in version GLIBC_2.1, not GLIBC_2.0.
22621 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22622 Likewise.
22623
9568c0c2
JM
226242012-04-30 Joseph Myers <joseph@codesourcery.com>
22625
adfbc8ac
JM
22626 [BZ #13942]
22627 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22628 (1 - x) * (1 + x).
22629 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22630 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22631 * math/libm-test.inc (acos_test): Add more tests.
22632 (asin_test): Likewise.
22633 * sysdeps/i386/fpu/libm-test-ulps: Update.
22634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22635
5ba3cc69
JM
22636 [BZ #14034]
22637 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22638 of square root.
22639 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22640 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22641 * math/libm-test.inc (acos_test_tonearest): New function.
22642 (acos_test_towardzero): Likewise.
22643 (acos_test_downward): Likewise.
22644 (acos_test_upward): Likewise.
22645 (asin_test_tonearest): Likewise.
22646 (asin_test_towardzero): Likewise.
22647 (asin_test_downward): Likewise.
22648 (asin_test_upward): Likewise.
22649 (main): Call the new functions.
22650 * sysdeps/i386/fpu/libm-test-ulps: Update.
22651 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22652
9568c0c2
JM
22653 [BZ #13884]
22654 [BZ #13924]
22655 * math/e_exp10.c: Include <float.h>.
22656 (__ieee754_exp10): Handle underflow here rather than multiplying
22657 large negative argument by M_LN10.
22658 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22659 of __ieee754_expf.
22660 * math/e_exp10l.c: Include <float.h>.
22661 (__ieee754_exp10l): Handle underflow here rather than multiplying
22662 large negative argument by M_LN10l.
22663 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22664 spurious overflow exception on underflow.
22665
5ac3ea17
MP
226662012-04-29 Marek Polacek <polacek@redhat.com>
22667
22668 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22669 (__fortify_function): New macro.
22670 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22671 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22672 __extern_always_inline.
22673 * libio/bits/stdio2.h: Likewise.
22674 * libio/bits/stdio.h: Likewise.
22675 * string/string.h: Likewise.
22676 * string/bits/string3.h: Likewise.
22677 * include/stdio.h: Likewise.
22678 * stdlib/bits/stdlib.h: Likewise.
22679 * stdlib/stdlib.h: Likewise.
22680 * rt/bits/mqueue2.h: Likewise.
22681 * rt/mqueue.h: Likewise.
22682 * posix/bits/unistd.h: Likewise.
22683 * posix/unistd.h: Likewise.
22684 * io/bits/poll2.h: Likewise.
22685 * io/bits/fcntl2.h: Likewise.
22686 * io/fcntl.h: Likewise.
22687 * io/sys/poll.h: Likewise.
22688 * misc/bits/syslog.h: Likewise.
22689 * misc/bits/syslog-ldbl.h: Likewise.
22690 * misc/sys/syslog.h: Likewise.
22691 * socket/bits/socket2.h: Likewise.
22692 * socket/sys/socket.h: Likewise.
22693 * debug/tst-chk1.c: Likewise.
22694 * wcsmbs/bits/wchar2.h: Likewise.
22695 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22696 * wcsmbs/wchar.h: Likewise.
22697
ecf0ebfb
AJ
226982012-04-29 Andreas Jaeger <aj@suse.de>
22699
22700 * Makerules (tests): Remove enable-check-abi protection.
22701 (check-abi-warn): Remove.
22702 (check-abi-%): Remove check-abi-warn usage.
22703
22704 * configure.in: Remove check-abi configure option.
22705 * configure: Regenerated.
22706 * config.make.in (enable-check-abi): Remove.
22707
6d5c57fa
AS
227082012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22709
24c5d07e 22710 [BZ #14033]
ded5180a
AS
22711 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22712 double functions to double *_finite functions.
22713
7e0d315d
AS
22714 [BZ #13941]
22715 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22716 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22717 LDBL_MIN_EXP.
22718 * stdio-common/Makefile (tests): Add tst-sprintf3.
22719 * stdio-common/tst-sprintf3.c: New file.
22720
6d5c57fa
AS
22721 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22722 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22723
0749ff8b
JM
227242012-04-28 Joseph Myers <joseph@codesourcery.com>
22725
22726 * conform/conformtest.pl: Remove duplicate typed-constant
22727 handling.
22728
8dbd5d7b
DM
227292012-04-28 David S. Miller <davem@davemloft.net>
22730
22731 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22732 (check-abi-%): Remove AWK script prerequisite and explicit
22733 abilist directory.
22734 (check-abi): Rewrite to just diff the symlist with the abilist.
22735 (config-tls, config-abi-config): Delete, no longer used.
22736 (update-abi-%): Remove AWK script and explicit abilist directory.
22737 (update-abi): Rewrite to simply compare and conditionally copy the
22738 symlist and the sysdep abilist file. Remove update-abi-config
22739 checks.
22740 * abilist/ld.abilist: Remove.
22741 * abilist/libBrokenLocale.abilist: Remove.
22742 * abilist/libanl.abilist: Remove.
22743 * abilist/libcrypt.abilist: Remove.
22744 * abilist/libdl.abilist: Remove.
22745 * abilist/librt.abilist: Remove.
22746 * abilist/libthread_db.abilist: Remove.
22747 * abilist/libutil.abilist: Remove.
22748 * scripts/extract-abilist.awk: Remove.
22749 * scripts/merge-abilist.awk: Remove.
22750 * sysdeps/generic/libcidn.abilist: New file.
22751 * sysdeps/generic/libnss_compat.abilist: New file.
22752 * sysdeps/generic/libnss_db.abilist: New file.
22753 * sysdeps/generic/libnss_dns.abilist: New file.
22754 * sysdeps/generic/libnss_files.abilist: New file.
22755 * sysdeps/generic/libnss_hesiod.abilist: New file.
22756 * sysdeps/generic/libnss_nis.abilist: New file.
22757 * sysdeps/generic/libnss_nisplus.abilist: New file.
22758 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22759 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22760 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22761 file.
22762 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22763 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22764 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22765 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22766 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22767 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22768 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22769 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22770 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22771 file.
22772 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22773 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22774 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22775 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22776 file.
22777 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22778 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22779 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22780 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22781 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22782 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22783 file.
22784 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22785 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22786 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22787 file.
22788 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22789 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22790 New file.
22791 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22792 New file.
22793 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22794 New file.
22795 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22796 New file.
22797 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22798 New file.
22799 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22800 New file.
22801 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22802 New file.
22803 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22804 New file.
22805 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22806 New file.
22807 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22808 New file.
22809 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22810 New file.
22811 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22812 New file.
22813 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22814 New file.
22815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22816 file.
22817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22818 New file.
22819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22820 New file.
22821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22822 file.
22823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22824 New file.
22825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22826 New file.
22827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22828 file.
22829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22830 New file.
22831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22832 New file.
22833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22834 New file.
22835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22836 New file.
22837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22838 New file.
22839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22840 New file.
22841 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22842 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22843 file.
22844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22845 New file.
22846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22847 file.
22848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22849 file.
22850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22851 file.
22852 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22853 file.
22854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22855 file.
22856 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22857 New file.
22858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22859 file.
22860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22861 file.
22862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22863 New file.
22864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22865 file.
22866 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22868 file.
22869 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22870 New file.
22871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22872 file.
22873 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22874 file.
22875 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22876 file.
22877 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22878 file.
22879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22880 file.
22881 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22882 New file.
22883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22884 file.
22885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22886 file.
22887 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22888 New file.
22889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22890 file.
22891 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22892 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22893 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22894 file.
22895 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22896 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22897 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22898 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22899 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22900 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22901 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22902 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22903 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22904 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22907 file.
22908 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22909 New file.
22910 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22911 file.
22912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22913 file.
22914 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22915 file.
22916 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22917 file.
22918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22919 file.
22920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22921 New file.
22922 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22923 New file.
22924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22925 file.
22926 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22927 New file.
22928 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22929 file.
22930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22931 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22932 file.
22933 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22934 New file.
22935 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22936 file.
22937 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22938 file.
22939 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22940 file.
22941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22942 file.
22943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22944 file.
22945 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22946 New file.
22947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22948 New file.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22950 file.
22951 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22952 New file.
22953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22954 file.
22955
41d73a1b
JM
229562012-04-28 Joseph Myers <joseph@codesourcery.com>
22957
22958 * conform/conformtest.pl: Fix typo in handling typed-constant from
22959 allow-header.
22960
28aeeda4
JM
229612012-04-27 Joseph Myers <joseph@codesourcery.com>
22962
adae8f5e
JM
22963 * README: Cut down references to pre-2.6 Linux kernels and
22964 Linuxthreads. Update lists of configurations in libc and ports
22965 and sort alphabetically. Say "or newer" with Linux kernel version
22966 requirements.
22967
28aeeda4
JM
22968 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22969
a462cb63
RA
229702012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22971
22972 [BZ #887]
22973 * math/libm-test.inc (logb_test_downward): New test to expose
22974 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22975 rounding mode.
22976
6ad3493e
JM
229772012-04-27 Joseph Myers <joseph@codesourcery.com>
22978
22979 [BZ #14027]
22980 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22981 to be done.
22982 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22983 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22984
2ce4f015
JM
229852012-04-26 Joseph Myers <joseph@codesourcery.com>
22986
5aeb141a
JM
22987 * sysdeps/unix/i386/brk.S: Remove file.
22988 * sysdeps/unix/i386/dl-brk.S: Likewise.
22989 * sysdeps/unix/i386/pipe.S: Likewise.
22990 * sysdeps/unix/i386/sigreturn.S: Likewise.
22991 * sysdeps/unix/i386/syscall.S: Likewise.
22992 * sysdeps/unix/i386/vfork.S: Likewise.
22993 * sysdeps/unix/i386/wait.S: Likewise.
22994
7143acae
JM
22995 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22996 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22997
2ce4f015
JM
22998 * configure.in (arm*-none*): Do not allow without
22999 --enable-hacker-mode.
23000 (netbsd*): Remove case setting base_os.
23001 (386bsd*): Likewise.
23002 (freebsd*): Likewise.
23003 (bsdi*): Likewise.
23004 (osf*): Likewise.
23005 (sunos*): Likewise.
23006 (ultrix*): Likewise.
23007 (newsos*): Likewise.
23008 (dynix*): Likewise.
23009 (*bsd*): Likewise.
23010 (sysv*): Likewise.
23011 (isc*): Likewise.
23012 (esix*): Likewise.
23013 (sco*): Likewise.
23014 (minix*): Likewise.
23015 (irix4*): Likewise.
23016 (irix6*): Likewise.
23017 (solaris[2-9]*): Likewise.
23018 (none): Likewise.
23019 * configure: Regenerated.
23020
0ac229c8
AZ
230212012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23022
23023 [BZ #11521]
23024 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23025 overflow or cancellation in calculating denominator.
23026 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23027 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23028 down expression to avoid unexpected rounding in newer GCCs.
23029 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23030
33f244f4
DM
230312012-04-26 David S. Miller <davem@davemloft.net>
23032
23033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23034 long-double compat symbols.
23035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23048
cfa1f3e8
DM
230492012-04-25 David S. Miller <davem@davemloft.net>
23050
23051 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23052 HWCAP_* values only after the memory barriers have been defined.
23053 (atomic_full_barrier): Define.
23054 (atomic_read_barrier): Define.
23055 (atomic_write_barrier): Define.
23056
6e236b92
SP
230572012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23058
23059 * shlib-versions: Add libgcc_s version information.
23060 * sysdeps/generic/libgcc_s.h: Remove.
23061 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23062 libgcc_s.h.
23063 * sysdeps/gnu/unwind-resume.c: Likewise.
23064 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23065
aab39a09
DM
230662012-04-25 David S. Miller <davem@davemloft.net>
23067
23068 * sysdeps/unix/sparc/brk.S: Delete.
23069 * sysdeps/unix/sparc/dl-brk.S: Delete.
23070 * sysdeps/unix/sparc/pipe.S: Delete.
23071 * sysdeps/unix/sparc/sysdep.S: Delete.
23072 * sysdeps/unix/sparc/sysdep.h: Delete.
23073 * sysdeps/unix/sparc/vfork.S: Delete.
23074 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23075 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23076 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23077 ret_ERRVAL, r0, r1, MOVE): Define.
23078 (JUMPTARGET): Remove.
23079 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23080 sysdeps/unix/sparc/sysdep.h
23081 (ENTRY, END): Remove.
23082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23083
a3cc4f48
JM
230842012-04-25 Joseph Myers <joseph@codesourcery.com>
23085
2ed8cda2
JM
23086 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23087 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23088 -DIS_IN_build.
23089
35d76d59
JM
23090 * timezone/README: Update upstream location and email address for
23091 tzcode and tzdata.
23092 * timezone/zdump.c: Update from tzcode 2012b.
23093 * timezone/zic.c: Likewise.
23094
a3cc4f48
JM
23095 * configure.in (libc_cv_as_needed): Remove test.
23096 * configure: Regenerated.
23097 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23098 conditional definition.
23099 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23100 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23101 * config.make.in (have-as-needed): Remove variable.
23102
ceab42c3
SP
231032012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23104 Paul Pluzhnikov <ppluzhnikov@google.com>
23105
23106 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23107 strings correctly.
23108
3ce2865f
CLT
231092012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23110
23111 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23112 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23113 * sysdeps/sh/strlen.S: Likewise.
23114
f37e0d68
JM
231152012-04-24 Joseph Myers <joseph@codesourcery.com>
23116
ae186e9a
JM
23117 * sysdeps/unix/fork.S: Remove file.
23118 * sysdeps/unix/i386/fork.S: Likewise.
23119 * sysdeps/unix/sparc/fork.S: Likewise.
23120
b96914af
JM
23121 * sysdeps/unix/system.c: Remove file.
23122 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23123
f37e0d68
JM
23124 * sysdeps/unix/getegid.S: Remove file.
23125 * sysdeps/unix/geteuid.S: Likewise.
23126
87ef29ca
RM
231272012-04-24 Roland McGrath <roland@hack.frob.com>
23128
83bcd236
RM
23129 * scripts/check-localplt.awk: New file.
23130 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23131 of diff.
23132 * scripts/data/localplt-generic.data: Add a comment.
23133
87ef29ca
RM
23134 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23135 NODE when __dir_mkfile failed.
23136 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23137 Reported by Ludovic Courtès <ludo@gnu.org>.
23138
e5a6e567
AJ
231392012-04-24 Andreas Jaeger <aj@suse.de>
23140
23141 * Makerules (common-clean): Also remove gen-as-const-headers
23142 files.
23143
c1820385
JM
231442012-04-24 Joseph Myers <joseph@codesourcery.com>
23145
23146 * Makerules (native-compile): Do not change working directory for
23147 build. Use $(OUTPUT_OPTION) in command.
23148 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23149
94e02fc4
AZ
231502012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23151
23152 [BZ #13886]
23153 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23154 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23155 * math/libm-test.inc (floor_test): Add more tests.
23156 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23157
3a533ca3
JM
231582012-04-24 Joseph Myers <joseph@codesourcery.com>
23159
940ab4b3
JM
23160 * sysdeps/unix/getdents.c: Remove file.
23161 * sysdeps/unix/sysv/getdents.c: Likewise.
23162 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23163
90e037bd
JM
23164 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23165 sysdeps/unix/mman/syscalls.list.
23166 (mmap): Likewise.
23167 (mprotect): Likewise.
23168 (msync): Likewise.
23169 (munmap): Likewise.
23170 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23171 * sysdeps/unix/mman/syscalls.list: Remove.
23172 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23173
3a533ca3
JM
23174 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23175 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23176 * configure: Regenerated.
23177 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23178 $(libgcc_s_suffix).
23179 * config.make.in (libgcc_s_suffix): Remove variable.
23180
1ad743de
JM
231812012-04-23 Joseph Myers <joseph@codesourcery.com>
23182
4ad451e2
JM
23183 * sysdeps/unix/sysv/gethostname.c: Move to ...
23184 * sysdeps/posix/gethostname.c: ... here.
23185
5e37ce39
JM
23186 * sysdeps/unix/execve.S: Remove file.
23187
1ad743de
JM
23188 * sysdeps/unix/_exit.S: Remove file.
23189
4e681b5b
AJ
231902012-04-23 Andreas Jaeger <aj@suse.de>
23191
23192 [BZ #13739]
23193 * manual/Makefile: Remove make dist support, there's no
23194 need for a stand-alone documentation tar ball.
23195 (TEXI2DVI): Define always, it's not in Makeconfig.
23196 (dist): Removed.
23197 (tar-it): Removed.
23198 (edition): Removed.
23199 (glibc-doc-$(edition).tar): Removed
23200 (%.Z): Removed.
23201 (%.gz): Removed.
23202 (%.uu): Removed.
23203 (ETAGS): Remove, it's in Makeconfig.
23204 (move-if-change): Remove, it's in Makeconfig.
23205
38686a03 232062012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23207
23208 [BZ #13970]
23209 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23210 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23211 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23212 (strtod_l, strtof_l, strtold_l): Remove __wur.
23213 It is not necessarily an error to ignore strtol's return value.
23214 One can reliably look at the stored endptr to decide whether
23215 the number had valid syntax.
23216
7c0616fa
AJ
232172012-04-21 Andreas Jaeger <aj@suse.de>
23218
803cb6b7 23219 [BZ #13739]
7c0616fa
AJ
23220 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23221
b0fe253f
JM
232222012-04-21 Joseph Myers <joseph@codesourcery.com>
23223
23224 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23225 * sysdeps/unix/sysv/Versions: Remove file.
23226
8280f22d
MT
232272012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23228
23229 [BZ #13927]
23230 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23231
75ce411f 232322012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23233
23234 [BZ #7064]
23235 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23236 version from __vm86.
23237
097d59fa
JM
232382012-04-20 Joseph Myers <joseph@codesourcery.com>
23239
a90f3bcb
JM
23240 * sysdeps/unix/common/lxstat.c: Remove file.
23241 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23242
edc7ea78
JM
23243 * sysdeps/unix/sysv/Makefile: Remove file.
23244
cb78c221
JM
23245 * sysdeps/unix/sysv/direct.h: Remove file.
23246
efa6a45f
JM
23247 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23248 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23249 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23250 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23251 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23252 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23253 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23254
9c9f2d0c
JM
23255 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23256
4541c83b
JM
23257 * sysdeps/unix/xmknod.c: Remove file.
23258 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23259
f5d153a0
JM
23260 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23261
aa746595
JM
23262 * sysdeps/unix/sysv/i386/time.S: Remove file.
23263
cce5905e
JM
23264 * sysdeps/unix/fxstat.c: Remove file.
23265 * sysdeps/unix/xstat.c: Likewise.
23266 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23267
37fa3841
JM
23268 * sysdeps/unix/sysv/sigaction.c: Remove file.
23269
ff1962a3
JM
23270 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23271 (sysdep_headers): Remove variable.
23272 [termio.h not in sysdep_headers] (generated): Likewise.
23273 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23274 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23275 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23276 * sysdeps/unix/sysv/tcflow.c: Likewise.
23277 * sysdeps/unix/sysv/tcflush.c: Likewise.
23278 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23279 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23280 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23281 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23282 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23283
e7740d31
JM
23284 * sysdeps/unix/siglist.c: Remove file.
23285
ee06f18b
JM
23286 * sysdeps/unix/getppid.S: Remove file.
23287
097d59fa
JM
23288 * sysdeps/unix/mkdir.c: Remove file.
23289 * sysdeps/unix/rmdir.c: Likewise.
23290
ff3d51ec
AS
232912012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23292
23293 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23294 ERR_MAX value.
23295 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23296 errlist-compat value.
23297
50f81fd7
DM
232982012-04-18 David S. Miller <davem@davemloft.net>
23299
23300 * sysdeps/generic/memcopy.h (reg_char): Delete.
23301 * debug/strcat_chk.c: Use char, not reg_char.
23302 * debug/strcpy_chk.c: Likewise.
23303 * debug/strncat_chk.c: Likewise.
23304 * debug/strncpy_chk.c: Likewise.
23305 * string/memchr.c: Likewise.
23306 * string/memrchr.c: Likewise.
23307 * string/rawmemchr.c: Likewise.
23308 * string/strcat.c: Likewise.
23309 * string/strchr.c: Likewise.
23310 * string/strchrnul.c: Likewise.
23311 * string/strcmp.c: Likewise.
23312 * string/strcpy.c: Likewise.
23313 * string/strncat.c: Likewise.
23314 * string/strncmp.c: Likewise.
23315 * string/strncpy.c: Likewise.
23316
8ff41c46
WS
233172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23318
23319 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23320 __builtin_memcopy is called when src and dest ranges are known to not
23321 overlap.
23322
6b652f46
WS
233232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23324
23325 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23326 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23327 fwd_align_merge macro call.
23328 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23329 bwd_align_merge macro call.
23330 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23331
b282631e
WS
233322012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23333
23334 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23335 bwd_align_merge macros.
23336 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23337 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23338 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23339
95aa737c
DM
233402012-04-18 David S. Miller <davem@davemloft.net>
23341
23342 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23343
7a99a614
AJ
233442012-04-18 Andreas Jaeger <aj@suse.de>
23345
23346 [BZ# 6794]
23347 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23348 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23349 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23350
23351 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23352 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23353 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23354
23355 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23356 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23357 Adjust for changed ldbl-128 files.
23358
23359 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23360 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23361 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23362
e5270c23
DM
233632012-04-17 David S. Miller <davem@davemloft.net>
23364
23365 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23366
fb5e92c9
AS
233672012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23368
23369 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23370 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23371 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23372 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23373 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23374 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23375
76da7265
AZ
233762012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23377
23378 [BZ #6794]
23379 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23380 * math/libm-test.inc: Add ilogb errno and exception tests.
23381 * math/w_ilogb.c: New file: ilogb wrapper.
23382 * math/w_ilogbf.c: New file: ilogbf wrapper.
23383 * math/w_ilogbl.c: New file: ilogbl wrapper.
23384 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23385 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23386 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23387 exception being thrown with 0.0 as argument.
23388 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23389 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23390 exception being thrown with 0.0 as argument.
23391 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23392 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23393 exception being thrown with 0.0 as argument.
23394 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23395 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23396 exception being thrown with 0.0 as argument.
23397 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23398 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23399 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23400 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23401 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23402 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23403 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23404 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23405 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23406
0396e69d
PB
234072012-04-17 Petr Baudis <pasky@ucw.cz>
23408
23409 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23410 with altivec.
23411
750b5926
MP
234122012-04-16 Marek Polacek <polacek@redhat.com>
23413
23414 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23415
751728a1
MP
234162012-04-16 Marek Polacek <polacek@redhat.com>
23417
23418 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23419 operands of fdivp instruction.
23420
34a27407
L
234212012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23422
23423 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23424 * elf/tst-auditmod3b.c: Likewise.
23425 * elf/tst-auditmod4b.c: Likewise.
23426 * elf/tst-auditmod5b.c: Likewise.
23427 * elf/tst-auditmod6b.c: Likewise.
23428 * elf/tst-auditmod6c.c: Likewise.
23429 * elf/tst-auditmod7b.c: Likewise.
23430 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23431 * sysdeps/x86_64/preconfigure.in: Likewise.
23432 * sysdeps/x86_64/preconfigure: Regenerated.
23433
7e73e17d
L
234342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23435
23436 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23437 __ILP32__.
23438
c7a6ab72
AB
234392012-04-13 Antoine Balestrat <merkil33@gmail.com>
23440
23441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23442 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23443
a9e8e0e0
CL
234442012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23445
23446 [BZ #13973]
23447 * locale/iso-639.def: Fix gl language name. Spotted by
23448 Yaron Shahrabani.
23449
ec98af7d
RM
234502012-04-12 Roland McGrath <roland@hack.frob.com>
23451
23452 [BZ #2074]
23453 * libio/libio.h (__io_write_fn): Update comment.
23454
247c3ede
PB
234552012-04-12 Petr Baudis <pasky@ucw.cz>
23456
23457 [BZ #2074]
23458 * stdio.texi (Hook Functions): The user provided writer function
23459 is not allowed to return -1.
23460
55939d6d
DM
234612012-04-11 David S. Miller <davem@davemloft.net>
23462
23463 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23464
90020f5a
MF
234652012-04-11 Mike Frysinger <vapier@gentoo.org>
23466
23467 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23468 Add a leading slash to rtkaio.
23469
288f9098
JM
234702012-04-11 Jim Meyering <meyering@redhat.com>
23471
90020f5a
MF
23472 [BZ #11959]
23473 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23474 It is not necessarily an error to ignore fwrite's return
23475 value. One can reliably use ferror to test for errors after
23476 the fact.
288f9098 23477
4be2b570
L
234782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23479
23480 * bits/types.h (__snseconds_t): New type.
23481 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23482
23483 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23485 (__SNSECONDS_T_TYPE): Likewise.
23486 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23487 (__SNSECONDS_T_TYPE): Likewise.
23488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23489 (__SNSECONDS_T_TYPE): Likewise.
23490
288f9098 234912012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23492
23493 [BZ #2636]
23494 * manual/time.texi (Processor Time): Return type of times is
23495 elapsed real time since an arbitrary point in the past.
23496 (CPU Time): Move CLK_TCK from here...
23497 (Processor Time): ...to here. Correct description.
23498 * manual/conf.texi (Constants for Sysconf): Correct description of
23499 _SC_CLK_TCK.
23500
d7dd4413
DM
235012012-04-10 David S. Miller <davem@davemloft.net>
23502
23503 [BZ #13967]
23504 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23505 where the is a gap between DT_REL(A) and DT_JMPREL.
23506
b46068fc
L
235072012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23508
23509 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23510 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23511 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23512
73d65cc3
SP
235132012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23514
23515 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23516 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23517 (dl_main): Handle --inhibit-cache.
23518 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23519 _dl_inhibit_cache.
23520 * elf/dl-load.c (_dl_map_object): Use it.
23521 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23522
bcc8d661
JM
235232012-04-09 Joseph Myers <joseph@codesourcery.com>
23524
8f9a2fae
JM
23525 [BZ #13872]
23526 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23527 (__ieee754_powl): Saturate large exponents rather than testing for
23528 overflow of y*log2(x).
23529 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23530 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23531 exceptions.
23532
bcc8d661
JM
23533 [BZ #11521]
23534 * math/s_ctan.c: Include <float.h>.
23535 (__ctan): Avoid internal overflow or cancellation in calculating
23536 denominator.
23537 * math/s_ctanf.c: Likewise.
23538 * math/s_ctanl.c: Likewise.
23539 * math/s_ctanh.c: Likewise.
23540 * math/s_ctanhf.c: Likewise.
23541 * math/s_ctanhl.c: Likewise.
23542 * math/libm-test.inc (ctan_test): Add more tests.
23543 (ctanh_test): Likewise.
23544 * sysdeps/i386/fpu/libm-test-ulps: Update.
23545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23546
823fbbb4
AJ
235472012-04-09 Andreas Jaeger <aj@suse.de>
23548
03879793
AJ
23549 [BZ #6894]
23550 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23551 is an optional BSD extension.
23552
823fbbb4
AJ
23553 [BZ #10254]
23554 * manual/stdio.texi (Opening Streams): Document additional fopen
23555 parameters.
23556
8de131cb
RM
235572012-04-09 Roland McGrath <roland@hack.frob.com>
23558
23559 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23560 %eax without telling the compiler.
23561
c0ed9d7d
CD
235622012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23563
23564 [BZ # 13963]
23565 * manual/install.texi: Use sourceware.org.
23566
c483f6b4
JM
235672012-04-09 Joseph Myers <joseph@codesourcery.com>
23568
d7dd9453
JM
23569 [BZ #13873]
23570 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23571 (__ieee754_pow): Generate overflow and underflow using huge*huge
23572 and tiny*tiny rather than just returning constant infinity or zero
23573 for large exponents.
23574 * math/libm-test.inc (pow_test): Require overflow exceptions for
23575 applicable cases of large exponents.
23576
c483f6b4
JM
23577 [BZ #706]
23578 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23579 (__ieee754_pow): Use iterative multiplication algorithm only for
23580 integer exponents with absolute value below 1024. Check for odd
23581 integer exponents when using algorithm for real exponents.
23582 * math/libm-test.inc (pow_test): Add more tests.
23583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23584
d2de7579
JM
235852012-04-08 Joseph Myers <joseph@codesourcery.com>
23586
23587 [BZ #13705]
23588 * math/libm-test.inc (exp_test): Do not allow overflow exception
23589 on underflow test.
23590
f77f1232
AJ
235912012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23592
23593 [BZ #13705]
23594 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23595 instead of __kernel_standard_f.
23596
3884932b
MF
235972012-04-08 Mike Frysinger <vapier@gentoo.org>
23598
23599 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23600 * sysdeps/x86_64/memset_chk.S: Likewise.
23601
54472e9c
AJ
236022012-04-08 Andreas Jaeger <aj@suse.de>
23603
6ab0fbfc
AJ
23604 [BZ #10153]
23605 * manual/startup.texi (Environment Access): Describe return value
23606 for putenv and setenv.
23607
61efba8c
AJ
23608 [BZ #6895]
23609 * manual/filesys.texi (Directory Entries): Add description for
23610 DT_LNK.
23611
95c3f29a
AJ
23612 [BZ #6890]
23613 * manual/filesys.texi (Directory Entries): Clarify that it's file
23614 system not operating system in the description of DT_UNKNOWN.
23615
54472e9c
AJ
23616 [BZ #6578]
23617 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23618
624254b1
SC
236192012-04-08 Stephen Compall <s11@member.fsf.org>
23620
23621 [BZ #6649]
23622 * manual/llio.texi (Opening and Closing Files): Add cross
23623 reference to explain mode argument.
23624
1e4920e0
MF
236252012-04-07 Mike Frysinger <vapier@gentoo.org>
23626
23627 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23628 * sysdeps/x86_64/memset_chk.S: Likewise.
23629
5ed848f3
DM
236302012-04-07 David S. Miller <davem@davemloft.net>
23631
23632 * elf/elf.h (R_SPARC_WDISP10): Define.
23633 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23634 R_SPARC_SIZE32.
23635 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23636 R_SPARC_SIZE64 and R_SPARC_H34.
23637
96154cd8
CD
236382012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23639
23640 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23641 conditions and remove no longer applicable assertion.
23642
9904dc47
L
236432012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23644
23645 * bits/byteswap.h: Include <features.h>.
23646 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23647 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23648
f8887d0a
L
236492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23650
23651 * bits/byteswap.h (__bswap_16): Removed.
23652 Include <bits/byteswap-16.h> to get __bswap_16.
23653 * sysdeps/i386/bits/byteswap.h: Likewise.
23654 * sysdeps/s390/bits/byteswap.h: Likewise.
23655 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23656 * bits/byteswap-16.h: New file.
23657 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23658 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23659 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23660 * string/Makefile (headers): Add bits/byteswap-16.h.
23661
62470f60
PP
236622012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23663
23664 [BZ #13895]
23665 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23666 extra indirection.
23667 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23668 * nss/tst-nss-static.c: New.
23669
4dad7bab
RM
236702012-04-06 Robert Millan <rmh@gnu.org>
23671
23672 [BZ #6486]
23673 * manual/llio.texi (File Position Primitive): lseek
23674 refers to WHENCE when it really means OFFSET.
23675
e9142a17
AJ
236762012-04-06 Andreas Jaeger <aj@suse.de>
23677
2c040eff
AJ
23678 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23679 strncmp declarations.
23680
e9142a17
AJ
23681 * abilist/libc.abilist: Add __poll and __ppoll.
23682
ff9f1c5f
DM
236832012-04-05 David S. Miller <davem@davemloft.net>
23684
dcd2ae90
DM
23685 * scripts/check-local-headers.sh: Accept a host triplet in the
23686 path matched by the exclude regexp.
23687
993eb054
DM
23688 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23689 definition.
23690 * sysdeps/powerpc/powerpc32/dl-machine.h
23691 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23692 * sysdeps/s390/s390-32/dl-machine.h
23693 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23694 * sysdeps/sparc/sparc32/dl-machine.h
23695 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23696 * sysdeps/sparc/sparc64/dl-machine.h
23697 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23698
ff9f1c5f
DM
23699 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23700 lazy binding.
48e2e132 23701 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23702 undefined symbol errors.
23703
48e2e132 23704 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23705 DT_NEEDED entries.
23706
e80d6f94
MM
237072012-04-05 Michael Matz <matz@suse.de>
23708
23709 [BZ #13592]
23710 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23711
349fa79f
AJ
237122012-04-05 Andreas Jaeger <aj@suse.de>
23713
23714 [BZ #13908]
23715 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23716 comment.
23717
f402708f
KK
237182012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23719
23720 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23721 which ROUND is no valid rounding mode.
23722
2ecccfc9
KK
237232012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23724
23725 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23726 read again.
23727 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23728
8a53f50f
KK
237292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23730
23731 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23732 an exception using FPU order intentionally.
23733
237342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23735
23736 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23737 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23738 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23739 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23740
d653abb7
SJ
237412012-04-05 Simon Josefsson <simon@josefsson.org>
23742
23743 [BZ #12340]
23744 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23745 EINVAL when BUFLEN is too smal.
23746
c3b1bf7d
TS
237472012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23748
23749 [BZ #13553]
23750 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23751 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23752
b1aa60f3
AJ
237532012-04-03 Andreas Jaeger <aj@suse.de>
23754
c3b1bf7d 23755 [BZ #13938]
67f60a26
AJ
23756 * manual/setjmp.texi (System V contexts): Fix sentence.
23757
b1aa60f3
AJ
23758 [BZ #13926]
23759 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23760 New macro for this case.
23761 [!__GNUC__] (__bswap_64): New inline function for this case.
23762 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23763 * bits/byteswap.h: Likewise.
23764 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23765 ull, guard with __GLIBC_HAVE_LONG_LONG.
23766
23767 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23768 __GLIBC_HAVE_LONG_LONG.
23769
23770 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23771 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23772
39c59c35
TMQMF
237732012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23774
23775 [BZ #13691]
23776 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23777 inptr and inend, rather than using last_ch.
23778
135ffda8
DM
237792012-04-02 David S. Miller <davem@davemloft.net>
23780
23781 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23782 * stdio-common/printf-parse.h (read_int): Change return type to
23783 'int', return -1 on INT_MAX overflow.
23784 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23785 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23786 overflows INT_MAX. Check for overflow of in-format-string precision
23787 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23788 SIZE_MAX not INT_MAX for integer overflow test.
23789 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23790 skip the construct in the format string but do not record anything.
23791 * stdio-common/bug22.c: Adjust to test both width/prevision
23792 INT_MAX overflow as well as total length INT_MAX overflow. Check
23793 explicitly for proper errno values.
23794
228c019e
TS
237952012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23796
302cadd3
TS
23797 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23798 CHAR_MAX.
23799 * string/test-strcmp.c [! WIDE]: Likewise.
23800 * time/tst-mktime2.c: Likewise for INT_MAX.
23801 * string/test-string.h: #include <sys/param.h> for MIN.
23802
228c019e
TS
23803 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23804 * sysdeps/i386/init-first.c (init): Likewise.
23805 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23806 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23807 * sysdeps/sh/init-first.c (init): Likewise.
23808
cfa633f5
UD
238092012-04-01 Ulrich Drepper <drepper@gmail.com>
23810
23811 * po/ru.po: Update from translation team.
d1635ef8 23812 * po/vi.po: Likewise.
cfa633f5 23813
6cd0a5ea
SP
238142012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23815
23816 * resolv/nss_dns/dns-host.c: Merge copyright years.
23817
4b43400f
LD
238182012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23819
23820 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23821 Optimize memcpy with prefetch if
23822 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23823 src, dst pointers have unequal 16 byte alignments.
23824
48c41d04
SP
238252012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23826
23827 [BZ #13928]
23828 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23829 from a CNAME entry and return the minimum ttl for the query.
23830 (gaih_getanswer_slice): Likewise.
23831
b8dc394d
JL
238322012-03-30 Jeff Law <law@redhat.com>
23833
23834 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23835 due to long keys.
23836 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23837 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23838
2f5a5ed0
JL
23839 * resolv/nss_dns/dns-host.c: Update copyright year.
23840
1d39e359
UD
238412012-03-30 Ulrich Drepper <drepper@gmail.com>
23842
c030f70c 23843 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23844 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23845
1d39e359
UD
23846 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23847 comments for sendmmsg.
23848
238492012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23850
23851 [BZ #13691]
23852 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23853 with only 1 character between 0x0041 and 0x01b0.
23854 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23855 * wcsmbs/tst-mbsnrtowcs.c: New file.
23856
20fde227
DM
238572012-03-29 David S. Miller <davem@davemloft.net>
23858
23859 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23860 small copies by hand.
23861
984a4237
JL
238622012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23863
23864 [BZ #13761]
23865 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23866 _nss_compat_initgroups_dyn): Fall back to malloc/free
23867 for large group memberships.
23868
18c9d62b
DM
238692012-03-28 David S. Miller <davem@davemloft.net>
23870
88d85d4f
DM
23871 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23872 that branches into memcpy.
23873 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23874 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23875 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23876 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23877 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23878 bits.
23879 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23880 implementation too.
23881 * sysdeps/sparc/mempcpy.S: New file.
23882
e5aa83e1
DM
23883 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23884 the IFUNC routine in the libc case.
23885 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23886
88570753
DM
23887 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23888 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23889 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23890 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23891 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23892 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23893 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23894 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23895
249d7567
DM
23896 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23897 loop to 256 bytes instead of 64 bytes and fix test signedness.
23898
18c9d62b
DM
23899 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23900 * sysdeps/sparc/sparc32/Makefile: rather than here...
23901 * sysdeps/sparc/sparc64/Makefile: and here.
23902
05f3d1f6
UD
239032012-03-28 Ulrich Drepper <drepper@gmail.com>
23904
23905 * malloc/mallocbug.c: Avoid warnings about unused variables.
23906
86ae07a8
JL
239072012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23908
23909 [BZ #13760]
23910 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23911 in the right place. Discard and retry query if response is
23912 larger than input buffer size.
23913
41bf21a1
JM
239142012-03-28 Joseph Myers <joseph@codesourcery.com>
23915
d6270972
JM
23916 [BZ #369]
23917 [BZ #2678]
23918 [BZ #3866]
23919 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23920 x for large integer exponent.
23921 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23922 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23923 sign of result as needed afterwards.
23924 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23925 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23926 result for underflowing pow the same as for overflow.
23927 (__kernel_standard_l): Handle powl overflow and underflow here
23928 rather than calling __kernel_standard.
23929 * math/libm-test.inc (pow_test): Add more tests.
23930
414fca03 23931 [BZ #3868]
41bf21a1
JM
23932 [BZ #13879]
23933 [BZ #13910]
23934 [BZ #13911]
23935 [BZ #13912]
23936 [BZ #13913]
23937 [BZ #13915]
23938 [BZ #13916]
23939 [BZ #13917]
23940 [BZ #13918]
23941 [BZ #13919]
23942 [BZ #13920]
23943 [BZ #13921]
23944 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23945 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23946 (__kernel_standard_l): New function.
23947 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23948 __kernel_standard.
23949 * math/w_acosl.c (__acosl): Likewise.
23950 * math/w_asinl.c (__asinl): Likewise.
23951 * math/w_atan2l.c (__atan2l): Likewise.
23952 * math/w_atanhl.c (__atanhl): Likewise.
23953 * math/w_coshl.c (__coshl): Likewise.
23954 * math/w_exp10l.c (__exp10l): Likewise.
23955 * math/w_exp2l.c (__exp2l): Likewise.
23956 * math/w_fmodl.c (__fmodl): Likewise.
23957 * math/w_hypotl.c (__hypotl): Likewise.
23958 * math/w_j0l.c (__j0l, __y0l): Likewise.
23959 * math/w_j1l.c (__j1l, __y1l): Likewise.
23960 * math/w_jnl.c (__jnl, __ynl): Likewise.
23961 * math/w_lgammal.c (__lgammal): Likewise.
23962 * math/w_log10l.c (__log10l): Likewise.
23963 * math/w_log2l.c (__log2l): Likewise.
23964 * math/w_logl.c (__logl): Likewise.
23965 * math/w_powl.c (__powl): Likewise.
23966 * math/w_remainderl.c (__remainderl): Likewise.
23967 * math/w_scalbl.c (sysv_scalbl): Likewise.
23968 * math/w_sinhl.c (__sinhl): Likewise.
23969 * math/w_sqrtl.c (__sqrtl): Likewise.
23970 * math/w_tgammal.c (__tgammal): Likewise.
23971 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23972 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23973 * math/libm-test.inc (acos_test): Add more tests.
23974 (acosh_test): Likewise.
23975 (asin_test): Likewise.
23976 (atanh_test): Likewise.
23977 (exp_test): Likewise.
23978 (exp10_test): Likewise.
23979 (exp2_test): Likewise.
23980 (expm1_test): Likewise.
23981 (lgamma_test): Likewise.
23982 (log_test): Likewise.
23983 (log10_test): Likewise.
23984 (log1p_test): Likewise.
23985 (log2_test): Likewise.
23986 (pow_test): Do not allow some spurious overflow exceptions.
23987 (sqrt_test): Add more tests.
23988 (tgamma_test): Likewise.
23989 (y0_test): Likewise.
23990 (y1_test): Likewise.
23991 (yn_test): Likewise.
23992
dd62fda6
AB
239932012-03-27 Anton Blanchard <anton@samba.org>
23994
23995 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23996 MAP_HUGETLB.
23997 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23998 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23999 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24000
1e3cdfda
AJ
240012012-03-27 David S. Miller <davem@davemloft.net>
24002
b855ab85
DM
24003 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24004
1e3cdfda
AJ
24005 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24006 have-as-vis3 check.
24007
240082012-03-27 Andreas Jaeger <aj@suse.de>
24009
24010 * sysdeps/x86_64/elf/configure.in: Moved to ...
24011 * sysdeps/x86_64/configure.in: ... here.
24012 * sysdeps/x86_64/elf/start.S: Moved to ...
24013 * sysdeps/x86_64/start.S: ... here.
24014 * sysdeps/x86_64/elf/configure: Delete.
24015
24016 * sysdeps/x86_64/configure.in: Merge contents from
24017 sysdeps/i386/configure.in (without i686 check).
24018
24019 * sysdeps/i386/elf/Versions: Merge into ...
24020 * sysdeps/i386/Versions: ... this.
24021 * sysdeps/i386/elf/Versions: Delete file.
24022 * sysdeps/i386/elf/start.S: Moved to ...
24023 * sysdeps/i386/start.S: ...here.
24024 * sysdeps/i386/elf/configure.in: Merge into...
24025 * sysdeps/i386/configure.in: ...here.
24026 * sysdeps/i386/elf/configure.in: Delete file.
24027 * sysdeps/i386/elf/configure: Delete file.
24028
24029 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24030 * debug/backtracesyms.c: ... here.
24031 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24032 * debug/backtracesymsfd.c: ... here.
24033 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24034 * sysdeps/generic/ifunc-sel.h: ... here.
24035
24036 * sysdeps/unix/i386/start.c: Delete file.
24037 * sysdeps/unix/sparc/start.c: Delete file.
24038 * sysdeps/unix/start.c: Delete file.
24039
24040 * sysdeps/sh/elf/configure.in: Moved to ...
24041 * sysdeps/sh/configure.in: ... here.
24042 * sysdeps/sh/elf/start.S: Moved to ...
24043 * sysdeps/sh/start.S: ... here.
24044 * sysdeps/sh/elf/configure: Delete file.
24045
24046 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24047 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24048 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24049 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24050 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24051 * sysdeps/powerpc/powerpc64/start.S: here.
24052 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24053 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24054 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24055 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24056 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24057
24058 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24059 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24060 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24061 * sysdeps/powerpc/powerpc32/start.S: ... here.
24062 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24063 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24064 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24065
24066 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24067 * sysdeps/powerpc/ifunc-sel.h: ... here.
24068 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24069 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24070
24071 * sysdeps/sparc/elf/configure.in: Moved to ...
24072 * sysdeps/sparc/configure.in: ... here.
24073 * sysdeps/sparc/elf/configure: Delete file.
24074 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24075 * sysdeps/sparc/sparc32/start.S: ... here.
24076 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24077 * sysdeps/sparc/sparc64/start.S: ... here.
24078 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24079 * sysdeps/sparc/sparc32/Makefile: ... this.
24080 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24081 * sysdeps/sparc/sparc64/Makefile: ... this.
24082
24083 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24084 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24085 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24086 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24087 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24088 * sysdeps/s390/s390-32/setjmp.S: ... here.
24089 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24090 * sysdeps/s390/s390-32/configure.in: ... here.
24091 * sysdeps/s390/s390-32/elf/configure: Delete file.
24092 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24093 * sysdeps/s390/s390-32/start.S: ... here.
24094
24095 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24096 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24097 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24098 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24099 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24100 * sysdeps/s390/s390-64/setjmp.S: ... here.
24101 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24102 * sysdeps/s390/s390-64/configure.in: ... here
24103 * sysdeps/s390/s390-64/elf/configure: Delete file.
24104 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24105 * sysdeps/s390/s390-64/start.S: ... here.
24106 * sysdeps/s390/s390-64/elf/configure: Delete.
24107
24108 * configure.in: Remove support for elf directories in sysdeps.
24109
24110 * configure: Regenerated.
24111 * sysdeps/i386/configure: Regenerated.
24112 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24113 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24114 * sysdeps/s390/s390-32/configure: Regenerated.
24115 * sysdeps/s390/s390-64/configure: Regenerated.
24116 * sysdeps/sh/configure: Regenerated.
24117 * sysdeps/sparc/configure: Regenerated.
24118 * sysdeps/x86_64/configure: Regenerated.
24119
a3f61311
AS
241202012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24121
c876e002
AS
24122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24123
a3f61311
AS
24124 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24125 denormal result into account.
24126
ac4c54f0
RM
241272012-03-25 Roland McGrath <roland@hack.frob.com>
24128
24129 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24130 Reported by Allan McRae <allan@archlinux.org>.
24131
6a9b9c02
JL
241322012-03-23 Jeff Law <law@redhat.com>
24133
24134 * nss/getnssent.c (__nss_getent): Fix typo.
24135
4c42a0c1
DM
241362012-03-23 David S. Miller <davem@davemloft.net>
24137
24138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24139
1532c7ac
L
241402012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24141
24142 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24143 to pad to uint64_t for each field.
24144 (dl_tls_index): Replace unsigned long with uint64_t.
24145
3ff42526
PP
241462012-03-23 Daniel Jacobowitz <dmj@google.com>
24147 Paul Pluzhnikov <ppluzhnikov@google.com>
24148
24149 [BZ #6528]
24150 * grp/Makefile (otherlibs): Don't set it.
24151 * inet/Makefile (otherlibs): Likewise.
24152 * login/Makefile (otherlibs): Likewise.
24153 * nscd/Makefile (otherlibs): Likewise.
24154 * posix/Makefile (otherlibs): Likewise.
24155 * pwd/Makefile (otherlibs): Likewise.
24156 * rt/Makefile (otherlibs): Likewise.
24157 * sunrpc/Makefile (otherlibs): Likewise.
24158 * nss/Makefile (otherlibs): Likewise.
24159 Add libnss_files to routines and static-only-routines.
24160 ($(objpfx)getent): Remove rule.
24161 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24162 static-only-routines.
24163
7c69cd14
JM
241642012-03-22 Joseph Myers <joseph@codesourcery.com>
24165
24166 [BZ #13892]
24167 * math/s_cexp.c: Include <float.h>.
24168 (__cexp): Handle exp result overflowing not necessarily
24169 overflowing both real and imaginary parts of result.
24170 * math/s_cexpf.c: Likewise.
24171 * math/s_cexpl.c: Likewise.
24172 * math/libm-test.inc (cexp_test): Add more tests.
24173 * sysdeps/i386/fpu/libm-test-ulps: Update.
24174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24175
81b035fe
L
241762012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24177
24178 * include/link.h (ELFW): New macro.
24179 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24180 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24181
1da7940c
L
241822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24183
24184 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24185 with uint64_t.
24186
b749dbb9
L
241872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24188
24189 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24190 declaration.
24191 (struct La_x32_retval): Likewise.
24192
2ff87f3f
L
241932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24194
24195 * sysdeps/x86_64/preconfigure.in: New file.
24196 * sysdeps/x86_64/preconfigure: New generated file.
24197
c0df8e69
JM
241982012-03-22 Joseph Myers <joseph@codesourcery.com>
24199
48e44791
JM
24200 [BZ #13824]
24201 * math/e_exp2l.c: Include <float.h>.
24202 (__ieee754_exp2l): Handle overflow and underflow cases
24203 separately. Only pass fractional part of argument to
24204 __ieee754_expl.
24205 * math/libm-test.inc (exp2_test): Add more tests.
24206
c0df8e69
JM
24207 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24208 negating x to take absolute value.
24209 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24210 Likewise.
24211 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24212 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24213 Likewise.
24214 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24215 computing low part if x was negated.
24216 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24217
c8e43ba7
L
242182012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24219
24220 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24221 la_x32_gnu_pltexit.
24222 (pltexit): Cast int_retval to ptrdiff_t.
24223 * elf/tst-auditmod3b.c: Likewise.
24224 * elf/tst-auditmod4b.c: Likewise.
24225 * elf/tst-auditmod5b.c: Likewise.
24226 * elf/tst-auditmod6b.c: Likewise.
24227 * elf/tst-auditmod6c.c: Likewise.
24228 * elf/tst-auditmod7b.c: Likewise.
24229
24230 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24231 and x32_gnu_pltexit.
24232
24233 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24234 __ELF_NATIVE_CLASS.
24235 (La_x32_regs): New macro.
24236 (La_x32_retval): Likewise.
24237 (la_x32_gnu_pltenter): New function prototype.
24238 (la_x32_gnu_pltexit): Likewise.
24239
7998fa78
AS
242402012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24241
dcb33988
AS
24242 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24243 exponent.
24244
233fc563
AS
24245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24246
7998fa78
AS
24247 * configure.in (libc_cv_cc_nofma): Check for option to disable
24248 generation of FMA instructions.
24249 * configure: Regenerate.
24250 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24251 * sysdeps/ieee754/dbl-64/Makefile: New file.
24252 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24253 Remove brandred-fma4.
24254 (CFLAGS-brandred-fma4.c): Remove.
24255 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24256 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24257 define.
24258 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24259 define.
24260
8e95c99a
L
242612012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24262
24263 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24264 LLONG_MAX != LONG_MAX.
24265 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24266 (_fitoa_word): Likewise.
24267 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24268 LLONG_MAX != LONG_MAX.
24269 * stdio-common/_itowa.h: Include <_itoa.h>.
24270 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24271 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24272 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24273 only if not defined.
24274 (_ITOA_WORD_TYPE): Likewise.
24275 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24276 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24277
6f4db457
DM
242782012-03-21 David S. Miller <davem@davemloft.net>
24279
24280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24281
7785fe5a
L
242822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24283
24284 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24285 of x86_64 when setting libc_cv_slibdir, libdir and
24286 libc_cv_localedir.
24287 * sysdeps/unix/sysv/linux/configure: Regenerated.
24288
4535cd55
JM
242892012-03-21 Joseph Myers <joseph@codesourcery.com>
24290
24291 * manual/lang.texi (Old Varargs): Remove section.
24292 (How Variadic): Update menu.
24293 (va_start): Do not mention varargs.h.
24294
17228132
TS
242952012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24296 Joseph Myers <joseph@codesourcery.com>
24297
24298 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24299 link test.
24300 * configure: Regenerated.
24301
8149f976
TS
243022012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24303
05f3d1f6
UD
24304 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24305 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24306 conformtest.pl
8149f976 24307
1a4ac776
JM
243082012-03-21 Joseph Myers <joseph@codesourcery.com>
24309
be22ce65
JM
24310 * NOTES: Remove.
24311 * Makefile (files-for-dist): Remove NOTES.
24312 (NOTES): Remove rule.
24313 * README: Don't refer to NOTES.
24314 * manual/creature.texi: Don't include macros.texi.
24315 * manual/intro.texi (creature.texi): Remove comment referring to
24316 NOTES.
24317
40b601fb
JM
24318 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24319 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24320 * configure: Regenerated.
24321 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24322 LIBC_TRY_CC_OPTION.
24323 (libc_cv_as_i686): Likewise.
24324 (libc_cv_cc_avx): Likewise.
24325 (libc_cv_cc_sse2avx): Likewise.
24326 (libc_cv_cc_fma4): Likewise.
24327 (libc_cv_cc_novzeroupper): Likewise.
24328 * sysdeps/i386/configure: Regenerated.
24329
1a4ac776
JM
24330 [BZ #13883]
24331 * sysdeps/i386/fpu/s_cexp.S: Remove.
24332 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24333 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24334 * math/libm-test.inc (cexp_test): Add more tests.
24335 * sysdeps/i386/fpu/libm-test-ulps: Update.
24336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24337
a458e7fe
AM
243382012-03-21 Allan McRae <allan@archlinux.org>
24339
24340 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24341
0cb7efc5
JM
243422012-03-21 Joseph Myers <joseph@codesourcery.com>
24343
24344 [BZ #13871]
24345 * math/w_exp2.c: Do not include <float.h>.
24346 (o_threshold, u_threshold): Remove.
24347 (__exp2): Calculate result before checking finiteness and calling
24348 __kernel_standard.
24349 * math/w_exp2f.c: Likewise.
24350 * math/w_exp2l.c: Likewise.
24351 * math/libm-test.inc (exp2_test): Require overflow exception for
24352 1e6 input.
2460d3aa
JM
24353
24354 [BZ #3866]
24355 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24356 range of signed 64-bit integers before using fistpll. Remove
24357 checks for whether integers fit in mantissa bits.
24358 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24359 the range of signed 32-bit integers before using fistpl. Remove
24360 checks for whether integers fit in mantissa bits.
24361 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24362 (__ieee754_powl): Test for y outside the range of signed 64-bit
24363 integers before using fistpll. Reduce 64-bit values to 63-bit
24364 ones as needed.
24365 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24366 divide-by-zero is raised for zero to large negative powers.
24367 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24368 (__ieee754_powl): Test for y outside the range of signed 64-bit
24369 integers before using fistpll. Reduce 64-bit values to 63-bit
24370 ones as needed.
24371 * math/libm-test.inc (pow_test): Add more tests.
24372
eb96ffb0
L
243732012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24374
24375 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24376 <stdio-common/_itoa.h>.
24377 * debug/segfault.c: Likewise.
24378 * elf/dl-cache.c: Likewise.
24379 * elf/dl-minimal.c: Likewise.
24380 * elf/dl-misc.c: Likewise.
24381 * elf/dl-sysdep.c: Likewise.
24382 * elf/dl-version.c: Likewise.
24383 * elf/rtld.c: Likewise.
24384 * hurd/hurdsock.c: Likewise.
24385 * hurd/lookup-retry.c: Likewise.
24386 * malloc/malloc.c: Likewise.
24387 * malloc/mtrace.c: Likewise.
24388 * nscd/nscd_getgr_r.c: Likewise.
24389 * nscd/nscd_getpw_r.c: Likewise.
24390 * nscd/nscd_getserv_r.c: Likewise.
24391 * posix/getopt_init.c: Likewise.
24392 * posix/wordexp.c: Likewise.
24393 * stdio-common/_itoa.c: Likewise.
24394 * stdio-common/printf_fphex.c: Likewise.
24395 * stdio-common/vfprintf.c: Likewise.
24396 * string/_strerror.c: Likewise.
24397 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24398 * sysdeps/i386/i686/hp-timing.h: Likewise.
24399 * sysdeps/mach/_strerror.c: Likewise.
24400 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24401 * sysdeps/mach/hurd/sethostid.c: Likewise.
24402 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24403 * sysdeps/mach/xpg-strerror.c: Likewise.
24404 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24405 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24406 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24407 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24408 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24409 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24410 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24411 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24412 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24413 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24414 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24415 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24416 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24417 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24418 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24419 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24420 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24421 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24422 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24423 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24424 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24425
24426 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24427
24428 * stdio-common/_itoa.h: Moved to ...
24429 * sysdeps/generic/_itoa.h: Here.
24430
24431 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24432
24433 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24434 instead of "_itoa.h" and "_itowa.h".
24435 * stdio-common/vfprintf.: Likewise.
24436
d1af992d
L
244372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24438
24439 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24440 <bits/wordsize.h>.
24441 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24442 (__signbit): Likwise.
24443 (llrintf): Likwise.
24444 (llrint): Likwise.
24445
114883e0
L
244462012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24447
24448 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24449 __WORDSIZE != 64.
24450
c135cc1b
JM
244512012-03-20 Joseph Myers <joseph@codesourcery.com>
24452
24453 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24454 OVERFLOW_EXCEPTION_OK.
24455 * math/libm-test.inc ("Philosophy"): Update comment about
24456 exception testing.
24457 (OVERFLOW_EXCEPTION): Define.
24458 (OVERFLOW_EXCEPTION_OK): Likewise.
24459 (INVALID_EXCEPTION_OK): Renumber.
24460 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24461 (IGNORE_ZERO_INF_SIGN): Likewise.
24462 (test_exceptions): Handle FE_OVERFLOW.
24463 (exp10_test): Expect overflow exceptions.
24464 (exp2_test): Likewise.
24465 (expm1_test): Likewise.
24466 (nextafter_test): Likewise.
24467 (pow_test): Likewise.
24468 (scalbn_test): Likewise.
24469 (scalbln_test): Likewise.
24470
95443d88
L
244712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24472
24473 * sysdeps/x86_64/bits/atomic.h
24474 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24475 64bit integer.
24476 (atomic_exchange_acq): Likewise.
24477 (__arch_exchange_and_add_body): Likewise.
24478 (__arch_add_body): Likewise.
24479 (atomic_add_negative): Likewise.
24480 (atomic_add_zero): Likewise.
24481
490df6c4
L
244822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24483
c2722551 24484 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24485 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24486
5e52b189
L
244872012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24488
24489 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24490 Check __x86_64__ instead of __WORDSIZE.
24491
a9879d4c
L
244922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24493
24494 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24495
5df98260
DM
244962012-03-19 David S. Miller <davem@davemloft.net>
24497
e1497744
DM
24498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24499
5df98260
DM
24500 * sysdeps/sparc/fpu/fenv_private.h: New file.
24501 * sysdeps/sparc/fpu/math_private.h: Use it.
24502 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24503 Remove.
24504 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24505 (libc_feholdexcept_setroundl): Remove.
24506 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24507 Remove.
24508 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24509 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24510
b4c35121
L
245112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24514 int64_t instead of long int.
24515 (INSERT_WORDS64): Likwise.
24516
56965fd7
L
245172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24518
24519 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24520 _Unwind_GetCFA return to _Unwind_Ptr first.
24521
83d1aec8
JM
245222012-03-19 Joseph Myers <joseph@codesourcery.com>
24523
1897ad44
JM
24524 [BZ #13629]
24525 * math/s_clog.c: Include <float.h>.
24526 (__clog): Scale large or subnormal inputs.
24527 * math/s_clogf.c: Likewise.
24528 * math/s_clogl.c: Likewise.
24529 * math/s_clog10.c: Include <float.h>.
24530 (M_LOG10_2): Define.
24531 (__clog10): Scale large or subnormal inputs.
24532 * math/s_clog10f.c: Likewise.
24533 * math/s_clog10l.c: Likewise.
24534 * math/libm-test.inc (clog_test): Add more tests.
24535 (clog10_test): Likewise.
24536 * sysdeps/i386/fpu/libm-test-ulps: Update.
24537 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24538
7726d6a9
JM
24539 [BZ #11451]
24540 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24541 x and y.
24542 * math/libm-test.inc (atan2_test): Add another test.
24543
83d1aec8
JM
24544 * Makerules (common-objdir-compile): Remove.
24545 * sysdeps/unix/Makefile (config-generated): Do not add
24546 $(unix-generated) to variable.
24547 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24548 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24549 Remove rule.
24550 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24551 Likewise.
24552 [generic bits/local_lim.h] (before-compile): Do not append to
24553 variable.
24554 [generic bits/local_lim.h] (common-generated): Likewise.
24555 [generic sys/param.h] (before-compile): Do not append to variable.
24556 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24557 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24558 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24559 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24560 include.
24561 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24562 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24563 [generic sys/param.h] ($(addprefix
24564 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24565 [generic sys/param.h] (common-generated): Do not append to
24566 variable.
24567 [generic sys/param.h] (sysdep_headers): Likewise.
24568 [generic bits/errno.h] (before-compile): Do not append to
24569 variable.
24570 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24571 rule.
24572 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24573 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24574 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24575 [generic bits/errno.h] (common-generated): Do not append to
24576 variable.
24577 [generic bits/ioctls.h] (before-compile): Do not append to
24578 variable.
24579 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24580 rule.
24581 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24582 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24583 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24584 rule.
24585 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24586 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24587 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24588 [generic bits/ioctls.h] (common-generated): Do not append to
24589 variable.
24590 [generic sys/syscall.h] (syscall.h): Remove variable.
24591 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24592 rule.
24593 [generic sys/syscall.h] (before-compile): Do not append to
24594 variable.
24595 [generic sys/syscall.h] (common-generated): Likewise.
24596 * sysdeps/unix/errnos-tmpl.c: Remove file.
24597 * sysdeps/unix/errnos.awk: Likewise.
24598 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24599 * sysdeps/unix/ioctls.awk: Likewise.
24600 * sysdeps/unix/mk-local_lim.c: Likewise.
24601 * sysdeps/unix/snarf-ioctls: Likewise.
24602
4851a949
RH
246032012-03-19 Richard Henderson <rth@twiddle.net>
24604
bd37f2ee
RH
24605 * sysdeps/i386/fpu/fenv_private.h: New file.
24606 * sysdeps/i386/fpu/math_private.h: Use it.
24607 (math_opt_barrier, math_force_eval): Remove.
24608 (libc_feholdexcept_setround_53bit): Remove.
24609 (libc_feupdateenv_53bit): Remove.
24610 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24611 (math_opt_barrier, math_force_eval): Remove.
24612 (libc_feholdexcept): Remove.
24613 (libc_feholdexcept_setround): Remove.
24614 (libc_fetestexcept, libc_fesetenv): Remove.
24615 (libc_feupdateenv_test): Remove.
24616 (libc_feupdateenv, libc_feholdsetround): Remove.
24617 (libc_feresetround): Remove.
24618
d0adc922
RH
24619 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24620 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24621
0fe0f1f8
RH
24622 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24623 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24624 (libc_feupdateenv_testl): New.
24625 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24626 (libc_feupdateenv_testf): New.
24627 (libc_feupdateenv): Use libc_feupdateenv_test.
24628 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24629 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24630
eb92c487
RH
24631 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24632 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24633 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24634 (libc_feresetround_noex): New.
24635 (libc_feresetround_noexf): New.
24636 (libc_feresetround_noexl): New.
24637 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24638 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24639 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24640 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24641 SET_RESTORE_ROUND.
24642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24643 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24644 (__cos): Likewise.
24645 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24646 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24647 SET_RESTORE_ROUND_NOEX.
24648 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24649 SET_RESTORE_ROUND_NOEXF.
24650 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24651 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24652 (libc_feholdsetroundf): New.
24653 (libc_feresetround, libc_feresetroundf): New.
24654
7d2e8012
RH
24655 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24656 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24657 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24658
b4dabbb4
RH
24659 * sysdeps/generic/math_private.h: Include <fenv.h>.
24660 (default_libc_feholdexcept): New.
24661 (default_libc_feholdexcept_setround): New.
24662 (default_libc_fesetenv, default_libc_feupdateenv): New.
24663 (libc_feholdexcept): Only define if undefined.
24664 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24665 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24666 (libc_feholdexcept_setroundl): Likewise.
24667 (libc_feholdexcept_setround_53bit): Likewise.
24668 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24669 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24670 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24671 (libc_feupdateenv_53bit): Likewise.
24672 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24673 (libc_feholdexcept): Convert from macro to inline function.
24674 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24675 (libc_fesetenv, libc_feupdateenv): Likewise.
24676
4851a949
RH
24677 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24678 not previously defined.
24679 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24680 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24681 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24682 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24683 * sysdeps/ieee754/flt-32/math_private.h: New file.
24684 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24685 math_private.h below SET_FLOAT_WORD.
24686 (__isnan, __isinf_ns, __finite): Remove.
24687 (__isnanf, __isinf_nsf, __finitef): Remove.
24688
e79d442e
AS
246892012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24690
24691 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24692
90b80344
DM
246932012-03-17 David S. Miller <davem@davemloft.net>
24694
24695 [BZ #6471]
24696 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24697 for 2.16.
24698
edc21804
DM
246992012-03-16 David S. Miller <davem@davemloft.net>
24700
77e927af
DM
24701 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24702 warnings.
24703
374976dd
DM
24704 [BZ #6471]
24705 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24706 properly.
24707 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24708 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24709 sysdep_routines when subdir is sysvipc.
24710 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24711 __getshmlba helper.
24712
edc21804
DM
24713 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24714
473c3ef3
L
247152012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24716
24717 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24718 [__LP64__].
24719
eb0f39b6
L
247202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24721
24722 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24723 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24724 (__lround): Renamed to ...
24725 (__llround): This. Replace long int with long long int.
24726 Define lround functions as aliases of llround functions.
24727 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24728
6b6cd74b
L
247292012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24730
24731 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24732 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24733 adresses to uintptr_t. Replace "long int" and "unsigned long
24734 int" with "greg_t" on va_arg.
24735
f1a77b01
L
247362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24737
24738 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24739 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24740
24741 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24742 Move e_machine check before EI_CLASS check. Handle x32
24743 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24744 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24745 SKIP_EM_IA_64 and include
24746 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24747
24748 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24749 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24750 (add_system_dir): New macro.
24751
24752 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24753 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24754
11b90b9f
JM
247552012-03-16 Joseph Myers <joseph@codesourcery.com>
24756
c36e1d23
JM
24757 [BZ #2551]
24758 [BZ #2552]
24759 [BZ #2553]
24760 [BZ #2554]
24761 [BZ #2562]
24762 [BZ #2563]
24763 [BZ #2565]
24764 [BZ #2566]
24765 [BZ #2576]
24766 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24767 (y0): Likewise.
24768 * math/w_j0f.c (j0f): Likewise.
24769 (y0f): Likewise.
24770 * math/w_j0l.c (__j0l): Likewise.
24771 (__y0l): Likewise.
24772 * math/w_j1.c (j1): Likewise.
24773 (y1): Likewise.
24774 * math/w_j1f.c (j1f): Likewise.
24775 (y1f): Likewise.
24776 * math/w_j1l.c (__j1l): Likewise.
24777 (__y1l): Likewise.
24778 * math/w_jn.c (jn): Likewise.
24779 (yn): Likewise.
24780 * math/w_jnf.c (jnf): Likewise.
24781 (ynf): Likewise.
24782 * math/w_jnl.c (__jnl): Likewise.
24783 (__ynl): Likewise.
24784 * math/libm-test.inc (j0_test): Add more tests.
24785 (j1_test): Likewise.
24786 (jn_test): Likewise. Add trailing semicolon to existing test.
24787 (y0_test): Likewise.
24788 (y1_test): Likewise.
24789 * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24791
11b90b9f
JM
24792 [BZ #13851]
24793 [BZ #13854]
24794 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24795 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24796 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24798 (__tanl): Set errno for infinite argument.
24799 * sysdeps/i386/fpu/mptan.c: Remove.
24800 * sysdeps/i386/fpu/s_tan.S: Likewise.
24801 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24802 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24803 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24804 * math/libm-test.inc (tan_test): Add more tests and enable more
24805 tests for double and long double.
24806 * sysdeps/i386/fpu/libm-test-ulps: Update.
24807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24808
6a1bd2a1
JK
248092012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24810
24811 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24812 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24813
10a803e0
RM
248142012-03-16 Roland McGrath <roland@hack.frob.com>
24815
24816 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24817 * configure.in: Use it for both main tree and add-ons.
24818 * configure: Regenerated.
24819
f196c7f7
L
248202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24821
24822 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24823
8848d99d
JM
248242012-03-16 Joseph Myers <joseph@codesourcery.com>
24825
96cbe7f4
JM
24826 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24827 in comment.
24828
8848d99d
JM
24829 [BZ #13851]
24830 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24831 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24832 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24833 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24834 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24835 infinite argument.
24836 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24837 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24838 != 0 for prec == 2.
24839 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24840 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24841 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24842 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24843 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24844 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24845 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24846 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24847 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24848 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24849 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24850 * math/libm-test.inc (cos_test): Add more tests and enable more
24851 tests for long double.
24852 (sin_test): Likewise.
24853 (sincos_test): Likewise.
24854 * sysdeps/i386/fpu/libm-test-ulps: Update.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24856
dd7f4703
DM
248572012-03-16 David S. Miller <davem@davemloft.net>
24858
24859 * sysdeps/sparc/fpu/math_private.h: New file.
24860
006f1daa
DM
248612012-03-15 David S. Miller <davem@davemloft.net>
24862
c0c83bc8
DM
24863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24864 file.
e6a62e18 24865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24867 file.
e6a62e18
DM
24868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24869 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24870 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24871 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24872 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24874 sysdep routines.
24875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24876
88cb87d9
DM
24877 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24878 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24879
006f1daa 24880 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24882 sparc-ifunc.h
006f1daa 24883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24885 Likewise.
24886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24887 Likewise.
006f1daa
DM
24888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24892 Likewise.
006f1daa
DM
24893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24898 Likewise.
24899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24900 Likewise.
006f1daa
DM
24901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24905 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24907 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24908 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24910 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24911 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24912 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24913 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24914 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24915 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24916 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24917 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24918 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24919 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24920 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24921 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24922 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24923 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24925
11e0098e
AS
249262012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24927
24928 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24929 scaling.
24930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24931
e85b09d0
AJ
249322012-03-15 Andreas Jaeger <aj@suse.de>
24933
24934 [BZ #13852]
24935 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24936 ieee754/flt-32 implementation for sin, cos and sincos.
24937 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24938 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24939 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24940 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24941 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24942 ieee754/flt-32 implementation for tan.
24943
24944 * math/libm-test.inc (cos_test): Enable some large input tests for
24945 float as well
24946 (sin_test): Likewise.
24947 (sincos_test): Likewise.
24948 (tan_test): Add tests for large input.
24949
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951
81c64153
AJ
249522012-03-15 Andreas Jaeger <aj@suse.de>
24953
24954 [BZ #13658]
24955 * math/libm-test.inc (cos_test): Add more test cases.
24956 (sin_test): Likewise.
24957 (sincos_test): Likewise.
24958
7bbfa5c6
AJ
249592012-03-15 Andreas Jaeger <aj@suse.de>
24960
24961 [BZ #13837]
24962 * math/libm-test.inc (cos_test): Add a test case for large input
24963 value.
24964 (sin_test): Likewise.
24965 (sincos_test): Likewise.
24966
249672012-03-15 Andreas Jaeger <aj@suse.de>,
24968 Joseph Myers <joseph@codesourcery.com>
24969
24970 [BZ #13658]
0671f479 24971 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24972 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24973 * sysdeps/i386/fpu/branred.c: Likewise.
24974 * sysdeps/i386/fpu/dosincos.c: Likewise.
24975 * sysdeps/i386/fpu/mpa.c: Likewise.
24976 * sysdeps/i386/fpu/s_cos.S: Likewise.
24977 * sysdeps/i386/fpu/s_sin.S: Likewise.
24978 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24979 * sysdeps/i386/fpu/sincos32.c: Likewise.
24980
24981 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24982 Define.
24983 (libc_feupdateenv_53bit): Define.
24984 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24985 Define.
24986 (libc_feupdateenv_53bit): Define.
24987
24988 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24989 53 bit (without extend i386 double precision).
24990
24991 * math/libm-test.inc (sincos_test): Add tests for large input.
24992 (sin): Likewise.
24993 (cos): Likewise.
24994
24995 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24996
9cad04ea
AS
249972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24998
24999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25000
f7062b9a
DM
250012012-03-15 David S. Miller <davem@davemloft.net>
25002
25003 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25004 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25005 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25006 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25007 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25010 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25011 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25012 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25013 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25014 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25015 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25016 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25017 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25019 file.
f7062b9a 25020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25022 file.
f7062b9a 25023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25025 file.
f7062b9a 25026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25028 file.
f7062b9a
DM
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25031 fmin/fmax sysdep routines.
25032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25033
7bd951ff
DM
250342012-03-14 David S. Miller <davem@davemloft.net>
25035
559398ab
DM
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25037 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25040 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25043 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25046 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25047 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25048 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25053 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25054 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25065 routines.
25066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25067 file.
559398ab 25068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25070 file.
559398ab 25071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25073 file.
559398ab 25074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25076 file.
559398ab 25077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25079 file.
559398ab 25080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25082 file.
25083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25084 file.
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25086 file.
25087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25088 file.
25089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25090 New file.
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25092 file.
25093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25094 file.
559398ab 25095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25097 file.
559398ab 25098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25100 file.
559398ab 25101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25103 file.
559398ab 25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25106 VIS3 routines.
559398ab
DM
25107
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25109 New file.
25110
5a1c1e32
DM
25111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25112
eae47a36
DM
25113 * sysdeps/sparc/configure.in: New file.
25114 * sysdeps/sparc/configure: Generate.
25115 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25116 * configure: Regenerate.
25117 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25118 * config.make.in (have-as-vis3): New.
25119 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25120 available use -Av9d instead of -Av9a.
25121 * sysdeps/sparc/sparc64/Makefile: Likewise.
25122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25124 New file.
25125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25126 file.
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25128 New file.
25129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25130 file.
eae47a36
DM
25131 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25132 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25133 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25134 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25135 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25136
c0c83bc8
DM
25137 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25138 fzeros/fnegs to load 0x80000000 into a float register instead of
25139 using the stack.
7bd951ff
DM
25140 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25141
bd951ccb
JM
251422012-03-14 Joseph Myers <joseph@codesourcery.com>
25143
25144 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25145 bits/syscall.h.
25146 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25147 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25148 ($(inst_includedir)/bits/syscall.h): Remove rule.
25149 ($(objpfx)bits/syscall.d): Include instead of
25150 $(objpfx)syscall-list.d.
25151 (generated): Change syscall-list.h and syscall-list.d to
25152 bits/syscall.h and bits/syscall.d.
25153
bb4e6db2
RM
251542012-03-14 Roland McGrath <roland@hack.frob.com>
25155
25156 [BZ #13846]
25157 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25158
aa4a2ae1
JM
251592012-03-14 Joseph Myers <joseph@codesourcery.com>
25160
e456826d
JM
25161 [BZ #13841]
25162 * math/s_csqrt.c: Include <float.h>.
25163 (__csqrt): Scale large or subnormal inputs.
25164 * math/s_csqrtf.c: Likewise.
25165 * math/s_csqrtl.c: Likewise.
25166 * math/libm-test.inc (csqrt_test): Add more tests.
25167 * sysdeps/i386/fpu/libm-test-ulps: Update.
25168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25169
aa4a2ae1
JM
25170 [BZ #13840]
25171 * math/libm-test.inc (hypot_test): Add more tests.
25172
7c10fd35
DM
251732012-03-13 David S. Miller <davem@davemloft.net>
25174
25175 [BZ #13840]
25176 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25177 double-precision for the calculation instead of scaling.
25178
f453b98b
JM
251792012-03-13 Joseph Myers <joseph@codesourcery.com>
25180
25181 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25182 manipulate bits before adding and subtracting TWO52[sx].
25183 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25184 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25185 Likewise.
25186 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25187
09a3453f
DM
251882012-03-13 David S. Miller <davem@davemloft.net>
25189
8e59da90
DM
25190 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25191 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25193 rtld-global-offsets.h
25194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25195
2a8ab7f2
DM
25196 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25197 large parameters.
25198
10f62770
DM
25199 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25200
5f0bdb18
DM
25201 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25202 'err' in the ifdef scope in which it is actually used.
25203
09a3453f
DM
25204 * nss/nss_db/db-init.c: Include string.h
25205
b4b2eb5e
DM
252062012-03-12 David S. Miller <davem@davemloft.net>
25207
98bb2f1c
DM
25208 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25209 masking out of the most significant byte of random value used.
25210 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25211 Fix coding style in previous change.
25212
b4b2eb5e
DM
25213 * sysdeps/unix/sysv/linux/kernel-features.h
25214 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25215 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25216 expression.
25217 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25218 later.
25219
6e226b09
DM
252202012-03-11 David S. Miller <davem@davemloft.net>
25221
a1bcbd40
DM
25222 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25223 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25224 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25225 for 'resultvar' otherwise things get truncated on 64-bit.
25226
cb9d6174
DM
25227 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25228 Fix masking out of the most significant byte of random value used.
25229
6e226b09
DM
25230 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25231
058c132d
AS
252322012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25233
25234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25235
2d2cd515
DM
252362012-03-09 David S. Miller <davem@davemloft.net>
25237
25238 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25239 variables with appropriate CPP guards.
25240 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25241 frame pointer, not the stack pointer. Correct layout comments. Fix test
25242 on resulting framesize and the management of the outregs buffer for pltexit.
25243 Preserve floating point return values across _dl_call_pltexit call.
25244 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25245 framesize and the management of the outregs buffer for pltexit.
25246 Preserve floating point return values across _dl_call_pltexit
25247 call.
25248 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25249 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25250 (print_exit): Fix format string for return register value.
25251
9a07f9d0
JM
252522012-03-10 Joseph Myers <joseph@codesourcery.com>
25253
25254 * sunrpc/Makefile (others): Add rpcgen.
25255 ($(objpfx)rpcgen): Remove special build rule and dependency on
25256 libc.
25257 * sunrpc/rpcgen.c: New file.
25258
547b5e30
PE
252592012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25260
c524201a
PE
25261 [BZ #13673]
25262 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25263 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25264 * sysdeps/i386/crti.S: Likewise.
25265 * sysdeps/i386/crtn.S: Likewise.
25266 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25267 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25268 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25269 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25270 * sysdeps/sh/crti.S: Likewise.
25271 * sysdeps/sh/crtn.S: Likewise.
25272 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25273
7b6235f2
PE
25274 [BZ #13673]
25275 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25276 with URL.
25277 * locale/programs/locfile-kw.gperf: Likewise.
25278 * locale/programs/charmap-kw.h: Regenerated.
25279 * locale/programs/locfile-kw.h: Likewise.
25280
547b5e30
PE
25281 [BZ #13673]
25282 * intl/plural.y: Replace FSF snail mail address with URL.
25283 * intl/plural.c: Regenerated.
25284
5f0a5dae
RH
252852012-03-09 Richard Henderson <rth@twiddle.net>
25286
25287 * include/math_private.h: Remove file.
25288 * math/math_private.h: Move file ...
25289 * sysdeps/generic/math_private.h: ... here.
25290
b8c03620
RH
25291 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25292 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25293 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25294
4e234f5d 25295 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25296 and <math_private.h>.
25297 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25298 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25299 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25300 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25301 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25302 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25305 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25306 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25307 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25308 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25309 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25310 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25311 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25312 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25313 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25314 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25315 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25316 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25317 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25318 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25319 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25320 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25385 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25386 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25387 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25388 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25389 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25390 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25391 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25392 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25393 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25394 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25395 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25396 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25397 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25398 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25399 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25400 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25401 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25402 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25403 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25407 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25408 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25413 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25414 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25416 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25417 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25418 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25419 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25420 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25421 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25422 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25423 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25424 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25425 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25426 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25427 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25428 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25429 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25430 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25431 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25433 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25434 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25435 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25436 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25437 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25438 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25439 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25440 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25441 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25442 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25443 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25444 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25445 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25446 * sysdeps/ieee754/k_standard.c: Likewise.
25447 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25448 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25449 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25450 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25451 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25452 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25453 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25454 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25455 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25456 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25457 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25458 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25459 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25460 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25461 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25462 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25463 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25464 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25465 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25475 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25476 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25478 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25479 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25559 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25562 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25566 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25567 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25569 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25570 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25571 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25574 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25607 * sysdeps/ieee754/s_lib_version.c: Likewise.
25608 * sysdeps/ieee754/s_matherr.c: Likewise.
25609 * sysdeps/ieee754/s_signgam.c: Likewise.
25610 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25611 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25612 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25613 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25614 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25615 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25616 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25617 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25618 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25619 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25620 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25621 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25622 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25623 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25624 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25625 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25626 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25627 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25628 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25629 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25630 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25631
1991fa03
JM
256322012-03-09 Joseph Myers <joseph@codesourcery.com>
25633
25634 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25635 * sunrpc/rpc_main.c: Likewise.
25636 * sunrpc/rpc_svcout.c: Likewise.
25637
60d6f5a6
DM
256382012-03-09 David S. Miller <davem@davemloft.net>
25639
25640 * include/math_private.h: New file.
25641
4962050e
JM
256422012-03-09 Joseph Myers <joseph@codesourcery.com>
25643
02a6f887
JM
25644 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25645 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25646 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25647 from <bits/socket_type.h>.
25648 (enum __socket_type): Don't define here.
25649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25650 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25651 bits/socket_type.h.
25652
c6e013c1
JM
25653 [BZ #13566]
25654 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25655 checking __USE_GNU.
25656
4962050e
JM
25657 * Makerules ($(inst_includedir)/%.h): New rule.
25658 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25659 (install-others): Remove variable setting.
25660 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25661
38842f45
RH
256622012-03-08 Richard Henderson <rth@twiddle.net>
25663
67bb6da6
RH
25664 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25665 from macro to inline function; merge with the
25666 !__LIBC_INTERNAL_MATH_INLINES version.
25667 (__ieee754_sqrtf): Likewise.
25668
15194b4b
RH
25669 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25670 to inline function.
25671 (__rintf, __floor, __floorf): Likewise.
25672
64e21ede
RH
25673 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25674 macro to inline function.
25675 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25676
38842f45
RH
25677 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25678 not <math/math_private.h>.
25679
c64bf5fe
DM
256802012-03-08 David S. Miller <davem@davemloft.net>
25681
25682 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25683 copyright year.
25684 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25685
82d86f28
TS
256862012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25687
25688 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25689 normalization.
25690 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25691 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25692
aea5d727
UD
256932012-03-08 Ulrich Drepper <drepper@gmail.com>
25694
25695 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25696 be defined individually, they must be defined as a block. Define
25697 S for printing a string instead of hidint the different by using a
25698 macro for adding the 'l'.
25699 * stdio-common/tst-fphex-wide.c: Adjust.
25700
70bca0a3
MP
257012012-03-07 Marek Polacek <polacek@redhat.com>
25702
25703 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25704
65b81130
MP
257052012-03-08 Marek Polacek <polacek@redhat.com>
25706
25707 [BZ #13806]
25708 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25709 * stdio-common/tst-fphex.c: Define a few macros to make the
25710 test reusable. Use them.
25711 * stdio-common/tst-fphex-wide.c: New file.
25712
07037eeb
JM
257132012-03-08 Joseph Myers <joseph@codesourcery.com>
25714
a7a93d50
JM
25715 [BZ #6911]
25716 * manual/macros.texi (gnusystems): New macro.
25717 (nongnusystems): Likewise.
25718 (gnulinuxhurdsystems): Likewise.
25719 (gnuhurdsystems): Likewise..
25720 (gnulinuxsystems): Likewise.
25721 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25722 variants of the GNU system, not "GNU system".
25723 * manual/conf.texi: Likewise.
25724 * manual/errno.texi: Likewise. Update example of errno macro
25725 expansion.
25726 * manual/filesys.texi: Likewise.
25727 (getumask): Document as specific to GNU/Hurd.
25728 * manual/install.texi: Likewise. Reword some references to
25729 GNU/Linux.
25730 * manual/intro.texi: Likewise.
25731 * manual/io.texi: Likewise.
25732 (File Name Portability): Detail which constraints are inapplicable
25733 to all GNU systems and which are only inapplicable to GNU/Hurd.
25734 * manual/job.texi: Likewise.
25735 * manual/llio.texi: Likewise.
25736 (O_NOCTTY): Document as present on GNU/Linux.
25737 * manual/maint.texi: Likewise.
25738 * manual/memory.texi: Likewise.
25739 * manual/pattern.texi: Likewise.
25740 * manual/pipe.texi: Likewise.
25741 * manual/process.texi: Likewise.
25742 * manual/resource.texi: Likewise.
25743 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25744 child on GNU/Hurd.
25745 * manual/setjmp.texi: Likewise.
25746 * manual/signal.texi: Likewise.
25747 * manual/startup.texi: Likewise.
25748 * manual/stdio.texi: Likewise.
25749 * manual/terminal.texi: Likewise.
25750 (ONLCR): Document as POSIX.
25751 (OXTABS): Document availability on GNU/Linux as XTABS.
25752 (ONOEOT): Document availability separately from other bits.
25753 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25754 * manual/time.texi: Likewise.
25755 * manual/users.texi: Likewise.
25756 * INSTALL: Regenerated.
25757 * sysdeps/gnu/errlist.c: Regenerated.
25758
07037eeb
JM
25759 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25760 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25761 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25762 puts.
25763 * configure: Regenerated.
25764
d1d3431a
JM
257652012-03-07 Joseph Myers <joseph@codesourcery.com>
25766
af6a1e37
JM
25767 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25768 default includes instead of AC_HEADER_CHECK.
25769 * sysdeps/i386/configure: Regenerated.
25770
d1d3431a
JM
25771 [BZ #10716]
25772 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25773 * math/s_cacoshf.c (__cacoshf): Likewise.
25774 * math/s_cacoshl.c (__cacoshl): Likewise.
25775 * math/s_casinh.c (__casinh): Set signs of result from argument.
25776 * math/s_casinhf.c (__casinhf): Likewise.
25777 * math/s_casinhl.c (__casinhl): Likewise.
25778 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25779 (casinh_test): Add more tests.
25780 * sysdeps/i386/fpu/libm-test-ulps: Update.
25781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25782
482ff4da
UD
257832012-03-07 Ulrich Drepper <drepper@gmail.com>
25784
872fda05
UD
25785 * po/zh_TW.po: Update from translation team.
25786
a4300c7a
UD
25787 * login/Makefile (distribute): Remove variable.
25788 * catgets/Makefile: Likewise.
25789 * mach/Makefile: Likewise.
25790 * malloc/Makefile: Likewise.
25791 * misc/Makefile: Likewise.
25792 * iconv/Makefile: Likewise.
25793 * nscd/Makefile: Likewise.
25794 * hurd/Makefile: Likewise.
25795 * manual/Makefile: Likewise.
25796 * locale/Makefile: Likewise.
25797 * intl/Makefile: Likewise.
25798 * conform/Makefile: Likewise.
25799 * nss/Makefile: Likewise.
25800 * time/Makefile: Likewise.
25801 * soft-fp/Makefile: Likewise.
25802 * dirent/Makefile: Likewise.
25803 * gmon/Makefile: Likewise.
25804 * po/Makefile: Likewise.
25805 * rt/Makefile: Likewise.
25806 * socket/Makefile: Likewise.
25807 * math/Makefile: Likewise.
25808 * signal/Makefile: Likewise.
25809 * debug/Makefile: Likewise.
25810 * elf/Makefile: Likewise.
25811 * timezone/Makefile: Likewise.
25812 * stdlib/Makefile: Likewise.
25813 * iconvdata/Makefile: Likewise.
25814 * sunrpc/Makefile: Likewise.
25815 * io/Makefile: Likewise.
25816 * argp/Makefile: Likewise.
25817 * inet/Makefile: Likewise.
25818 * hesiod/Makefile: Likewise.
25819 * grp/Makefile: Likewise.
25820 * csu/Makefile: Likewise.
25821 * wctype/Makefile: Likewise.
25822 * crypt/Makefile: Likewise.
25823 * libio/Makefile: Likewise.
25824 * string/Makefile: Likewise.
25825 * nis/Makefile: Likewise.
25826 * resolv/Makefile: Likewise.
25827 * stdio-common/Makefile: Likewise.
25828 * wcsmbs/Makefile: Likewise.
25829 * dlfcn/Makefile: Likewise.
25830 * posix/Makefile: Likewise.
25831
3b7c4e74 25832 [BZ #6959]
482ff4da
UD
25833 * timezone/Makefile: Don't install timezone files, just the programs
25834 and scripts.
25835
f72ed77d
UD
258362012-03-06 Ulrich Drepper <drepper@gmail.com>
25837
a000466f
UD
25838 * nss/databases.def: Add missing gshadow entry.
25839
f72ed77d
UD
25840 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25841
a53b7a4e
MP
258422012-03-06 Marek Polacek <polacek@redhat.com>
25843
25844 [BZ #13726]
25845 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25846 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25847 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25848 * stdio-common/tst-long-dbl-fphex.c: New file.
25849
e9258400
DM
258502012-03-06 David S. Miller <davem@davemloft.net>
25851
25852 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25853 (set_obp_int): New function.
25854 (get_obp_int): New function.
25855 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25856 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25857 Avoid unused variable warnings on 'val' and use builtin_expect.
25858 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25859 __builtin_expect.
e9258400
DM
25860 (INLINE_CLONE_SYSCALL): Likewise.
25861
3bd2c723
DM
258622012-03-05 David S. Miller <davem@davemloft.net>
25863
25864 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25865
bbb78d03
AS
258662012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25867
884c5db4
AS
25868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25869
bbb78d03
AS
25870 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25871 only for |x| >= 40.
25872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25873
1c9f702a 258742012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25875
25876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25877 Replace gettimeofday with __vdso_gettimeofday.
25878
7be16f82
RM
25879 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25880 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25881 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25882
25883 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25884 time with __vdso_time.
25885
ed58a00f
JM
258862012-03-05 Joseph Myers <joseph@codesourcery.com>
25887
25888 * manual/lang.texi (size_t): Note types to which size_t may be
25889 equivalent with the GNU C Library, but do not describe when
25890 differences between them are significant.
25891
30ee4ced
AJ
258922012-03-05 Andreas Jaeger <aj@suse.de>
25893
25894 * sysdeps/i386/fpu/libm-test-ulps: Update.
25895
b7cd39e8
JM
258962012-03-05 Joseph Myers <joseph@codesourcery.com>
25897
25898 [BZ #3976]
25899 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25900 (__ieee754_pow): Save and restore rounding mode and use
25901 round-to-nearest for main computations.
25902 * math/libm-test.inc (pow_test_tonearest): New function.
25903 (pow_test_towardzero): Likewise.
25904 (pow_test_downward): Likewise.
25905 (pow_test_upward): Likewise.
25906 (main): Call the new functions.
25907 * sysdeps/i386/fpu/libm-test-ulps: Update.
25908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25909
25910 [BZ #3976]
25911 * math/libm-test.inc (cosh_test_tonearest): New function.
25912 (cosh_test_towardzero): Likewise.
25913 (cosh_test_downward): Likewise.
25914 (cosh_test_upward): Likewise.
25915 (sinh_test_tonearest): Likewise.
25916 (sinh_test_towardzero): Likewise.
25917 (sinh_test_downward): Likewise.
25918 (sinh_test_upward): Likewise.
25919 (main): Call the new functions.
25920 * sysdeps/i386/fpu/libm-test-ulps: Update.
25921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25922
6c6a98c9
TV
259232012-03-05 Tom de Vries <tom@codesourcery.com>
25924
25925 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25926 default stack guard is set in last bytes.
25927 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25928
21bb2d2e 259292012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25930
21bb2d2e 25931 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25932
21bb2d2e
AJ
25933 [BZ #13656]
25934 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25935 possibly allocate from heap instead of stack.
25936 * stdio-common/bug-vfprintf-nargs.c: New file.
25937 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25938
c6922934
AS
259392012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25940
25941 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25942
bc957d53
MP
259432012-03-03 Marek Polacek <polacek@redhat.com>
25944
25945 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25946 * math/math_private.h: Likewise.
25947 * stdlib/tst-strtod.c: Likewise.
25948 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25949 * sysdeps/x86_64/bits/atomic.h: Likewise.
25950
6358490d
DM
259512012-03-02 David S. Miller <davem@davemloft.net>
25952
25953 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25954 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25957 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25958 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25959 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25960 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25961
01ae168d
RM
259622012-03-02 Roland McGrath <roland@hack.frob.com>
25963
d9a17c07
RM
25964 [BZ #13792]
25965 * manual/examples/README: New file, says the example source files
25966 can be used under GPL>=2.
25967 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25968 line containing just "*/".
25969 * manual/examples/add.c: Add copyright header (GPL>=2).
25970 * manual/examples/argp-ex1.c: Likewise.
25971 * manual/examples/argp-ex2.c: Likewise.
25972 * manual/examples/argp-ex3.c: Likewise.
25973 * manual/examples/argp-ex4.c: Likewise.
25974 * manual/examples/atexit.c: Likewise.
25975 * manual/examples/db.c: Likewise.
25976 * manual/examples/dir.c: Likewise.
25977 * manual/examples/dir2.c: Likewise.
25978 * manual/examples/execinfo.c: Likewise.
25979 * manual/examples/filecli.c: Likewise.
25980 * manual/examples/filesrv.c: Likewise.
25981 * manual/examples/fmtmsgexpl.c: Likewise.
25982 * manual/examples/genpass.c: Likewise.
25983 * manual/examples/inetcli.c: Likewise.
25984 * manual/examples/inetsrv.c: Likewise.
25985 * manual/examples/isockad.c: Likewise.
25986 * manual/examples/longopt.c: Likewise.
25987 * manual/examples/memopen.c: Likewise.
25988 * manual/examples/memstrm.c: Likewise.
25989 * manual/examples/mkfsock.c: Likewise.
25990 * manual/examples/mkisock.c: Likewise.
25991 * manual/examples/mygetpass.c: Likewise.
25992 * manual/examples/pipe.c: Likewise.
25993 * manual/examples/popen.c: Likewise.
25994 * manual/examples/rprintf.c: Likewise.
25995 * manual/examples/search.c: Likewise.
25996 * manual/examples/select.c: Likewise.
25997 * manual/examples/setjmp.c: Likewise.
25998 * manual/examples/sigh1.c: Likewise.
25999 * manual/examples/sigusr.c: Likewise.
26000 * manual/examples/stpcpy.c: Likewise.
26001 * manual/examples/strdupa.c: Likewise.
26002 * manual/examples/strftim.c: Likewise.
26003 * manual/examples/strncat.c: Likewise.
26004 * manual/examples/subopt.c: Likewise.
26005 * manual/examples/swapcontext.c: Likewise.
26006 * manual/examples/termios.c: Likewise.
26007 * manual/examples/testopt.c: Likewise.
26008 * manual/examples/testpass.c: Likewise.
26009 * manual/examples/timeval_subtract.c: Likewise.
26010
01ae168d
RM
26011 [BZ #13792]
26012 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26013 function to ...
26014 * manual/timeval_subtract.c.texi: ... here, new file.
26015
49efa33d
DM
260162012-03-02 David S. Miller <davem@davemloft.net>
26017
26018 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26019
28afd92d
JM
260202012-03-02 Joseph Myers <joseph@codesourcery.com>
26021
804360ed
JM
26022 [BZ #3976]
26023 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26024 (__sin): Save and restore rounding mode and use round-to-nearest
26025 for all computations.
26026 (__cos): Save and restore rounding mode and use round-to-nearest
26027 for all computations.
26028 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26029 <fenv.h>.
26030 (tan): Save and restore rounding mode and use round-to-nearest for
26031 all computations.
26032 * math/libm-test.inc (cos_test_tonearest): New function.
26033 (cos_test_towardzero): Likewise.
26034 (cos_test_downward): Likewise.
26035 (cos_test_upward): Likewise.
26036 (sin_test_tonearest): Likewise.
26037 (sin_test_towardzero): Likewise.
26038 (sin_test_downward): Likewise.
26039 (sin_test_upward): Likewise.
26040 (tan_test_tonearest): Likewise.
26041 (tan_test_towardzero): Likewise.
26042 (tan_test_downward): Likewise.
26043 (tan_test_upward): Likewise.
26044 (main): Call the new functions.
26045 * sysdeps/i386/fpu/libm-test-ulps: Update.
26046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26047
a6d06d7b
JM
26048 [BZ #10135]
26049 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26050 small n, then large n, before computing and testing k+n.
26051 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26052 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26053 Likewise.
26054 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26055 Likewise.
26056 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26057 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26058 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26059 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26060 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26061 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26062 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26063 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26064 * math/libm-test.inc (scalbn_test): Add more tests.
26065 (scalbln_test): Likewise.
26066
07e12bb3
JM
26067 * manual/filesys.texi (mode_t): Describe constraints on size and
26068 signedness, not exact equivalence to a particular type.
26069 (ino_t): Likewise.
26070 (ino64_t): Likewise.
26071 (dev_t): Likewise.
26072 (nlink_t): Likewise.
26073 (blkcnt_t): Likewise.
26074 (blkcnt64_t): Likewise.
26075 * manual/llio.texi (off_t): Likewise.
26076
28afd92d
JM
26077 [BZ #3976]
26078 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26079 (__ieee754_exp): Save and restore rounding mode and use
26080 round-to-nearest for all computations.
26081 * math/libm-test.inc (exp_test_tonearest): New function.
26082 (exp_test_towardzero): Likewise.
26083 (exp_test_downward): Likewise.
26084 (exp_test_upward): Likewise.
26085 (main): Call the new functions.
26086 * sysdeps/i386/fpu/libm-test-ulps: Update.
26087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26088
b1eeb65d
CD
260892012-03-01 Chris Demetriou <cgd@google.com>
26090
26091 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26092 have predictable order.
26093
53362a4b
DM
260942012-03-01 David S. Miller <davem@davemloft.net>
26095
3c969083
DM
26096 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26097
759707de
DM
26098 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26099 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26100 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26101 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26102
dfdb8ff2
DM
26103 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26104 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26105 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26107 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26108 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26109 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26110 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26111 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26112
ead89f96
DM
26113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26114
7f66bd07
DM
26115 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26116 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26117 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26118
53362a4b
DM
26119 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26120 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26121 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26122 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26123 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26126 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26127 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26128 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26129 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26130 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26131 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26132 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26133 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26134 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26135 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26136 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26137 * sysdeps/sparc/elf/configure: Regenerated.
26138
7b1902cb
JM
261392012-03-01 Joseph Myers <joseph@codesourcery.com>
26140
bec039bc
JM
26141 * configure.in (AS, LD): Require binutils 2.20 or later.
26142 * configure: Regenerated.
26143 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26144 as required minimum version.
26145 * INSTALL: Regenerated.
26146
7b1902cb
JM
26147 [BZ #2541]
26148 [BZ #4108]
26149 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26150 before squaring exponent.
26151 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26152 bottom long double and 27 bits of top long double before squaring
26153 exponent.
26154 * math/libm-test.inc (erfc_test): Add more tests.
26155 * sysdeps/i386/fpu/libm-test-ulps: Update.
26156 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26158
f775c276
KT
261592012-03-01 Kai Tietz <ktietz@redhat.com>
26160
26161 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26162 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26163 containing bit-fields.
26164 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26165 * soft-fp/single.h (_FP_UNION_S): Likewise.
26166 * soft-fp/double.h (_FP_UNION_D): Likewise.
26167
5b8a4d4a
JM
261682012-02-29 Joseph Myers <joseph@codesourcery.com>
26169
0bab47b6
JM
26170 [BZ #13786]
26171 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26172 not include ../strcmp.S.
26173 [USE_AS_STRNCASECMP_L]: Likewise.
26174 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26175 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26176 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26177 (__strncasecmp_l_ia32): Define as alias to
26178 __strncasecmp_l_nonascii.
26179
0fcad3e2
JM
26180 [BZ #5794]
26181 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26182 * sysdeps/i386/fpu/libm-test-ulps: Update.
26183 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26184
5b8a4d4a
JM
26185 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26187
8fdceb2e
JL
261882012-02-29 Jeff Law <law@redhat.com>
26189
26190 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26191 out of bounds read.
26192
1f393a11
MP
261932012-02-29 Marek Polacek <polacek@redhat.com>
26194
26195 [BZ #13706]
26196 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26197 * elf/Makefile: Add rules to run tst-unused-dep.out.
26198
8847f037
DM
261992012-02-28 David S. Miller <davem@davemloft.net>
26200
26201 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26202 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26203 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26205 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26206 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26207
169d7f11
JM
262082012-02-29 Joseph Myers <joseph@codesourcery.com>
26209
26210 * math/libm-test.inc (llround_test): Move one test from
26211 lround_test. Use TEST_f_L in moved test.
26212 (lround_test): Move misplaced test to llround_test. Add testcase
26213 from bug 2561.
26214
39adf059
UD
262152012-02-28 Ulrich Drepper <drepper@gmail.com>
26216
26217 * sysdeps/x86_64/fpu/e_expf.S: New file.
26218 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26219
71b5d1c5
SB
262202012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26221
26222 [BZ #13637]
26223 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26224 of remain_len that may cause incomplete multi-byte character and
26225 false match.
26226 * posix/bug-regex33.c: New file.
26227 * posix/Makefile (tests): Add bug-regex33.
26228
1f77f049
JM
262292012-02-28 Joseph Myers <joseph@codesourcery.com>
26230
26231 * manual/macros.texi: New file.
26232 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26233 * manual/libc.texinfo: Include macros.texi.
26234 * manual/creatute.texi: Likewise.
26235 * manual/install.texi: Likewise.
26236 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26237 @glibcadj{} in references to the GNU C Library.
26238 * manual/charset.texi: Likewise.
26239 * manual/conf.texi: Likewise.
26240 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26241 when not using those macros.
26242 * manual/creature.texi: Likewise.
26243 * manual/crypt.texi: Likewise.
26244 * manual/errno.texi: Likewise.
26245 * manual/filesys.texi: Likewise.
26246 * manual/header.texi: Likewise.
26247 * manual/install.texi: Likewise.
26248 * manual/intro.texi: Likewise.
26249 * manual/io.texi: Likewise.
26250 * manual/job.texi: Likewise.
26251 * manual/lang.texi: Likewise.
26252 * manual/libc.texiinfo: Likewise.
26253 * manual/llio.texi: Likewise.
26254 * manual/locale.texi: Likewise.
26255 * manual/maint.texi: Likewise.
26256 * manual/math.texi: Likewise.
26257 * manual/memory.texi: Likewise.
26258 * manual/message.texi: Likewise.
26259 * manual/nss.texi: Likewise.
26260 * manual/pattern.texi: Likewise.
26261 * manual/process.texi: Likewise.
26262 * manual/resource.texi: Likewise.
26263 * manual/search.texi: Likewise.
26264 * manual/setjmp.texi: Likewise.
26265 * manual/signal.texi: Likewise.
26266 * manual/socket.texi: Likewise.
26267 * manual/startup.texi: Likewise.
26268 * manual/stdio.texi: Likewise.
26269 * manual/string.texi: Likewise.
26270 * manual/sysinfo.texi: Likewise.
26271 * manual/syslog.texi: Likewise.
26272 * manual/terminal.texi: Likewise.
26273 * manual/time.texi: Likewise.
26274 * manual/users.texi: Likewise.
26275 * INSTALL: Regenerated.
26276 * NOTES: Regenerated.
d40c5d54 26277 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26278
450bf206
AS
262792012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26280
26281 * include/dirent.h: Include <dirstream.h> before
26282 <dirent/dirent.h>.
26283
741a235b
DM
262842012-02-28 David S. Miller <davem@davemloft.net>
26285
26286 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26287 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26288 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26289 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26290
d6b5aa58
DM
262912012-02-27 David S. Miller <davem@davemloft.net>
26292
1aff59a3
DM
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26295 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26296 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26297
d6b5aa58
DM
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26299 frame pointer instead of stack pointer relative arg slot.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26301 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26302 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26303
433f48bf
CD
263042012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26305
26306 [BZ #3992]
26307 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26308
d674b76d
DM
263092012-02-27 David S. Miller <davem@davemloft.net>
26310
26311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26315 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26316 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26317 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26318 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26319
0e7727f7
JM
263202012-02-27 Joseph Myers <joseph@codesourcery.com>
26321
26322 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26323 later. Allow versions 5-9.
43be4ca2 26324 * configure: Regenerated.
0e7727f7
JM
26325 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26326 required minimum version and 4.6 as recommended version. Do not
26327 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26328 * INSTALL: Regenerated.
0e7727f7 26329
a78bc654
DM
263302012-02-27 David S. Miller <davem@davemloft.net>
26331
428d5830
DM
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26336 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26337 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26338 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26339 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26340
a78bc654
DM
26341 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26342 manipulate bits before adding and subtracting TWO112[sx].
26343 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26344
4579f81c
RM
263452012-02-27 Roland McGrath <roland@hack.frob.com>
26346
36c8acb4
RM
26347 [BZ #13775]
26348 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26349 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26350 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26351 being in POSIX, because they are in 1003.1-2008.
26352
84ad622b
RM
26353 * rt/tst-aio.c: Include <fcntl.h>.
26354 * rt/tst-aio7.c: Likewise.
26355 * rt/tst-aio64.c: Likewise.
26356
4579f81c
RM
26357 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26358
abd923db
JM
263592012-02-27 Joseph Myers <joseph@codesourcery.com>
26360
26361 * manual/install.texi (--with-headers): Describe headers as
26362 interface headers, not private headers.
26363 (Specific advice for GNU/Linux systems): Describe use of headers
26364 from "make headers_install", not private headers from older
26365 kernels.
43be4ca2 26366 * INSTALL: Regenerated.
abd923db
JM
26367 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26368 Change to 2.6.19.
26369 * sysdeps/unix/sysv/linux/configure: Regenerated.
26370
6664049b
JM
26371 * manual/llio.texi (fclean): Remove documentation.
26372
bb8b6697
JM
26373 * manual/Makefile (libc-texi-generated): New variable. Include
26374 version.texi.
26375 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26376 $(libc-texi-generated), not duplicated list of files.
26377 (version.texi, stamp-version): New rules.
26378 (realclean): Remove $(libc-texi-generated), not individual files
26379 from that list. Do not remove dir-add.texinfo.
26380 * manual/libc.texinfo: Comment out uses of edition numbers and
26381 references to printed manual. Remove last-updated dates.
26382 (EDITION): Comment out.
26383 (ISBN): Likewise.
26384 (VERSION, UPDATED): Remove.
26385 (version.texi): Include.
26386
12e5c3b9
AS
263872012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26388
26389 * sysdeps/posix/spawni.c: Include <signal.h>.
26390 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26391 * sysdeps/pthread/aio_fsync.c: Likewise.
26392
4efeffc1 263932012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26394
ba63ba08
UD
26395 * conform/Makefile (tests): Run only when not cross-compiling and
26396 when fast-check is not defined.
26397
d94a4670
UD
26398 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26399 * conform/data/limits.h-data: Fixes for POSIX2008.
26400 * conform/run-conformtest.sh: Run all tests.
26401 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26402 headers.
26403 * include/bits/dlfcn.h: Likewise.
26404 * include/langinfo.h: Likewise.
26405 * include/monetary.h: Likewise.
26406 * include/sys/poll.h: Likewise.
26407
26408 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26409 for __USE_GNU.
26410 * posix/spawn.h: Define __need_sigset_t.
26411 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26412 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26413 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26414 to get sigevent_t only.
26415 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26416 only for __USE_GNU.
26417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26418 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26419 process_vm_writev only for __USE_GNU.
26420 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26421
26422 * conform/Makefile: For now ignore errors from run-conformtest.
26423 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26424 POSIX to avoid namespace pollution. Don't prepend headers.
26425 * conform/data/aio.h-data: Fixes for POSIX testing.
26426 * conform/data/fcntl.h-data: Likewise.
26427 * conform/data/glob.h-data: Likewise.
26428 * conform/data/grp.h-data: Likewise.
26429 * conform/data/pthread.h-data: Likewise.
26430 * conform/data/pwd.h-data: Likewise.
26431 * conform/data/signal.h-data: Likewise.
26432 * conform/data/spawn.h-data: Likewise.
26433 * conform/data/stdio.h-data: Likewise.
26434 * conform/data/stdlib.h-data: Likewise.
26435 * conform/data/stropts.h-data: Likewise.
26436 * conform/data/sys/mman.h-data: Likewise.
26437 * conform/data/sys/stat.h-data: Likewise.
26438 * conform/data/sys/types.h-data: Likewise.
26439 * conform/data/sys/wait.h-data: Likewise.
26440 * conform/data/time.h-data: Likewise.
26441 * conform/data/unistd.h-data: Likewise.
26442 * conform/data/utime.h-data: Likewise.
26443
26444 * io/sys/stat.h: fchmod was always in POSIX.
26445 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26446 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26447 * rt/aio.h: Define __need_timespec before including <time.h>.
26448 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26449 struct. Add forward declaration of pthread_attr_t and use it in
26450 sigevent.
26451 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26452 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26453 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26454 always remove CLK_TCK definition.
26455
c20105c3
AS
264562012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26457
26458 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26459
7a270350
UD
264602012-02-25 Ulrich Drepper <drepper@gmail.com>
26461
31341567
UD
26462 * conform/run-conformtest.sh: New file.
26463 * conform/Makefile: Run run-conformtest for tests.
26464 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26465 support.
26466
26467 * conform/data/uchar.h-data: New file.
26468 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26469 * conform/data/arpa/inet.h-data: Likewise.
26470 * conform/data/assert.h-data: Likewise.
26471 * conform/data/complex.h-data: Likewise.
26472 * conform/data/cpio.h-data: Likewise.
26473 * conform/data/ctype.h-data: Likewise.
26474 * conform/data/dirent.h-data: Likewise.
26475 * conform/data/dlfcn.h-data: Likewise.
26476 * conform/data/errno.h-data: Likewise.
26477 * conform/data/fcntl.h-data: Likewise.
26478 * conform/data/float.h-data: Likewise.
26479 * conform/data/fmtmsg.h-data: Likewise.
26480 * conform/data/fnmatch.h-data: Likewise.
26481 * conform/data/ftw.h-data: Likewise.
26482 * conform/data/glob.h-data: Likewise.
26483 * conform/data/grp.h-data: Likewise.
26484 * conform/data/iconv.h-data: Likewise.
26485 * conform/data/inttypes.h-data: Likewise.
26486 * conform/data/langinfo.h-data: Likewise.
26487 * conform/data/libgen.h-data: Likewise.
26488 * conform/data/limits.h-data: Likewise.
26489 * conform/data/locale.h-data: Likewise.
26490 * conform/data/math.h-data: Likewise.
26491 * conform/data/monetary.h-data: Likewise.
26492 * conform/data/mqueue.h-data: Likewise.
26493 * conform/data/ndbm.h-data: Likewise.
26494 * conform/data/net/if.h-data: Likewise.
26495 * conform/data/netdb.h-data: Likewise.
26496 * conform/data/netinet/in.h-data: Likewise.
26497 * conform/data/nl_types.h-data: Likewise.
26498 * conform/data/poll.h-data: Likewise.
26499 * conform/data/pthread.h-data: Likewise.
26500 * conform/data/pwd.h-data: Likewise.
26501 * conform/data/regex.h-data: Likewise.
26502 * conform/data/sched.h-data: Likewise.
26503 * conform/data/search.h-data: Likewise.
26504 * conform/data/semaphore.h-data: Likewise.
26505 * conform/data/setjmp.h-data: Likewise.
26506 * conform/data/signal.h-data: Likewise.
26507 * conform/data/spawn.h-data: Likewise.
26508 * conform/data/stdarg.h-data: Likewise.
26509 * conform/data/stdio.h-data: Likewise.
26510 * conform/data/stdlib.h-data: Likewise.
26511 * conform/data/string.h-data: Likewise.
26512 * conform/data/strings.h-data: Likewise.
26513 * conform/data/stropts.h-data: Likewise.
26514 * conform/data/sys/ipc.h-data: Likewise.
26515 * conform/data/sys/mman.h-data: Likewise.
26516 * conform/data/sys/msg.h-data: Likewise.
26517 * conform/data/sys/resource.h-data: Likewise.
26518 * conform/data/sys/select.h-data: Likewise.
26519 * conform/data/sys/sem.h-data: Likewise.
26520 * conform/data/sys/shm.h-data: Likewise.
26521 * conform/data/sys/socket.h-data: Likewise.
26522 * conform/data/sys/stat.h-data: Likewise.
26523 * conform/data/sys/statvfs.h-data: Likewise.
26524 * conform/data/sys/time.h-data: Likewise.
26525 * conform/data/sys/timeb.h-data: Likewise.
26526 * conform/data/sys/times.h-data: Likewise.
26527 * conform/data/sys/types.h-data: Likewise.
26528 * conform/data/sys/uio.h-data: Likewise.
26529 * conform/data/sys/un.h-data: Likewise.
26530 * conform/data/sys/utsname.h-data: Likewise.
26531 * conform/data/sys/wait.h-data: Likewise.
26532 * conform/data/syslog.h-data: Likewise.
26533 * conform/data/tar.h-data: Likewise.
26534 * conform/data/termios.h-data: Likewise.
26535 * conform/data/utime.h-data: Likewise.
26536 * conform/data/utmpx.h-data: Likewise.
26537 * conform/data/varargs.h-data: Likewise.
26538 * conform/data/wchar.h-data: Likewise.
26539 * conform/data/wctype.h-data: Likewise.
26540 * conform/data/wordexp.h-data: Likewise.
26541
26542 * include/stropts.h: New file.
26543 * include/uchar.h: New file.
26544 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26545 * include/assert.h: Likewise.
26546 * include/ctype.h: Likewise.
26547 * include/dirent.h: Likewise.
26548 * include/dlfcn.h: Likewise.
26549 * include/fcntl.h: Likewise.
26550 * include/fnmatch.h: Likewise.
26551 * include/glob.h: Likewise.
26552 * include/grp.h: Likewise.
26553 * include/libio.h: Likewise.
26554 * include/locale.h: Likewise.
26555 * include/math.h: Likewise.
26556 * include/net/if.h: Likewise.
26557 * include/netdb.h: Likewise.
26558 * include/netinet/in.h: Likewise.
26559 * include/pthread.h: Likewise.
26560 * include/pwd.h: Likewise.
26561 * include/regex.h: Likewise.
26562 * include/sched.h: Likewise.
26563 * include/search.h: Likewise.
26564 * include/setjmp.h: Likewise.
26565 * include/signal.h: Likewise.
26566 * include/stdio.h: Likewise.
26567 * include/stdlib.h: Likewise.
26568 * include/string.h: Likewise.
26569 * include/sys/cdefs.h: Likewise.
26570 * include/sys/mman.h: Likewise.
26571 * include/sys/msg.h: Likewise.
26572 * include/sys/resource.h: Likewise.
26573 * include/sys/select.h: Likewise.
26574 * include/sys/socket.h: Likewise.
26575 * include/sys/stat.h: Likewise.
26576 * include/sys/statvfs.h: Likewise.
26577 * include/sys/time.h: Likewise.
26578 * include/sys/times.h: Likewise.
26579 * include/sys/uio.h: Likewise.
26580 * include/sys/utsname.h: Likewise.
26581 * include/sys/wait.h: Likewise.
26582 * include/termios.h: Likewise.
26583 * include/time.h: Likewise.
26584 * include/ulimit.h: Likewise.
26585 * include/unistd.h: Likewise.
26586 * include/utime.h: Likewise.
26587 * include/wchar.h: Likewise.
26588 * include/wctype.h: Likewise.
26589 * include/wordexp.h: Likewise.
26590
26591 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26592
7a270350
UD
26593 * time/time.h: TIME_UTC must be a macro.
26594 Make timespec_get available for ISO C11 only as well.
26595
7724defc
UD
265962012-02-24 Ulrich Drepper <drepper@gmail.com>
26597
26598 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26599 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26600
6b1d1d46
JM
266012012-02-24 Joseph Myers <joseph@codesourcery.com>
26602
26603 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26604
0f8bbd69
JM
266052012-02-24 Joseph Myers <joseph@codesourcery.com>
26606
26607 * manual/texinfo.tex: Update to version 2012-01-19.16.
26608
66ab80bc
JM
266092012-02-24 Joseph Myers <joseph@codesourcery.com>
26610
26611 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26612
74981cc5
RM
266132012-02-24 Roland McGrath <roland@hack.frob.com>
26614
ee968201
RM
26615 [BZ #13738]
26616 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26617 * manual/fdl-1.3.texi: New file.
26618 * manual/fdl-1.1.texi: File removed.
26619
74981cc5
RM
26620 [BZ #13738]
26621 * manual/libc.texinfo (FDL_VERSION): New @set.
26622 Use it for mention of FDL in cover text.
26623 (Documentation License): Use it in @include file name.
26624
7bb764bc
JM
266252012-02-22 Joseph Myers <joseph@codesourcery.com>
26626 Roland McGrath <roland@hack.frob.com>
26627
26628 [BZ #5461]
26629 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26630 not LONG_LONG_MAX and LONG_LONG_MIN.
26631 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26632 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26633 name.
26634 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26635
6cbeae47
JM
266362012-02-22 Joseph Myers <joseph@codesourcery.com>
26637
26638 [BZ #2547]
26639 [BZ #11365]
26640 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26641 manipulate bits before adding and subtracting TWO23[sx].
26642 * math/libm-test.inc (nearbyint_test): Add more tests.
26643
fe45ce09
JM
266442012-02-22 Joseph Myers <joseph@codesourcery.com>
26645
26646 [BZ #2548]
26647 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26648 bits before adding and subtracting TWO23[sx].
26649 * math/libm-test.inc (rint_test): Add more tests.
26650 (rint_test_tonearest): Likewise.
26651 (rint_test_towardzero): Likewise.
26652 (rint_test_downward): Likewise.
26653 (rint_test_upward: Likewise.
26654
ff3b3d82
JM
266552012-02-22 Joseph Myers <joseph@codesourcery.com>
26656
26657 [BZ #10110]
26658 * include/stdc-predef.h: New file. Extracted from features.h.
26659 * include/features.h: Include stdc-predef.h.
26660 * Makefile (headers): Add stdc-predef.h.
26661 * CONFORMANCE (Compiler limitations): Update.
26662
ef0aab35
JM
266632012-02-22 Joseph Myers <joseph@codesourcery.com>
26664
26665 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26666
58639409
DM
266672012-02-21 David S. Miller <davem@davemloft.net>
26668
26669 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26670 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26671
c0e70b25
DM
266722012-02-20 David S. Miller <davem@davemloft.net>
26673
26674 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26675 using a normal save/restore sequence, rather than allocating a
26676 dummy stack frame just to store a frame pointer and restore.
26677 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26678
fb06851d
JM
266792012-02-21 Joseph Myers <joseph@codesourcery.com>
26680
26681 * manual/install.texi: Fix stray word in line-wrapped comment.
26682
7a8b71c3
DM
266832012-02-20 David S. Miller <davem@davemloft.net>
26684
d510c123
DM
26685 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26686 both binutils and gcc support GOTDATA.
26687
0722d7c2
DM
26688 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26689 "rd %pc" in the PIC register setup sequences.
26690
3d2b3019
DM
26691 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26692 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26693 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26694 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26695 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26696 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26697 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26698 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26700 (SYSCALL_ERROR_HANDLER): Likewise.
26701 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26702 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26704 (SYSCALL_ERROR_HANDLER): Likewise.
26705
c80098a9
DM
26706 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26707 (HAVE_GCC_GOTDATA): New.
26708 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26709 relocation support in both binutils and gcc.
26710 * sysdeps/sparc/elf/configure: Regenerate.
26711
3a2545a0
DM
26712 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26713 * sysdeps/sparc/sparc32/elf/configure: Delete.
26714 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26715 * sysdeps/sparc/sparc64/elf/configure: Delete.
26716 * sysdeps/sparc/elf/configure.in: New file.
26717 * sysdeps/sparc/elf/configure: Generate.
26718
7a8b71c3
DM
26719 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26720 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26721 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26722 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26723 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26724
f1e86fca
JM
267252012-02-21 Joseph Myers <joseph@codesourcery.com>
26726
26727 * manual/install.texi: Do not mention specific glibc version
26728 numbers.
26729 * manual/libc.texinfo (VERSION, UPDATED): Update.
26730 (@copying): Use @copyright{} and range of years.
26731
0e7dfaef
JM
267322012-02-21 Joseph Myers <joseph@codesourcery.com>
26733
26734 [BZ #13695]
26735 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26736 [crti.S not in sysdirs] (generated): Do not append.
26737 [crti.S not in sysdirs] (omit-deps): Likewise.
26738 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26739 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26740 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26741 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26742 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26743 Likewise.
26744 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26745 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26746 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26747 * csu/defs.awk: Remove file.
26748 * sysdeps/generic/initfini.c: Likewise.
26749 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26750 variable.
26751 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26752 Likewise.
26753
599af3ca
JM
267542012-02-20 Joseph Myers <joseph@codesourcery.com>
26755
26756 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26757 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26758 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26759 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26760 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26761 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26762 <bits/epoll.h>.
26763 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26764 (__EPOLL_PACKED): Define to empty if not defined by
26765 <bits/epoll.h>.
26766 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26767 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26768 bits/epoll.h.
26769
0e499750
JM
267702012-02-20 Joseph Myers <joseph@codesourcery.com>
26771
26772 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26773 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26774 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26775 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26776 <bits/timerfd.h>.
26777 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26778 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26779 bits/timerfd.h.
26780
5ad91f6e
JM
267812012-02-20 Joseph Myers <joseph@codesourcery.com>
26782
26783 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26784 in C locale.
26785 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26786 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26787 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26789
06b99b02
AJ
267902012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26791
26792 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26793 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26794
7638c0fd
AS
267952012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26796
26797 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26798 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26799 defined.
26800 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26801 Likewise.
26802 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26803 entry for 2.16.
26804
92221550
AJ
268052012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26806
26807 * math/w_acos.c: Use non-signaling floating-point comparisons.
26808 * math/w_acosf.c: Likewise.
26809 * math/w_acosh.c: Likewise.
26810 * math/w_acoshf.c: Likewise.
26811 * math/w_acoshl.c: Likewise.
26812 * math/w_acosl.c: Likewise.
26813 * math/w_asin.c: Likewise.
26814 * math/w_asinf.c: Likewise.
26815 * math/w_asinl.c: Likewise.
26816 * math/w_atanh.c: Likewise.
26817 * math/w_atanhf.c: Likewise.
26818 * math/w_atanhl.c: Likewise.
26819 * math/w_exp2.c: Likewise.
26820 * math/w_exp2f.c: Likewise.
26821 * math/w_exp2l.c: Likewise.
26822 * math/w_j0.c: Likewise.
26823 * math/w_j0f.c: Likewise.
26824 * math/w_j0l.c: Likewise.
26825 * math/w_j1.c: Likewise.
26826 * math/w_j1f.c: Likewise.
26827 * math/w_j1l.c: Likewise.
26828 * math/w_jn.c: Likewise.
26829 * math/w_jnf.c: Likewise.
26830 * math/w_log.c: Likewise.
26831 * math/w_log10.c: Likewise.
26832 * math/w_log10f.c: Likewise.
26833 * math/w_log10l.c: Likewise.
26834 * math/w_log2.c: Likewise.
26835 * math/w_log2f.c: Likewise.
26836 * math/w_log2l.c: Likewise.
26837 * math/w_logf.c: Likewise.
26838 * math/w_logl.c: Likewise.
26839 * math/w_sqrt.c: Likewise.
26840 * math/w_sqrtf.c: Likewise.
26841 * math/w_sqrtl.c: Likewise.
26842 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26843 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26844 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26845 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26847
ebaf36eb
JM
268482012-02-19 Joseph Myers <joseph@codesourcery.com>
26849
26850 [BZ #9739]
26851 * manual/string.texi (strnlen): Use correct parameter name in
26852 equivalent expression.
26853
71c254a6
JM
268542012-02-19 Joseph Myers <joseph@codesourcery.com>
26855
26856 [BZ #11174]
26857 * manual/users.texi (seteuid): Consistently use neweuid for
26858 argument name.
26859
16d2c631
JM
268602012-02-19 Joseph Myers <joseph@codesourcery.com>
26861
26862 [BZ #13704]
26863 * manual/nss.texi (Services in the NSS configuration): Correct
26864 list of services in example configuration file.
26865
cd837b09
NB
268662012-02-19 Nick Bowler <nbowler@draconx.ca>
26867
26868 [BZ #11322]
26869 * manual/arith.texi: Remove statements about negative zero
26870 behaving identically to zero.
26871
02c4bbad
JM
268722012-02-18 Joseph Myers <joseph@codesourcery.com>
26873
26874 [BZ #5993]
26875 * manual/install.texi: Do not document upgrading from libc5.
26876
366842e7
JM
268772012-02-18 Joseph Myers <joseph@codesourcery.com>
26878
26879 [BZ #4596]
26880 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26881
dd54084d
DM
268822012-02-18 David S. Miller <davem@davemloft.net>
26883
26884 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26885 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26886 %o7 across the call.
26887 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26888 instead.
26889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26890 SETUP_PIC_REG_LEAF.
26891 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26892 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26893 * sysdeps/sparc/crtn.S: Likewise.
26894
2bcc53a3
UD
268952012-02-17 Ulrich Drepper <drepper@gmail.com>
26896
26897 * aout/Makefile: Remove.
26898
09c093b5
RK
268992012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26900
26901 [BZ #13058]
26902 * manual/examples/argp-ex1.c (main): Format definition in GNU
26903 style.
26904 * manual/examples/argp-ex2.c (main): Likewise.
26905 * manual/examples/argp-ex3.c (main): Likewise.
26906 * manual/examples/argp-ex4.c (main): Likewise.
26907 * manual/examples/longopt.c (main): Use new-style prototype
26908 definition.
26909 * manual/examples/strncat.c (main): Specify return type and use
26910 (void) for arguments.
26911 * manual/examples/subopt.c (main): Use char **argv argument.
26912
2ee633a2
JM
269132012-02-17 Joseph Myers <joseph@codesourcery.com>
26914
26915 [BZ #5077]
26916 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26917 rounding modes.
26918
0520adde
FB
269192012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26920
26921 [BZ #6907]
26922 * manual/string.texi (strchr): Change when strchrnul is
26923 recommended.
26924
3f4081cd
DGM
269252012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26926
26927 [BZ #174]
26928 * manual/locale.texi (setlocale): Document LOCPATH.
26929
d1b10e78
JM
269302012-02-17 Joseph Myers <joseph@codesourcery.com>
26931
26932 [BZ #10210]
26933 * manual/process.texi (execle): Move @dots{} before last argument.
26934
79c6869c
PB
269352012-02-17 Paul Bolle <pebolle@tiscali.nl>
26936
26937 [BZ #12047]
26938 * manual/charset.texi (Generic Charset Conversion): Fix typo
26939 (LC_TYPE -> LC_CTYPE).
26940
cc6e48bc
NB
269412012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26942
26943 [BZ #5805]
26944 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26945 (scalbnf): Likewise.
26946 (scalbnl): Likewise.
26947 (scalbln): Likewise.
26948 (scalblnf): Likewise.
26949 (scalblnl): Likewise.
26950 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26951 (vwarnx): Likewise.
26952 (verr): Likewise.
26953 (verrx): Likewise.
26954 * manual/filesys.texi (telldir): Use braces around return type.
26955 * manual/llio.texi (mmap): Add space after comma.
26956 (mmap64): Likewise.
26957 * manual/math.texi (jn): Use @var{} on parameter names.
26958 (jnf): Likewise.
26959 (jnl): Likewise.
26960 (yn): Likewise.
26961 (ynf): Likewise.
26962 (ynl): Likewise.
26963 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26964 line.
26965 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26966 "...".
26967 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26968 (sched_get_priority_max): Likewise.
26969 * manual/signal.texi (sigvec): Add space after comma.
26970 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26971 names.
26972 (if_indextoname): Likewise.
26973 (if_freenameindex): Likewise.
26974 (sendto): Use ',' instead of '.' in prototype.
26975 * manual/startup.texi (syscall): Use @dots{} instead of literal
26976 "...".
26977 * manual/stdio.texi (__fpending): Separate initial words of
26978 paragraph from @deftypefun line.
26979 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26980 "...".
26981 (vsyslog): Use @var{} on parameter names.
26982 * manual/terminal.texi (stty): Use @var{} on parameter names.
26983 * manual/users.texi (getutmp): Use @var{} on parameter names.
26984 (getutmpx): Likewise.
26985
5b23062f
JM
269862012-02-17 Joseph Myers <joseph@codesourcery.com>
26987
26988 [BZ #6884]
26989 * manual/stdio.texi (fopen): Fix typos in description of
26990 ",ccs=STRING".
26991
8dee4833
AJ
269922012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26993
26994 [BZ #4026]
26995 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26996 get clock_id definition.
26997
9078ce93
TS
269982012-02-17 Thomas Schwinge <thomas@schwinge.name>
26999
27000 [BZ #4822]
27001 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27002 (madvise): Cast every argument to void on its own.
27003
3835c55f
JM
270042012-02-17 Joseph Myers <joseph@codesourcery.com>
27005
27006 [BZ #9902]
27007 * manual/startup.texi (Exit Status): Fix typo.
27008
35c47e37
JM
270092012-02-17 Joseph Myers <joseph@codesourcery.com>
27010
27011 [BZ #10140]
27012 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27013 * manual/examples/argp-ex2.c: Likewise.
27014 * manual/examples/argp-ex3.c: Likewise.
27015
e3b69ca7
RH
270162012-02-16 Richard Henderson <rth@redhat.com>
27017
27018 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27019 * sysdeps/s390/s390-32/initfini.c: Remove.
27020 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27021 * sysdeps/s390/s390-64/initfini.c: Remove.
27022
df83af67
KK
270232012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27024
27025 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27026 compiler output for sysdeps/generic/initfini.c.
27027 * sysdeps/sh/elf/initfini.c: Remove file.
27028
f63f3380
DM
270292012-02-16 David S. Miller <davem@davemloft.net>
27030
fb59b3a4
DM
27031 [BZ #11494]
27032 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27033
f63f3380
DM
27034 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27035 * sysdeps/sparc/crti.S: New file.
27036 * sysdeps/sparc/crtn.S: New file.
27037 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27038 * sysdeps/sparc/sparc64/Makefile: Likewise.
27039
df6a4a4a
MF
270402012-02-15 Mike Frysinger <vapier@gentoo.org>
27041
6dd8f3dc 27042 [BZ #3335]
df6a4a4a
MF
27043 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27044
1cac7236
RM
270452012-02-15 Roland McGrath <roland@hack.frob.com>
27046
d2c736f8
RM
27047 [BZ #4822]
27048 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27049
1cac7236
RM
27050 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27051 (write, read, close): Likewise.
27052 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27053
8e475601
JM
270542012-02-15 Joseph Myers <joseph@codesourcery.com>
27055
27056 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27057 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27058 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27059 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27060 <bits/signalfd.h>.
27061 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27063 bits/signalfd.h.
27064
ed656b40
MP
270652012-02-14 Marek Polacek <polacek@redhat.com>
27066
27067 * sysdeps/x86_64/crti.S: New file.
27068 * sysdeps/x86_64/crtn.S: New file.
27069 * sysdeps/x86_64/elf/initfini.c: Remove file.
27070
2a979d3a
JM
270712012-02-13 Joseph Myers <joseph@codesourcery.com>
27072
27073 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27074 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27075 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27076 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27077 <bits/inotify.h>.
27078 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27079 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27080 bits/inotify.h.
27081
2a418ac3
JM
270822012-02-13 Joseph Myers <joseph@codesourcery.com>
27083
27084 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27085 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27086 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27087 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27088 <bits/eventfd.h>.
27089 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27090 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27091 bits/eventfd.h.
27092
fb779be7
TS
270932012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27094
e19e83c5
RM
27095 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27096 __feraiseexcept instead of feraiseexcept.
7c35ffed 27097
fb779be7
TS
27098 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27099 nanosleep invocations.
27100 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27101 strings, and add error checking for a nanosleep invocations.
27102
59ba27a6
PE
271032012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27104
27105 Replace FSF snail mail address with URLs, as per GNU coding standards.
27106 Most of the snail mail addresses were wrong anyway, and omitting
27107 them makes the source code easier to maintain. Almost all of the
27108 changes are to license notices and to locale LC_IDENTIFICATION
27109 addresses, except for this one:
27110 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27111 not its snail mail address.
27112
57b957eb
RH
271132012-02-09 Richard Henderson <rth@twiddle.net>
27114
af850b1c
RH
27115 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27116 of kernel-features.h.
27117
57b957eb
RH
27118 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27119
6b73181a
MP
271202012-02-08 Marek Polacek <polacek@redhat.com>
27121
27122 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27123 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27124 * sysdeps/gnu/_G_config.h: Likewise.
27125 * sysdeps/generic/_G_config.h: Likewise.
27126
26ecc33a
AS
271272012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27128
6c6dbc63
AS
27129 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27130 tests.
27131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27132
e216c012
AS
27133 * sysdeps/powerpc/powerpc32/crti.S: New file.
27134 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27135 * sysdeps/powerpc/powerpc64/crti.S: New file.
27136 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27137
26ecc33a
AS
27138 * Makeconfig (have-initfini): Don't set.
27139 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27140 * configure.in (nopic_initfini): Don't substitute.
27141 * config.h.in (HAVE_INITFINI): Don't #undef.
27142 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27143 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27144
3add8e13
JM
271452012-02-08 Joseph Myers <joseph@codesourcery.com>
27146
27147 Support crti.S and crtn.S provided directly by architectures.
27148 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27149 [crti.S in sysdirs] (omit-deps): Likewise.
27150 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27151 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27152 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27153 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27154 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27155 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27156 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27157 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27158 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27159 compiler output for sysdeps/generic/initfini.c.
27160 * sysdeps/i386/elf/Makefile: Remove file.
27161 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27162
a22f12b4
MP
271632012-02-07 Marek Polacek <polacek@redhat.com>
27164
27165 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27166 * sysdeps/gnu/_G_config.h: Likewise.
27167 * sysdeps/mach/hurd/_G_config.h: Likewise.
27168
148cf100
MP
271692012-02-07 Marek Polacek <polacek@redhat.com>
27170
27171 * math/Makefile (tests): Add tst-CMPLX2.
27172 * math/tst-CMPLX2.c: New file.
27173
cfdc0dd7
AS
271742012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27175
84ba42c4
AS
27176 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27177
cfdc0dd7
AS
27178 * math/libm-test.inc (jn_test): Add missing L suffix.
27179
622c86f4
MP
271802012-02-06 Marek Polacek <polacek@redhat.com>
27181
27182 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27183 * sysdeps/i386/fpu/e_powf.S: Likewise.
27184 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27185 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27186 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27187 * sysdeps/i386/fpu/e_pow.S: Likewise.
27188 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27189 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27190 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27191 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27192 * sysdeps/i386/fpu/e_log2.S: Likewise.
27193 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27194 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27195 * sysdeps/i386/fpu/e_powl.S: Likewise.
27196 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27197 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27198 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27199 * sysdeps/i386/fpu/e_logl.S: Likewise.
27200 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27201 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27202 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27203 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27204 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27205 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27206 * sysdeps/i386/fpu/e_log.S: Likewise.
27207 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27208 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27209 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27210 * sysdeps/i386/fpu/e_logf.S: Likewise.
27211 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27212 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27213 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27214 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27215 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27216 * sysdeps/i386/fpu/e_log10.S: Likewise.
27217 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27218 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27219 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27220 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27221 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27222 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27223 * sysdeps/i386/asm-syntax.h: Likewise.
27224 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27225 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27226 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27227 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27228 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27229 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27230 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27231 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27232 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27233 * sysdeps/powerpc/sysdep.h: Likewise.
27234 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27235 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27236
d4a54ac6
JM
272372012-02-06 Joseph Myers <joseph@codesourcery.com>
27238
27239 [BZ #411]
27240 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27241
314054ea
JM
272422012-02-06 Joseph Myers <joseph@codesourcery.com>
27243
27244 * sysdeps/i386/sysdep.h: Include <features.h>.
27245 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27246 version.
27247
d8e0ca50
JM
272482012-02-05 Joseph Myers <joseph@codesourcery.com>
27249
27250 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27251 Define.
27252 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27253 LOAD_PIC_REG_STR.
27254
b1da7dd9
JM
272552012-02-03 Joseph Myers <joseph@codesourcery.com>
27256
27257 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27258 (SETUP_PIC_REG): Use GET_PC_THUNK.
27259 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27260 macro.
27261
9a1d9254
JM
272622012-02-03 Joseph Myers <joseph@codesourcery.com>
27263
27264 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27265 for non-PIC compilation.
27266 (SETUP_PIC_REG): Add .p2align directive.
27267 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27268 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27269 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27270 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27271 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27272 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27273 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27274 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27275 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27276 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27277 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27278 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27279 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27280 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27281 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27282 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27283 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27284 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27285 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27286 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27287 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27288 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27289 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27290 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27291 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27292 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27293 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27294 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27295 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27296 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27297 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27298 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27299 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27300 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27301 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27302 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27303 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27304 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27305 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27306 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27307 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27308
65dc3b75
JM
273092012-02-03 Joseph Myers <joseph@codesourcery.com>
27310
27311 * math/tst-CMPLX.c: Include <stdio.h>.
27312
d55bf177
JM
273132012-01-31 Joseph Myers <joseph@codesourcery.com>
27314
27315 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27316 float.
27317 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27318 * sysdeps/sparc/bits/mathdef.h: Likewise.
27319
69db4f8f
MP
273202012-01-31 Marek Polacek <polacek@redhat.com>
27321
27322 * libio/libio.h: Don't define _PARAMS.
27323 * locale/programs/config.h: Don't define PARAMS.
27324 * stdlib/strtol_l.c: Likewise.
27325 (__strtol_l): Remove PARAMS from the prototype.
27326
41b81892
UD
273272012-01-31 Ulrich Drepper <drepper@gmail.com>
27328
3b49edc0
UD
27329 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27330 names. Just use the correct names. Remove unnecessary wrapper
27331 functions.
27332 * malloc/arena.c: Likewise.
27333 * malloc/hooks.c: Likewise.
27334
41b81892
UD
27335 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27336 ARENA_TEST says not to. Simplify test for creation of a new arena.
27337 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27338
27a25b6e
UD
273392012-01-30 Ulrich Drepper <drepper@gmail.com>
27340
27341 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27342 into tail calls.
27343 (update_get_addr): New function.
27344 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27345 GET_ADDR_MODULE parameter.
27346
c8a89e7d
JM
273472012-01-30 Joseph Myers <joseph@codesourcery.com>
27348
27349 * crypt/cert.c: Remove __STDC__ conditionals.
27350 * crypt/crypt-entry.c: Likewise.
27351 * crypt/crypt_util.c: Likewise.
27352 * libio/filedoalloc.c: Likewise.
27353 * libio/fileops.c: Likewise.
27354 * libio/genops.c: Likewise.
27355 * libio/iofclose.c: Likewise.
27356 * libio/iofdopen.c: Likewise.
27357 * libio/iofopen.c: Likewise.
27358 * libio/iofopen64.c: Likewise.
27359 * libio/iogetdelim.c: Likewise.
27360 * libio/iopopen.c: Likewise.
27361 * libio/obprintf.c: Likewise.
27362 * libio/oldfileops.c: Likewise.
27363 * libio/oldiofclose.c: Likewise.
27364 * libio/oldiofdopen.c: Likewise.
27365 * libio/oldiofopen.c: Likewise.
27366 * libio/oldiopopen.c: Likewise.
27367 * libio/wfiledoalloc.c: Likewise.
27368 * libio/wgenops.c: Likewise.
27369 * locale/programs/xmalloc.c: Likewise.
27370 * misc/syslog.c: Likewise.
27371 * stdio-common/xbug.c: Likewise.
27372 * string/memchr.c: Likewise.
27373 * string/memcmp.c: Likewise.
27374 * string/memrchr.c: Likewise.
27375 * string/rawmemchr.c: Likewise.
27376 * sysdeps/posix/getcwd.c: Likewise.
27377 * time/strftime_l.c: Likewise.
27378
3b100462
JM
273792012-01-30 Joseph Myers <joseph@codesourcery.com>
27380
27381 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27382 * config.make.in (config-cflags-sse2avx): Define.
27383 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27384 Fix typo.
27385
607998af
CM
273862012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27387
27388 * scripts/config.guess: Update from upstream config git repository.
27389 * scripts/config.sub: Likewise.
27390
3601428f
CM
273912012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27392
3ac8b282
CM
27393 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27394 (EM_NUM): Update.
27395 (R_TILEPRO_*, R_TILEGX_*): New macros.
27396
e034841e
CM
27397 * scripts/firstversions.awk: Fix bug in version range handling.
27398
540d7568
CM
27399 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27400
3601428f
CM
27401 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27402
463de862
CM
27403 * include/sys/epoll.h: New file.
27404 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27405 libc_hidden_def.
27406
73139a76
UD
274072012-01-28 Ulrich Drepper <drepper@gmail.com>
27408
96bc5b45
UD
27409 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27410 Avoid unnecessary __WORDSIZE == 64 test.
27411 (fmaxf): Use VEX format if possible.
27412 (fmax): Likewise.
27413 (fminf): Likewise.
27414 (fmin): Likewise.
27415
56f6f6a2
UD
27416 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27417 * math/math_private.h: Remove libc_fegetround* and
27418 libc_fesetround*.
27419 * sysdeps/i386/configure.in: Check for -msse2avx.
27420 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27421 also if SSE2AVX is defined.
27422 Remove libc_fegetround* and libc_fesetround*.
27423 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27424 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27425 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27426 of HAS_YMM_USABLE.
27427 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27428 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27430 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27431 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27432
73139a76
UD
27433 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27434
d73f93a4
AZ
274352012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27436
27437 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27438 size is not set.
27439 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27440
6ee65ed6
UD
274412012-01-27 Ulrich Drepper <drepper@gmail.com>
27442
27443 [BZ #13618]
27444 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27445 relocation.
27446 * Makeconfig (libm): Define.
27447 * elf/Makefile: Add rules to build and run tst-relsort1.
27448 * elf/tst-relsort1.c: New file.
27449 * elf/tst-relsort1mod1.c: New file.
27450 * elf/tst-relsort1mod2.c: New file.
27451
8db21882
JM
274522012-01-27 Joseph Myers <joseph@codesourcery.com>
27453
27454 * math/s_ldexp.c: Remove __STDC__ conditionals.
27455 * math/s_ldexpf.c: Likewise.
27456 * math/s_ldexpl.c: Likewise.
27457 * math/s_nextafter.c: Likewise.
27458 * math/s_nexttowardf.c: Likewise.
27459 * math/s_significand.c: Likewise.
27460 * math/s_significandf.c: Likewise.
27461 * math/s_significandl.c: Likewise.
27462 * math/w_jnl.c: Likewise.
27463 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27464 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27465 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27466 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27467 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27468 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27469 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27470 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27471 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27472 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27473 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27474 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27475 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27476 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27477 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27478 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27479 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27480 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27481 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27482 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27483 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27484 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27485 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27486 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27487 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27488 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27489 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27490 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27491 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27492 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27493 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27494 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27495 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27496 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27497 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27498 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27499 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27500 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27501 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27503 * sysdeps/ieee754/k_standard.c: Likewise.
27504 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27505 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27506 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27507 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27508 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27509 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27510 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27511 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27512 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27513 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27514 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27515 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27516 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27517 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27518 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27520 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27521 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27522 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27565 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27570 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27571 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27572 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27578 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27579 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27583 * sysdeps/ieee754/s_matherr.c: Likewise.
27584 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27585 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27586 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27587 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27588
965a54a4
JM
275892012-01-26 Joseph Myers <joseph@codesourcery.com>
27590
27591 * crypt/md5.h: Remove __STDC__ conditionals.
27592 * libio/libioP.h: Likewise.
27593 * locale/programs/config.h: Likewise.
27594 * sysdeps/generic/sysdep.h: Likewise.
27595 * sysdeps/i386/asm-syntax.h: Likewise.
27596 * sysdeps/s390/asm-syntax.h: Likewise.
27597 * sysdeps/unix/sysdep.h: Likewise.
27598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27600
7071ad79
JM
276012012-01-26 Joseph Myers <joseph@codesourcery.com>
27602
27603 * libio/libio.h: Remove __STDC__ conditionals.
27604 * malloc/obstack.h: Likewise.
27605 * math/complex.h: Likewise.
27606 * math/math.h: Likewise.
27607 * sysdeps/generic/_G_config.h: Likewise.
27608 * sysdeps/gnu/_G_config.h: Likewise.
27609 * sysdeps/mach/hurd/_G_config.h: Likewise.
27610 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27611 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27612 * sysdeps/sparc/bits/mathdef.h: Likewise.
27613
afc5ed09
UD
276142012-01-26 Ulrich Drepper <drepper@gmail.com>
27615
27616 [BZ #13583]
27617 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27618 Clean up HAS_* macros.
afc5ed09 27619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27620 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27621 possible.
27622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27623 HAS_AVX.
27624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27629
bdb6de1d
JM
276302012-01-25 Joseph Myers <joseph@codesourcery.com>
27631
27632 * elf/tst-unique3.cc (gets): Remove declaration.
27633 * elf/tst-unique3lib.cc (gets): Likewise.
27634 * elf/tst-unique3lib2.cc (gets): Likewise.
27635 * elf/tst-unique4.cc (gets): Likewise.
27636
b15549e6
UD
276372012-01-24 Ulrich Drepper <drepper@gmail.com>
27638
27639 * include/stdio.h: Add C++ protection. Add gets declarations and
27640 definitions.
27641 * debug/tst-chk1.c: Don't declare gets here.
27642 * stdio-common/tst-gets.c: Likewise.
27643
a037381f
JM
276442012-01-24 Joseph Myers <joseph@codesourcery.com>
27645
27646 * posix/glob: Remove directory.
27647
f1d4aa75
JM
276482012-01-24 Joseph Myers <joseph@codesourcery.com>
27649
27650 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27651
81c0c964
PT
276522012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27653
27654 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27655 of the non-standard EPFNOSUPPORT.
27656
0ea698ae
ST
276572011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27658
27659 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27660 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27661 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27662
d220b117
UD
276632012-01-21 Ulrich Drepper <drepper@gmail.com>
27664
27665 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27666
3e1aa84e
UD
276672012-01-20 Ulrich Drepper <drepper@gmail.com>
27668
27669 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27670 transient errors.
27671 * nscd/grpcache.c (cache_addgr): Likewise.
27672 * nscd/hstcache.c (cache_addhst): Likewise.
27673 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27674 * nscd/pwdcache.c (cache_addpw): Likewise.
27675 * nscd/servicescache.c (cache_addserv): Likewise.
27676
400aa020
UD
276772012-01-16 Ulrich Drepper <drepper@gmail.com>
27678
d77e7869
UD
27679 * malloc/malloc.c: Various cleanups.
27680 * malloc/hooks.c: Likewise.
27681
400aa020
UD
27682 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27683 * stdlib/bug-fmtmsg1.c: New file.
27684
27685 * stdlib/fmtmsg.c (init): Add missing unlock.
27686 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27687
e0a309cf
MP
276882012-01-12 Marek Polacek <polacek@redhat.com>
27689
27690 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27691 and _GNU_SOURCE.
27692
929d11c7
WS
276932012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27694
27695 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27696 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27697 macro to ensure uniqueness of label name.
27698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27700
41d0e869
UD
277012012-01-11 Ulrich Drepper <drepper@gmail.com>
27702
0cc5ed3b
UD
27703 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27704
41d0e869
UD
27705 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27706 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27707 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27708 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27709
a47a831a
UD
277102012-01-10 Ulrich Drepper <drepper@gmail.com>
27711
daa891c0
UD
27712 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27713
27714 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27715 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27716 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27717
e58ef0f2
UD
27718 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27719
a47a831a 27720 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27721 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27722 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27723 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27724
27725 * math/bits/math-finite.h: Add ldexp support.
27726
a0bfc9c7
MP
277272012-01-10 Marek Polacek <polacek@redhat.com>
27728
27729 * locale/programs/localedef.h (show_archive_content): Add noreturn
27730 attribute.
27731
d6e97a1d
UD
277322012-01-09 Ulrich Drepper <drepper@gmail.com>
27733
27734 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27735
d5835c26
UD
277362012-01-08 Ulrich Drepper <drepper@gmail.com>
27737
e5f484c6
UD
27738 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27739
d5835c26
UD
27740 * io/Makefile (headers): Add bits/poll2.h.
27741
d1f741e9
WS
277422011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27743
27744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27745 typo #include statement.
27746
ec09c1c4
UD
277472012-01-08 Ulrich Drepper <drepper@gmail.com>
27748
27749 * include/sys/cdefs.h: Define __attribute_alloc_size.
27750 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27751 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27752 * elf/pldd.c: Likewise.
27753 * iconv/iconv_charmap.c: Likewise.
27754 * iconv/iconvconfig.c: Likewise.
27755 * iconv/strtab.c: Likewise.
27756 * locale/programs/locale.c: Likewise.
27757 * locale/programs/localedef.h: Likewise.
27758 * locale/programs/simple-hash.c: Likewise.
27759 * nscd/nscd.h: Likewise.
27760 * nss/makedb.c: Likewise.
27761 * sysdeps/generic/ldconfig.h: Likewise.
27762 * locale/programs/localedef.c: Remove xmalloc prototype.
27763 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27764
20b38e03
PP
277652012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27766
27767 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27768 appropriate.
27769
a0da5fe1
UD
277702012-01-08 Ulrich Drepper <drepper@gmail.com>
27771
1d5a644a 27772 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27773 * math/tst-CMPLX.c: New file.
1d5a644a 27774
8784a6db
UD
27775 * math/complex.h (CMPLXL): Fix typo.
27776
d9a216c0
UD
27777 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27778 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27779 GLIBC_2.16.
27780 * debug/tst-chk1.c: Add poll and ppoll tests.
27781 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27782 * include/sys/poll.h: Add hidden proto for ppoll.
27783 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27784 * sysdeps/mach/hurd/ppoll.c: Likewise.
27785 * io/ppoll.c: Likewise.
27786 * debug/poll_chk.c: New file.
27787 * debug/ppoll_chk.c: New file.
27788 * include/bits/poll2.h: New file.
27789 * io/bits/poll2.h: New file.
27790
ac097f5c
UD
27791 [BZ #1350]
27792 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27793
2119dcfa
UD
27794 * configure.in: static is always set to yes. Remove.
27795 * config.make.in: Don't set build-static.
27796 * Makeconfig: Remove use of build-static.
27797 * dlfcn/Makefile: Likewise.
27798 * elf/Makefile: Likewise.
27799 * math/Makefile: Likewise.
27800 * misc/Makefile: Likewise.
27801 * nptl/Makefile: Likewise.
27802 * sysdeps/mach/hurd/Makefile: Likewise.
27803
121766a9
UD
27804 * configure.in: PWD_P is not used anymore.
27805 * config.make.in: Remove PWD_P entry.
27806
51a1d39c 27807 * configure.in: Remove last remnants of RANLIB.
8720d066 27808 No need to check for signed size_t anymore.
215f4bdc
UD
27809 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27810 and IA-64.
3857022a 27811 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27812 * aclocal.m4: Likewise.
27813
d3ed7225
UD
27814 * wcsmbs/mbrtoc16.c: Implement using towc function.
27815 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27816 * wcsmbs/wcsmbsload.c: Likewise.
27817 * iconv/gconv_simple.c: Likewise.
27818 * iconv/gconv_int.h: Likewise.
27819 * iconv/gconv_builtin.h: Likewise.
27820 * iconv/iconv_prog.c: Remove CHAR16 handling.
27821
27822 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27823
27824 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27825
a0da5fe1
UD
27826 * configure.in: Remove --with-elf and --enable-bounded options.
27827 Dont set base_machine for ia64. More non-ELF conditions removed.
27828 Remove testing and setting of leading underscore information.
27829 * config.make.in (build-bounded): Set to no.
27830 * config.h.in: Remove NO_UNDERSCORES entry.
27831 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27832 them.
27833 * csu/start.c: Remove !NO_UNDERSCORE code.
27834 * locale/localeinfo.h: Likewise.
27835 * sysdeps/generic/machine-gmon.h: Likewise.
27836 * sysdeps/generic/sysdep.h: Likewise.
27837 * sysdeps/i386/sysdep.h: Likewise.
27838 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27839 * sysdeps/mach/sysdep.h: Likewise.
27840 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27841 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27842 * sysdeps/sh/sysdep.h: Likewise.
27843 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27844 * sysdeps/unix/i386/sysdep.S: Likewise.
27845 * sysdeps/unix/sparc/start.c: Likewise.
27846 * sysdeps/unix/sparc/sysdep.S: Likewise.
27847 * sysdeps/unix/sparc/sysdep.h: Likewise.
27848 * sysdeps/unix/start.c: Likewise.
27849 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27850 * sysdeps/x86_64/sysdep.h: Likewise.
27851
df78418a
UD
278522012-01-07 Ulrich Drepper <drepper@gmail.com>
27853
a784e502
UD
27854 [BZ #13553]
27855 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27856 for non-gcc.
27857 * argp/argp-fmtstream.h: Use const instead __const.
27858 * argp/argp.h: Likewise.
27859 * assert/assert.h: Likewise.
27860 * bits/fenv.h: Likewise.
27861 * bits/sched.h: Likewise.
27862 * bits/sigset.h: Likewise.
27863 * bits/sigthread.h: Likewise.
27864 * catgets/nl_types.h: Likewise.
27865 * conform/data/pthread.h-data: Likewise.
27866 * crypt/crypt-private.h: Likewise.
27867 * crypt/crypt.h: Likewise.
27868 * crypt/crypt_util.c: Likewise.
27869 * ctype/ctype.h: Likewise.
27870 * debug/execinfo.h: Likewise.
27871 * debug/mbsnrtowcs_chk.c: Likewise.
27872 * debug/mbsrtowcs_chk.c: Likewise.
27873 * debug/wcsnrtombs_chk.c: Likewise.
27874 * debug/wcsrtombs_chk.c: Likewise.
27875 * debug/wcstombs_chk.c: Likewise.
27876 * dirent/dirent.h: Likewise.
27877 * dlfcn/dlfcn.h: Likewise.
27878 * elf/neededtest4.c: Likewise.
27879 * grp/grp.h: Likewise.
27880 * gshadow/gshadow.h: Likewise.
27881 * iconv/gconv.h: Likewise.
27882 * iconv/gconv_int.h: Likewise.
27883 * iconv/gconv_simple.c: Likewise.
27884 * iconv/iconv.h: Likewise.
27885 * iconv/loop.c: Likewise.
27886 * iconv/skeleton.c: Likewise.
27887 * include/aio.h: Likewise.
27888 * include/aliases.h: Likewise.
27889 * include/argz.h: Likewise.
27890 * include/arpa/inet.h: Likewise.
27891 * include/assert.h: Likewise.
27892 * include/dirent.h: Likewise.
27893 * include/dlfcn.h: Likewise.
27894 * include/execinfo.h: Likewise.
27895 * include/fcntl.h: Likewise.
27896 * include/fenv.h: Likewise.
27897 * include/glob.h: Likewise.
27898 * include/grp.h: Likewise.
27899 * include/libintl.h: Likewise.
27900 * include/mntent.h: Likewise.
27901 * include/netdb.h: Likewise.
27902 * include/pwd.h: Likewise.
27903 * include/rpc/netdb.h: Likewise.
27904 * include/sched.h: Likewise.
27905 * include/search.h: Likewise.
27906 * include/shadow.h: Likewise.
27907 * include/signal.h: Likewise.
27908 * include/stdio.h: Likewise.
27909 * include/stdlib.h: Likewise.
27910 * include/string.h: Likewise.
27911 * include/sys/socket.h: Likewise.
27912 * include/sys/stat.h: Likewise.
27913 * include/sys/statfs.h: Likewise.
27914 * include/sys/statvfs.h: Likewise.
27915 * include/sys/syslog.h: Likewise.
27916 * include/sys/time.h: Likewise.
27917 * include/sys/uio.h: Likewise.
27918 * include/time.h: Likewise.
27919 * include/unistd.h: Likewise.
27920 * include/utmp.h: Likewise.
27921 * include/wchar.h: Likewise.
27922 * include/wctype.h: Likewise.
27923 * inet/aliases.h: Likewise.
27924 * inet/arpa/inet.h: Likewise.
27925 * inet/netinet/ether.h: Likewise.
27926 * inet/netinet/in.h: Likewise.
27927 * intl/libintl.h: Likewise.
27928 * io/bits/fcntl2.h: Likewise.
27929 * io/fcntl.h: Likewise.
27930 * io/ftw.h: Likewise.
27931 * io/sys/poll.h: Likewise.
27932 * io/sys/stat.h: Likewise.
27933 * io/sys/statfs.h: Likewise.
27934 * io/sys/statvfs.h: Likewise.
27935 * io/utime.h: Likewise.
27936 * libio/bits/stdio.h: Likewise.
27937 * libio/bits/stdio2.h: Likewise.
27938 * libio/libio.h: Likewise.
27939 * libio/libioP.h: Likewise.
27940 * libio/stdio.h: Likewise.
27941 * locale/lc-ctype.c: Likewise.
27942 * locale/locale.h: Likewise.
27943 * login/utmp.h: Likewise.
27944 * malloc/arena.c: Likewise.
27945 * malloc/malloc.c: Likewise.
27946 * malloc/malloc.h: Likewise.
27947 * malloc/mcheck.c: Likewise.
27948 * malloc/mtrace.c: Likewise.
27949 * math/bits/mathcalls.h: Likewise.
27950 * math/fenv.h: Likewise.
27951 * math/math_private.h: Likewise.
27952 * misc/bits/error.h: Likewise.
27953 * misc/bits/syslog.h: Likewise.
27954 * misc/err.h: Likewise.
27955 * misc/error.h: Likewise.
27956 * misc/fstab.h: Likewise.
27957 * misc/mntent.h: Likewise.
27958 * misc/regexp.h: Likewise.
27959 * misc/search.h: Likewise.
27960 * misc/sgtty.h: Likewise.
27961 * misc/sys/mman.h: Likewise.
27962 * misc/sys/syslog.h: Likewise.
27963 * misc/sys/uio.h: Likewise.
27964 * misc/sys/xattr.h: Likewise.
27965 * misc/ttyent.h: Likewise.
27966 * nis/rpcsvc/ypclnt.h: Likewise.
27967 * nss/nss.h: Likewise.
27968 * posix/bits/unistd.h: Likewise.
27969 * posix/fnmatch.h: Likewise.
27970 * posix/glob.h: Likewise.
27971 * posix/sched.h: Likewise.
27972 * posix/spawn.h: Likewise.
27973 * posix/sys/wait.h: Likewise.
27974 * posix/unistd.h: Likewise.
27975 * posix/wordexp.h: Likewise.
27976 * pwd/pwd.h: Likewise.
27977 * resolv/netdb.h: Likewise.
27978 * resource/sys/resource.h: Likewise.
27979 * rt/aio.h: Likewise.
27980 * rt/bits/mqueue2.h: Likewise.
27981 * rt/mqueue.h: Likewise.
27982 * shadow/shadow.h: Likewise.
27983 * signal/signal.h: Likewise.
27984 * socket/send.c: Likewise.
27985 * socket/sendto.c: Likewise.
27986 * socket/sys/socket.h: Likewise.
27987 * stdio-common/printf.h: Likewise.
27988 * stdlib/bits/stdlib.h: Likewise.
27989 * stdlib/fmtmsg.h: Likewise.
27990 * stdlib/monetary.h: Likewise.
27991 * stdlib/stdlib.h: Likewise.
27992 * stdlib/ucontext.h: Likewise.
27993 * streams/stropts.h: Likewise.
27994 * string/argz.h: Likewise.
27995 * string/bits/string2.h: Likewise.
27996 * string/string.h: Likewise.
27997 * string/strings.h: Likewise.
27998 * sunrpc/rpc/auth.h: Likewise.
27999 * sunrpc/rpc/auth_des.h: Likewise.
28000 * sunrpc/rpc/clnt.h: Likewise.
28001 * sunrpc/rpc/netdb.h: Likewise.
28002 * sunrpc/rpc/pmap_clnt.h: Likewise.
28003 * sunrpc/rpc/xdr.h: Likewise.
28004 * sysdeps/generic/inttypes.h: Likewise.
28005 * sysdeps/generic/net/if.h: Likewise.
28006 * sysdeps/generic/sys/swap.h: Likewise.
28007 * sysdeps/gnu/net/if.h: Likewise.
28008 * sysdeps/gnu/utmpx.h: Likewise.
28009 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28010 * sysdeps/i386/i486/bits/string.h: Likewise.
28011 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28012 * sysdeps/s390/bits/string.h: Likewise.
28013 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28014 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28015 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28016 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28017 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28018 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28019 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28020 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28021 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28022 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28023 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28024 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28025 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28026 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28027 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28028 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28029 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28030 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28031 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28032 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28033 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28034 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28035 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28036 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28037 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28038 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28039 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28040 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28041 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28042 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28043 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28044 * sysvipc/sys/ipc.h: Likewise.
28045 * sysvipc/sys/msg.h: Likewise.
28046 * sysvipc/sys/sem.h: Likewise.
28047 * sysvipc/sys/shm.h: Likewise.
28048 * termios/termios.h: Likewise.
28049 * time/sys/time.h: Likewise.
28050 * time/time.h: Likewise.
28051 * wcsmbs/bits/wchar2.h: Likewise.
28052 * wcsmbs/uchar.h: Likewise.
28053 * wcsmbs/wchar.h: Likewise.
28054 * wctype/wctype.h: Likewise.
28055
0269750c
UD
28056 [BZ #13551]
28057 * Makeconfig: Remove all but ELF support including AIX support.
28058 * Makerules: Likewise.
28059 * config.h.in: Likewise.
28060 * config.make.in: Likewise.
28061 * configure: Likewise.
28062 * configure.in: Likewise.
28063 * csu/Makefile: Likewise.
28064 * csu/version.c: Likewise.
28065 * debug/Makefile: Likewise.
28066 * dlfcn/Makefile: Likewise.
28067 * elf/Makefile: Likewise.
28068 * extra-lib.mk: Likewise.
28069 * iconv/Makefile: Likewise.
28070 * include/libc-symbols.h: Likewise.
28071 * include/shlib-compat.h: Likewise.
28072 * resolv/Makefile: Likewise.
28073 * resolv/res_libc.c: Likewise.
28074 * rt/Makefile: Likewise.
28075 * sysdeps/i386/asm-syntax.h: Likewise.
28076 * sysdeps/i386/sysdep.h: Likewise.
28077 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28078 * sysdeps/mach/sysdep.h: Likewise.
28079 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28080 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28081 * sysdeps/s390/asm-syntax.h: Likewise.
28082 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28083 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28084 * sysdeps/sh/sysdep.h: Likewise.
28085 * sysdeps/unix/sparc/sysdep.h: Likewise.
28086 * sysdeps/wordsize-32/divdi3.c: Likewise.
28087 * sysdeps/x86_64/sysdep.h: Likewise.
28088
00bbd29b
UD
28089 * argp/Versions: Remove _argp_unlock_xxx.
28090
28091 [BZ #13559]
28092 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28093 * abilist/libBrokenLocale.abilist: Likewise.
28094 * abilist/libanl.abilist: Likewise.
28095 * abilist/libc.abilist: Likewise.
28096 * abilist/libcrypt.abilist: Likewise.
28097 * abilist/libdl.abilist: Likewise.
28098 * abilist/libm.abilist: Likewise.
28099 * abilist/libnsl.abilist: Likewise.
28100 * abilist/libpthread.abilist: Likewise.
28101 * abilist/libresolv.abilist: Likewise.
28102 * abilist/librt.abilist: Likewise.
28103 * abilist/libthread_db.abilist: Likewise.
28104 * abilist/libutil.abilist: Likewise.
28105 * abilist/libnss_db.abilist: New file.
28106
28107 * scripts/abilist.awk: Add support for indirect functions.
28108
a2693a0e
UD
28109 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28110
3f05895f
UD
28111 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28112
ecb6fb48
UD
28113 * shlib-versions: Remove entries for ports architectures.
28114
664f8cb9
UD
28115 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28116 files in ports.
28117 * elf/stackguard-macros.h: Remove support for IA-64.
28118 * elf/tst-auditmod1.c: Likewise.
28119 * sysdeps/generic/ldsodefs.h: Likewise.
28120
7ae81d88
UD
28121 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28122 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28123 configure files.
28124
bdeba135
UD
28125 [BZ #13552]
28126 * configure.in: Remove --enable-omitfp support.
28127 * FAQ.in: Adjust.
28128 * config.make.in: Likewise.
28129 * Makeconfig: Likewise.
28130 * manual/install.texi: Likewise.
28131
d75a0a62
UD
28132 In case anyone cares, the IA-64 architecture could move to ports.
28133 * sysdeps/ia64/*: Removed.
28134 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28135 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28136
dcc9756b
UD
28137 [BZ #13555]
28138 * configure.in: Remove entries for unsupported architectures.
28139
d3761ebc 28140 [BZ #13533]
9954432e
UD
28141 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28142 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28143 routines.
28144 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28145 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28146 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28147 fall back to using wcrtomb.
28148 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28149 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28150 renaming.
28151 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28152 * wcsmbs/tst-c16c32-1.c: New file.
28153
28154 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28155 local variable.
28156
c3a87236
UD
28157 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28158
28926a1b
UD
28159 * elf/tst-unique3.cc: Add explicit declaration of gets.
28160 * elf/tst-unique3lib.cc: Likewise.
28161 * elf/tst-unique3lib2.cc: Likewise.
28162 * elf/tst-unique4.cc: Likewise.
28163
df78418a
UD
28164 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28165
8ecd6b2a
JM
281662012-01-06 Joseph Myers <joseph@codesourcery.com>
28167
28168 [BZ #13566]
28169 * assert/assert.h (static_assert): Don't define for C++.
28170 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28171 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28172
9f115170
UD
281732012-01-03 Ulrich Drepper <drepper@gmail.com>
28174
5e0d0300
UD
28175 * iconv/loop.c (single loop): Fix assertion in storing of
28176 remaining bytes.
28177
9f115170
UD
28178 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28179
81fb02b0
UD
281802012-01-01 Ulrich Drepper <drepper@gmail.com>
28181
28182 * posix/getconf.c: Update copyright year.
28183 * nss/getent.c: Likewise.
a316c1f6 28184 * nss/makedb.c: Likewise.
81fb02b0
UD
28185 * iconv/iconvconfig.c: Likewise.
28186 * iconv/iconv_prog.c: Likewise.
28187 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28188 * elf/pldd.c: Likewise.
28189 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28190 * catgets/gencat.c: Likewise.
28191 * csu/version.c: Likewise.
28192 * elf/ldd.bash.in: Likewise.
28193 * elf/sprof.c (print_version): Likewise.
28194 * locale/programs/locale.c: Likewise.
28195 * locale/programs/localedef.c: Likewise.
a316c1f6 28196 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28197 * nscd/nscd.c (print_version): Likewise.
28198 * debug/xtrace.sh: Likewise.
28199 * malloc/memusage.sh: Likewise.
28200 * malloc/mtrace.pl: Likewise.
28201 * debug/catchsegv.sh: Likewise.
28202
2ba92745
JJ
282032011-12-30 Jakub Jelinek <jakub@redhat.com>
28204
28205 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28206 pure attribute.
28207
dadebdae
UD
282082011-12-24 Ulrich Drepper <drepper@gmail.com>
28209
d3761ebc 28210 [BZ #13533]
db6af3eb
UD
28211 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28212 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28213 transformations.
28214 * iconv/gconv_int.h: Likewise.
28215 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28216 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28217 from libc for GLIBC_2.16.
28218 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28219 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28220 * wcsmbs/uchar.h: Really define mbstate_t.
28221 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28222 * wcsmbs/c16rtomb.c: New file.
28223 * wcsmbs/mbrtoc16.c: New file.
28224 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28225 for C/POSIX locale.
28226 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28227 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28228
dadebdae
UD
28229 * wcsmbs/wchar.h: Add missing __restrict.
28230
67371b56
UD
282312011-12-23 Ulrich Drepper <drepper@gmail.com>
28232
74033a25
UD
28233 [BZ #13532]
28234 * time/Makefile (routines): Add timespec_get.
28235 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28236 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28237 timespec for ISO C11.
28238 * time/timespec_get.c: New file.
28239 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28240 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28241
380d7e87
UD
28242 [BZ #13531]
28243 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28244 * stdlib/stdlib.h: Declare aligned_alloc.
28245 * Versions.def: Add GLIBC_2.16 for libc.
28246 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28247
4e9e7a35
UD
28248 [BZ 13527]
28249 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28250 ISO C11.
28251
380d7e87 28252 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28253 code.
28254
03a71829
UD
28255 [BZ #13528]
28256 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28257
839e283e
UD
28258 [BZ #13529]
28259 * assert/assert.h (static_assert): Define.
28260
ce5294e2 28261 * version.h: Update for 2.16 development version.
90fa7312 28262
8d44e150 28263 [BZ #13526]
d7809905
UD
28264 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28265 _ISOC11_SOURCE.
28266
c0da14cd
UD
28267 * version.h (RELEASE): Bump for 2.15 release.
28268 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28269
530a3249
MP
28270 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28271 Patch by Marek Polacek <mpolacek@redhat.com>.
28272
67371b56
UD
28273 * bits/byteswap.h: Protect long long constants with __extension__.
28274 * sysdeps/i386/bits/byteswap.h: Likewise.
28275 * sysdeps/ia64/bits/byteswap.h: Likewise.
28276 * sysdeps/s390/bits/byteswap.h: Likewise.
28277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28278
15db4de1
LD
282792011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28280
28281 [BZ #13540]
bbe315ea
LD
28282 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28283 destination buffer.
15db4de1
LD
28284 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28285
2b2596b1
MP
282862011-12-23 Marek Polacek <polacek@redhat.com>
28287
28288 * elf/dl-addr.c (determine_info): Add inline keyword.
28289 * elf/tst-auditmod4b.c (check_avx): Likewise.
28290 * elf/tst-auditmod6b.c (check_avx): Likewise.
28291 * elf/tst-auditmod6c.c (check_avx): Likewise.
28292 * elf/tst-auditmod7b.c (check_avx): Likewise.
28293
70c6c246
UD
282942011-12-23 Ulrich Drepper <drepper@gmail.com>
28295
28296 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28297 !__SSE_MATH__.
28298
c044cf14
LD
282992011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28300
15db4de1 28301 [BZ #13540]
c044cf14
LD
28302 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28303 processing for last bytes.
28304
6b13d9d9
BH
283052011-08-06 Bruno Haible <bruno@clisp.org>
28306
d455f537
BH
28307 [BZ #13061]
28308 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28309 U+0385, not to U+1FEE.
28310
6b13d9d9
BH
28311 [BZ #13062]
28312 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28313 entry for U+00A5 U+0301.
28314
db910efd
UD
283152011-12-22 Ulrich Drepper <drepper@gmail.com>
28316
27deeafc
UD
28317 [BZ #13166]
28318 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28319 buffer for the output is too small.
28320
aed9d171
UD
28321 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28322 optimization.
28323
db910efd
UD
28324 [BZ #13185]
28325 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28326 SSE flags if possible.
28327
2bd779ae
LD
283282011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28329
e7f9dac3 28330 [BZ #13540]
2bd779ae
LD
28331 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28332 processing for last bytes.
28333
154bfc16
JM
283342011-12-22 Joseph Myers <joseph@codesourcery.com>
28335
28336 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28337 (syscall-list-default-options, syscall-list-default-condition)
28338 (syscall-list-includes): Define.
28339 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28340 list of ABIs and options and #if conditions for each ABI. Do not
28341 handle common syscalls between ABIs specially.
28342 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28343 Remove.
28344 (syscall-list-variants, syscall-list-32bit-options)
28345 (syscall-list-32bit-condition, syscall-list-64bit-options)
28346 (syscall-list-64bit-condition): Define.
28347 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28348 (syscall-list-variants, syscall-list-32bit-options)
28349 (syscall-list-32bit-condition, syscall-list-64bit-options)
28350 (syscall-list-64bit-condition): Define.
28351 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28352 Remove.
28353 (syscall-list-variants, syscall-list-32bit-options)
28354 (syscall-list-32bit-condition, syscall-list-64bit-options)
28355 (syscall-list-64bit-condition): Define.
28356 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28357 Remove.
28358 (syscall-list-variants, syscall-list-32bit-options)
28359 (syscall-list-32bit-condition, syscall-list-64bit-options)
28360 (syscall-list-64bit-condition): Define.
28361
21eaf3a5
UD
283622011-12-22 Ulrich Drepper <drepper@gmail.com>
28363
16c6f992
UD
28364 * locale/iso-639.def: Add brx entry.
28365
41043168
UD
28366 [BZ #13328]
28367 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28368 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28369
21eaf3a5
UD
28370 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28371 __feraiseexcept_renamed.
28372
e3a851a2
UD
283732011-12-21 Ulrich Drepper <drepper@gmail.com>
28374
4920765e
UD
28375 [BZ #13538]
28376 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28377 EPOLLET with unsigned values.
28378 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28379 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28380
e3a851a2
UD
28381 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28382 to large cancellation.
28383 * math/s_cacoshf.c: Likewise.
28384 * math/s_cacoshl.c: Likewise.
28385
b27e24b8
RK
283862011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28387
28388 [BZ #13305]
aebefeee 28389 [BZ #12786]
b27e24b8
RK
28390 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28391 * math/s_cacoshf.c: Likewise.
28392 * math/s_cacoshl.c: Likewise.
28393
ee190f67
UD
283942011-12-21 Ulrich Drepper <drepper@gmail.com>
28395
28396 [BZ #13439]
28397 * iconv/gconv.h: Define __GCONV_SWAP.
28398 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28399 * iconvdata/utf-16.c: Likewise.
28400 * iconvdata/utf-32.c: Likewise.
28401
707f25df
AS
284022011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28403
28404 [BZ #13524]
28405 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28406 numerator after shifting it by one limb.
28407
d2daaa1e
RÁE
284082011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28409
28410 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28411 under [__USE_EXTERN_INLINES].
28412
a4647e72
UD
284132011-12-17 Ulrich Drepper <drepper@gmail.com>
28414
28415 [BZ #13446]
28416 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28417
f0b264f1
AZ
284182011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28419
28420 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28421 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28422 optimized code.
28423 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28424 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28425 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28426 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28427 for strncasecmp/strncasecmp_l compilation.
28428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28429 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28430
8ef4f244
MP
284312011-12-08 Marek Polacek <mpolacek@redhat.com>
28432
28433 [BZ #13484]
28434 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28435 of __asm__.
28436
97ac2654
UD
284372011-12-17 Ulrich Drepper <drepper@gmail.com>
28438
28439 [BZ #13506]
28440 * time/tzfile.c (__tzfile_read): Check values from file header.
28441
91d2a845
WS
284422011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28443
28444 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28445 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28446 * powerpc/powerpc32/dl-start.S: Likewise.
28447 * powerpc/powerpc32/elf/start.S: Likewise.
28448 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28449 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28450 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28451 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28452 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28453 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28454 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28455 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28456 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28457 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28458 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28459 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28460 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28461 * powerpc/powerpc32/memset.S: Likewise.
28462 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28463 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28464 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28465 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28466 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28467 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28468 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28469 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28470 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28471 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28472 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28473 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28474 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28475
a1267ba1
AZ
284762011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28477
28478 * math/libm-test.inc: Added more nearbyint tests.
28479 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28480 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28481 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28482 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28483
ad8ac1bd
RL
284842011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28485
28486 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28487 FD_CLOEXEC.
28488
1d3e4b61
UD
284892011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28490
28491 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28492 Add wcscpy-ssse3 wcscpy-c.
28493 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28494 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28495 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28496 * sysdeps/x86_64/wcschr.S: New file.
28497 * sysdeps/x86_64/wcsrchr.S: New file.
28498 * string/test-strcmp.c: Remove checking of wcscmp function for
28499 wrong alignments.
28500 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28501 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28502 wcsrchr-sse2 wcsrchr-c.
28503 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28504 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28505 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28506 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28507 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28508 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28509 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28510 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28511 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28512 * wcsmbc/wcschr.c (WCSCHR): New macro.
28513
5b330a2d
UD
285142011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28515
28516 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28517 * wcsmbs/test-wcsrchr.c: New file.
28518 * string/test-strrchr.c: Add wcsrchr support.
28519 (WIDE): New macro.
28520 * wcsmbs/test-wcscpy.c: New file.
28521 * string/test-strcpy.c: Add wcscpy support.
28522 (WIDE): New macro.
26428b7c 28523
f039c043
UD
285242011-12-10 Ulrich Drepper <drepper@gmail.com>
28525
28526 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28527 the inner loop.
28528
850fb039
AS
285292011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28530
28531 [BZ #13472]
28532 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28533
4efbd5cb
UD
285342011-12-04 Ulrich Drepper <drepper@gmail.com>
28535
52ff5dd0 28536 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28537 Minor optimizations.
52ff5dd0 28538
4efbd5cb
UD
28539 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28540 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28541 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28542
8a426e12
UD
285432011-12-03 Ulrich Drepper <drepper@gmail.com>
28544
aff2453d
UD
28545 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28546 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28547 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28548 for gcc to avoid warnings.
28549 * inet/Makefile (tests): Add tst-checks.
28550 * inet/tst-checks.c: New file.
28551
28552 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28553 warning.
28554
28555 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28556 __wmemcmp_sse2.
28557
28558 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28559 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28560
8a426e12
UD
28561 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28562
9bea3473
UD
285632011-12-02 Ulrich Drepper <drepper@gmail.com>
28564
3a965496
UD
28565 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28566 problem.
28567
9bea3473
UD
28568 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28569
f101631b
UD
285702011-11-29 Joseph Myers <joseph@codesourcery.com>
28571
28572 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28573 conditional on GCC version.
28574 (__arch_compare_and_exchange_val_8_acq)
28575 (__arch_compare_and_exchange_val_16_acq)
28576 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28577 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28578 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28579
a98275aa
UD
285802011-12-02 Joseph Myers <joseph@codesourcery.com>
28581
28582 * sysdeps/sh/backtrace.c: New file.
28583
d4cc29a2
AS
285842011-12-02 Andreas Schwab <schwab@redhat.com>
28585
28586 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28587 parenthesis.
28588
6257af2d
AS
285892011-12-01 Andreas Schwab <schwab@redhat.com>
28590
28591 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28592 falling back to utime.
28593
b5f44c1a
AS
285942011-11-30 Andreas Schwab <schwab@redhat.com>
28595
28596 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28597 expectations for float.
28598
f3a6cc0a
AS
285992011-11-29 Andreas Schwab <schwab@redhat.com>
28600
28601 * locale/weight.h (findidx): Add parameter len.
28602 * locale/weightwc.h (findidx): Likewise.
28603 * posix/fnmatch_loop.c (FCT): Adjust caller.
28604 * posix/regcomp.c (build_equiv_class): Likewise.
28605 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28606 * posix/regexec.c (check_node_accept_bytes): Likewise.
28607 * string/strcoll_l.c (STRCOLL): Likewise.
28608 * string/strxfrm_l.c (STRXFRM): Likewise.
28609
9d65ea3a
UD
286102011-11-17 Ulrich Drepper <drepper@gmail.com>
28611
28612 * Makefile.in: Remove CVSOPT handling.
28613 * configure.in: Remove use of AC_REVISION.
28614 * iconvdata/Makefile (distribute): No need to filter out CVS.
28615 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28616 handling.
28617
5583a086
AS
286182011-11-16 Andreas Schwab <schwab@redhat.com>
28619
28620 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28621 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28622 [USE_AS_STRNCASECMP_L]: Likewise.
28623 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28624 NO_TLS_DIRECT_SEG_REFS.
28625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28626 Fix argument offsets for non-PIC.
28627 [USE_AS_STRNCASECMP_L]: Likewise.
28628 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28629 NO_TLS_DIRECT_SEG_REFS.
28630
d62a8200
UD
286312011-11-15 Ulrich Drepper <drepper@gmail.com>
28632
9d65ea3a 28633 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28634 O_CLOEXEC.
28635 * locale/loadlocale.c (_nl_load_locale): Likewise.
28636
09f93bd3
AS
286372011-11-15 Andreas Schwab <schwab@redhat.com>
28638
446514f9
AS
28639 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28640 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28641 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28642 (SYSCALL_GETTIME): Set errno on error.
28643
09f93bd3
AS
28644 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28645 count references to noai6ai_cached.
28646
312be3f9
UD
286472011-11-15 Ulrich Drepper <drepper@gmail.com>
28648
28649 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28650
28651 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28652 FD_CLOEXEC for /proc/self/maps.
28653
28654 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28655 FD_CLOEXEC for /proc/meminfo.
28656
28657 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28658 gai.conf.
28659
28660 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28661 FD_CLOEXEC for given file.
28662
28663 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28664
28665 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28666 FD_CLOEXEC for /etc/hosts.
28667 (_gethtent): Likewise.
28668
28669 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28670
28671 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28672 cancellation and set FD_CLOEXEC for /etc/netgroup.
28673
28674 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28675 reading /etc/publickey.
28676
28677 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28678 allow cancellation when reading /etc/group.
28679
28680 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28681 cancellation.
28682 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28683
28684 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28685 when using data file.
28686
28687 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28688
28689 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28690 (write_nis_obj): Use "c" and "e" in fopen.
28691
28692 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28693
28694 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28695
28696 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28697
28698 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28699
28700 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28701 locale.alias.
28702
28703 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28704
28705 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28706
28707 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28708
28709 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28710 file parsing and set FD_CLOEXEC.
28711
82af0fa8
UD
287122011-11-14 Ulrich Drepper <drepper@gmail.com>
28713
28714 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28715
a5fb313c
AS
287162011-11-14 Andreas Schwab <schwab@redhat.com>
28717
28718 * malloc/arena.c (arena_get2): Don't call reused_arena when
28719 _int_new_arena failed.
28720
6abf3465
UD
287212011-11-14 Ulrich Drepper <drepper@gmail.com>
28722
28723 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28724 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28725 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28726 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28727 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28729 to compile strcasecmp and strncasecmp.
28730 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28731 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28732
28733 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28734
76e3966e
UD
287352011-11-13 Ulrich Drepper <drepper@gmail.com>
28736
28737 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28738 locale-defines.sym to gen-as-const-headers.
28739 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28740 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28741 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28742 to compile strcasecmp and strncasecmp.
28743 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28744 strcasecmp_l and strncasecmp_l.
28745 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28746 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28747 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28748 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28749 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28750 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28751 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28752 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28753 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28754 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28755 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28756
ab26144e
UD
287572011-11-12 Ulrich Drepper <drepper@gmail.com>
28758
7edb22ef
UD
28759 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28760 result of SYSDEP_GETTIME_CPU to retval.
28761 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28762 parameter list to macro. Remove trailing semicolon. Adjust users.
28763
9694fc44
UD
28764 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28765 variable.
28766
8ad89ef8
UD
28767 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28768 mantissa words.
28769 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28770
0c822ef9
UD
28771 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28772 from unused variable.
28773
874e0564
UD
28774 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28775 DWARF definitions.
28776 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28777 for assembling.
28778
3a2edc79
UD
28779 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28780 over namespaces.
28781
f3c2577f
UD
28782 * sunrpc/rpc_prot.c (rejected): Fix case value.
28783
294ce126
UD
28784 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28785 unsigned long long int to avoid warnings in shift.
28786
5e2b63c6
UD
28787 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28788 of use of trans.
28789 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28790 variable tmp.
28791
e7f4b08e
UD
28792 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28793 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28794 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28795
ab26144e
UD
28796 * nis/nis_table.c (nis_list): Use variable of correct type for
28797 result of __follow_path call.
28798
8a6d5255
AZ
287992011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28800
28801 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28802 of math functions ceil, trunc, floor, round, and sqrt, when
28803 avaliable on the platform.
28804 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28805 name clash.
28806 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28807 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28808 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28809
aaddc98c
MP
288102011-10-30 Marek Polacek <mpolacek@redhat.com>
28811
28812 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28813 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28814
95b7042b
RM
288152011-11-11 Roland McGrath <roland@hack.frob.com>
28816
28817 * include/unistd.h: Fix __readlink return type.
28818 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28819
57769839
UD
288202011-11-11 Ulrich Drepper <drepper@gmail.com>
28821
28822 * stdlib/ucontext.h: Undo last change for makecontext.
28823
edc5984d
AS
288242011-11-11 Andreas Schwab <schwab@redhat.com>
28825
98591e58
AS
28826 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28827
edc5984d
AS
28828 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28829 * setjmp/setjmp.h: Mark functions as non-leaf.
28830 * setjmp/bits/setjmp2.h: Likewise.
28831 * stdlib/ucontext.h: Likewise.
28832
77cdc054
AS
288332011-11-10 Andreas Schwab <schwab@redhat.com>
28834
28835 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28836 (reused_arena): Don't check arena limit.
28837 (arena_get2): Atomically check arena limit.
28838
fe72eebd
UD
288392011-11-08 Ulrich Drepper <drepper@gmail.com>
28840
5f078c32
UD
28841 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28842 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28843
fe72eebd
UD
28844 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28845 instructions.
28846
ae1bc2fa
AS
288472011-11-07 Andreas Schwab <schwab@redhat.com>
28848
7583a88d
AS
28849 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28850 handler when locking.
28851
ae1bc2fa
AS
28852 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28853 Fix size of allocated buffer.
28854
10fb0bfa
AS
288552011-11-04 Andreas Schwab <schwab@redhat.com>
28856
998832a4
AS
28857 [BZ #10103]
28858 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28859 declarations for long double functions.
28860 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28861
10fb0bfa
AS
28862 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28863
3d7ba52b
AS
288642011-11-03 Andreas Schwab <schwab@redhat.com>
28865
a9ae54a1
AS
28866 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28867 installed.
28868
3d7ba52b
AS
28869 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28870 is disabled.
28871
bc8db248
ST
288722011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28873
28874 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28875
45b96dd6
AS
288762011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28877
647776f6
AS
28878 * include/alloca.h (stackinfo_alloca_round): Define.
28879 (extend_alloca): Use it.
28880 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28881 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28882 here.
28883
d91a8b93
AS
28884 * scripts/check-local-headers.sh: Ignore libaudit.h.
28885
45b96dd6
AS
28886 * nscd/Makefile (extra-objs): Make recursively expanded.
28887
432d41ce
UD
288882011-11-01 Ulrich Drepper <drepper@gmail.com>
28889
34372fc6
UD
28890 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28891 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28892
fadb59f8
UD
28893 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28894 * posix/tst-rfc3484-2.c: Likewise.
28895 * posix/tst-rfc3484-3.c: Likewise.
28896
78239589
UD
28897 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28898 process_vm_writev.
28899 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28900 process_vm_writev.
28901 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28902 process_vm_writev from libc using GLIBC_2.15 version.
28903
432d41ce
UD
28904 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28905
02f9c6cf
PP
289062011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28907
28908 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28909 stack usage.
28910
3a2c0242
UD
289112011-10-31 Ulrich Drepper <drepper@gmail.com>
28912
f4ec4833
UD
28913 [BZ #13367]
28914 * nss/getent.c (initgroups_keys): Show error message in case no group
28915 names are given.
28916
3a2c0242
UD
28917 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28918 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28919 __bump_nl_timestamp.
28920 * nscd/connections (nscd_init): When host database is served open
28921 netlink socket and request notification about configuration changes.
28922 (main_loop_poll): Track netlink file descriptor and bump timestamp
28923 in case data becomes available.
28924 (main_loop_epoll): Likewise.
28925 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28926 (database_pers_head): Add extra_data fileds.
28927 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28928 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28929 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28930 Adjust caller.
28931 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28932 in6ai data, call __free_in6ai.
28933 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28934 Add -DHAVE_NETLINK.
28935 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28936 interface information. Reuse previous data if netlink timestamp
28937 is not changed.
28938 (__bump_nl_timestamp): New function.
28939 (__free_in6ai): New function.
28940
636064eb
UD
289412011-10-30 Ulrich Drepper <drepper@gmail.com>
28942
28943 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28944 close_not_cancel_no_status here.
28945 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28946
9beb2334
UD
289472011-10-29 Ulrich Drepper <drepper@gmail.com>
28948
6ef76f3b
UD
28949 [BZ #13276]
28950 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28951 return value.
28952
0ffc4f3e 28953 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28954 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28955 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28956
cb95113e
UD
289572011-07-03 Andreas Jaeger <aj@suse.de>
28958
28959 [BZ #10709]
28960 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28961 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28962 * math/libm-test.inc (sin_test): Add test case.
28963
a1b560ff
UD
289642011-10-29 Ulrich Drepper <drepper@gmail.com>
28965
c9aaface
UD
28966 [BZ #13337]
28967 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28968 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28969
d272e7f1
UD
28970 * elf/chroot_canon.c (chroot_canon): Cleanups.
28971
1bc33071
UD
28972 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28973
1760874d
TJ
28974 [BZ #13335]
28975 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28976 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28977
51d91b18
UD
28978 * string/test-strchr.c: Make usable for strchrnul testing.
28979 * string/test-strchrnul.c: New file.
28980 * string/Makefile (strop-tests): Add strchrnul.
28981
a1b560ff 28982 * po/it.po: Update from translation team.
b611fb81 28983 * po/es.po: Likewise.
a1b560ff 28984
a5b81e1f
UD
289852011-10-28 Ulrich Drepper <drepper@gmail.com>
28986
fd52bc6d
UD
28987 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28988 the three constants needed as parameters. Drop the others.
28989 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28990 __m128i_strloadu_tolower.
52e4b9eb
UD
28991 Create and initialize variable zero and use it in all the places
28992 where _mm_setzero_si128 was used.
fd52bc6d 28993
a5b81e1f
UD
28994 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28995 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28996 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28997 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28998 anymore.
28999 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29000 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29001 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29002 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29003 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29004 __mpranred, __mptan.
29005 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29006 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29007 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29008 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29009 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29010 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29011 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29012 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29013 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29014
b4343346
AS
290152011-10-28 Andreas Schwab <schwab@redhat.com>
29016
0c92d8a8
AS
29017 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29018 redefine if SHARED.
29019 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29020
b4343346
AS
29021 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29022 wide char related routines to wcsmbs subdir.
29023
3871f58f
AS
290242011-10-27 Andreas Schwab <schwab@redhat.com>
29025
29026 [BZ #13344]
29027 * misc/sys/cdefs.h (__THROWNL): Define.
29028 * posix/unistd.h: Use __THREADNL instead of __THREAD
29029 for memory synchronization functions.
29030
94d44d9f
RM
290312011-10-26 Roland McGrath <roland@hack.frob.com>
29032
21b64b15 29033 [BZ #13349]
94d44d9f
RM
29034 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29035 doesn't exist.
29036 * manual/stdio.texi (Obstack Streams): Node removed.
29037
f6ce9294
AS
290382011-10-26 Andreas Schwab <schwab@redhat.com>
29039
80479147
AS
29040 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29041 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29042 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29043
f6ce9294
AS
29044 * math/math_private.h (math_force_eval): Allow non-addressable
29045 arguments.
29046 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29047
618280a1
UD
290482011-10-25 Ulrich Drepper <drepper@gmail.com>
29049
e0016b11
UD
29050 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29051 file is not needed.
29052
29053 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29054 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29055 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29056 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29057 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29058 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29059 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29060 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29061 Add AVX variants.
29062 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29063 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29064 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29065 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29066 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29067 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29068 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29069 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29070 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29071 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29072 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29073 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29074 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29075 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29076 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29077 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29078 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29079 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29080 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29081
29082 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29083 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29084
618280a1
UD
29085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29086 place. Use VEX encoding when compiling for AVX.
29087
37822576
AS
290882011-10-25 Andreas Schwab <schwab@redhat.com>
29089
1f1e1947
AS
29090 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29091 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29092
37822576
AS
29093 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29094
31ea014d
UD
290952011-10-25 Ulrich Drepper <drepper@gmail.com>
29096
d7826aa1 29097 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29098 useless if() expression.
d7826aa1
UD
29099 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29101 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29102 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29103 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29104 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29105 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29106 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29107 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29109 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29110 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29111 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29112 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29113 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29114 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29115 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29116 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29117 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29118
31ea014d
UD
29119 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29120
16437fec
AS
291212011-10-25 Andreas Schwab <schwab@redhat.com>
29122
29123 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29124 condition.
29125 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29126
31d3cc00
UD
291272011-10-25 Ulrich Drepper <drepper@gmail.com>
29128
29129 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29130 .text section. Avoid duplicate constants.
29131 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29132 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29133 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29135 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29139 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29140 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29141 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29142 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29143 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29144 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29145 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29146 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29147 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29148 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29149 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29150 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29154 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29155 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29156 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29157 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29158 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29159 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29160 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29161 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29162 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29163 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29164 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29165 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29166 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29167 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29168 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29169 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29170 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29171 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29172 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29173 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29174 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29175 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29176
58985aa9
UD
291772011-10-24 Ulrich Drepper <drepper@gmail.com>
29178
202c9deb
UD
29179 * sysdeps/x86_64/dla.h: Move to ...
29180 * sysdeps/x86_64/fpu/dla.h: ...here.
29181 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29182 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29183
af968f62
UD
29184 * config.make.in: Add have-mfma4 entry.
29185 * configure.in: Substitute libc_cv_cc_fma4.
29186 * math/Makefile (dbl-only-routines): Add sincostab.
29187 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29188 Use __sincostab not sincos.
29189 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29190 name is a macro.
29191 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29192 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29193 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29194 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29195 using __copysign.
29196 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29197 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29198 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29199 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29200 and __inv.
29201 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29202 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29203 __copysign.
29204 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29205 define aliases when function name is a macro.
29206 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29207 sysdeps/ieee754/dbl-64/sincos.tbl.
29208 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29209 fma4-enabled routines.
29210 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29211 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29212 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29213 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29214 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29215 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29216 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29217 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29218 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29219 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29220 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29221 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29222 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29223 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29224 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29225 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29226 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29227 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29228 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29240
58985aa9
UD
29241 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29242 rename.
29243 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29244 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29245 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29246 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29247 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29248 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29249 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29250 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29251
a201fbcf
AS
292522011-10-24 Andreas Schwab <schwab@redhat.com>
29253
29254 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29255
fc2ee42a
LD
292562011-10-23 Ulrich Drepper <drepper@gmail.com>
29257
bb3129bd
UD
29258 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29259
0275fff8
UD
29260 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29261 prediction.
29262 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29263
2fa2ae85
UD
29264 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29265 Remove unused variable magic_bits.
29266 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29267
fc2ee42a
LD
29268 * string/strnlen.c: Define and use STRNLEN macro.
29269 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29270 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29272 * wcsmbs/wcslen.c: Define and use WCSLEN.
29273 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29274 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29275 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29276 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29277 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29278 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29279 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29280
ce7dd29f
LD
292812011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29282
29283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29284 strnlen-sse2-no-bsf.
29285 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29287 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29288 Add strnlen support.
29289 (USE_AS_STRNLEN): New macro.
29290 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29291 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29292 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29293 * sysdeps/x86_64/wcslen.S: New file.
29294
979c70a3
MZ
292952011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29296
29297 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29298 XMM-moves are used for copying on small sizes.
29299
2d09f82f
LD
293002011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29301
29302 * wcsmbs/Makefile (strop-tests): Add wcschr.
29303 * wcsmbs/test-wcschr.c: New file.
29304 * string/test-strchr.c: Update.
29305 Add wcschr support.
29306 (WIDE): New macro.
29307
619fccca
LD
293082011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29309
2d09f82f 29310 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29311 * wcsmbs/test-wcslen.c: New file.
29312 * string/test-strlen.c: Update.
29313 Add wcslen support.
29314 (WIDE): New macro.
29315
09f699ea
UD
293162011-10-23 Ulrich Drepper <drepper@gmail.com>
29317
29318 * po/it.po: Update from translation team.
29319
95584d3b
LD
293202011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29321
29322 * sysdeps/x86_64/wcscmp.S: Update.
29323 Fix wrong comparison semantics.
29324 wcscmp shall use signed comparison not unsigned.
29325 Don't use substraction to avoid overflow bug.
29326 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29327 * wcsmbc/wcscmp.c: Likewise.
29328 * string/test-strcmp.c: Likewise.
29329 Add new tests to check cases with negative values.
29330
c8b3296b
UD
293312011-10-23 Ulrich Drepper <drepper@gmail.com>
29332
29333 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29334 * sysdeps/x86_64/dla.h: ...here. New file.
29335 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29337 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29338 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29340 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29341 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29342 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29343 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29344
246ad57a
AS
293452011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29346
29347 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29348 __ynl_finite aliases.
29349
a1a87169
UD
293502011-10-22 Ulrich Drepper <drepper@gmail.com>
29351
0d355eb7
UD
29352 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29353
a1a87169
UD
29354 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29355 define DLA_FMA.
29356 [DLA_FMA] (EMULV): Use DLA_FMA.
29357 [DLA_FMA] (MUL12): Use EMULV.
29358 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29359 that are not needed.
29360 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29363 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29364 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29365 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29366 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29367
ee2aafe0
AS
293682011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29369
29370 * math/s_nan.c: Undef __nan.
29371 * math/s_nanf.c: Undef __nanf.
29372 * math/s_nanl.c: Undef __nanl.
29373 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29374 "math_private.h".
29375
bc62c2fb
UD
293762011-10-22 Ulrich Drepper <drepper@gmail.com>
29377
77425c63
UD
29378 * math/s_catan.c: Add branch predictions.
29379 * math/s_catanf.c: Likewise.
29380 * math/s_catanh.c: Likewise.
29381 * math/s_catanhf.c: Likewise.
29382 * math/s_catanhl.c: Likewise.
29383 * math/s_catanl.c: Likewise.
29384 * math/s_cexp.c: Likewise.
29385 * math/s_cexpf.c: Likewise.
29386 * math/s_cexpl.c: Likewise.
29387 * math/s_clog.c: Likewise.
29388 * math/s_clog10.c: Likewise.
29389 * math/s_clog10f.c: Likewise.
29390 * math/s_clog10l.c: Likewise.
29391 * math/s_clogf.c: Likewise.
29392 * math/s_clogl.c: Likewise.
29393 * math/s_csqrt.c: Likewise.
29394 * math/s_csqrtf.c: Likewise.
29395 * math/s_csqrtl.c: Likewise.
29396 * math/s_ctanf.c: Likewise.
29397 * math/s_ctanh.c: Likewise.
29398 * math/s_ctanhf.c: Likewise.
29399 * math/s_ctanhl.c: Likewise.
29400 * math/s_ctanl.c: Likewise.
29401
bc62c2fb
UD
29402 * math/math_private.h: Define __nan, __nanf, __nanl.
29403 * math/s_cacosh.c: Include <math_private.h>.
29404 * math/s_cacoshl.c: Likewise.
29405 * math/s_casinh.c: Likewise.
29406 * math/s_casinhf.c: Likewise.
29407 * math/s_casinhl.c: Likewise.
29408 * math/s_ccos.c: Rely entire on ccosh.
29409 * math/s_ccosf.c: Rely entire on ccoshf.
29410 * math/s_ccosl.c: Rely entirely on ccoshl.
29411 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29412 Remove tests for FE_INVALID.
29413 * math/s_ccoshf.c: Likewise.
29414 * math/s_ccoshl.c: Likewise.
29415 * math/s_csin.c: Likewise.
29416 * math/s_csinf.c: Likewise.
29417 * math/s_csinh.c Likewise.
29418 * math/s_csinhf.c: Likewise.
29419 * math/s_csinhl.c: Likewise.
29420 * math/s_csinl.c: Likewise.
29421 * math/s_ctan.c: Likewise.
29422 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29423 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29424 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29425
8ec250a4
UD
294262011-10-21 Ulrich Drepper <drepper@gmail.com>
29427
c196fed8
UD
29428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29429 compilation problems.
29430
8ec250a4
UD
29431 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29432 __builtin_expect.
29433
8d4f46c6
UD
294342011-10-20 Ulrich Drepper <drepper@gmail.com>
29435
ed72b654
UD
29436 * sysdeps/i386/configure.in: Test for -mfma4 option.
29437 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29438 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29439 COMMON_CPUID_INDEX_80000001.
29440 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29441 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29442 use it if FMA3 is not supported.
29443 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29444
8d4f46c6
UD
29445 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29446 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29447
d45c60c2
AS
294482011-10-20 Andreas Schwab <schwab@redhat.com>
29449
29450 [BZ #12892]
29451 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29452 it would create a cycle with a link time dependency.
29453
d9a4d2ab
UD
294542011-10-19 Ulrich Drepper <drepper@gmail.com>
29455
855d1560
UD
29456 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29457 instruction.
29458 * string/Makefile (strop-tests): Add rawmemchr.
29459 * string/test-rawmemchr.c: New file.
29460
d9a4d2ab
UD
29461 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29462 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29463 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29464 when compiling str{,n}casecmp and when AVX is available. Hook up
29465 new optimized code in initializers.
29466
8f3b1ffe
AS
294672011-10-19 Andreas Schwab <schwab@redhat.com>
29468
29469 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29470 __feraiseexcept instead of feraiseexcept.
29471
d38f1dba
UD
294722011-10-18 Ulrich Drepper <drepper@gmail.com>
29473
d9a8d0ab
UD
29474 * math/math_private.h: Define defaults for libc_fetestexcept and
29475 libc_feupdateenv.
29476 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29477 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29478 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29479 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29480 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29481 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29482 libc_fetestexcept and libc_feupdateenv.
29483
4855e3dd
UD
29484 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29485 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29486 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29487 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29488 libc_feholdexcept_setround.
29489
581d30e3
UD
29490 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29491 Add s_nearbyint-c and s_nearbyintf-c.
29492 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29493 nearbyintf inlines.
29494 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29495 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29496 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29497 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29498
d38f1dba
UD
29499 * math/math_private.h: Define defaults for libc_fegetround,
29500 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29501 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29502 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29503 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29504 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29505 standard functions.
29506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29507 Remove comments and hacks for old compiler versions.
29508 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29509 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29510 libc_feholdexceptl.
29511
caa6c9d8
AS
295122011-10-18 Andreas Schwab <schwab@redhat.com>
29513
29514 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29515 (__feraiseexcept_renamed): Add __NTH.
29516 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29517 namespace violations.
29518
97c066e6
UD
295192011-10-17 Ulrich Drepper <drepper@gmail.com>
29520
99ce7b04
UD
29521 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29522
1004d182
UD
29523 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29524
228a984d
UD
29525 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29526 recently added interfaces.
29527 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29528
c8553a6a
UD
29529 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29530 about macro parameter expansion.
29531
ed22dcf6
UD
29532 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29533 __NO_MATH_INLINES is defined. Cleanups.
29534
29535 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29536 and __floorf is target has SSE4.1.
29537 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29538 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29539 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29540 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29541
b171c137
UD
29542 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29543 name.
29544 (floorf): Likewise.
29545
97c066e6
UD
29546 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29547
629f62ef
AS
295482011-10-17 Andreas Schwab <schwab@redhat.com>
29549
49a43d80
AS
29550 * misc/sys/cdefs.h: Fix last change.
29551
629f62ef
AS
29552 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29553 database lookup.
29554
e453f6cd
UD
295552011-10-16 Ulrich Drepper <drepper@gmail.com>
29556
aa78043a
UD
29557 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29558
ad0f5cad
UD
29559 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29560 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29561 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29562 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29563 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29564 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29565 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29566 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29567 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29568 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29569 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29570 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29571 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29572 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29573 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29574 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29575 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29576 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29577 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29578 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29579 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29580 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29581
29582 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29583 ceil, ceilf, floor, floorf.
29584
29585 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29586 Perform IRELATIVE relocations last.
29587
e453f6cd
UD
29588 * elf/do-rel.h: Add another parameter nrelative, replacing the
29589 local variable with the same name. Change name of the function
29590 to end in Rel or Rela (uppercase).
29591 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29592 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29593 elf_dynamic_do_##reloc function.
29594
fd5bdc09
UD
295952011-10-15 Ulrich Drepper <drepper@gmail.com>
29596
79b195b5
UD
29597 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29598 is sufficient, at least on modern CPUs.
29599
d4a28569
UD
29600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29601
b61099b5
UD
29602 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29603 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29604
bcf01e6d
UD
29605 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29606 __expl_finite.
29607 * math/bits/math-finite.h: Add entries for exp.
29608 * math/e_expl.c: Add __*_finite alias.
29609 * sysdeps/i386/fpu/e_exp.S: Likewise.
29610 * sysdeps/i386/fpu/e_expf.S: Likewise.
29611 * sysdeps/i386/fpu/e_expl.c: Likewise.
29612 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29613 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29614 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29615 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29616 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29617 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29618 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29619
ba1a0d59
UD
29620 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29621 is sufficient, at least on modern CPUs.
29622
fd5bdc09
UD
29623 * ctype/ctype-info.c (__ctype_init): Define.
29624 * include/ctype.h (__ctype_init): Declare.
29625 (__ctype_b_loc): The variable is always initialized.
29626 (__ctype_toupper_loc): Likewise.
29627 (__ctype_tolower_loc): Likewise.
29628 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29629 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29630
7872cfb0
AS
296312011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29632
b468825a
AS
29633 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29634
7872cfb0
AS
29635 * configure.in: Also look in $cxxmachine/include for C++ system
29636 headers.
29637
be13f7bf
LD
296382011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29639
29640 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29641 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29642 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29643 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29644 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29645 (USE_AS_WMEMCMP): New macro.
29646 Fixing indents.
29647 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29648 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29649 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29650 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29651 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29652 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29653 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29654 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29655 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29656 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29657 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29658 (USE_AS_WMEMCMP): New macro.
29659 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29660 * sysdeps/string/test-memcmp.c: Update.
29661 Fix simple_wmemcmp.
29662 Add new tests.
29663 * wcsmbs/wmemcmp.c: Update.
29664 (WMEMCMP): New macro.
29665 Fix overflow bug.
29666
556a2007
AJ
296672011-10-12 Andreas Jaeger <aj@suse.de>
29668
29669 [BZ #13268]
29670 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29671
538faaa7
UD
296722011-10-15 Ulrich Drepper <drepper@gmail.com>
29673
ab6737ff
UD
29674 * libio/iofwide.c (do_length): Avoid warning.
29675
538faaa7
UD
29676 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29677
396a21b1
UD
296782011-10-14 Ulrich Drepper <drepper@gmail.com>
29679
cdf2901f
UD
29680 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29681
38ad40ce
UD
29682 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29683 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29684 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29685 * sysdeps/i386/i686/fpu/e_log.S: New file.
29686 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29687 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29688
396a21b1
UD
29689 * ctype/ctype.h: Add support for inlined isXXX functions when
29690 compiling C++ code.
29691
6b1f68c9
AS
296922011-10-14 Andreas Schwab <schwab@redhat.com>
29693
349290c0
AS
29694 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29695
6b1f68c9
AS
29696 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29697
f2282d42
RM
296982011-10-13 Roland McGrath <roland@hack.frob.com>
29699
29700 [BZ #13291]
29701 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29702
5298ffa8
AS
297032011-10-13 Andreas Schwab <schwab@redhat.com>
29704
714fad23
AS
29705 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29706 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29707 feraiseexcept.
29708
81dcc7fb
AS
29709 * sysdeps/x86_64/memrchr.S: Check for zero size.
29710
5298ffa8
AS
29711 * string/stratcliff.c: Add memrchr tests.
29712
951fbcec
LD
297132011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29714
29715 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29716 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29717 rawmemchr-sse2 rawmemchr-sse2-bsf.
29718 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29719 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29720 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29721 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29722 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29723 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29724 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29725 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29726 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29727 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29728 * string/memrchr.c (MEMRCHR): New macro.
29729
0ac5ae23
UD
297302011-10-12 Ulrich Drepper <drepper@gmail.com>
29731
29732 Add integration with gcc's -ffinite-math-only and optimize wrapper
29733 functions in libm.
29734 * Versions.def: Define GLIBC_2.15 version for libm.
29735 * math/Makefile (headers): Add bits/math-finite.h.
29736 * math/bits/math-finite.h: New file.
29737 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29738 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29739 * math/e_acoshl.c: Add __*_finite alias.
29740 * math/e_acosl.c: Likewise.
29741 * math/e_asinl.c: Likewise.
29742 * math/e_atan2l.c: Likewise.
29743 * math/e_atanhl.c: Likewise.
29744 * math/e_coshl.c: Likewise.
29745 * math/e_exp10.c: Likewise.
29746 * math/e_exp10f.c: Likewise.
29747 * math/e_exp10l.c: Likewise.
29748 * math/e_exp2l.c: Likewise.
29749 * math/e_fmodl.c: Likewise.
29750 * math/e_gammal_r.c: Likewise.
29751 * math/e_hypotl.c: Likewise.
29752 * math/e_j0l.c: Likewise.
29753 * math/e_j1l.c: Likewise.
29754 * math/e_jnl.c: Likewise.
29755 * math/e_lgammal_r.c: Likewise.
29756 * math/e_log10l.c: Likewise.
29757 * math/e_log2l.c: Likewise.
29758 * math/e_logl.c: Likewise.
29759 * math/e_powl.c: Likewise.
29760 * math/e_sinhl.c: Likewise.
29761 * math/e_sqrtl.c: Likewise.
29762 * math/e_scalb.c: Completely rewritten and optimized.
29763 * math/e_scalbf.c: Likewise.
29764 * math/e_scalbl.c: Likewise.
29765 * math/w_acos.c: Likewise.
29766 * math/w_acosf.c: Likewise.
29767 * math/w_acosl.c: Likewise.
29768 * math/w_acosh.c: Likewise.
29769 * math/w_acoshf.c: Likewise.
29770 * math/w_acoshl.c: Likewise.
29771 * math/w_asin.c: Likewise.
29772 * math/w_asinf.c: Likewise.
29773 * math/w_asinl.c: Likewise.
29774 * math/w_atan2.c: Likewise.
29775 * math/w_atan2f.c: Likewise.
29776 * math/w_atan2l.c: Likewise.
29777 * math/w_atanh.c: Likewise.
29778 * math/w_atanhf.c: Likewise.
29779 * math/w_atanhl.c: Likewise.
29780 * math/w_exp10.c: Likewise.
29781 * math/w_exp10f.c: Likewise.
29782 * math/w_exp10l.c: Likewise.
29783 * math/w_fmod.c: Likewise.
29784 * math/w_fmodf.c: Likewise.
29785 * math/w_fmodl.c: Likewise.
29786 * math/w_j0.c: Likewise.
29787 * math/w_j0f.c: Likewise.
29788 * math/w_j0l.c: Likewise.
29789 * math/w_j1.c: Likewise.
29790 * math/w_j1f.c: Likewise.
29791 * math/w_j1l.c: Likewise.
29792 * math/w_jn.c: Likewise.
29793 * math/w_jnf.c: Likewise.
29794 * math/w_log.c: Likewise.
29795 * math/w_logf.c: Likewise.
29796 * math/w_logl.c: Likewise.
29797 * math/w_log10.c: Likewise.
29798 * math/w_log10f.c: Likewise.
29799 * math/w_log10l.c: Likewise.
29800 * math/w_log2.c: Likewise.
29801 * math/w_log2f.c: Likewise.
29802 * math/w_log2l.c: Likewise.
29803 * math/w_pow.c: Likewise.
29804 * math/w_powf.c: Likewise.
29805 * math/w_powl.c: Likewise.
29806 * math/w_remainder.c: Likewise.
29807 * math/w_remainderf.c: Likewise.
29808 * math/w_remainderl.c: Likewise.
29809 * math/w_scalb.c: Likewise.
29810 * math/w_scalbf.c: Likewise.
29811 * math/w_scalbl.c: Likewise.
29812 * math/w_sqrt.c: Likewise.
29813 * math/w_sqrtf.c: Likewise.
29814 * math/w_sqrtl.c: Likewise.
29815 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29816 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29817 used.
29818 * math/math_private.h: Declare __kernel_standard_f.
29819 * math/w_cosh.c: Remove cruft and optimize a bit.
29820 * math/w_coshf.c: Likewise.
29821 * math/w_coshl.c: Likewise.
29822 * math/w_exp2.c: Likewise.
29823 * math/w_exp2f.c: Likewise.
29824 * math/w_exp2l.c: Likewise.
29825 * math/w_hypot.c: Likewise.
29826 * math/w_hypotf.c: Likewise.
29827 * math/w_hypotl.c: Likewise.
29828 * math/w_lgamma.c: Likewise.
29829 * math/w_lgamma_r.c: Likewise.
29830 * math/w_lgammaf.c: Likewise.
29831 * math/w_lgammaf_r.c: Likewise.
29832 * math/w_lgammal.c: Likewise.
29833 * math/w_lgammal_r.c: Likewise.
29834 * math/w_sinh.c: Likewise.
29835 * math/w_sinhf.c: Likewise.
29836 * math/w_sinhl.c: Likewise.
29837 * math/w_tgamma.c: Likewise.
29838 * math/w_tgammaf.c: Likewise.
29839 * math/w_tgammal.c: Likewise.
29840 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29841 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29842 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29843 Minor optimizations. Pretty printing. Remove cruft.
29844 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29845 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29846 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29847 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29848 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29849 * sysdeps/i386/fpu/e_asin.S: Likewise.
29850 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29851 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29852 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29853 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29854 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29855 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29856 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29857 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29858 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29859 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29860 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29861 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29862 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29863 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29864 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29865 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29866 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29867 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29868 * sysdeps/i386/fpu/e_log.S: Likewise.
29869 * sysdeps/i386/fpu/e_log10.S: Likewise.
29870 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29871 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29872 * sysdeps/i386/fpu/e_log2.S: Likewise.
29873 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29874 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29875 * sysdeps/i386/fpu/e_logf.S: Likewise.
29876 * sysdeps/i386/fpu/e_logl.S: Likewise.
29877 * sysdeps/i386/fpu/e_pow.S: Likewise.
29878 * sysdeps/i386/fpu/e_powf.S: Likewise.
29879 * sysdeps/i386/fpu/e_powl.S: Likewise.
29880 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29881 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29882 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29883 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29884 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29885 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29886 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29887 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29888 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29889 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29890 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29891 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29892 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29893 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29894 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29895 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29896 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29897 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29898 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29899 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29900 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29901 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29902 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29903 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29904 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29905 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29906 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29907 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29910 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29911 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29912 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29913 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29914 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29915 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29916 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29917 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29918 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29920 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29921 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29922 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29923 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29924 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29925 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29926 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29927 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29928 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29929 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29931 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29932 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29933 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29934 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29935 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29936 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29937 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29938 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29939 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29940 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29941 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29942 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29943 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29944 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29945 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29946 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29947 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29948 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29949 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29969 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29972 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29973 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29974 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29975 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29977 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29979 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29980 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29981 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29982 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29983 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29984 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29985 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29986 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29987 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29988 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29989 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29990 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29991 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29992 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29993 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29994 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29995 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29996 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29997 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29998 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29999 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30000 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30001 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30002 (__isnanf): Likewise.
30003 (__isinf_ns): Likewise.
30004 (__isinf_nsf): Likewise.
30005 (__finite): Likewise.
30006 (__finitef): Likewise.
30007 (__ieee754_sqrt): Define as macro.
30008 (__ieee754_sqrtf): Define as macro.
30009 (__ieee754_sqrtl): Define as macro.
30010 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30011 inlined copy.
30012 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30013 __FINITE_MATH_ONLY__ consistent.
30014 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30015
12cc2fcd
AS
300162011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30017
a843a204
AS
30018 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30019 of rawmemchr.
30020
12cc2fcd
AS
30021 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30022
c853acd5
UD
300232011-10-09 Ulrich Drepper <drepper@gmail.com>
30024
30025 * po/ja.po: Update from translation team.
30026
c658d255
RM
300272011-10-08 Roland McGrath <roland@hack.frob.com>
30028
110946e4
RM
30029 * locale/programs/locarchive.c (prepare_address_space): New function.
30030 (create_archive, enlarge_archive, open_archive): Use it.
30031
50604220
RM
30032 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30033 inside [SHARED], where it is used.
30034
c658d255
RM
30035 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30036
30037 * nss/getent.c (netgroup_keys): Remove unused variable.
30038 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30039
6a621eb7
UD
300402011-10-08 Ulrich Drepper <drepper@gmail.com>
30041
7edb55ce
UD
30042 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30043 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30045 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30046 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30047 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30048 * math/Makefile (libm-calls): Add s_isinf_ns.
30049 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30050 * math/multc3.c: Likewise.
30051 * math/s_casin.c: Likewise.
30052 * math/s_casinf.c: Likewise.
30053 * math/s_casinl.c: Likewise.
30054 * math/s_ccos.c: Likewise.
30055 * math/s_ccosf.c: Likewise.
30056 * math/s_ccosl.c: Likewise.
30057 * math/s_ctan.c: Likewise.
30058 * math/s_ctanf.c: Likewise.
30059 * math/s_ctanh.c: Likewise.
30060 * math/s_ctanhf.c: Likewise.
30061 * math/s_ctanhl.c: Likewise.
30062 * math/s_ctanl.c: Likewise.
30063 * math/w_fmod.c: Likewise.
30064 * math/w_fmodf.c: Likewise.
30065 * math/w_fmodl.c: Likewise.
30066 * math/w_remainder.c: Likewise.
30067 * math/w_remainderf.c: Likewise.
30068 * math/w_remainderl.c: Likewise.
30069 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30070 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30071 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30072 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30073 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30074 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30075 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30076 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30077
187da0ae
UD
30078 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30079 of the number.
30080 * stdio-common/printf_fphex.c: Likewise.
30081 * stdio-common/printf_size.c: Likewise.
30082
9277c064
UD
30083 * math/e_exp10.c: Include math_private.h using <...> not "...".
30084 * math/e_exp10f.c: Likewise.
30085 * math/e_exp10l.c: Likewise.
30086 * math/e_exp2l.c: Likewise.
30087 * math/e_j0l.c: Likewise.
30088 * math/e_j1l.c: Likewise.
30089 * math/e_jnl.c: Likewise.
30090 * math/e_lgammal_r.c: Likewise.
30091 * math/e_rem_pio2l.c: Likewise.
30092 * math/e_scalb.c: Likewise.
30093 * math/e_scalbf.c: Likewise.
30094 * math/e_scalbl.c: Likewise.
30095 * math/k_cosl.c: Likewise.
30096 * math/k_sinl.c: Likewise.
30097 * math/k_tanl.c: Likewise.
30098 * math/s_cacoshf.c: Likewise.
30099 * math/s_catan.c: Likewise.
30100 * math/s_catanf.c: Likewise.
30101 * math/s_catanh.c: Likewise.
30102 * math/s_catanhf.c: Likewise.
30103 * math/s_catanhl.c: Likewise.
30104 * math/s_catanl.c: Likewise.
30105 * math/s_ccosh.c: Likewise.
30106 * math/s_ccoshf.c: Likewise.
30107 * math/s_ccoshl.c: Likewise.
30108 * math/s_cexp.c: Likewise.
30109 * math/s_cexpf.c: Likewise.
30110 * math/s_cexpl.c: Likewise.
30111 * math/s_clog.c: Likewise.
30112 * math/s_clog10.c: Likewise.
30113 * math/s_clog10f.c: Likewise.
30114 * math/s_clog10l.c: Likewise.
30115 * math/s_clogf.c: Likewise.
30116 * math/s_clogl.c: Likewise.
30117 * math/s_csin.c: Likewise.
30118 * math/s_csinf.c: Likewise.
30119 * math/s_csinh.c: Likewise.
30120 * math/s_csinhf.c: Likewise.
30121 * math/s_csinhl.c: Likewise.
30122 * math/s_csinl.c: Likewise.
30123 * math/s_csqrt.c: Likewise.
30124 * math/s_csqrtf.c: Likewise.
30125 * math/s_csqrtl.c: Likewise.
30126 * math/s_ctan.c: Likewise.
30127 * math/s_ctanf.c: Likewise.
30128 * math/s_ctanh.c: Likewise.
30129 * math/s_ctanhf.c: Likewise.
30130 * math/s_ctanhl.c: Likewise.
30131 * math/s_ctanl.c: Likewise.
30132 * math/s_ldexp.c: Likewise.
30133 * math/s_ldexpf.c: Likewise.
30134 * math/s_ldexpl.c: Likewise.
30135 * math/s_significand.c: Likewise.
30136 * math/s_significandf.c: Likewise.
30137 * math/s_significandl.c: Likewise.
30138 * math/w_acos.c: Likewise.
30139 * math/w_acosf.c: Likewise.
30140 * math/w_acosh.c: Likewise.
30141 * math/w_acoshf.c: Likewise.
30142 * math/w_acoshl.c: Likewise.
30143 * math/w_acosl.c: Likewise.
30144 * math/w_asin.c: Likewise.
30145 * math/w_asinf.c: Likewise.
30146 * math/w_asinl.c: Likewise.
30147 * math/w_atan2.c: Likewise.
30148 * math/w_atan2f.c: Likewise.
30149 * math/w_atan2l.c: Likewise.
30150 * math/w_atanh.c: Likewise.
30151 * math/w_atanhf.c: Likewise.
30152 * math/w_atanhl.c: Likewise.
30153 * math/w_cosh.c: Likewise.
30154 * math/w_coshf.c: Likewise.
30155 * math/w_coshl.c: Likewise.
30156 * math/w_dremf.c: Likewise.
30157 * math/w_exp10.c: Likewise.
30158 * math/w_exp10f.c: Likewise.
30159 * math/w_exp10l.c: Likewise.
30160 * math/w_exp2.c: Likewise.
30161 * math/w_exp2f.c: Likewise.
30162 * math/w_fmod.c: Likewise.
30163 * math/w_fmodf.c: Likewise.
30164 * math/w_fmodl.c: Likewise.
30165 * math/w_hypot.c: Likewise.
30166 * math/w_hypotf.c: Likewise.
30167 * math/w_hypotl.c: Likewise.
30168 * math/w_j0.c: Likewise.
30169 * math/w_j0f.c: Likewise.
30170 * math/w_j0l.c: Likewise.
30171 * math/w_j1.c: Likewise.
30172 * math/w_j1f.c: Likewise.
30173 * math/w_j1l.c: Likewise.
30174 * math/w_jn.c: Likewise.
30175 * math/w_jnf.c: Likewise.
30176 * math/w_jnl.c: Likewise.
30177 * math/w_lgamma.c: Likewise.
30178 * math/w_lgamma_r.c: Likewise.
30179 * math/w_lgammaf.c: Likewise.
30180 * math/w_lgammaf_r.c: Likewise.
30181 * math/w_lgammal.c: Likewise.
30182 * math/w_lgammal_r.c: Likewise.
30183 * math/w_log.c: Likewise.
30184 * math/w_log10.c: Likewise.
30185 * math/w_log10f.c: Likewise.
30186 * math/w_log10l.c: Likewise.
30187 * math/w_log2.c: Likewise.
30188 * math/w_log2f.c: Likewise.
30189 * math/w_log2l.c: Likewise.
30190 * math/w_logf.c: Likewise.
30191 * math/w_logl.c: Likewise.
30192 * math/w_pow.c: Likewise.
30193 * math/w_powf.c: Likewise.
30194 * math/w_powl.c: Likewise.
30195 * math/w_remainder.c: Likewise.
30196 * math/w_remainderf.c: Likewise.
30197 * math/w_remainderl.c: Likewise.
30198 * math/w_scalb.c: Likewise.
30199 * math/w_scalbf.c: Likewise.
30200 * math/w_scalbl.c: Likewise.
30201 * math/w_sinh.c: Likewise.
30202 * math/w_sinhf.c: Likewise.
30203 * math/w_sinhl.c: Likewise.
30204 * math/w_sqrt.c: Likewise.
30205 * math/w_sqrtf.c: Likewise.
30206 * math/w_sqrtl.c: Likewise.
30207 * math/w_tgamma.c: Likewise.
30208 * math/w_tgammaf.c: Likewise.
30209 * math/w_tgammal.c: Likewise.
30210
6a621eb7
UD
30211 * po/ja.po: Update from translation team.
30212
bf582445
AJ
302132011-09-29 Andreas Jaeger <aj@suse.de>
30214
f9efbf3a
AJ
30215 [BZ #13179]
30216 * sunrpc/netname.c (netname2host): Fix logic.
30217
bf582445
AJ
30218 [BZ #6779]
30219 [BZ #6783]
30220 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30221 correctly.
30222 * math/w_remainder.c (__remainder): Likewise.
30223 * math/w_remainderf.c (__remainderf): Likewise.
30224 * math/libm-test.inc (remainder_test): Add test cases.
30225
48693bea
AK
302262011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30227
30228 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30229 sdiv_qrnnd.
30230
42622229
LD
302312011-10-07 Ulrich Drepper <drepper@gmail.com>
30232
30233 * string/test-memcmp.c: Avoid unncessary #defines.
30234 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30235
093ecf92
LD
302362011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30237
30238 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30239 Use new sse2 version for core i3 - i7 as it's faster
30240 than sse42 version.
30241 (bit_Prefer_PMINUB_for_stringop): New.
30242 * sysdeps/x86_64/rawmemchr.S: Update.
30243 Replace with faster SSE2 version.
30244 * sysdeps/x86_64/memrchr.S: New file.
30245 * sysdeps/x86_64/memchr.S: Update.
30246 Replace with faster SSE2 version.
30247
fde56e5c
MP
302482011-09-12 Marek Polacek <mpolacek@redhat.com>
30249
30250 * elf/dl-load.c (lose): Add cast to avoid warning.
30251
21fd49a9
UD
302522011-10-07 Ulrich Drepper <drepper@gmail.com>
30253
5a06e643
UD
30254 * po/ca.po: Update from translation team.
30255
684ae515
UD
30256 * inet/getnetgrent_r.c: Hook up nscd.
30257 * nscd/Makefile (routines): Add nscd_netgroup.
30258 (nscd-modules): Add netgroupcache.
30259 (CFLAGS-netgroupcache.c): Define.
30260 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30261 (cache_search): Add const to second parameter.
30262 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30263 INNETGR.
30264 (dbs): Add netgrdb entry.
30265 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30266 (verify_persistent_db): Handle netgrdb.
30267 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30268 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30269 GETFDNETGR.
30270 (netgroup_response_header): Define.
30271 (innetgroup_response_header): Define.
30272 (datahead): Add netgroup_response_header and innetgroup_response_header
30273 elements.
30274 * nscd/nscd.conf: Add entries for netgroup cache.
30275 * nscd/nscd.h (dbtype): Add netgrdb.
30276 (_PATH_NSCD_NETGROUP_DB): Define.
30277 (netgroup_iov_disabled): Declare.
30278 (xmalloc, xcalloc, xrealloc): Move declarations here.
30279 (cache_search): Adjust prototype.
30280 Add netgroup-related prototypes.
30281 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30282 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30283 (__nscd_innetgr): Declare.
30284 * nscd/selinux.c (perms): Use access_vector_t as element type and
30285 add netgroup-related initializers.
30286 * nscd/netgroupcache.c: New file.
30287 * nscd/nscd_netgroup.c: New file.
30288 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30289 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30290 For four parameters use innetgr.
30291 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30292 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30293 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30294 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30295
21fd49a9
UD
30296 * nscd/connections.c (register_traced_file): Don't register file
30297 for disabled databases.
30298
054c0457
UD
302992011-10-06 Ulrich Drepper <drepper@gmail.com>
30300
32b63198
UD
30301 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30302
054c0457
UD
30303 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30304 from tree and freeing node.
30305
64031225
JO
303062011-09-25 Jiri Olsa <jolsa@redhat.com>
30307
30308 * nss/nsswitch.c (__nss_database_lookup): Handle
30309 nss_parse_service_list out of memory case.
30310
0490345c
JO
303112011-09-15 Jiri Olsa <jolsa@redhat.com>
30312
30313 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30314 out of memory case.
30315
3a62d00d
AS
303162011-10-04 Andreas Schwab <schwab@redhat.com>
30317
30318 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30319 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30320 pass it down.
30321 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30322 elf_machine_rela, elf_machine_lazy_rel.
30323 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30324 (ELF_DYNAMIC_DO_REL): Likewise.
30325 (ELF_DYNAMIC_DO_RELA): Likewise.
30326 (ELF_DYNAMIC_RELOCATE): Likewise.
30327 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30328 to ELF_DYNAMIC_DO_REL.
30329 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30330 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30331 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30332 elf_machine_rela.
30333 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30334 skip_ifunc, don't call ifunc function if non-zero.
30335 (elf_machine_rela): Likewise.
30336 (elf_machine_lazy_rel): Likewise.
30337 (elf_machine_lazy_rela): Likewise.
30338 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30339 (elf_machine_lazy_rel): Likewise.
30340 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30341 Likewise.
30342 (elf_machine_lazy_rel): Likewise.
30343 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30344 Likewise.
30345 (elf_machine_lazy_rel): Likewise.
30346 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30347 (elf_machine_lazy_rel): Likewise.
30348 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30349 (elf_machine_lazy_rel): Likewise.
30350 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30351 (elf_machine_lazy_rel): Likewise.
30352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30353 (elf_machine_lazy_rel): Likewise.
30354 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30355 (elf_machine_lazy_rel): Likewise.
30356 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30357 (elf_machine_lazy_rel): Likewise.
30358
68577918
UD
303592011-09-28 Ulrich Drepper <drepper@gmail.com>
30360
30361 * nss/nss_files/files-init.c (_nss_files_init): Use static
30362 initialization for all the *_traced_file variables.
30363
68822d74
AS
303642011-09-28 Andreas Schwab <schwab@redhat.com>
30365
30366 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30367
2056100b
RM
303682011-09-27 Roland McGrath <roland@hack.frob.com>
30369
30370 [BZ #13226]
30371 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30372
32c76b63
AS
303732011-09-27 Andreas Schwab <schwab@redhat.com>
30374
30375 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30376 Reread the line before reparsing it.
30377
bf972c9d
AS
303782011-09-26 Andreas Schwab <schwab@redhat.com>
30379
30380 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30381
e057a1b5
JM
303822011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30383 Maxim Kuvyrkov <maxim@codesourcery.com>
30384 Joseph Myers <joseph@codesourcery.com>
30385
30386 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30387 if needed for __stack_chk_guard.
30388
bc7e1c36
RM
303892011-09-19 Roland McGrath <roland@hack.frob.com>
30390
ecb1482f
RM
30391 * sysdeps/posix/spawni.c (script_execute): Always define it.
30392 It will be optimized away if unused.
30393 (maybe_script_execute): New function.
30394 (__spawni): Call it.
30395
bc7e1c36
RM
30396 * Makerules: Don't include tls.make.
30397 (config-tls): Always set to thread.
30398 * tls.make.c: File removed.
30399
1c3b002b
MF
304002011-09-19 Mike Frysinger <vapier@gentoo.org>
30401
30402 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30403 * config.make.in (CPPFLAGS-config): New substituted variable.
30404
2840865d
UD
304052011-09-15 Ulrich Drepper <drepper@gmail.com>
30406
88738eb6
UD
30407 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30408
cbf645a6 30409 [BZ #13192]
2840865d
UD
30410 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30411 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30412
b402e91a
RM
304132011-09-15 Roland McGrath <roland@hack.frob.com>
30414
30415 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30416 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30417 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30418 (CALL_FAIL): Likewise.
30419 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30420 (CALL_FAIL): Macro removed.
30421 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30422
4c1a1f71
UD
304232011-09-15 Ulrich Drepper <drepper@gmail.com>
30424
30425 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30426 for __FINITE_MATH_ONLY__ == 1.
30427
edc121be
AS
304282011-09-15 Andreas Schwab <schwab@redhat.com>
30429
30430 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30431 __ieee754_sqrt instead of sqrt.
30432 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30433 __ieee754_sqrtf instead of sqrtf.
30434 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30435 __floorf instead of floorf.
30436 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30437 __floorf, __truncf instead of floorf, truncf.
30438
cd205654
UD
304392011-09-14 Ulrich Drepper <drepper@gmail.com>
30440
ee4d0315
UD
30441 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30442
cd205654
UD
30443 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30444 __extern_always_inline.
30445 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30446 32-bit.
30447
48b67d71
AS
304482011-09-14 Andreas Schwab <schwab@redhat.com>
30449
30450 * elf/rtld.c (dl_main): Also relocate in dependency order when
30451 doing symbol dependency testing.
30452
1ae12c75
AS
304532011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30454
30455 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30456 Always define `refsym'.
30457
995a80df
AS
304582011-09-13 Andreas Schwab <schwab@redhat.com>
30459
e529793b
AS
30460 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30461 (__FD_ELT): Renamed from __FDELT.
30462 * misc/bits/select2.h (__FD_ELT): Likewise.
30463 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30464 __FD_MASK instead of __FDELT, __FDMASK.
30465 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30466 Likewise.
30467 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30468 Likewise.
30469
52d4fef8
AS
30470 * elf/Makefile (gen-ldd): Fix pattern.
30471
995a80df
AS
30472 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30473 (init_tls): Likewise.
30474
8682f8b0
UD
304752011-09-12 Ulrich Drepper <drepper@gmail.com>
30476
30477 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30478
de82006d
AS
304792011-09-12 Andreas Schwab <schwab@redhat.com>
30480
a7c8e6a1
AS
30481 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30482 `struct cmsghdr *' instead of `void *'.
30483 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30484 Likewise.
30485
0f31fe77
AS
304862011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30487
30488 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30489 if non-absolute.
30490 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30491 ldd_rewrite_script.
0f31fe77 30492
32b4c839
UD
304932011-09-11 Ulrich Drepper <drepper@gmail.com>
30494
83cd1420
UD
30495 * configure.in: Remove --with-tls option.
30496 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30497 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30498 out in case it is missing.
30499 * sysdeps/ia64/elf/configure.in: Likewise.
30500 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30501 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30502 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30503 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30504 * sysdeps/sh/elf/configure.in: Likewise.
30505 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30506 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30507 * sysdeps/x86_64/elf/configure.in: Likewise.
30508 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30509 * sysdeps/mach/hurd/tls.h: Likewise.
30510
633f745d
UD
30511 [BZ #13067]
30512 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30513
f318beb8
UD
30514 [BZ #13090]
30515 * configure.in: Fix use of AC_INIT.
30516
32b4c839
UD
30517 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30518
3ce1f295
UD
305192011-09-10 Ulrich Drepper <drepper@gmail.com>
30520
bb016596
UD
30521 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30522 __set_errno.
8e58439c
UD
30523 * malloc/hooks.c: Likewise.
30524
aebae053 30525 [BZ #11929]
02d46fc4
UD
30526 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30527 variables statically.
30528 (narenas): Initialize.
30529 (list_lock): Initialize.
bb016596
UD
30530 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30531 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30532 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30533 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30534 Add initializers to main_arena and mp_.
30535 (malloc_state): Remove pagesize member. Change all users to use
30536 GLRO(dl_pagesize).
30537
30538 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30539 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30540 is always initialized.
30541
22a89187
UD
30542 * malloc/malloc.c: Removed unused configurations and dead code.
30543 * malloc/arena.c: Likewise.
30544 * malloc/hooks.c: Likewise.
02d46fc4 30545 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30546
d063d164
UD
30547 * include/tls.h: Removed. USE___THREAD must always be defined.
30548 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30549 * elf/dl-libc.c: Likewise.
30550 * elf/dl-tsd.c: Likewise.
30551 * include/errno.h: Likewise.
30552 * include/netdb.h: Likewise.
30553 * include/resolv.h: Likewise.
30554 * inet/herrno-loc.c: Likewise.
30555 * inet/herrno.c: Likewise.
30556 * malloc/arena.c: Likewise.
30557 * malloc/hooks.c: Likewise.
30558 * malloc/malloc.c: Likewise.
30559 * resolv/res-state.c: Likewise.
30560 * resolv/res_libc.c: Likewise.
30561 * sysdeps/i386/dl-machine.h: Likewise.
30562 * sysdeps/ia64/dl-machine.h: Likewise.
30563 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30564 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30565 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30566 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30567 * sysdeps/sh/dl-machine.h: Likewise.
30568 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30569 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30570 * sysdeps/unix/i386/sysdep.S: Likewise.
30571 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30572 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30573 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30574 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30575 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30576 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30577 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30578 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30579 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30580 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30581 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30582 * sysdeps/x86_64/dl-machine.h: Likewise.
30583 * tls.make.c: Likewise.
30584
3ce1f295
UD
30585 * configure.in: Remove --with-__thread option. Make tests for
30586 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30587 tls_model attribute fail if no support is available. Remove
30588 USE_IN_LIBIO.
30589 * Makeconfig: Adjust for dropped configure option. All features are
30590 now mandatory.
30591 * Makerules: Likewise.
30592 * Versions.def: Likewise.
30593 * argp/argp-fmtstream.c: Likewise.
30594 * argp/argp-fmtstream.h: Likewise.
30595 * argp/argp-help.c: Likewise.
30596 * assert/assert.c: Likewise.
30597 * config.h.in: Likewise.
30598 * config.make.in: Likewise.
30599 * configure: Likewise.
30600 * configure.in: Likewise.
30601 * csu/Versions: Likewise.
30602 * csu/init.c: Likewise.
30603 * elf/tst-audit2.c: Likewise.
30604 * elf/tst-tls10.c: Likewise.
30605 * elf/tst-tls10.h: Likewise.
30606 * elf/tst-tls11.c: Likewise.
30607 * elf/tst-tls12.c: Likewise.
30608 * elf/tst-tls14.c: Likewise.
30609 * elf/tst-tlsmod11.c: Likewise.
30610 * elf/tst-tlsmod12.c: Likewise.
30611 * elf/tst-tlsmod13.c: Likewise.
30612 * elf/tst-tlsmod13a.c: Likewise.
30613 * elf/tst-tlsmod14a.c: Likewise.
30614 * elf/tst-tlsmod15b.c: Likewise.
30615 * elf/tst-tlsmod16a.c: Likewise.
30616 * elf/tst-tlsmod16b.c: Likewise.
30617 * elf/tst-tlsmod7.c: Likewise.
30618 * elf/tst-tlsmod8.c: Likewise.
30619 * elf/tst-tlsmod9.c: Likewise.
30620 * gmon/gmon.c: Likewise.
30621 * grp/fgetgrent_r.c: Likewise.
30622 * grp/putgrent.c: Likewise.
30623 * hurd/fopenport.c: Likewise.
30624 * include/libc-symbols.h: Likewise.
30625 * include/tls.h: Likewise.
30626 * intl/gettextP.h: Likewise.
30627 * intl/loadinfo.h: Likewise.
30628 * locale/global-locale.c: Likewise.
30629 * locale/localeinfo.h: Likewise.
30630 * mach/devstream.c: Likewise.
30631 * malloc/arena.c: Likewise.
30632 * malloc/set-freeres.c: Likewise.
30633 * misc/err.c: Likewise.
30634 * misc/getttyent.c: Likewise.
30635 * misc/mntent_r.c: Likewise.
30636 * posix/getopt.c: Likewise.
30637 * posix/wordexp.c: Likewise.
30638 * pwd/fgetpwent_r.c: Likewise.
30639 * resolv/Versions: Likewise.
30640 * resolv/res_hconf.c: Likewise.
30641 * shadow/fgetspent_r.c: Likewise.
30642 * shadow/putspent.c: Likewise.
30643 * stdio-common/printf_fphex.c: Likewise.
30644 * stdio-common/tmpfile.c: Likewise.
30645 * stdlib/abort.c: Likewise.
30646 * stdlib/fmtmsg.c: Likewise.
30647 * sunrpc/auth_unix.c: Likewise.
30648 * sunrpc/clnt_perr.c: Likewise.
30649 * sunrpc/clnt_tcp.c: Likewise.
30650 * sunrpc/clnt_udp.c: Likewise.
30651 * sunrpc/clnt_unix.c: Likewise.
30652 * sunrpc/openchild.c: Likewise.
30653 * sunrpc/svc_simple.c: Likewise.
30654 * sunrpc/svc_tcp.c: Likewise.
30655 * sunrpc/svc_udp.c: Likewise.
30656 * sunrpc/svc_unix.c: Likewise.
30657 * sunrpc/xdr.c: Likewise.
30658 * sunrpc/xdr_array.c: Likewise.
30659 * sunrpc/xdr_rec.c: Likewise.
30660 * sunrpc/xdr_ref.c: Likewise.
30661 * sunrpc/xdr_stdio.c: Likewise.
30662
1248c1c4
PB
306632011-09-09 Ulrich Drepper <drepper@gmail.com>
30664
30665 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30666
306672011-07-03 Andreas Jaeger <aj@suse.de>
30668
30669 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30670 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30671 regenerate with gen-libm-tests.pl.
30672
306732010-05-12 Petr Baudis <pasky@suse.cz>
30674
30675 [BZ #11589]
30676 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30677 around j0() zero points by switching to j1().
30678 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30680 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30681 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30682
f22e1074
UD
306832011-09-09 Ulrich Drepper <drepper@gmail.com>
30684
f19009c1
UD
30685 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30686 instead of 0.
30687 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30688 instead of 0.
f19009c1
UD
30689 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30690 Patch in part by Pavel Roskin <proski@gnu.org>.
30691
3f8cc204
UD
30692 [BZ #13138]
30693 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30694 realloc.
30695 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30696 Free memory block if necessary.
30697
f22e1074
UD
30698 [BZ #12847]
30699 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30700 be NULL. Don't lock in this case.
30701
0a2349f9
RM
307022011-09-09 Roland McGrath <roland@hack.frob.com>
30703
30704 * elf/elf.h (ELFOSABI_GNU): New macro.
30705 (ELFOSABI_LINUX): Define to that.
30706
f3cdd467
DZ
307072011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30708
30709 * string/strncat.c (strncat): Undef the symbol in case it has been
30710 defined in bits/string.h.
30711
74718d13
UD
307122011-09-09 Ulrich Drepper <drepper@gmail.com>
30713
633e9e0f
UD
30714 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30715
0a2349f9 30716 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30717 link map.
30718
f9924780
AJ
307192011-08-17 Andreas Jaeger <aj@suse.de>
30720
30721 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30722
7f5517aa
PP
307232011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30724 Ian Lance Taylor <iant@google.com>
30725
30726 * math/libm-test.inc (lround_test): New testcase.
30727 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30728
762011fe
UD
307292011-09-08 Ulrich Drepper <drepper@gmail.com>
30730
92963737
UD
30731 * Makefile: Remove support for automatic cvs check-ins.
30732 * Makerules: Likewise.
30733 * config.make.in: Likewise.
30734 * configure.in: Likewise.
30735 * intl/Makefile: Likewise.
30736 * locale/Makefile: Likewise.
30737 * po/Makefile: Likewise.
30738 * posix/Makefile: Likewise.
30739 * sysdeps/gnu/Makefile: Likewise.
30740 * sysdeps/mach/hurd/Makefile: Likewise.
30741 * sysdeps/sparc/sparc32/Makefile: Likewise.
30742
b0727fd8
JS
30743 [BZ #13118]
30744 * posix/Makefile (bug-regex32-ENV): Define.
30745 Patch by John Stanley <jpsinthemix@verizon.net>.
30746
a0f33f99
UD
30747 * misc/Makefile (headers): Add bits/select2.h.
30748 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30749 * misc/bits/select2.h: New file.
30750 * include/bits/select2.h: New file.
30751 * debug/Makefile (routines): Add fdelt_chk.
30752 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30753 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30754 FD_ISSET.
30755 * debug/fdelt_chk.c: New file.
30756
762011fe
UD
30757 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30758 * wcsmbs/test-wmemcmp.c: Likewise.
30759 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30760 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30761
307622011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30763
30764 * string/Makefile (strop-tests): Add memcmp.
30765 * string/test-wmemcmp.c: New file.
30766 * string/test-memcmp.c: Add wmemcmp support.
30767
7f513ec8
RM
307682011-09-08 Roland McGrath <roland@hack.frob.com>
30769
0442afb4
RM
30770 [BZ #13153]
30771 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30772 2011-07-19 change.
30773
7f513ec8
RM
30774 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30775 garbage value in a __mach_port_mod_refs call in the cases of the
30776 task-self and thread-self ports.
30777
a12b2239
ST
307782011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30779
30780 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30781
610f9ab4
AS
307822011-09-08 Andreas Schwab <schwab@redhat.com>
30783
7f513ec8 30784 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30785
48882a1a
LD
307862011-09-07 Ulrich Drepper <drepper@gmail.com>
30787
b49865be
UD
30788 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30789
fdc86bc9
UD
30790 * elf/dl-libc.c (dlerror_run): Pass back error code from
30791 dl_catch_error.
30792
c966526a
UD
30793 [BZ #13123]
30794 * elf/dl-load.c (lose): Free l_origin if it is valid.
30795
48882a1a
LD
30796 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30797 names.
30798 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30799 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30800 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30801 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30802 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30803 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30804
77a2a8b4
AZ
308052011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30806
30807 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30808 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30810 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30811 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30812 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30813 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30814 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30815 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30816 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30817
24f579d8
AM
308182011-08-15 Alan Modra <amodra@gmail.com>
30819
30820 [BZ #13092]
30821 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30822 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30823 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30824 ppc_mcount to static-only-routines.
30825 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30826 __mcount_internal.
30827 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30828 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30829
3d4837df
UD
308302011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30831
30832 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30833 for finite and infinity parameters.
30834
22700377
WS
308352011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30836
30837 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30838 and add nop instructions for throughput optimization.
30839 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30840
5025581e
WS
308412011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30842
30843 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30844 aligned copy for power7 with vector-scalar instructions.
30845 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30846
08a300c9
L
308472011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30848
30849 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30850 AVX check.
30851
59178ef9
AS
308522011-09-07 Andreas Schwab <schwab@redhat.com>
30853
30854 [BZ #13144]
30855 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30856 last change.
30857
e38ba7ab
UD
308582011-09-07 Ulrich Drepper <drepper@gmail.com>
30859
30860 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30861 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30862 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30863 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30864 clock_gettime.
30865
d53a73ac
UD
308662011-09-06 Ulrich Drepper <drepper@gmail.com>
30867
fc8bffcc
UD
30868 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30869 Forgot to demangle the pointer.
30870
ceaa0c5d
UD
30871 * sysdeps/i386/sysdep.h: Define atom_text_section.
30872 * sysdeps/x86_64/sysdep.h: Likewise.
30873 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30874 section with atom_text_section.
30875 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30876 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30877 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30878 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30879 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30880
a77d3c17
UD
30881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30882 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30883 already be defined. Change to take two parameters and don't assign
30884 result to variable. Adjust all users.
30885 Define INTERNAL_GETTIME if not already defined.
30886 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30887 call.
30888 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30889 HAVE_CLOCK_GETTIME_VSYSCALL.
30890 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30891
d53a73ac
UD
30892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30893 gettimeofday vsyscall, just use time.
30894
a8f84144
AS
308952011-09-06 Andreas Schwab <schwab@redhat.com>
30896
30897 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30898 <errno.h>.
30899
ef606249
UD
309002011-09-06 Ulrich Drepper <drepper@gmail.com>
30901
30902 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30903 syscall on x86-64.
30904 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30905 syscall.
30906 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30907 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30908 syscall if possible.
30909
6585cb60
UD
309102011-09-05 Ulrich Drepper <drepper@gmail.com>
30911
30912 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30913 e_ident. Don't pass to find_mapsXX.
30914 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30915
a5f524e4
LD
309162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30917
30918 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30919 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30920 * sysdeps/x86_64/multiarch/strchr.S: Update.
30921 Check bit_slow_BSF bit.
30922 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30923 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30924 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30925
554881ef
UD
309262011-09-05 Ulrich Drepper <drepper@gmail.com>
30927
d96de963
UD
30928 [BZ #13134]
30929 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30930 before glibc 2.15.
30931 (tryshell): Define.
30932 (__spawni): Change last parameter to be flag. Test
30933 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30934 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30935 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30936 * posix/spawni.c: Likewise.
30937 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30938 * posix/spawnp.c: Likewise. Change normal version to use
30939 SPAWN_XFLAGS_USE_PATH.
30940 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30941 SPAWN_XFLAGS_TRY_SHELL.
30942
d48e5868
UD
30943 [BZ #13150]
30944 * posix/glob.h: Remove gcc 1.x support.
30945
554881ef
UD
30946 [BZ #13068]
30947 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30948
693fb948
LD
309492011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30950
30951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30952 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30953 strrchr-sse2-bsf
30954 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30955 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30956 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30957 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30958 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30959 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30960
1b48c537
UD
309612011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30962
49d42c37
UD
30963 * sysdeps/x86_64/wcscmp.S: New file.
30964
1b48c537
UD
30965 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30966 wcscmp-c wcscmp-sse2
30967 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30968 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30969 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30970 * wcsmbs/wcscmp.c: Allow renaming.
30971
15c95c5d
DM
309722011-09-05 David S. Miller <davem@davemloft.net>
30973
30974 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30975 stack slot, rather than the struct return pointer slot.
30976 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30977 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30979 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30980
2f0ad8f3
UD
309812011-09-05 Ulrich Drepper <drepper@gmail.com>
30982
d88ae418
UD
30983 * po/ja.po: Update from translation team.
30984
2f0ad8f3
UD
30985 [BZ #13144]
30986 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30987 kernel in 64-bit binaries.
30988
5f4318d1
DM
309892011-09-01 David S. Miller <davem@davemloft.net>
30990
30991 * elf/elf.h (HWCAP_SPARC_*): Move to..
30992 * sysdeps/sparc/sysdep.h: this new file and add new values.
30993 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30994 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30995 _DL_HWCAP_COUNT to 24.
30996 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30997 entries.
30998 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30999 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31000 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31001 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31002 instead of magic constants.
31003 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31004
3ba57516
DM
310052011-08-31 David S. Miller <davem@davemloft.net>
31006
31007 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31008 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31009 Reimplement to do errno handling inline.
31010 (SYSCALL_ERROR_HANDLER): New macro.
31011 (__SYSCALL_STRING): Do not do errno handling in asm.
31012 (__CLONE_SYSCALL_STRING): Delete.
31013 (__INTERNAL_SYSCALL_STRING): Delete.
31014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31015 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31016 (PSEUDO): Reimplement to do errno handling inline.
31017 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31018 (SYSCALL_ERROR_HANDLER): New macro.
31019 (__SYSCALL_STRING): Do not do errno handling in asm.
31020 (__CLONE_SYSCALL_STRING): Delete.
31021 (__INTERNAL_SYSCALL_STRING): Delete.
31022 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31023 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31024 i386.
31025 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31026 (inline_syscall*): Add 'err' argument.
31027 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31028 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31029 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31030 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31031
31032 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31033 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31034
2bc17433
AS
310352011-08-30 Andreas Schwab <schwab@redhat.com>
31036
31037 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31038
fbeb5f4d
JO
310392011-08-29 Jiri Olsa <jolsa@redhat.com>
31040
31041 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31042 directive.
31043
ad69cc26
DM
310442011-08-24 David S. Miller <davem@davemloft.net>
31045
31046 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31047
39dd69df
AS
310482011-08-24 Andreas Schwab <schwab@redhat.com>
31049
31050 * elf/Makefile: Add rules to build and run unload8 test.
31051 * elf/unload8.c: New file.
31052 * elf/unload8mod1.c: New file.
31053 * elf/unload8mod1x.c: New file.
31054 * elf/unload8mod2.c: New file.
31055 * elf/unload8mod3.c: New file.
31056
31057 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31058 it wasn't used.
31059
2c0b250a
DM
310602011-08-23 David S. Miller <davem@davemloft.net>
31061
31062 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31063 subtract stack bias.
31064 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31065 %sp not %fp in calculations.
31066 (_JMPBUF_UNWINDS_ADJ): Likewise.
31067
22044b48
DM
31068 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31069 (aio_suspend): Call it to force an exception region around the
31070 AIO_MISC_WAIT() invocation.
31071
2cae4995
AS
310722011-08-23 Andreas Schwab <schwab@redhat.com>
31073
31074 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31075 backslash.
31076
873a772e
AJ
310772011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31078
31079 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31080 protection macro.
31081 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31082 and <dl-machine.h>.
31083 (Elf64_FuncDesc): Remove.
31084
25ad0df1
DM
310852011-08-22 David S. Miller <davem@davemloft.net>
31086
31087 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31088 sigaltstack check, add missing cfi directives.
31089 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31090 missing cfi directives, and sigaltstack handling.
31091
e888bcbe
AS
310922011-08-16 Andreas Schwab <schwab@redhat.com>
31093
31094 [BZ #11724]
31095 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31096 object is seen twice.
31097 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31098
31099 * elf/Makefile (distribute): Add tst-initorder2.c.
31100 (tests): Add tst-initorder2.
31101 (modules-names): Add tst-initorder2a tst-initorder2b
31102 tst-initorder2c tst-initorder2d. Add rules to build them.
31103 ($(objpfx)tst-initorder2.out): New rule.
31104 * elf/tst-initorder2.c: New file.
31105 * elf/tst-initorder2.exp: New file.
31106
87162f46
AS
311072011-08-22 Andreas Schwab <schwab@redhat.com>
31108
70538b7f
AS
31109 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31110
f55ffe58
AS
31111 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31112 dependencies back to end of function.
31113
87162f46
AS
31114 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31115 $(elfobjdir)/ld.so.
31116
91b392a4
UD
311172011-08-21 Ulrich Drepper <drepper@gmail.com>
31118
31119 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31120 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31121 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31122 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31123 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31124 of __vdso_gettimeofday.
31125 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31126 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31127 attribute_hidden.
31128 (_libc_vdso_platform_setup): Remove initialization of
31129 __vdso_gettimeofday and __vdso_time.
31130
5c43483f
UD
311312011-08-20 Ulrich Drepper <drepper@gmail.com>
31132
775a77e7
UD
31133 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31134 and fgetc_unlocked.
31135 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31136 getc_unlocked.
89f447ed 31137
49c74ba9
UD
31138 * elf/dl-open.c (add_to_global): Report additions to the global scope
31139 for LD_DEBUG=scopes.
31140 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31141 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31142
5c43483f
UD
31143 [BZ #13114]
31144 * stdio-common/Makefile (tests): Add bug24.
31145 * stdio-common/bug24.c: New file.
31146
a101b025
AJ
311472011-08-19 Andreas Jaeger <aj@suse.de>
31148
31149 [BZ #13114]
31150 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31151 non-existant file when using close-on-exec mode.
31152
c88f1766
UD
311532011-08-20 Ulrich Drepper <drepper@gmail.com>
31154
0276a718
UD
31155 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31156 the very first instruction.
31157
c88f1766
UD
31158 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31159 the CFI state in the end.
31160 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31161 inclusion of dl-trampoline.h.
31162 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31163
51ccffa0
AS
311642011-08-19 Andreas Schwab <schwab@redhat.com>
31165
94d7165f
AS
31166 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31167 expectations for long double.
31168
51ccffa0
AS
31169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31170 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31171
fd708658 311722011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31173
31174 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31175 artificual limit depends upon the system page size.
31176
44f0a71e
UD
311772011-08-17 Ulrich Drepper <drepper@gmail.com>
31178
31179 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31180 * resolv/Makefile: Define CFLAGS-libresolv.
31181
8de79a24
AS
311822011-08-17 Andreas Schwab <schwab@redhat.com>
31183
31184 * nss/makedb.c (compute_tables): Make variables used in nested
31185 function static.
31186
27724598
UD
311872011-08-17 Ulrich Drepper <drepper@gmail.com>
31188
c5305d88
UD
31189 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31190 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31191 if buffer was too small.
31192
27724598
UD
31193 * elf/pldd.c (main): Attach to all threads in the process.
31194 Rewrite /proc handling to use *at functions.
31195
076fe015
UD
311962011-08-16 Ulrich Drepper <drepper@gmail.com>
31197
174baab3
UD
31198 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31199 specifies first scope to show.
31200 (dl_open_worker): Update callers. Move printing scope of new
31201 object to before the relocation.
44f0a71e 31202 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31203 * sysdeps/generic/ldsodefs.h: Update declaration.
31204
076fe015
UD
31205 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31206 string for the scope number.
31207
a60df2c3
UD
312082011-08-14 Ulrich Drepper <drepper@gmail.com>
31209
31210 * nscd/servicescache.c (cache_addserv): Make sure written is always
31211 initialized.
31212
5e4287d1
RM
312132011-08-14 Roland McGrath <roland@hack.frob.com>
31214
85ae0589
RM
31215 * sysdeps/i386/i486/bits/atomic.h
31216 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31217 statement expression, so as to suppress "set but not used" warning.
31218 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31219
69f63097
RM
31220 * string/strncat.c (STRNCAT): Use prototype definition.
31221
675456ef
RM
31222 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31223 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31224 -Iprograms here.
31225 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31226 (localedef-modules): Add localedef.
31227 (locale-modules): Add locale.
31228
5e4287d1
RM
31229 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31230 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31231 to avoid a warning.
31232
9c96ff23
DM
312332011-08-14 David S. Miller <davem@davemloft.net>
31234
31235 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31236 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31237
f9ddf089
UD
312382011-08-13 Ulrich Drepper <drepper@gmail.com>
31239
44f0a71e 31240 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31241 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31242 * elf/rtld.c (dl_main): Set l_name of vDSO.
31243 Call _dl_show_scope when DL_DEBUG_SCOPES.
31244 (process_dl_debug): Recognize scopes flag and also set it for all.
31245 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31246 Declare _dl_show_scope.
31247
1dc27704
UD
31248 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31249 (do_dlopen): Pass caller_dlopen to dl_open.
31250 (__libc_dlopen_mode): Initialize caller_dlopen.
31251
f9ddf089
UD
31252 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31253 of libc. Make tolower call locale-independent. Optimize a bit by
31254 using isdigit instead of isalnum.
31255 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31256
9ac533d3
UD
312572011-08-12 Ulrich Drepper <drepper@gmail.com>
31258
31259 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31260 was a dependency or dynamically loaded.
31261
89edf2e9
UD
312622011-08-11 Ulrich Drepper <drepper@gmail.com>
31263
8e999d29
UD
31264 * intl/l10nflist.c: Allow architecture-specific pop function.
31265 * sysdeps/x86_64/l10nflist.c: New file.
31266
89edf2e9
UD
31267 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31268 classification.
31269
14d96785
AS
312702011-08-10 Andreas Schwab <schwab@redhat.com>
31271
31272 * include/dirent.h: Add libc_hidden_proto for scandirat and
31273 scandirat64. Don't declare __scandirat64.
31274 * dirent/scandirat.c: Add libc_hidden_def.
31275 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31276 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31277
6761ac04
DM
312782011-08-10 David S. Miller <davem@davemloft.net>
31279
31280 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31281 enum.
31282 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31283 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31284 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31285
c55fbd1e
UD
312862011-08-09 Ulrich Drepper <drepper@gmail.com>
31287
31288 * Versions.def [libc]: Add GLIBC_2.15.
31289 * dirent/Makefile (routines): Add scandirat and scandirat64.
31290 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31291 GLIBC_2.15.
31292 * dirent/dirent.h: Declare scandirat and scandirat64.
31293 * dirent/scandirat.c: New file.
31294 * dirent/scandirat64.c: New file.
31295 * sysdeps/wordsize-64/scandirat.c: New file.
31296 * sysdeps/wordsize-64/scandirat64.c: New file.
31297 * dirent/opendir.c: Define opendirat.
31298 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31299 using scandirat.
31300 * dirent/scandir64.c: Adjust for scandir.c change.
31301 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31302 __scandirat64, and __scandir_cancel_handler.
31303 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31304 additional parameter and use openat instead of open (outside of ld.so).
31305 Add new __opendir as wrapper around __opendirat.
31306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31307 here without requiring old scandirat implementation.
31308
879165f2
UD
313092011-08-08 Ulrich Drepper <drepper@gmail.com>
31310
31311 * dirent/scandir.c (cancel_handler): Renamed to
31312 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31313 defined. Adjust users.
31314 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31315 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31316
cb7e923b
UD
313172011-08-04 Ulrich Drepper <drepper@gmail.com>
31318
16292edd
UD
31319 * string/test-string.h (IMPL): Use __STRING to expand name and then
31320 stringify it.
31321
cb7e923b
UD
31322 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31323 of cleanups.
31324
cff82933
LD
313252011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31326
31327 * string/Makefile: Update.
31328 (strop-tests): Append strncat.
31329 * string/test-wcscmp.c: New file.
31330 New comprehensive test for wcscmp.
31331 * string/test-strcmp.c: Update.
31332 (WIDE): New define.
31333
9be9bfcc
AS
313342011-07-22 Andreas Schwab <schwab@redhat.com>
31335
31336 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31337 line.
31338
2e96f1c7
AS
313392011-07-26 Andreas Schwab <schwab@redhat.com>
31340
31341 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31342 encoding to ACE if AI_IDN.
31343
85188888
JJ
313442011-08-01 Jakub Jelinek <jakub@redhat.com>
31345
31346 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31347 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31348
5fa16e9b
LD
313492011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31350
31351 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31352 Fix overflow bug in strncat.
31353 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31354
31355 * string/test-strncat.c: Update.
31356 Add new tests for checking overflow bugs.
31357
313582011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31359
31360 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31361 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31362 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31363 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31364 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31365 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31366 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31367 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31368 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31369
31370 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31371 (USE_AS_STRCAT): Define.
31372 Add strcat and strncat support.
31373 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31374
8c1a459f
AS
313752011-07-25 Andreas Schwab <schwab@redhat.com>
31376
31377 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31378 __n bigger than INT_MAX+1.
31379 (__strncmp_g): Likewise.
31380
bba33c28
UD
313812011-07-23 Ulrich Drepper <drepper@gmail.com>
31382
798be72d
UD
31383 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31384 * libio/stido.h: Likewise.
31385
8accd4dc
UD
31386 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31387 (AF_NFC): Define.
31388 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31389 (AF_NFC): Define.
31390
cbff0d96
UD
31391 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31392 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31393 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31394 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31395 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31396
9191c04a
UD
31397 [BZ #13021]
31398 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31399 installed.
31400
bba33c28
UD
31401 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31402 typo.
31403 (_dl_x86_64_save_sse): Likewise.
31404
90f139dd
UD
314052011-07-22 Ulrich Drepper <drepper@gmail.com>
31406
1aae088a
UD
31407 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31408 OSXSAVE.
31409 (_dl_x86_64_save_sse): Likewise.
31410
8e2045f5
UD
31411 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31412
90f139dd
UD
31413 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31414
1d002f25
AS
314152011-07-21 Andreas Schwab <schwab@redhat.com>
31416
31417 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31418 change.
31419 (_dl_x86_64_save_sse): Use correct AVX check.
31420
21137f89
UD
314212011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31422
31423 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31424 bug in strncpy/strncat.
31425 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31426
a65c0b7a
UD
314272011-07-21 Ulrich Drepper <drepper@gmail.com>
31428
31429 * string/tester.c (test_strcat): Add tests for different alignments
31430 of source and destination.
31431 (test_strncat): Likewise.
31432
6986b98a
UD
314332011-07-20 Ulrich Drepper <drepper@gmail.com>
31434
90bb2039
UD
31435 [BZ #12852]
31436 * posix/glob.c (glob): Check passed in values before using them in
31437 expressions to avoid some overflows.
31438 (glob_in_dir): Likewise.
31439
5644ef54
UD
31440 [BZ #13007]
31441 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31442 check for AVX enablement so that we don't crash with old kernels and
31443 new hardware.
31444 * elf/tst-audit4.c: Add same checks here.
31445 * elf/tst-audit6.c: Likewise.
31446
31447 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31448
bfc9dc9b
AS
314492011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31450
31451 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31452
702e64bb
UD
314532011-07-20 Ulrich Drepper <drepper@gmail.com>
31454
31455 * po/cs.po: Update from translation team.
31456 * po/bg.po: Likewise.
31457
295e904f
MP
314582011-07-12 Marek Polacek <mpolacek@redhat.com>
31459
31460 * misc/sys/cdefs.h: Add support for const attribute.
31461 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31462 to gnu_dev_{major,minor,makedev} functions.
31463
3ff94596
MP
314642011-07-20 Marek Polacek <mpolacek@redhat.com>
31465
31466 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31467
28b59fca
AS
314682011-07-20 Andreas Schwab <schwab@redhat.com>
31469
31470 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31471 strlen results.
31472
19df733e
AK
314732011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31474
31475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31476 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31477 register in order to avoid conflicts with the soft frame pointer
31478 being held in r11 when necessary.
31479 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31480 (INTERNAL_VSYSCALL_NCS): Likewise.
31481
c8835729
MP
314822011-07-14 Marek Polacek <mpolacek@redhat.com>
31483
31484 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31485 * elf/dl-fini.c (_dl_fini): Adjust caller.
31486 * elf/dl-close.c (_dl_close_worker): Likewise.
31487 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31488
b902330c
MP
314892011-07-15 Marek Polacek <mpolacek@redhat.com>
31490
8991e135
MP
31491 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31492 "aux_cache->nlibs < 0".
31493
b902330c
MP
31494 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31495 in the reload-count case.
31496
99710781
LD
314972011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31498
31499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31500 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31501 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31502 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31503 * sysdeps/x86_64/multiarch/strcat.S: New file.
31504 * sysdeps/x86_64/multiarch/strncat.S: New file.
31505 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31506 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31507 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31508 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31509 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31510 (USE_AS_STRCAT): Define.
31511 Add strcat and strncat support.
31512 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31513 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31514 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31515 * string/strncat.c: Update.
31516 (USE_AS_STRNCAT): Define.
31517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31518 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31519 and i7.
31520 * sysdeps/x86_64/multiarch/init-arch.h
31521 (bit_Prefer_PMINUB_for_stringop): New.
31522 (index_Prefer_PMINUB_for_stringop): Likewise.
31523 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31524 bit_Prefer_PMINUB_for_stringop.
31525
7dc6bd90
UD
315262011-07-19 Ulrich Drepper <drepper@gmail.com>
31527
31528 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31529 buffer64.
31530 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31531 of casting of buffer.
31532 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31533 buffer32 and buffer64.
31534 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31535 writes instead of casting of buffer.
31536 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31537 buffer32.
31538 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31539 casting of buffer.
31540
e0e72284
AS
315412011-07-19 Andreas Schwab <schwab@redhat.com>
31542
31543 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31544
feb1eb0b
UD
315452011-07-19 Ulrich Drepper <drepper@gmail.com>
31546
31547 * nscd/nscd.c (termination_handler): Don't do anything for a database
31548 if it has not yet been initialized.
31549
298711ff
UD
315502011-07-18 Ulrich Drepper <drepper@gmail.com>
31551
31552 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31553
315542011-07-15 Marek Polacek <mpolacek@redhat.com>
31555
31556 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31557
f9d68389
UD
315582011-07-18 Ulrich Drepper <drepper@gmail.com>
31559
31560 * po/nl.po: Update from translation team.
31561 * po/sv.po: Likewise.
31562
db290cf5
RM
315632011-07-16 Roland McGrath <roland@hack.frob.com>
31564
31565 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31566 now disallowed by GCC.
5c550700 31567
fd5e21c7
RM
31568 * configure.in (use-default-link): Default to yes if a test -shared
31569 link meets our qualifications.
31570 * configure: Regenerated.
31571
5c550700
RM
31572 * config.make.in (output-format): New variable.
31573 * configure.in: Check for ld --print-output-format support.
31574 * configure: Regenerated.
31575 * Makerules ($(common-objpfx)format.lds)
31576 [$(output-format) != unknown]: Just use $(output-format),
31577 instead of the linker-script munging.
31578
9fa2c032
RM
315792011-07-14 Roland McGrath <roland@hack.frob.com>
31580
a6928d51
RM
31581 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31582 of $(common-objpfx)shlib.lds.
31583 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31584
661607b3
RM
31585 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31586 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31587
9fa2c032
RM
31588 * configure.in (-z relro check): Adjust test code to add a large
31589 writable data section after it.
31590 * configure: Regenerated.
31591
defe9061
RM
315922011-07-11 Roland McGrath <roland@hack.frob.com>
31593
31594 * configure.in (-z relro check): Fix test code to make the variable
31595 truly const.
31596 * configure: Regenerated.
31597
319b9ad4
UD
315982011-07-11 Ulrich Drepper <drepper@gmail.com>
31599
31600 * nscd/nscd.h (struct traced_file): Define.
31601 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31602 elements. Add traced_files.
31603 (inotify_fd): Declare.
31604 (register_traced_file): Declare.
31605 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31606 (inotify_fd): Export.
31607 (resolv_conf_descr): Remove.
31608 (nscd_init): Move inotify descriptor creation to main.
31609 Don't register files for notification here.
31610 (register_traced_file): New function.
31611 (invalidate_cache): Don't use reset_res to determine whether to call
31612 res_init, go through the list of registered files.
31613 (main_loop_poll): The inotify descriptors are now stored in the
31614 structures for the traced files.
31615 (main_loop_epoll): Likewise
31616 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31617 to __nss_disable_nscd.
31618 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31619 for a database anymore. Check the records for all the registered
31620 files instead.
31621 * nss/Makefile (libnss_files-routines): Add files-init.
31622 (libnss_db-routines): Add db-init.
31623 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31624 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31625 * nss/nss_db/db-init.c: New file.
31626 * nss/nss_files/files-init.c: New file.
31627 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31628 __nss_lookup_function.
31629 (__nss_lookup_function): Call nss_load_library.
31630 (nss_load_all_libraries): New function.
31631 (__nss_disable_nscd): Take parameter with callback function for files
31632 to register. Set is_nscd. Load all the DSOs for the NSS modules
31633 used for the cached services.
31634 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31635 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31636 options for features to all the files in nscd.
31637
31638 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31639
23bee3e8
RM
316402011-07-10 Roland McGrath <roland@hack.frob.com>
31641
31642 * csu/elf-init.c (__libc_csu_init): Comment typo.
31643
46a5b7f0
UD
316442011-07-09 Ulrich Drepper <drepper@gmail.com>
31645
31646 * po/pl.po: Update from translation team.
31647 * po/ja.po: Likewise.
31648 * po/ru.po: Likewise.
31649 * po/ko.po: Likewise.
31650 * po/fr.po: Likewise.
31651
d30cf5bb
RM
316522011-07-09 Roland McGrath <roland@hack.frob.com>
31653
113ddea4
RM
31654 * configure.in (.ctors/.dtors header and trailer check):
31655 Use an empirical test on a built program.
31656 * configure: Regenerated.
31657
574920b4
RM
31658 * configure.in (-z relro check): Use an empirical test on a built DSO.
31659 Detect, but do not require, on ia64.
31660 * configure: Regenerated.
31661
d30cf5bb
RM
31662 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31663 Update tests that use readelf to use $READELF instead.
31664 * configure: Regenerated.
31665
8538fdb3
UD
316662011-07-08 Ulrich Drepper <drepper@gmail.com>
31667
31668 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31669 if the result is not used.
31670
04d08991
AJ
316712011-07-05 Andreas Jaeger <aj@suse.de>
31672
31673 [BZ#9696]
31674 * stdlib/tst-strtod.c: Add testcase.
31675
de283087
AD
316762011-07-07 Ulrich Drepper <drepper@gmail.com>
31677
4e5f31c8 31678 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31679 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31680 The latter has a higher limit. Take additional parameter to pass to
31681 the new function.
31682 (__pathconf): Pass file to __statfs_link_max.
31683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31684 __statfs_link_max.
31685 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31686 __statfs_link_max.
31687
de283087
AD
31688 [BZ #12868]
31689 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31690 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31691 Handle Lustre.
31692 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31693 (__statfs_filesize_max): Likewise.
31694 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31695
c75fa153
AJ
316962011-07-05 Andreas Jaeger <aj@suse.de>
31697
31698 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31699
1a544854
UD
317002011-07-06 Marek Polacek <mpolacek@redhat.com>
31701
31702 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31703 `status' variable.
31704 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31705 Likewise.
31706
6f0eec67
UD
317072011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31708
31709 * Makefile (strop-tests): Add strncat.
31710 * string/test-strncat.c: New file.
31711
aae30307
UD
317122011-06-30 Marek Polacek <mpolacek@redhat.com>
31713
31714 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31715
c0cfb5eb
UD
317162011-06-21 Andreas Jaeger <aj@suse.de>
31717
31718 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31719 Copy rule from iconvdata/Makefile.
31720
01636b21
UD
317212011-07-06 Ulrich Drepper <drepper@gmail.com>
31722
31723 [BZ #12922]
31724 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31725 but no long options are defined, just return 'W'.
31726
9895c8bc
UD
317272011-06-22 Marek Polacek <mpolacek@redhat.com>
31728
31729 [BZ #9696]
31730 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31731
5d4cf042
UD
317322011-07-06 Ulrich Drepper <drepper@gmail.com>
31733
31734 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31735 netgroups to read.
960e5535 31736 (innetgr): Likewise.
5d4cf042 31737
751eb97e
RM
317382011-07-05 Roland McGrath <roland@hack.frob.com>
31739
31740 * config.make.in (install_root): Default to $(DESTDIR).
31741
f15f1e45
UD
317422011-07-05 Ulrich Drepper <drepper@gmail.com>
31743
31744 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31745
4e34ac6a
RM
317462011-07-02 Roland McGrath <roland@hack.frob.com>
31747
5e9b6af4
RM
31748 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31749
84f9ea0f
RM
31750 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31751 containing directory rather than embedding absolute directory names.
31752
ea5ee9f7
RM
31753 * scripts/check-local-headers.sh: Rewritten using awk.
31754 Match by word, not by line. Print error messages for matches.
31755 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31756
1b74661a
RM
31757 * Makerules [shlib-lds-flags empty]:
31758 ($(common-objpfx)libc_pic.opts): New target.
31759 ($(common-objpfx)libc_pic.os.clean): New target.
31760 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31761
31762 * config.make.in (OBJCOPY): New variable.
31763 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31764 * configure: Regenerated.
31765
f781ef40
RM
31766 * config.make.in (use-default-link): New variable.
31767 * configure.in (use_default_link): Grok --with-default-link to set it.
31768 * configure: Regenerated.
31769 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31770 (shlib-lds, shlib-lds-flags): Define to empty.
31771
2d4fa81e
RM
31772 * Makerules (shlib-lds): New variable.
31773 (shlib-lds-flags): New variable.
31774 (build-shlib, build-moduile, build-module-asneeded): Use it.
31775 ($(common-objpfx)libc.so): Use $(shlib-lds).
31776 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31777 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31778
31fffa6b
RM
31779 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31780 DT_FLAGS/DT_FLAGS_1 with zero flags.
31781
4e34ac6a
RM
31782 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31783 linker script munging.
31784
fcfc776b
UD
317852011-07-02 Ulrich Drepper <drepper@gmail.com>
31786
31787 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31788 as 128-bit value.
31789 * crypt/sha512.c (sha512_process_block): Perform total addition using
31790 128-bit if possible.
31791 (__sha512_finish_ctx): Likewise.
31792 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31793 as 64-bit value.
31794 * crypt/sha256.c (SWAP64): Define.
31795 (sha256_process_block): Perform total addition using 64-bit if
31796 possible.
31797 (__sha256_finish_ctx): Likewise.
31798
99231d9a
UD
317992011-07-01 Ulrich Drepper <drepper@gmail.com>
31800
31801 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31803 * nscd/hstcache.c (cache_addhst): Likewise.
31804 * nscd/grpcache.c (cache_addgr): Likewise.
31805 * nscd/aicache.c (addhstaiX): Likewise
31806 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31807
445b4a53
TK
318082011-07-01 Thorsten Kukuk <kukuk@suse.de>
31809
31810 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31812 * nscd/hstcache.c (cache_addhst): Likewise.
31813 * nscd/grpcache.c (cache_addgr): Likewise.
31814 * nscd/aicache.c (addhstaiX): Likewise
31815
6d4d8e8e
AS
318162011-07-01 Andreas Schwab <schwab@redhat.com>
31817
31818 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31819 domain only when needed.
31820
89f654c5
AS
318212011-06-30 Andreas Schwab <schwab@redhat.com>
31822
31823 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31824 is always restored.
31825
cf3b23ff
UD
318262011-06-29 Ulrich Drepper <drepper@gmail.com>
31827
31828 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31829 are re-adding the entry.
31830 * nscd/servicescache.c (cache_addserv): Likewise.
31831
751626f9
AJ
318322011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31833
31834 * sysdeps/generic/dl-irel.h: fix protection against multiple
31835 inclusions.
31836 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31837
9113ea1f
UD
318382011-06-28 Ulrich Drepper <drepper@gmail.com>
31839
5c0b8d90
UD
31840 [BZ #12935]
31841 * malloc/memusage.sh: Fix quoting in message.
31842 * debug/xtrace.sh: Likewise.
31843
9113ea1f
UD
31844 * configure.in: Remove support for --experimental-malloc option, make
31845 it the default.
31846 * config.make.in: Likewise.
31847 * malloc/Makefile: Likewise.
31848
a4172181
AS
318492011-06-27 Andreas Schwab <schwab@redhat.com>
31850
31851 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31852 two-byte characters.
31853
78a7eee7
RM
318542011-06-27 Roland McGrath <roland@hack.frob.com>
31855
62bede13
RM
31856 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31857 AC_CACHE_CHECK invocation.
31858 * configure: Regenerated.
31859
78a7eee7
RM
31860 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31861
5ce33a62
UD
318622011-06-27 Ulrich Drepper <drepper@gmail.com>
31863
034807a9
UD
31864 [BZ #12350]
31865 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31866 bit from old_res_options.
31867
4902da17
UD
31868 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31869
5ce33a62
UD
31870 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31871 value type for setfct.
31872
c2344f56
L
318732011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31874
31875 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31876 __gettimeofday instead of gettimeofday.
31877
68468076
UD
318782011-06-26 Ulrich Drepper <drepper@gmail.com>
31879
31880 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31881
acb0d739
L
318822011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31883
31884 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31885
31886 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31887 info.
31888
8912479f
L
318892011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31892 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31893 strcpy-sse2-unaligned strncpy-sse2-unaligned
31894 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31895 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31896 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31897 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31898 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31899 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31900 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31901 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31902 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31903 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31904 (STRCPY): Support SSE2 and SSSE3 versions.
31905
d5495a11
UD
319062011-06-24 Ulrich Drepper <drepper@gmail.com>
31907
31908 [BZ #12874]
31909 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31910 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31911 kernels which artificially limit size of requests.
31912
0b1cbaae
L
319132011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31914
31915 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31916 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31917 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31918 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31919 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31920 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31921 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31922 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31923 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31924 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31925 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31926 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31927 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31928 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31929 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31931 Enable unaligned load optimization for Intel Core i3, i5 and i7
31932 processors.
31933 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31934 Define.
31935 (index_Fast_Unaligned_Load): Define.
31936 (HAS_FAST_UNALIGNED_LOAD): Define.
31937
07f494a0
MP
319382011-06-23 Marek Polacek <mpolacek@redhat.com>
31939
31940 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31941
fa3fc0fe
UD
319422011-06-22 Ulrich Drepper <drepper@gmail.com>
31943
31944 [BZ #12907]
31945 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31946 until it is clear that the information is realy needed.
31947 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31948
e12df166
AS
319492011-06-22 Andreas Schwab <schwab@redhat.com>
31950
31951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31952
852eb34d
UD
319532011-06-22 Ulrich Drepper <drepper@gmail.com>
31954
84e2a551
UD
31955 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31956 /sys/devices/system/cpu/online if it is usable.
31957
852eb34d
UD
31958 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31959 reading the information from the /proc filesystem to once a second.
31960
6e502e19
UD
319612011-06-21 Andreas Jaeger <aj@suse.de>
31962
31963 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31964 NULL after inclusion of kernel headers.
31965
75d39ff2
UD
319662011-06-21 Ulrich Drepper <drepper@gmail.com>
31967
51f9aa6a
UD
31968 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31969 calls to internal_setent.
31970
c0244a9d
UD
31971 [BZ #12885]
31972 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31973 addresses using gethostbyname4_r ignore IPv4 addresses.
31974
c5e3c2ae
UD
31975 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31976 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31977
75d39ff2
UD
31978 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31979
42675c6f
DM
319802011-06-20 David S. Miller <davem@davemloft.net>
31981
31982 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31983 inclusions.
31984 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31985
31986 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31987 (elf_irel): Use it.
31988 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31989 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31990 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31991 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31992 * sysdeps/x86_64/dl-irel.h: Likewise.
31993
31994 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31995 * elf/dl-sym.c: Likewise.
31996
57912a71
UD
319972011-06-15 Ulrich Drepper <drepper@gmail.com>
31998
31999 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32000 need to dereference resplen2.
32001
ee22793d
AS
320022011-06-14 Andreas Schwab <schwab@redhat.com>
32003
32004 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32005
a9e836b0
UD
320062011-06-15 Ulrich Drepper <drepper@gmail.com>
32007
77fb9117
UD
32008 * Makeconfig: Define vardbdir and inst_vardbdir.
32009 * nss/Makefile: Add rules to install db-Makefile.
32010
40c1b22c
UD
32011 * nss/nss_db/db-XXX.c: Cleanup.
32012
9f2da732
UD
32013 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32014 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32015 GLIBC_PRIVATE.
32016 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32017 * nss/makedb.c: Implement -g option to specify that value strings
32018 are generated and should not be added to table iterated over for
32019 get*ent calls.
32020 * nss/nss_db/db-initgroups.c: New file.
32021
82e9a1f7
UD
32022 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32023 interface.
32024
c41af17e
UD
32025 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32026 (internal_getgrouplist): Adjust to name change.
32027 Update use_initgroups_entry if this is not the first call.
32028 * nss/databases.def: Add initgroups entry.
32029
a9e836b0
UD
32030 * nss/makedb.c (compute_tables): Check result of multiple hash table
32031 sizes to minimize maximum chain length.
32032
2666d441
UD
320332011-06-14 Ulrich Drepper <drepper@gmail.com>
32034
32035 * Versions.def: Add entry for libnss_db.
32036 * shlib-versions: Likewise.
32037 * nss/Makefile: Add rules to build libnss_db.
32038 * nss/Versions: Add libnss_db information. Organize libnss_files
32039 entries better.
32040 * nss/db-Makefile: Add gshadow support. Change rules for the new
32041 makedb progra. Some minor improvements to generate smaller files.
32042 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32043 here from...
32044 * nss/makedb.c: ...here.
32045 Improve database format to be smaller and require less memory at
32046 runtime.
32047 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32048 db anymore.
32049 * nss/nss_db/db-netgrp.c: Likewise.
32050 * nss/nss_db/db-open.c: Likewise.
32051 * nss/nss_files/flies-XXX.x: Adjust comments.
32052 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32053 * nss/nss_files/files-grp.c: Likewise.
32054 * nss/nss_files/files-hosts.c: Likewise.
32055 * nss/nss_files/files-network.c: Likewise.
32056 * nss/nss_files/files-proto.c: Likewise.
32057 * nss/nss_files/files-pwd.c: Likewise.
32058 * nss/nss_files/files-rpc.c: Likewise.
32059 * nss/nss_files/files-service.c: Likewise.
32060 * nss/nss_files/files-sgrp.c: Likewise.
32061 * nss/nss_files/files-spwd.c: Likewise.
32062 * nss/nss_db/db-alias.c: Removed.
32063 * nss/nss_db/dummy-db.h: Removed.
32064
9ee76b5a
UD
320652011-06-02 Ulrich Drepper <drepper@gmail.com>
32066
32067 * nss/makedb.c: Rewritten to not use database library.
32068 * nss/Makefile: Update to build new makedb program.
32069
c71ca1f8
AJ
320702011-06-14 Andreas Jaeger <aj@suse.de>
32071
32072 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32073 memset declaration.
32074
3154bfb8
UD
320752011-06-10 Andreas Schwab <schwab@redhat.com>
32076
32077 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32078 tmpbuf.
32079
b350afab
RM
320802011-06-10 Roland McGrath <roland@hack.frob.com>
32081
decd4e50
RM
32082 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32083 * elf/Makefile ($(objpfx)ld.so): Likewise.
32084
5615eaf2
RM
32085 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32086 Don't list ld.so twice in dependencies.
32087
32088 * posix/bug-regex31.c: Include <stdlib.h>.
32089
32090 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32091
32092 * nis/nss_compat/compat-spwd.c
32093 (getspent_next_nss_netgr): Remove unused variable.
32094 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32095
32096 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32097 nonmembers" output to use the right array.
32098
32099 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32100
32101 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32102
32103 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32104 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32105 * catgets/gencat.c (read_input_file): Likewise.
32106 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32107
32108 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32109 variable definition inside #if's controlling its use.
32110
32111 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32112
32113 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32114
32115 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32116
32117 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32118 unreachable code.
32119
32120 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32121
b68e08db
RM
32122 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32123 * configure: Regenerated.
32124
b350afab
RM
32125 * Makerules: Revert last change.
32126 * elf/Makefile: Likewise.
32127
28368601
RM
321282011-06-09 Roland McGrath <roland@hack.frob.com>
32129
32130 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32131 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32132 (reloc-link): Likewise.
32133
11988f8f
UD
321342011-06-09 Ulrich Drepper <drepper@gmail.com>
32135
32136 * elf/Makefile: Add rules to build pldd.
32137 * elf/pldd.c: New file.
32138 * elf/pldd-xx.c: New file.
32139
e80fab37
UD
321402011-06-07 Ulrich Drepper <drepper@gmail.com>
32141
32142 * version.h: Update for 2.15 development version.
32143
9b849836
DM
321442011-06-07 David S. Miller <davem@davemloft.net>
32145
32146 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32147 ifuncs.
32148 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32149 elf_machine_lazy_rel): Likewise.
32150 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32152 elf_machine_lazy_rel): Likewise.
32153 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32154 dl_hwcap via passed in argument.
32155 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32156 Likewise.
32157
5a31b283
AK
321582011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32159
32160 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32161
069e52f8
RM
321622011-06-06 Roland McGrath <roland@hack.frob.com>
32163
32164 [BZ #12849]
32165 * manual/fdl-1.1.texi: New file, verbatim from:
32166 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32167 * manual/lgpl-2.1.texi: New file, verbatim from:
32168 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32169 * manual/Makefile (licenses): New variable, list those new file names.
32170 (texis): Use it.
32171 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32172
32173 * manual/fdl.texi: File removed.
32174 * manual/lesser.texi: File removed.
32175 * manual/libc.texinfo (Copying, Documentation License):
32176 Use new @include file names, put @appendix directive before @include.
32177
f16846a5
JJ
321782011-06-04 Jakub Jelinek <jakub@redhat.com>
32179
32180 [BZ #12841]
32181 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32182 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32183 (mq_open): Add __NTH.
32184
3d29045b
L
321852011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32186
32187 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32188 Assume Intel Core i3/i5/i7 processor if AVX is available.
32189
8c297311
UD
321902011-05-31 Ulrich Drepper <drepper@gmail.com>
32191
32192 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32193 typo.
32194
c8fc0c91
UD
321952011-05-31 Andreas Schwab <schwab@redhat.com>
32196
32197 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32198 memory. Use alloca_account. Fix memory leak when retrying.
32199
5b27a807
UD
322002011-05-31 Ulrich Drepper <drepper@gmail.com>
32201
356f8bc6
UD
32202 * version.h (RELEASE): Bump for 2.14 release.
32203 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32204
5b27a807
UD
32205 * config.make.in (RANLIB): Remove entry.
32206
01f16ab0
UD
322072011-05-30 Ulrich Drepper <drepper@gmail.com>
32208
41fce8bd
UD
32209 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32210 (libc.pot): Work around missing support for .ksh extension in xgettext.
32211
4769ae77
UD
32212 [BZ #12684]
32213 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32214 if both request failed.
32215 (send_dg): In case of server errors clear resplen or *resplen2.
32216
6b1e7d19
UD
32217 [BZ #12454]
32218 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32219 when there are multiple maps.
32220 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32221 (_dl_fini): Remove test here.
32222
01f16ab0
UD
32223 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32224
b1ebd700
UD
322252011-05-29 Ulrich Drepper <drepper@gmail.com>
32226
7ae22829
UD
32227 [BZ #12350]
32228 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32229 bit from old_res_options.
32230 (gaih_inet): Likewise.
32231
553149f6 32232 [BZ #11099]
18a84741 32233 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32234 as signed.
32235
652ffab1
UD
32236 * resolv/res_init.c (res_setoptions): Make the code more compact.
32237
16985fd0
UD
32238 [BZ #11558]
32239 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32240 set RES_USEVC.
32241
0464f746
UD
32242 [BZ #11634]
32243 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32244
7d17596c
UD
32245 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32246
cf6bbbd7
UD
32247 [BZ #11781]
32248 * malloc/malloc.h: Declare malloc hook variables as volatile.
32249
13f1ab36
UD
32250 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32251 in last patch.
32252
b1ebd700
UD
32253 [BZ #11799]
32254 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32255 raise in the comment.
80e2212d
UD
32256 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32257 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32258 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32259
ce67228d
UD
322602011-05-28 Ulrich Drepper <drepper@gmail.com>
32261
8887a920
UD
32262 [BZ #12811]
32263 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32264 grow the buffers more if it already has to be sufficient.
32265 (build_wcs_upper_buffer): Likewise.
32266 * posix/regexec.c (check_matching): Likewise.
32267 (clean_state_log_if_needed): Likewise.
32268 (extend_buffers): Don't enlarge buffers beyond size of the input
32269 buffer.
32270 Patches mostly by Emil Wojak <emil@wojak.eu>.
32271 * posix/bug-regex32.c: New file.
32272 * posix/Makefile (tests): Add bug-regex32.
32273
4f031072
UD
32274 * locale/findlocale.c (_nl_find_locale): Return right away if
32275 _nl_explode_name failed.
32276 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32277
d0478f0c
UD
32278 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32279
de81b246
UD
32280 * debug/xtrace.sh: Unify messages.
32281 * malloc/memusage.sh: Likewise.
32282
c738465a
UD
32283 [BZ #12813]
32284 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32285 time symbol from vDSO. Substitute with vsyscall if not available.
32286 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32287 __vdso_time.
32288
f1f929d7
UD
32289 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32290 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32291 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32292 Add sendmmsg and internal_sendmmsg.
32293 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32294 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32295 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32296
ce67228d
UD
32297 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32298 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32299 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32300
e57420c6
UD
323012011-05-27 Ulrich Drepper <drepper@gmail.com>
32302
a8509ca5
UD
32303 [BZ #12813]
32304 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32305 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32306 available.
32307 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32308 __vdso_getcpu.
32309
e57420c6
UD
32310 [BZ #12814]
32311 * iconvdata/Makefile (tests): Add bug-iconv9.
32312 * iconvdata/bug-iconv9.c: New file.
32313
4d07db15
AS
323142011-05-27 Andreas Schwab <schwab@redhat.com>
32315
32316 [BZ #12814]
32317 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32318
ea486f69
JJ
323192011-05-25 Jakub Jelinek <jakub@redhat.com>
32320
32321 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32322 (struct user_regs_struct): Change intcs field back to cs.
32323
6f038433
UD
323242011-05-25 Ulrich Drepper <drepper@gmail.com>
32325
32326 * po/ja.po: Update from translation team.
32327
67f86a25
UD
323282011-05-23 Ulrich Drepper <drepper@gmail.com>
32329
32330 [BZ #12795]
32331 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32332 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32333
def7fbd6
AS
323342011-05-20 Andreas Schwab <schwab@redhat.com>
32335
32336 * stdlib/longlong.h: Update from GCC.
32337
f50ef8f1
AS
323382011-05-23 Andreas Schwab <schwab@redhat.com>
32339
32340 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32341 parameter name.
32342 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32343 Add parameter name.
32344 (__sysconf): Pass it down.
32345
de7ce8f1
UD
323462011-05-22 Ulrich Drepper <drepper@gmail.com>
32347
f2962a71
UD
32348 [BZ #12671]
32349 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32350 some situations.
32351 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32352 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32353 add in in __libc_use_alloca calls. Adjust callers.
32354 (glob): Use malloc in some situations.
32355
de7ce8f1
UD
32356 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32357 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32358 pltexit.
32359
aec84f53
UD
323602011-05-21 Ulrich Drepper <drepper@gmail.com>
32361
05bb4a68
UD
32362 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32363 and CLOCK_BOOTTIME_ALARM.
32364
7ea72f99
UD
32365 [BZ #12782]
32366 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32367 is returned.
32368
7e4afad5
UD
32369 * string/_strerror.c (__strerror_r): Print negative errors as signed
32370 numbers.
32371
8e211fec
UD
32372 [BZ #12777]
32373 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32374 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32375 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32376
f7d82dc9
UD
32377 * configure.in: Fix typo in redirection and correct removal of test
32378 files in two cases.
32379
cc9e536d
UD
32380 [BZ #12788]
32381 * locale/setlocale.c (new_composite_name): Fix test to check for
32382 identical name of all categories.
32383
aec84f53
UD
32384 [BZ #12792]
32385 * libio/filedoalloc.c (local_isatty): New function.
32386 (_IO_file_doallocate): Use local_isatty.
32387 * stdio-common/perror.c (perror): In case a new stream is used
32388 forward the stream error.
32389 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32390 error flag.
32391
78e64fdc
RT
323922011-05-20 Ulrich Drepper <drepper@gmail.com>
32393
34a9094f
UD
32394 [BZ #11869]
32395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32396 alloca.
32397 * include/alloca.h (extend_alloca_account): Define.
32398
78e64fdc
RT
32399 [BZ #11857]
32400 * posix/regex.h: Fix comments with documentation of user-accessible
32401 fields after compilation and describe correct free'ing of pattern
32402 after re_compile_pattern.
32403 Patch by Reuben Thomas <rrt@sc3d.org>.
32404
457bddfc
RA
324052011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32406
32407 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32408 and -mno-altivec to prevent the compiler from using Altivec and/or
32409 VSX instructions when the corresponding registers are not available.
32410
a4527b51
AS
324112011-05-19 Andreas Schwab <schwab@redhat.com>
32412
32413 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32414
ed690b2f
UD
324152011-05-19 Ulrich Drepper <drepper@gmail.com>
32416
32417 * libio/freopen.c (freopen): Use __dup2, not dup2.
32418 * libio/freopen64.c (freopen64): Likewise.
32419
8db73634
L
324202011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32421
32422 [BZ #12775]
32423 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32424 * math/Makefile (tests): Add test-powl.
32425 (CFLAGS-test-powl.c): Define.
32426 * math/test-powl.c: New file.
32427
0a197a9d
L
324282011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32429
32430 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32431
ee30c380
UD
324322011-05-17 Ulrich Drepper <drepper@gmail.com>
32433
32434 [BZ #11837]
32435 * iconvdata/gb18030.c: Update to GB18020-2005.
32436
6ce75379
UD
324372011-05-16 Ulrich Drepper <drepper@gmail.com>
32438
a4b89fd8
AR
32439 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32440 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32441 Patch by Aharon Robbins <arnold@skeeve.com>.
32442
ea389b12
UD
32443 [BZ #11892]
32444 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32445 on the stack.
32446
68a3f91f
UD
32447 [BZ #11895]
32448 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32449 through underflows.
32450
15cc7dd1
UD
32451 [BZ #12766]
32452 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32453 point to strings before performing equality test for error_one_per_line
32454 mode.
32455
f3799213
UD
32456 [BZ #11697]
32457 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32458
d79a9c94
UD
32459 [BZ #11820]
32460 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32461 (struct user_fpregs_struct): Avoid __uint*_t types.
32462
56e5eb46
UD
32463 [BZ #6420]
32464 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32465 symbol info. Use it instead of calling _dl_addr locally.
32466 (lock_and_info): New function.
32467 (tr_freehook): Call lock_and_info and pass symbol info as additional
32468 parameter to tr_where.
32469 (tr_mallochook): Likewise.
32470 (tr_reallochook): Likewise.
32471 (tr_memalignhook): Likewise.
32472
6ce75379
UD
32473 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32474 used and couldn't be at all thread-safe.
32475
f8a3b5bf
UD
324762011-05-15 Ulrich Drepper <drepper@gmail.com>
32477
94b7cc37
UD
32478 * libio/freopen.c (freopen): Don't close old file descriptor
32479 before the new one is opened. Instead dup the new file descriptor
32480 to the old one after the new stream is created.
32481 * libio/freopen64.c (freopen64): Likewise.
32482 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32483 * libio/fileops.c (_IO_new_file_close_it): Handle new
32484 _IO_FLAGS2_NOCLOSE flag.
32485 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32486 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32487 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32488 _IO_FLAGS2_NOCLOSE flag.
32489 * include/unistd.h: Add hidden_proto for dup3.
32490 Define __have_dup3.
32491 * io/dup3.c: Define hidden symbol.
32492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32493
bd25564e
UD
32494 [BZ #7101]
32495 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32496 when an incomplete long option is used.
32497 * posix/tst-getopt_long1.c: New file.
32498 * posix/Makefile (tests): Add tst-getopt_long1.
32499
c84cfef4
UD
32500 [BZ #10138]
32501 * scripts/config.guess: Update from autoconf-2.68.
32502 * scripts/config.sub: Likewise.
32503
3b85df27
UD
32504 [BZ #10157]
32505 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32506 tests into ...
32507 (has_cpuclock): ...this. New function.
32508 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32509 macro here based on has_cpuclock code.
32510
15a856b1
UD
32511 [BZ #10149]
32512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32513 First byte (not low byte) is now always NUL.
32514 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32515
05f399e6
UD
32516 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32517 Use non-cancelable interfaces.
32518
10a52685 32519 [BZ #9809]
94ecc67d
UD
32520 * locale/iso-639.def: Add entry for Sorani.
32521
f8a3b5bf
UD
32522 [BZ #11901]
32523 * include/stdlib.h: Move include protection to the right place.
32524 Define abort_msg_s. Declare __abort_msg with it.
32525 * stdlib/abort.c (__abort_msg): Adjust type.
32526 * assert/assert.c (__assert_fail_base): New function. Majority
32527 of code from __assert_fail. Allocate memory for __abort_msg with
32528 mmap.
32529 (__assert_fail): Now call __assert_fail_base.
32530 * assert/assert-perr.c: Remove bulk of implementation. Use
32531 __assert_fail_base.
32532 * include/assert.hL Declare __assert_fail_base.
32533 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32534 mmap.
32535 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32536
1af4e298
UD
325372011-05-14 Ulrich Drepper <drepper@gmail.com>
32538
f8a3b5bf 32539 [BZ #11952]
d26dfc60
MG
32540 [BZ #12453]
32541 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32542 until all modules are registered in the DTV.
32543 * elf/Makefile: Add rules to build and run tst-tls19.
32544 * elf/tst-tls19.c: New file.
32545 * elf/tst-tls19mod1.c: New file.
32546 * elf/tst-tls19mod2.c: New file.
32547 * elf/tst-tls19mod3.c: New file.
32548 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32549
2fc54d6f
UD
32550 [BZ #12083]
32551 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32552 correctly.
32553
98d76b46
UD
32554 [BZ #12601]
32555 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32556 two-byte sequence errors.
32557 * iconvdata/Makefile (tests): Add bug-iconv8.
32558 * iconvdata/bug-iconv8.c: New file.
32559
da3c19ef
UD
32560 [BZ #12626]
32561 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32562 buf2 definition.
32563
ca408c15
UD
32564 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32565
d6f67f7d
UD
32566 [BZ #12432]
32567 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32568 (dummy_getcfa): New function.
32569 (init): Get _Unwind_GetCFA address, use dummy if not found.
32570 (backtrace_helper): In recursion check, also check whether CFA changes.
32571 (__backtrace): Completely initialize arg.
32572
1af4e298 32573 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32574 storing incomplete byte sequence in state object. Avoid testing for
32575 guaranteed too small input if we know there is enough data available.
1af4e298 32576
da62f81b
AS
325772011-05-11 Andreas Schwab <schwab@redhat.com>
32578
32579 * Makeconfig (+link-pie): Indent.
32580 * Rules (binaries-pie): Define if $(have-fpie) and
32581 $(build-shared).
32582 (binaries-shared): Also filter out $(binaries-pie).
32583 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32584 * nscd/Makefile (others-pie): Add nscd.
32585 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32586 ($(objpfx)nscd): Remove command override.
32587 * login/Makefile (others-pie): Add pt_chown.
32588 ($(objpfx)pt_chown): Remove command override.
32589 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32590 remove command overrides.
32591
fcabc0f8
UD
325922011-05-13 Ulrich Drepper <drepper@gmail.com>
32593
20030ae6
UD
32594 * libio/tst_putwc.c: Fix error messages.
32595
fcabc0f8
UD
32596 [BZ #12724]
32597 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32598 currently writing and seek to current position when not.
32599 * libio/Makefile (tests): Add bug-fclose1.
32600 * libio/bug-fclose1.c: New file.
32601
320a5dc0
PB
326022011-05-12 Ulrich Drepper <drepper@gmail.com>
32603
32604 [BZ #12511]
32605 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32606 don't set DF_1_NODELETE here.
32607 (do_lookup_x): When entering new entry test for copy relocation
32608 and if necessary set DF_1_NODELETE flag.
32609 * elf/tst-unique4.cc: New file.
32610 * elf/tst-unique4.h: New file.
32611 * elf/tst-unique4lib.cc: New file.
32612 * elf/Makefile: Add rules to build and run tst-unique4.
32613 Patch by Piotr Bury <pbury@goahead.com>.
32614
22836f52
UD
326152011-05-11 Ulrich Drepper <drepper@gmail.com>
32616
f574184a
UD
32617 [BZ #12052]
32618 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32619
e1fb097f
UD
32620 [BZ #12625]
32621 * misc/mntent_r.c (addmntent): Flush the stream after the output
32622
22836f52
UD
32623 [BZ #12393]
32624 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32625 (is_trusted_path_normalize): Skip initial colon. Append slash
32626 to empty buffer. Duplicate is_trusted_path code but allow
32627 constructed patch to be prefix.
32628 (is_dst): Allow $ORIGIN followed by /.
32629 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32630 Correct testing of result of is_trusted_path_normalize
32631 (decompose_rpath): Fix warning.
32632
7b3b0b2a
UD
326332011-05-10 Ulrich Drepper <drepper@gmail.com>
32634
32635 [BZ #11257]
32636 * grp/initgroups.c (internal_getgrouplist): When we found the service
32637 list through the initgroups entry in nsswitch.conf do not always
32638 continue on a successful lookup. Don't always use the
eac80ce2 32639 __nss_group_database value if it is set.
7b3b0b2a
UD
32640 * nss/nsswitch.conf (initgroups): Change action for successful db
32641 lookup to continue for compatibility.
32642
2a81eaa5
UD
326432011-05-09 Ulrich Drepper <drepper@gmail.com>
32644
be97a69e
UD
32645 [BZ #11532]
32646 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32647 and CP774 modules.
32648 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32649 and CP774 modules.
32650 * iconvdata/tst-tables.sh: Likewise.
32651 * iconvdata/cp770.c: New file.
32652 * iconvdata/cp771.c: New file.
32653 * iconvdata/cp772.c: New file.
32654 * iconvdata/cp773.c: New file.
32655 * iconvdata/cp774.c: New file.
32656 * iconvdata/testdata/CP770: New file.
32657 * iconvdata/testdata/CP770..UTF8: New file.
32658 * iconvdata/testdata/CP771: New file.
32659 * iconvdata/testdata/CP771..UTF8: New file.
32660 * iconvdata/testdata/CP772: New file.
32661 * iconvdata/testdata/CP772..UTF8: New file.
32662 * iconvdata/testdata/CP773: New file.
32663 * iconvdata/testdata/CP773..UTF8: New file.
32664 * iconvdata/testdata/CP774: New file.
32665 * iconvdata/testdata/CP774..UTF8: New file.
32666
32667 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32668 END CHARMAP line.
32669 * iconvdata/gen-8bit-gap.sh: Likewise.
32670 * iconvdata/gen-8bit.sh: Likewise.
32671
c1e9e399
UD
32672 * locale/iso-639.def: Add ary entry.
32673
24c55fb3 32674 [BZ #11258]
96b4b1b0
UD
32675 * locale/C-translit.h.in: Add U20A1 transliteration.
32676
bdc2f971
KB
32677 [BZ #12178]
32678 * locale/iso-639.def: Add wae entry.
32679 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32680
2952b117
UD
32681 [BZ #12545]
32682 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32683 for n.
32684
2a81eaa5
UD
32685 [BZ #12711]
32686 * locale/C-translit.h.in: Add entry for U20B9.
32687 Patch by pravin.d.s@gmail.com.
32688
28377d1b
UD
326892011-05-08 Ulrich Drepper <drepper@gmail.com>
32690
7fb90fb8
UD
32691 [BZ #12713]
32692 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32693 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32694 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32695 in rtld. Use *stat64.
7fb90fb8 32696 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32697 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32698 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32699 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32700 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32701 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32702 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32703 __fstatat64 macros.
7fb90fb8
UD
32704 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32705 * dirent/rewinddir.c: Add libc_hidden_def.
32706 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32707 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32708
28377d1b
UD
32709 * include/dirent.h (__alloc_dir): Add flags parameter.
32710 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32711 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32712 __alloc_dir.
32713 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32714 from fdopendir if O_CLOEXEC is already set.
32715
66bdbaa4
AM
327162011-03-15 Alan Modra <amodra@gmail.com>
32717
32718 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32719 l_tls_firstbyte_offset non-zero. Save padding offset in
32720 l_tls_firstbyte_offset for later use.
32721 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32722 freeing static tls block.
32723
95721191
JN
327242011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32725
32726 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32727 where #ifdef was intended. The intent is to prevent ARG_MAX from
32728 being defined by the kernel headers.
32729
f87dfb1f
UD
327302011-05-07 Ulrich Drepper <drepper@gmail.com>
32731
32732 [BZ #12734]
32733 * resolv/resolv.h: Define RES_NOTLDQUERY.
32734 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32735 no-tld-query and set RES_NOTLDQUERY.
32736 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32737 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32738 modern BIND to search name as TLD unless forbidden.
32739
47c3cd7a
UD
327402011-05-07 Petr Baudis <pasky@suse.cz>
32741 Ulrich Drepper <drepper@gmail.com>
32742
32743 [BZ #12393]
32744 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32745 (is_trusted_path): ...to here.
c1e9ea35 32746 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32747 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32748 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32749
8a35c912
PP
327502011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32751
32752 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32753 __BEGIN/__END_DECLS.
32754
acd41f47
UD
327552011-05-06 Ulrich Drepper <drepper@gmail.com>
32756
32757 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32758 NSS_STATUS_NOTFOUND if no record was found.
32759
597df647
AS
327602011-05-05 Andreas Schwab <schwab@redhat.com>
32761
32762 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32763 (headers-not-in-tirpc): Remove rpc/netdb.h
32764 * resolv/netdb.h: Revert last change.
32765
b9af1301
PP
327662011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32767
32768 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32769 circular dependency between libgcc.a and libc.a.
32770
4e34d5f5
AS
327712011-05-05 Andreas Schwab <schwab@redhat.com>
32772
32773 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32774 * nis/Makefile: Don't install rpcsvc/*.
32775 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32776 instead of <rpc/types.h>.
32777 (MAXHOSTNAMELEN): Define.
32778
00ee369c
AS
327792011-05-03 Andreas Schwab <schwab@redhat.com>
32780
32781 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32782
0b592a30
MB
327832011-04-28 Maciej Babinski <mbabinski@google.com>
32784
32785 [BZ #12714]
32786 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32787 gethostbyname4_r when IPv6 results are possible.
32788
6e04cbbe
UD
327892011-05-02 Ulrich Drepper <drepper@gmail.com>
32790
32791 [BZ #12723]
32792 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32793 _PC_PIPE_BUF handling.
32794
e4ecafe0
BH
327952011-04-30 Bruno Haible <bruno@clisp.org>
32796
32797 [BZ #12717]
32798 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32799 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32800 to 'int'.
32801 * inet/getnameinfo.c (getnameinfo): Likewise.
32802
125ee683
UD
328032011-04-29 Ulrich Drepper <drepper@gmail.com>
32804
32805 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32806 to groups setting in database lookup.
32807 * nss/nsswitch.conf: Add initgroups entry.
32808
b722481a
EB
328092011-04-22 Ulrich Drepper <drepper@gmail.com>
32810
32811 [BZ #12685]
32812 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32813 mode string.
32814 Patch by Eric Blake <eblake@redhat.com>.
32815
4df46dbd
L
328162011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32817
32818 * sunrpc/Makefile (need-export-routines): Add svc_run.
32819 (routines): Remove svc_run.
32820 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32821 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32822 * sunrpc/svc_run.c (svc_run): Likewise.
32823 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32824
e84142d2
UD
328252011-04-21 Ulrich Drepper <drepper@gmail.com>
32826
32827 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32828 problem in reallocation in last patch.
32829
877175d8
UD
328302011-04-20 Ulrich Drepper <drepper@gmail.com>
32831
32832 * sunrpc/Makefile: Move inclusion of Rules.
32833
ab8eed78
UD
328342011-04-19 Ulrich Drepper <drepper@gmail.com>
32835
32836 * nss/nss_files/files-initgroups.c: New file.
32837 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32838 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32839 _nss_files_initgroups_dyn.
32840
e3d8f584
RS
328412011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32842
32843 * elf/elf.h (R_ARM_IRELATIVE): Define.
32844
af190f45
UD
328452011-04-19 Ulrich Drepper <drepper@gmail.com>
32846
32847 * po/ru.po: Update from translation team.
32848
53cf59ef
UD
328492011-04-17 Ulrich Drepper <drepper@gmail.com>
32850
32851 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32852 dependencies.
32853
4c559bcd
MF
328542011-02-06 Mike Frysinger <vapier@gentoo.org>
32855
32856 [BZ #12653]
32857 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32858 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32859 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32860 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32862
4420675c
AS
328632011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32864
32865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32866 differing bytes.
32867 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32868 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32869 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32870
75ea32ab
UD
328712011-04-17 Ulrich Drepper <drepper@gmail.com>
32872
32873 [BZ #12420]
32874 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32875 storing it.
32876 * stdlib/bug-getcontext.c: New file.
32877 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32878
27390476
AK
328792011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32880
32881 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32882 instructions into .machine "z9-109".
32883 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32884 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32885
10442705
AK
328862011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32887
32888 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32889 between environment variables and auxiliary vector.
32890
7b57bfe5
UD
328912011-04-16 Ulrich Drepper <drepper@gmail.com>
32892
32893 * Makefile: Add rules to build linkobj/libc.so.
32894 * include/libc-symbols.h: Define libc_hidden_nolink.
32895 * include/rpc/auth.h: Mark functions which are to be hidden.
32896 * include/rpc/auth_des.h: Likewise.
32897 * include/rpc/auth_unix.h: Likewise.
32898 * include/rpc/clnt.h: Likewise.
32899 * include/rpc/des_crypt.h: Likewise.
32900 * include/rpc/key_prot.h: Likewise.
32901 * include/rpc/pmap_clnt.h: Likewise.
32902 * include/rpc/pmap_prot.h: Likewise.
32903 * include/rpc/pmap_rmt.h: Likewise.
32904 * include/rpc/rpc_msg.h: Likewise.
32905 * include/rpc/svc.h: Likewise.
32906 * include/rpc/svc_auth.h: Likewise.
32907 * include/rpc/xdr.h: Likewise.
32908 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32909 * nss/Makefile: Likewise.
32910 * sunrpc/Makefile: Don't install headers. Build library with normal
32911 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32912 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32913 for the compat linking library. Remove use of INTDEF/INTUSE.
32914 * sunrpc/auth_none.c: Likewise.
32915 * sunrpc/auth_unix.c: Likewise.
32916 * sunrpc/authdes_prot.c: Likewise.
32917 * sunrpc/authuxprot.c: Likewise.
32918 * sunrpc/clnt_gen.c: Likewise.
32919 * sunrpc/clnt_perr.c: Likewise.
32920 * sunrpc/clnt_raw.c: Likewise.
32921 * sunrpc/clnt_simp.c: Likewise.
32922 * sunrpc/clnt_tcp.c: Likewise.
32923 * sunrpc/clnt_udp.c: Likewise.
32924 * sunrpc/clnt_unix.c: Likewise.
32925 * sunrpc/des_crypt.c: Likewise.
32926 * sunrpc/des_soft.c: Likewise.
32927 * sunrpc/get_myaddr.c: Likewise.
32928 * sunrpc/key_call.c: Likewise.
32929 * sunrpc/key_prot.c: Likewise.
32930 * sunrpc/netname.c: Likewise.
32931 * sunrpc/pm_getmaps.c: Likewise.
32932 * sunrpc/pm_getport.c: Likewise.
32933 * sunrpc/pmap_clnt.c: Likewise.
32934 * sunrpc/pmap_prot.c: Likewise.
32935 * sunrpc/pmap_prot2.c: Likewise.
32936 * sunrpc/pmap_rmt.c: Likewise.
32937 * sunrpc/publickey.c: Likewise.
32938 * sunrpc/rpc_cmsg.c: Likewise.
32939 * sunrpc/rpc_common.c: Likewise.
32940 * sunrpc/rpc_dtable.c: Likewise.
32941 * sunrpc/rpc_prot.c: Likewise.
32942 * sunrpc/rpc_thread.c: Likewise.
32943 * sunrpc/rtime.c: Likewise.
32944 * sunrpc/svc.c: Likewise.
32945 * sunrpc/svc_auth.c: Likewise.
32946 * sunrpc/svc_authux.c: Likewise.
32947 * sunrpc/svc_raw.c: Likewise.
32948 * sunrpc/svc_run.c: Likewise.
32949 * sunrpc/svc_simple.c: Likewise.
32950 * sunrpc/svc_tcp.c: Likewise.
32951 * sunrpc/svc_udp.c: Likewise.
32952 * sunrpc/svc_unix.c: Likewise.
32953 * sunrpc/svcauth_des.c: Likewise.
32954 * sunrpc/xcrypt.c: Likewise.
32955 * sunrpc/xdr.c: Likewise.
32956 * sunrpc/xdr_array.c: Likewise.
32957 * sunrpc/xdr_float.c: Likewise.
32958 * sunrpc/xdr_intXX_t.c: Likewise.
32959 * sunrpc/xdr_mem.c: Likewise.
32960 * sunrpc/xdr_rec.c: Likewise.
32961 * sunrpc/xdr_ref.c: Likewise.
32962 * sunrpc/xdr_sizeof.c: Likewise.
32963 * sunrpc/xdr_stdio.c: Likewise.
32964
e6c61494
UD
329652011-04-10 Ulrich Drepper <drepper@gmail.com>
32966
32967 [BZ #12650]
32968 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32969 * sysdeps/ia64/dl-tls.h: Likewise.
32970 * sysdeps/powerpc/dl-tls.h: Likewise.
32971 * sysdeps/s390/dl-tls.h: Likewise.
32972 * sysdeps/sh/dl-tls.h: Likewise.
32973 * sysdeps/sparc/dl-tls.h: Likewise.
32974 * sysdeps/x86_64/dl-tls.h: Likewise.
32975 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32976
34fe483e
AS
329772011-03-14 Andreas Schwab <schwab@redhat.com>
32978
32979 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32980 rpath element also skip the following colon.
32981 (expand_dynamic_string_token): Add is_path parameter and pass
32982 down to DL_DST_REQUIRED and _dl_dst_substitute.
32983 (decompose_rpath): Call expand_dynamic_string_token with
32984 non-zero is_path. Ignore empty rpaths.
32985 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32986 with zero is_path.
32987
f12a32e6
AS
329882011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32989
32990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32991 Make cancelable.
32992
38a7d692
UD
329932011-04-09 Ulrich Drepper <drepper@gmail.com>
32994
32995 [BZ #12655]
32996 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32997 Patch by Filipe David Manana <fdmanana@apache.org>.
32998
e451d22b
AS
329992011-04-07 Andreas Schwab <schwab@redhat.com>
33000
33001 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33002 Maintain aligned stack.
33003 (CHECK_RSP): Remove unused macro.
33004
dedc7c7b
UD
330052011-04-03 Ulrich Drepper <drepper@gmail.com>
33006
33007 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33008 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33009
94521213
UD
330102011-04-02 Ulrich Drepper <drepper@gmail.com>
33011
33012 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33013
8cb700c0 33014 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33015
0354e355
L
330162011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33017
33018 [BZ #12518]
33019 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33020 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33021 * sysdeps/x86_64/memmove.c: New file.
33022 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33023 (memcpy): Renamed to ...
33024 (__new_memcpy): This.
33025 (memcpy): Provide GLIBC_2_14 memcpy.
33026 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33027 (memcpy): Provide GLIBC_2_2_5 memcpy.
33028
8593482f
UD
330292011-04-01 Ulrich Drepper <drepper@gmail.com>
33030
33031 [BZ #12631]
33032 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33033
81a5726b
AS
330342011-03-30 Andreas Schwab <schwab@redhat.com>
33035
33036 * misc/syncfs.c: New file.
33037 * misc/Makefile (routines): Add syncfs.
33038 * posix/unistd.h: Declare syncfs.
33039 * sysdeps/unix/syscalls.list: Add syncfs.
33040
00e5419f
AS
330412011-04-01 Andreas Schwab <schwab@redhat.com>
33042
33043 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33044 open_by_handle_at.
33045 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33046 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33048 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33049 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33050 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33051 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33052
748876bf
UD
330532011-04-01 Ulrich Drepper <drepper@gmail.com>
33054
658e451d
UD
33055 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33056 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33057 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33059 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33061 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33062
748876bf
UD
33063 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33064 sync_file_range.c with -fexceptions.
33065 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33066 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33067 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33068 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33069 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33070 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33071 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33072 sync_file_range as cancellation point
33073 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33074 now a wrapper around __call_sync_file_range with cancellation handling.
33075 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33076 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33077 function name to __call_sync_file_range.
33078 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33079 Add call_sync_file_range.
748876bf 33080
6e63d5e1
AS
330812011-04-01 Andreas Schwab <schwab@redhat.com>
33082
33083 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33084 bits/timex.h.
6e63d5e1 33085
46998f74
UD
330862011-04-01 Ulrich Drepper <drepper@gmail.com>
33087
4c1423ed
UD
33088 * iconv/iconv.h: Fix typo in comment.
33089 * io/fcntl.h: Likewise.
33090 * libio/stdio.h: Likewise.
33091 * posix/spawn.h: Likewise.
33092 * posix/unistd.h: Likewise.
33093 * stdlib/stdlib.h: Likewise.
33094 * time/time.h: Likewise.
33095 * wcsmbs/wchar.h: Likewise.
33096
158648c0
UD
33097 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33098 open_by_handle): Add.
33099 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33100 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33101 Augment a few comments.
33102 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33103 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33107 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33108 open_by_handle.
33109
46998f74
UD
33110 * io/fcntl.h (AT_EMPTY_PATH): Define.
33111
83fe108b
UD
331122011-03-30 Ulrich Drepper <drepper@gmail.com>
33113
33114 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33115 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33116 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33117 to...
33118 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33119 * Versions.def: Add GLIBC_2.14.
33120 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33121 Export.
83fe108b 33122
bb242059
UD
331232011-03-22 Ulrich Drepper <drepper@gmail.com>
33124
33125 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33126 round counter.
33127 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33128
c97a1282
L
331292011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33130
33131 [BZ #12597]
33132 * string/test-strncmp.c (do_page_test): New function.
33133 (check2): Likewise.
33134 (test_main): Call check2.
33135 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33136
2a115601
UD
331372011-03-20 Ulrich Drepper <drepper@gmail.com>
33138
33139 [BZ #12587]
33140 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33141 Handle cache information in CPU leaf 4.
33142 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33143
8126d904
UD
331442011-03-18 Ulrich Drepper <drepper@gmail.com>
33145
042c49c6 33146 [BZ #12583]
8126d904
UD
33147 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33148 character representation.
33149 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33150
ccfe366e
RA
331512011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33152
33153 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33154 END(__isnan) to END(__isnanf) to match function entry point/label
33155 EALIGN(__isnanf,...).
33156
c6e13027
JJ
331572011-03-10 Jakub Jelinek <jakub@redhat.com>
33158
33159 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33160
33f85a3f
UD
331612011-03-10 Ulrich Drepper <drepper@gmail.com>
33162
028478fa
UD
33163 [BZ #12510]
33164 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33165 copy from the symbol referenced in the relocation to initialize the
33166 used variable.
33167 Patch by Piotr Bury <pbury@goahead.com>.
33168 * elf/Makefile: Add rules to build and tst-unique3.
33169 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33170 * elf/tst-unique3.cc: New file.
33171 * elf/tst-unique3.h: New file.
33172 * elf/tst-unique3lib.cc: New file.
33173 * elf/tst-unique3lib2.cc: New file.
33174
33f85a3f
UD
33175 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33176
03592fc7
MF
331772011-03-10 Mike Frysinger <vapier@gentoo.org>
33178
33179 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33180 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33181 to _start.
03592fc7 33182
6a5ee102
UD
331832011-03-06 Ulrich Drepper <drepper@gmail.com>
33184
33185 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33186 to-be-loaded object along a path to loader is ld.so.
33187
7e4ba49c
HJ
331882011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33189 Ulrich Drepper <drepper@gmail.com>
33190
33191 * sysdeps/x86_64/memset.S: After aligning destination, code
33192 branches to different locations depending on the value of
33193 misalignment, when multiarch is enabled. Fix this.
33194
331952011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33196
33197 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33198 Set _x86_64_preferred_memory_instruction for AMD processsors.
33199 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33200 Set bit_Prefer_SSE_for_memop for AMD processors.
33201
13a804de
UD
332022011-03-04 Ulrich Drepper <drepper@gmail.com>
33203
33204 * libio/fmemopen.c (fmemopen): Optimize a bit.
33205
9d25c392
AS
332062011-03-03 Andreas Schwab <schwab@redhat.com>
33207
33208 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33209
a5543c6a
RM
332102011-03-03 Roland McGrath <roland@redhat.com>
33211
33212 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33213
012d35f7
DM
332142011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33215
7e4ba49c 33216 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33217 __bzero_ultra1 instead of __memset_ultra1.
33218
4bff6e01
AS
332192011-02-23 Andreas Schwab <schwab@redhat.com>
33220 Ulrich Drepper <drepper@gmail.com>
33221
33222 [BZ #12509]
33223 * include/link.h (struct link_map): Add l_orig_initfini.
33224 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33225 returning unsuccessfully.
33226 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33227 close of a file loaded at startup, restore the original l_initfini
33228 list.
33229 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33230 list, store the pointer.
33231 * elf/Makefile ($(objpfx)noload-mem): New rule.
33232 (noload-ENV): Define.
33233 (tests): Add $(objpfx)noload-mem.
33234 * elf/noload.c: Include <memcheck.h>.
33235 (main): Call mtrace. Close all opened handles.
33236
f2092faf
AS
332372011-02-17 Andreas Schwab <schwab@redhat.com>
33238
33239 [BZ #12454]
33240 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33241 dependencies are missing.
33242
6c8a2e88
ST
332432011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33244
f2092faf 33245 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33246 Hurd needs munmap.
33247 * sysdeps/mach/hurd/ifreq.h: New file.
33248
84a42118
PB
332492011-01-27 Petr Baudis <pasky@suse.cz>
33250 Ulrich Drepper <drepper@gmail.com>
33251
071f805e 33252 [BZ 12445]#
84a42118
PB
33253 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33254 to extend_alloca().
33255 * stdio-common/bug23.c: New file.
33256 * stdio-common/Makefile (tests): Add bug23.
33257
e23fe25b
AS
332582010-09-28 Andreas Schwab <schwab@redhat.com>
33259 Ulrich Drepper <drepper@gmail.com>
33260
33261 [BZ #12489]
33262 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33263 before performing relro protection. At old place add assertion
33264 to make sure nothing changed.
33265
d3f02e10
NS
332662011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33267 Glauber de Oliveira Costa <glommer@gmail.com>
33268
33269 * elf/elf.h: Add new ARM TLS relocs.
33270
d55fd7a5
RA
332712011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33272
33273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33274 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33275 cast from r3.
33276 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33277 'tests' variable.
33278 * sysdeps/wordsize-64/tst-writev.c: New file.
33279
2206397e
RA
332802011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33281
33282 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33283 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33284 insns in _dl_start to prevent a TOC reference before relocs are
33285 resolved.
33286
e9433893
UD
332872011-02-15 Ulrich Drepper <drepper@gmail.com>
33288
33289 [BZ #12469]
33290 * Makeconfig: Remove RANLIB definition.
33291 * Makerules: Don't use RANLIB.
33292 * aclocal.m4: Remove ranlib test.
33293 * configure.in: No need to check for ranlib.
33294 * elf/rtld-Rules: Don't use RANLIB.
33295
f75286c6
ST
332962011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33297
8e31c82d
ST
33298 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33299 protection macro.
33300 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33301 inclusion protection macro.
33302
f75286c6
ST
33303 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33304 SIGRTMIN and SIGRTMAX and print information in that case only when
33305 SIGRTMIN is defined.
33306
c1d0e639
JJ
333072011-02-11 Jakub Jelinek <jakub@redhat.com>
33308
33309 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33310 arginfo fn returning -1.
33311
33312 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33313 and thousands string is zero terminated.
33314
edf9294e
AS
333152011-02-03 Andreas Schwab <schwab@redhat.com>
33316
33317 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33318 sysdeps/unix/sysv/linux/bits/socket.h.
33319
2b7e92df
ST
333202011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33321
edf9294e
AS
33322 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33323 (__CPU_COUNT): Remove old macros.
33324 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33325 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33326 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33327 (__sched_cpualloc, __sched_cpufree): Add declarations.
33328
a4c7ea7b
UD
333292011-02-05 Ulrich Drepper <drepper@gmail.com>
33330
33331 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33332 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33333 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33334 (readdhstai): Return value of addhstaiX call.
33335 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33336 (addgrbyX): Return value returned by cache_addgr.
33337 (readdgrbyname): Return value returned by addgrbyX.
33338 (readdgrbygid): Likewise.
33339 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33340 (addpwbyX): Return value returned by cache_addpw.
33341 (readdpwbyname): Return value returned by addhstbyX.
33342 (readdpwbyuid): Likewise.
33343 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33344 (addservbyX): Return value returned by cache_addserv.
33345 (readdservbyname): Return value returned by addservbyX:
33346 (readdservbyport): Likewise.
33347 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33348 (addhstbyX): Return value returned by cache_addhst.
33349 (readdhstbyname): Return value returned by addhstbyX.
33350 (readdhstbyaddr): Likewise.
33351 (readdhstbynamev6): Likewise.
33352 (readdhstbyaddrv6): Likewise.
33353 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33354 (readdinitgroups): Return value returned by addinitgroupsX.
33355 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33356 (prune_cache): Keep track of timeout value of re-added entries.
33357 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33358 * nscd/nscd.h: Adjust prototypes of readd* functions.
33359
a0bf67cc
RM
333602011-02-04 Roland McGrath <roland@redhat.com>
33361
33362 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33363 (nis_stats): Likewise.
33364 * nis/nis_modify.c (nis_modify): Likewise.
33365 * nis/nis_remove.c (nis_remove): Likewise.
33366 * nis/nis_add.c (nis_add): Likewise.
33367
33368 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33369
33370 * posix/fnmatch_loop.c: Add some consts.
33371
33372 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33373
435b95eb
L
333742011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33375
33376 [BZ #12460]
33377 * config.make.in (config-cflags-novzeroupper): Define.
33378 * configure.in: Substitute libc_cv_cc_novzeroupper.
33379 * elf/Makefile (AVX-CFLAGS): Define.
33380 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33381 (CFLAGS-tst-auditmod4a.c): Likewise.
33382 (CFLAGS-tst-auditmod4b.c): Likewise.
33383 (CFLAGS-tst-auditmod6b.c): Likewise.
33384 (CFLAGS-tst-auditmod6c.c): Likewise.
33385 (CFLAGS-tst-auditmod7b.c): Likewise.
33386 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33387
8517b15e
UD
333882011-02-02 Ulrich Drepper <drepper@gmail.com>
33389
33390 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33391 function to the callback.
33392 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33393
10a656fe
AS
333942011-02-02 Andreas Schwab <schwab@redhat.com>
33395
33396 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33397 of errno.
33398
968dad0a
UD
333992011-01-19 Ulrich Drepper <drepper@gmail.com>
33400
9f94d2ea 33401 [BZ #11724]
968dad0a
UD
33402 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33403 of constructors.
33404 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33405 of destructors.
33406 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33407
33408 [BZ #11724]
33409 * elf/Makefile: Add rules to build and run new test.
33410 * elf/tst-initorder.c: New file.
33411 * elf/tst-initorder.exp: New file.
33412 * elf/tst-initordera1.c: New file.
33413 * elf/tst-initordera2.c: New file.
33414 * elf/tst-initordera3.c: New file.
33415 * elf/tst-initordera4.c: New file.
33416 * elf/tst-initorderb1.c: New file.
33417 * elf/tst-initorderb2.c: New file.
33418 * elf/tst-order-a1.c: New file.
33419 * elf/tst-order-a2.c: New file.
33420 * elf/tst-order-a3.c: New file.
33421 * elf/tst-order-a4.c: New file.
33422 * elf/tst-order-b1.c: New file.
33423 * elf/tst-order-b2.c: New file.
33424 * elf/tst-order-main.c: New file.
33425 New test case by George Gensure <werkt0@gmail.com>.
33426
86e92359
UD
334272010-10-01 Andreas Schwab <schwab@redhat.com>
33428
33429 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33430 decoding ACE if AI_CANONIDN.
33431
5d5732b0
UD
334322011-01-18 Ulrich Drepper <drepper@gmail.com>
33433
33434 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33435
a77e8cbc
UD
334362011-01-17 Ulrich Drepper <drepper@gmail.com>
33437
6392473f
UD
33438 * version.h (RELEASE): Bump for 2.13 release.
33439 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33440
620a0529
UD
33441 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33442
18ba70a5
UD
33443 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33444 MADV_NOHUGEPAGE.
32465c3e
UD
33445 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33446 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33447 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33448 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33449 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33450 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33451
c0dafcf1
UD
33452 * posix/getconf.c: Update copyright year.
33453 * catgets/gencat.c: Likewise.
33454 * csu/version.c: Likewise.
33455 * debug/catchsegv.sh: Likewise.
33456 * debug/xtrace.sh: Likewise.
33457 * elf/ldconfig.c: Likewise.
33458 * elf/ldd.bash.in: Likewise.
33459 * elf/sprof.c (print_version): Likewise.
33460 * iconv/iconv_prog.c: Likewise.
33461 * iconv/iconvconfig.c: Likewise.
33462 * locale/programs/locale.c: Likewise.
33463 * locale/programs/localedef.c: Likewise.
33464 * malloc/memusage.sh: Likewise.
33465 * malloc/mtrace.pl: Likewise.
33466 * nscd/nscd.c (print_version): Likewise.
33467 * nss/getent.c: Likewise.
33468
a77e8cbc
UD
33469 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33470 PF_CAIF, and PF_ALG.
33471 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33472
77e8bddf
AS
334732011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33474
1f20b93a
AS
33475 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33476 (modules-names): Use them.
33477 (ifunc-test-modules, ifunc-pie-tests): Define.
33478 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33479 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33480 (test-extras): Likewise.
33481 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33482 $(compile-command.c).
33483 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33484 (all-built-dso): Define.
33485 (check-textrel.out, check-execstack.out): Depend on it.
33486
77e8bddf
AS
33487 * configure.in: Don't override --enable-multi-arch.
33488
bc425b33
UD
334892011-01-15 Ulrich Drepper <drepper@gmail.com>
33490
33491 [BZ #6812]
33492 * nscd/hstcache.c (tryagain): Define.
33493 (cache_addhst): Return tryagain not notfound for temporary errors.
33494 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33495 failed.
33496
794c3ad3
UD
334972011-01-14 Ulrich Drepper <drepper@gmail.com>
33498
70181fdd
UD
33499 [BZ #10563]
33500 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33501 to make the syscall.
33502 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33503
794c3ad3
UD
33504 [BZ #12378]
33505 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33506 and fall back to matching as normal character if the string ends before
33507 the matching ']' is found. This is what POSIX requires.
33508 * posix/testfnm.c: Adjust test result.
33509 * posix/globtest.sh: Adjust test result. Add new test.
33510 * posix/tst-fnmatch.input: Likewise.
33511 * posix/tst-fnmatch2.c: Add new test.
33512
68dc9497
AS
335132010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33514
33515 * elf/Makefile (check-execstack): Revert last change. Depend on
33516 check-execstack.h.
33517 (check-execstack.h): New target.
33518 (generated): Add check-execstack.h.
33519 * elf/check-execstack.c: Include "check-execstack.h".
33520 (main): Revert last change.
33521 (handle_file): Return zero if GNU_STACK is absent and
33522 DEFAULT_STACK_PERMS doesn't include PF_X.
33523
451f001b
UD
335242011-01-13 Ulrich Drepper <drepper@gmail.com>
33525
cfa28e56
UD
33526 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33527 in child fails because the descriptor is already closed.
8cf8ce17
UD
33528 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33529 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33530 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33531
1086d70d
UD
33532 [BZ #12397]
33533 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33534 syscall.
33535
451f001b
UD
33536 [BZ #10484]
33537 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33538 temporary buffer used to handle multi lookups locally.
a85b5cb4 33539 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33540
08769175
UD
335412011-01-12 Ulrich Drepper <drepper@gmail.com>
33542
33543 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33544 loader is ld.so.
33545
5e49c52e
UD
335462011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33547
33548 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33549 alignment for SSE2.
33550
60522a5f
UD
335512011-01-12 Ulrich Drepper <drepper@gmail.com>
33552
33553 [BZ #12394]
33554 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33555 characters. When rounding increased number of integer digits recompute
33556 number of groups.
33557 * stdio-common/tst-grouping.c: New file.
33558 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33559
f257bbd7
UD
335602011-01-09 Ulrich Drepper <drepper@gmail.com>
33561
33562 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33563 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33564
33565 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33566 void.
33567 * bits/select.h: Likewise.
33568
fa9c15cb
UD
335692011-01-08 Ulrich Drepper <drepper@gmail.com>
33570
33571 * po/ja.po: Update from translation team.
33572
16c2895f
DM
335732011-01-04 David S. Miller <davem@sunset.davemloft.net>
33574
33575 [BZ #11155]
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33577 implementation just like for lxstat, fxstatat, et al.
33578
2543fef2
JM
335792010-12-27 Jim Meyering <meyering@redhat.com>
33580
33581 [BZ #12348]
33582 * posix/regexec.c (build_trtable): Return failure indication upon
33583 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33584
98727dbe
UD
335852010-12-25 Ulrich Drepper <drepper@gmail.com>
33586
5bd6dc5c
UD
33587 [BZ #12201]
33588 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33589 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33590 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33591 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33592
97983464
UD
33593 [BZ #12207]
33594 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33595
98727dbe
UD
33596 [BZ #12204]
33597 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33598 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33599
4a531bb0
L
336002010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33601
33602 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33603 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33604 script has SORT_BY_INIT_PRIORITY.
33605 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33606 NO_CTORS_DTORS_SECTIONS is defined.
33607 * elf/soinit.c: Likewise.
33608 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33609 NO_CTORS_DTORS_SECTIONS is defined.
33610 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33611 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33612 * sysdeps/sh/init-first.c: Likewise.
33613 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33614
07eb4b71
UD
336152010-12-24 Ulrich Drepper <drepper@gmail.com>
33616
33617 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33618 always use the slow path.
33619
30950a5f
RA
336202010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33621
33622 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33623 similar rule which adds the sysdep directories to the header search in
33624 order to pick up the correct platform stackinfo.h.
33625 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33626 perform test if it is, otherwise return successfully without testing.
33627 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33628 DEFAULT_STACK_PERMS define in stackinfo.h.
33629 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33630 defined in stackinfo.h.
33631 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33632 DEFAULT_STACK_PERMS defined in stackinfo.h.
33633 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33634 * sysdeps/ia64/stackinfo.h: Likewise.
33635 * sysdeps/s390/stackinfo.h: Likewise.
33636 * sysdeps/sh/stackinfo.h: Likewise.
33637 * sysdeps/sparc/stackinfo.h: Likewise.
33638 * sysdeps/x86_64/stackinfo.h: Likewise.
33639 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33640 PF_X for powerpc64. Retain PF_X for powerpc32.
33641
db753e2c
UD
336422010-12-19 Ulrich Drepper <drepper@gmail.com>
33643
14b697f7
UD
33644 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33645 accurately.
db753e2c
UD
33646 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33647 GETDENTS_64BIT_ALIGNED.
33648
28300719
UD
336492010-12-14 Ulrich Drepper <dreper@gmail.com>
33650
14b697f7 33651 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33652
4f197237
AS
336532010-12-10 Andreas Schwab <schwab@redhat.com>
33654
dbb0472f
AS
33655 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33656 _GNU_SOURCE.
33657
4f197237
AS
33658 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33659 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33660 Remove __restrict.
33661 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33662 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33663
fb88ac72
UD
336642010-12-09 Ulrich Drepper <drepper@gmail.com>
33665
33666 [BZ #11655]
33667 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33668 are initialized.
33669
42acbb92
JJ
336702010-12-09 Jakub Jelinek <jakub@redhat.com>
33671
33672 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33673
c038d98d
UD
336742010-12-03 Ulrich Drepper <drepper@gmail.com>
33675
33676 * po/it.po: Update from translation team.
33677
3a4a2499
L
336782010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33679
33680 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33681 unused codes.
33682
1e24cf6e
UD
336832010-11-30 Ulrich Drepper <drepper@gmail.com>
33684
33685 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33686
a7690819
AS
336872010-11-24 Andreas Schwab <schwab@redhat.com>
33688
33689 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33690 specially.
33691 (gaih_getanswer_slice): Likewise.
33692
3bf8d1b1
JJ
336932010-10-20 Jakub Jelinek <jakub@redhat.com>
33694
33695 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33696
6db52fbb
PB
336972010-05-31 Petr Baudis <pasky@suse.cz>
33698
33699 [BZ #11149]
33700 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33701 silently even in the chroot mode.
33702
eaca7569
UD
337032010-11-22 Ulrich Drepper <drepper@gmail.com>
33704
33705 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33706 last patch a bit. Pretty printing
33707
3056dcdb
UD
337082010-05-31 Petr Baudis <pasky@suse.cz>
33709
33710 [BZ #10085]
33711 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33712 initialization of skip_initgroups_dyn.
33713
cf7c9078
UD
337142010-11-19 Ulrich Drepper <drepper@gmail.com>
33715
33716 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33718
a1fb5e3e
UD
337192010-11-16 Ulrich Drepper <drepper@gmail.com>
33720
33721 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33722
3540d66b
AS
337232010-11-11 Andreas Schwab <schwab@redhat.com>
33724
33725 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33726 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33727 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33728 ($(objpfx)tst-fnmatch-mem): New rule.
33729 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33730 * posix/tst-fnmatch.c (main): Call mtrace.
33731
13b69574
L
337322010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33733
33734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33735 Support Intel processor model 6 and model 0x2c.
33736
da93d214
LM
337372010-11-10 Luis Machado <luisgpm@br.ibm.com>
33738
33739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33740 signed comparison.
33741
8ca52c6e
L
337422010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33743
33744 [BZ #12205]
33745 * string/test-strncasecmp.c (check_result): New function.
33746 (do_one_test): Use it.
33747 (check1): New function.
33748 (test_main): Use it.
33749 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33750 Support strcasecmp and strncasecmp.
33751
69da074d
UD
337522010-11-08 Ulrich Drepper <drepper@gmail.com>
33753
33754 [BZ #12194]
33755 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33756 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33757
ff02d528
L
337582010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33759
33760 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33761 IFUNC support.
33762 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33763 memset-x86-64.
33764 * sysdeps/x86_64/multiarch/bzero.S: New file.
33765 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33766 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33767 * sysdeps/x86_64/multiarch/memset.S: New file.
33768 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33769 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33770 Set bit_Prefer_SSE_for_memop for Intel processors.
33771 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33772 Define.
33773 (index_Prefer_SSE_for_memop): Define.
33774 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33775
344d0b54
LM
337762010-11-04 Luis Machado <luisgpm@br.ibm.com>
33777
33778 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33779 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33780
c0dde15b
UD
337812010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33782
33783 [BZ #12191]
33784 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33785 (__x86_64_raw_data_cache_size_half): Likewise.
33786 (__x86_64_raw_shared_cache_size): Likewise.
33787 (__x86_64_raw_shared_cache_size_half): Likewise.
33788
33789 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33790 (__x86_64_raw_data_cache_size_half): Likewise.
33791 (__x86_64_raw_shared_cache_size): Likewise.
33792 (__x86_64_raw_shared_cache_size_half): Likewise.
33793 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33794 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33795 and __x86_64_raw_shared_cache_size_half. Round
33796 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33797 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33798 to multiple of 256 bytes.
33799
0e516e0e
MS
338002010-11-03 Ulrich Drepper <drepper@gmail.com>
33801
33802 [BZ #12167]
33803 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33804 of inacessible symlinks. Verify result of symlink before returning it.
33805 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33806 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33807
0e012e87
ER
338082010-10-28 Erich Ritz <erichritz@gmail.com>
33809
33810 * math/math.h (isinf): Fix typo in comment.
33811
de0ff7bc
UD
338122010-11-01 Ulrich Drepper <drepper@gmail.com>
33813
33814 * po/da.po: Update from translation team.
33815
fa41c84d
UD
338162010-10-26 Ulrich Drepper <drepper@gmail.com>
33817
33818 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33819 is added to the list.
33820
f0967738
AK
338212010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33822 Ulrich Drepper <drepper@gmail.com>
33823
33824 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33825 the global list here. Move code to...
33826 (_dl_add_to_namespace_list): ...here. New function.
33827 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33828 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33829 * elf/dl-load.c (lose): Don't remove the element from the list.
33830 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33831 (_dl_map_object): Likewise.
33832
338332010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33834
33835 [BZ #12159]
33836 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33837 into all bytes of SSE register.
33838 Patch by Richard Li <richardpku@gmail.com>.
33839
f0967738 338402010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33841
33842 [BZ #12140]
33843 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33844 perturbing.
33845
d0b9e94f
MB
338462010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33847
33848 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33849 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33850 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33851 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33853 submachine.
33854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33855
8e9f92e9
AS
338562010-10-22 Andreas Schwab <schwab@redhat.com>
33857
33858 * include/dlfcn.h (__RTLD_SECURE): Define.
33859 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33860 mode & __RTLD_SECURE instead.
33861 (open_path): Rename preloaded parameter to secure.
33862 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33863 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33864 * elf/dl-deps.c (openaux): Likewise.
33865 * elf/rtld.c (struct map_args): Remove is_preloaded.
33866 (map_doit): Don't use it.
33867 (dl_main): Likewise.
33868 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33869 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33870
bc96fbda
AS
338712010-09-09 Andreas Schwab <schwab@redhat.com>
33872
33873 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33874 (sysd-rules-targets): Remove duplicates.
33875 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33876 rtld-%.$o dependency.
33877
22cd1c9b
AS
338782010-10-18 Andreas Schwab <schwab@redhat.com>
33879
33880 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33881 _dl_map_object do it.
33882
18edac48
UD
338832010-10-19 Ulrich Drepper <drepper@gmail.com>
33884
33885 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33886 fast fma builtins, define the macros in the C99 standard.
33887 (FP_FAST_FMAF): Likewise.
33888 (FP_FAST_FMAL): Likewise.
33889 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33890
33891 * bits/mathdef.h: Update copyright year.
33892 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33893
d2050124
MM
338942010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33895
33896 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33897 builtins, define the macros in the C99 standard.
33898 (FP_FAST_FMAF): Likewise.
33899 (FP_FAST_FMAL): Likewise.
33900 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33901 multiply/add.
33902 (FP_FAST_FMAF): Likewise.
33903
475facd1
JJ
339042010-10-15 Jakub Jelinek <jakub@redhat.com>
33905
33906 [BZ #3268]
33907 * math/libm-test.inc (fma_test): Some new testcases.
33908 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33909 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33910 y and infinite z. Do multiplication by C already in long double.
33911 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33912 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33913 y and infinite z. Do bitwise or of inexact bit into u.d.
33914 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33915 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33916 * sysdeps/i386/fpu/s_fma.S: Removed.
33917 * sysdeps/i386/fpu/s_fmal.S: Removed.
33918
7c08a05c
JJ
339192010-10-16 Jakub Jelinek <jakub@redhat.com>
33920
33921 [BZ #3268]
33922 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33923 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33924 computation is not scheduled after fetestexcept. Fix value
33925 of minimum denormal long double.
33926
f3f7372d
JJ
339272010-10-14 Jakub Jelinek <jakub@redhat.com>
33928
33929 [BZ #3268]
33930 * math/libm-test.inc (fma_test): Add some more tests.
33931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33932 correctly.
33933
14d43591
AS
339342010-10-15 Andreas Schwab <schwab@redhat.com>
33935
33936 * scripts/data/localplt-s390-linux-gnu.data: New file.
33937 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33938
5e908464
JJ
339392010-10-13 Jakub Jelinek <jakub@redhat.com>
33940
33941 [BZ #3268]
33942 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33943 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33944 instead of dbl-64.
33945 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33946 inlines.
33947 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33949 if one of x and y is very large and the other is subnormal.
33950 * sysdeps/s390/fpu/s_fmaf.c: New file.
33951 * sysdeps/s390/fpu/s_fma.c: New file.
33952 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33953 * sysdeps/powerpc/fpu/s_fma.S: New file.
33954 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33955 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33956 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33957
339582010-10-12 Jakub Jelinek <jakub@redhat.com>
33959
33960 [BZ #3268]
33961 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33962 fma tests.
33963 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33964 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33965 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33966 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33967 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33968 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33969 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33970
b833d51f
UD
339712010-10-12 Ulrich Drepper <drepper@redhat.com>
33972
33973 [BZ #12078]
33974 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33975 * posix/bug-regex31.input: Add test case.
33976
1751705d
UD
339772010-10-11 Ulrich Drepper <drepper@gmail.com>
33978
e9b9cbf5
UD
33979 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33980 * posix/bug-regex31.input: New file.
33981
33982 [BZ #12078]
33983 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33984 (parse_sub_exp): Fix last change, use postorder.
33985
ef06edbe
UD
33986 * posix/bug-regex31.c: New file.
33987 * posix/Makefile: Add rules to build and run bug-regex31.
33988
a129c80d
UD
33989 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33990
33991 [BZ #12078]
33992 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33993
b76b818e
UD
33994 [BZ #12108]
33995 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33996 to have entries in sys_siglist.
33997
1751705d
UD
33998 [BZ #12093]
33999 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34000 be NULL.
34001
9ff8d36f
JJ
340022010-10-07 Jakub Jelinek <jakub@redhat.com>
34003
34004 [BZ #3268]
34005 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34006 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34007 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34008 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34009 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34010 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34011 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34012 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34013 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34014 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34015 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34016 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34017 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34018 * math/ftestexcept.c (fetestexcept): Likewise.
34019 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34020 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34021 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34022 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34023 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34024 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34025 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34026
af325969
UD
340272010-10-11 Ulrich Drepper <drepper@gmail.com>
34028
c579b202 34029 [BZ #12107]
af325969
UD
34030 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34031 newline.
34032
67a67b95
UD
340332010-10-06 Ulrich Drepper <drepper@gmail.com>
34034
34035 * string/bug-strstr1.c: New file.
34036 * string/Makefile: Add rules to build and run bug-strstr1.
34037
5fb308bc
EB
340382010-10-05 Eric Blake <eblake@redhat.com>
34039
34040 [BZ #12092]
34041 * string/str-two-way.h (two_way_long_needle): Always clear memory
34042 when skipping input due to the shift table.
34043
45db99c7
UD
340442010-10-03 Ulrich Drepper <drepper@gmail.com>
34045
3b111893
UD
34046 [BZ #12005]
34047 * malloc/mcheck.c: Handle large requests.
34048
45db99c7
UD
34049 [BZ #12077]
34050 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34051 for strncmp and strncasecmp.
34052 * string/stratcliff.c: Add tests for strcmp and strncmp.
34053 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34054
cf7a1eb8
NI
340552010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34056
34057 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34058 __set_fpscr.
34059
6484ba5e
AJ
340602010-09-30 Andreas Jaeger <aj@suse.de>
34061
34062 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34063 (CGROUP_SUPER_MAGIC): Define.
34064 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34065 Handle btrfs and cgroup file systems.
34066 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34067 Likewise.
34068
91c42559
LM
340692010-09-27 Luis Machado <luisgpm@br.ibm.com>
34070
34071 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34072 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34073
87a97932
AK
340742010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34075
34076 [BZ #12067]
34077 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34078 trying to locate the ELF header.
34079
c21cc9bc
AS
340802010-09-27 Andreas Schwab <schwab@redhat.com>
34081
34082 [BZ #11611]
34083 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34084 Mask out sign-bit copies when constructing f_fsid.
34085
315970f6
PB
340862010-09-24 Petr Baudis <pasky@suse.cz>
34087
34088 * debug/stack_chk_fail_local.c: Add missing licence exception.
34089 * debug/warning-nop.c: Likewise.
34090
1ac7a2c7
JM
340912010-09-15 Joseph Myers <joseph@codesourcery.com>
34092
34093 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34094 implementing getdents64 using getdents syscall, set d_type if
34095 __ASSUME_GETDENTS32_D_TYPE.
34096
56801c50
AS
340972010-09-16 Andreas Schwab <schwab@redhat.com>
34098
34099 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34100 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34101
dda51327
UD
341022010-09-21 Ulrich Drepper <drepper@redhat.com>
34103
34104 [BZ #12037]
34105 * posix/unistd.h: Undo change of feature selection for ftruncate from
34106 2010-01-11.
34107
8ffcee4a
UD
341082010-09-20 Ulrich Drepper <drepper@redhat.com>
34109
a545ecd9 34110 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34111 detection.
34112
e24f0a8b
AS
341132010-09-20 Andreas Schwab <schwab@redhat.com>
34114
34115 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34116 fanotify_mark.
34117 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34118
7291c56f
AS
341192010-09-14 Andreas Schwab <schwab@redhat.com>
34120
34121 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34122 variables after CHECK_SP call.
34123 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34124
bc5fb037
AS
341252010-09-13 Andreas Schwab <schwab@redhat.com>
34126 Ulrich Drepper <drepper@redhat.com>
34127
34128 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34129 re-relocationg ld.so.
34130 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34131 _dl_init_paths call.
34132 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34133 here anymore.
34134
e66e7419
UD
341352010-09-14 Ulrich Drepper <drepper@redhat.com>
34136
34137 * resolv/res_init.c (__res_vinit): Count the default server we added.
34138
c044aa75
CLT
341392010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34140 Ulrich Drepper <drepper@redhat.com>
34141
34142 [BZ #11968]
34143 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34144 (____longjmp_chk): Use %ebx for saving value across system call.
34145 Add unwind info.
34146
32cf4069
AS
341472010-09-06 Andreas Schwab <schwab@redhat.com>
34148
34149 * manual/Makefile: Don't mix pattern rules with normal rules.
34150
817328ee
AS
341512010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34152
34153 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34154 operation.
34155 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34156 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34157 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34158 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34159 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34160 Likewise.
34161
29fddf61
UD
341622010-09-04 Ulrich Drepper <drepper@redhat.com>
34163
34164 [BZ #11979]
34165 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34166 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34167
0959ffc9
UD
341682010-09-02 Ulrich Drepper <drepper@redhat.com>
34169
34170 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34171 * sysdeps/x86_64/addmul_1.S: Likewise.
34172 * sysdeps/x86_64/lshift.S: Likewise.
34173 * sysdeps/x86_64/mul_1.S: Likewise.
34174 * sysdeps/x86_64/rshift.S: Likewise.
34175 * sysdeps/x86_64/sub_n.S: Likewise.
34176 * sysdeps/x86_64/submul_1.S: Likewise.
34177
ece29840
ST
341782010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34179
0959ffc9
UD
34180 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34181 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34182 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34183 * bits/sched.h [__need_schedparam]
ece29840 34184 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34185 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34186 (__defined_schedparam): Define to 1.
ece29840
ST
34187 (__sched_param): New structure, identical to sched_param.
34188 (__need_schedparam): Undefine.
34189
e53a31fe
MF
341902010-08-31 Mike Frysinger <vapier@gentoo.org>
34191
fdc0c10d
MF
34192 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34193 (epoll_create1): Declare.
34194
e53a31fe
MF
34195 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34196
a726d796
AS
341972010-08-31 Andreas Schwab <schwab@redhat.com>
34198
34199 [BZ #7066]
34200 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34201 shifting retval into place.
34202
2f3e3dc7
UD
342032010-09-01 Ulrich Drepper <drepper@redhat.com>
34204
f2933da9
UD
34205 * nis/rpcsvc/nis.h: Update copyright notice.
34206 * nis/rpcsvc/nis.x: Likewise.
34207 * nis/rpcsvc/nis_callback.h: Likewise.
34208 * nis/rpcsvc/nis_callback.x: Likewise.
34209 * nis/rpcsvc/nis_object.x: Likewise.
34210 * nis/rpcsvc/nis_tags.h: Likewise.
34211 * nis/rpcsvc/yp.h: Likewise.
34212 * nis/rpcsvc/yp.x: Likewise.
34213 * nis/rpcsvc/ypupd.h: Likewise.
34214 * nis/yp_xdr.c: Likewise.
34215 * nis/ypupdate_xdr.c: Likewise.
34216
2f3e3dc7
UD
34217 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34218 mainly the body of pmap_getport. Add parameters to specify timeouts.
34219 (pmap_getport): Use __libc_rpc_getport.
34220 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34221 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34222 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34223
f3dcc2f9
AS
342242010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34225
34226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34227 fanotify_mark.
34228
6d34eb5b
RM
342292010-08-27 Roland McGrath <roland@redhat.com>
34230
34231 * sysdeps/i386/i686/multiarch/Makefile
34232 (CFLAGS-varshift.c): New variable.
34233
9ea3de11
UD
342342010-08-27 Ulrich Drepper <drepper@redhat.com>
34235
c96d23fc
UD
34236 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34237 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34238
9ea3de11
UD
34239 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34240
34241 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34242
623aac7f
L
342432010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34244
34245 * sysdeps/x86_64/strlen.S: Unroll the loop.
34246 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34247 strlen-sse2 strlen-sse2-bsf.
34248 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34249 __strlen_no_bsf if bit_Slow_BSF is set.
34250 (__strlen_sse42): Removed.
34251 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34252 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34253
8b2b7715
RM
342542010-08-25 Roland McGrath <roland@redhat.com>
34255
34256 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34257 * sysdeps/x86_64/multiarch/varshift.c: New file.
34258 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34259 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34260 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34261 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34262
e73015f2
L
342632010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34264
34265 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34266 strlen-sse2 strlen-sse2-bsf.
34267 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34268 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34269 (__strlen_sse2): Removed.
34270 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34271 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34273 bit_Slow_BSF for Atom.
34274 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34275 (index_Slow_BSF): Define.
34276 (HAS_SLOW_BSF): Define.
34277
df24a73e
UD
342782010-08-25 Ulrich Drepper <drepper@redhat.com>
34279
34280 [BZ #10851]
34281 * resolv/res_init.c (__res_vinit): When no server address at all
34282 is given default to loopback.
34283
f2ac4868
RM
342842010-08-24 Roland McGrath <roland@redhat.com>
34285
09055553
RM
34286 * configure.in: Remove config-name.h generation.
34287 * configure: Regenerated.
34288 * config-name.in: File removed.
34289 * scripts/config-uname.sh: New file.
34290 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34291 ($(objdir)config-name.h): New target.
34292
f2ac4868
RM
34293 * sunrpc/rpc_parse.h: Avoid nested comment.
34294
73f27d5e
RH
342952010-08-24 Richard Henderson <rth@redhat.com>
34296 Ulrich Drepper <drepper@redhat.com>
34297 H.J. Lu <hongjiu.lu@intel.com>
34298
34299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34300 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34301 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34302 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34303 _mm_alignr_epi8 with _mm_loadu_si128.
34304 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34305 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34306 (__m128i_shift_right): Removed.
34307 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34308 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34309 * sysdeps/x86_64/multiarch/varshift.h: New file.
34310 * sysdeps/x86_64/multiarch/varshift.S: New file.
34311
84b9230c
MF
343122010-08-21 Mike Frysinger <vapier@gentoo.org>
34313
34314 * configure.in: Move assembler checks to before sysdep dir checking.
34315
9bbd0ddc
PB
343162010-08-20 Petr Baudis <pasky@suse.cz>
34317
34318 * LICENSES: Sync the sunrpc license.
34319
9da4bb31
UD
343202010-08-19 Ulrich Drepper <drepper@redhat.com>
34321
a7ab6ec8
UD
34322 * sunrpc/auth_des.c: Update copyright notice once again.
34323 * sunrpc/auth_none.c: Likewise.
34324 * sunrpc/auth_unix.c: Likewise.
34325 * sunrpc/authdes_prot.c: Likewise.
34326 * sunrpc/authuxprot.c: Likewise.
34327 * sunrpc/bindrsvprt.c: Likewise.
34328 * sunrpc/clnt_gen.c: Likewise.
34329 * sunrpc/clnt_perr.c: Likewise.
34330 * sunrpc/clnt_raw.c: Likewise.
34331 * sunrpc/clnt_simp.c: Likewise.
34332 * sunrpc/clnt_tcp.c: Likewise.
34333 * sunrpc/clnt_udp.c: Likewise.
34334 * sunrpc/clnt_unix.c: Likewise.
34335 * sunrpc/des_crypt.c: Likewise.
34336 * sunrpc/des_soft.c: Likewise.
34337 * sunrpc/get_myaddr.c: Likewise.
34338 * sunrpc/getrpcport.c: Likewise.
34339 * sunrpc/key_call.c: Likewise.
34340 * sunrpc/key_prot.c: Likewise.
34341 * sunrpc/openchild.c: Likewise.
34342 * sunrpc/pm_getmaps.c: Likewise.
34343 * sunrpc/pm_getport.c: Likewise.
34344 * sunrpc/pmap_clnt.c: Likewise.
34345 * sunrpc/pmap_prot.c: Likewise.
34346 * sunrpc/pmap_prot2.c: Likewise.
34347 * sunrpc/pmap_rmt.c: Likewise.
34348 * sunrpc/rpc/auth.h: Likewise.
34349 * sunrpc/rpc/auth_unix.h: Likewise.
34350 * sunrpc/rpc/clnt.h: Likewise.
34351 * sunrpc/rpc/des_crypt.h: Likewise.
34352 * sunrpc/rpc/key_prot.h: Likewise.
34353 * sunrpc/rpc/netdb.h: Likewise.
34354 * sunrpc/rpc/pmap_clnt.h: Likewise.
34355 * sunrpc/rpc/pmap_prot.h: Likewise.
34356 * sunrpc/rpc/pmap_rmt.h: Likewise.
34357 * sunrpc/rpc/rpc.h: Likewise.
34358 * sunrpc/rpc/rpc_des.h: Likewise.
34359 * sunrpc/rpc/rpc_msg.h: Likewise.
34360 * sunrpc/rpc/svc.h: Likewise.
34361 * sunrpc/rpc/svc_auth.h: Likewise.
34362 * sunrpc/rpc/types.h: Likewise.
34363 * sunrpc/rpc/xdr.h: Likewise.
34364 * sunrpc/rpc_clntout.c: Likewise.
34365 * sunrpc/rpc_cmsg.c: Likewise.
34366 * sunrpc/rpc_common.c: Likewise.
34367 * sunrpc/rpc_cout.c: Likewise.
34368 * sunrpc/rpc_dtable.c: Likewise.
34369 * sunrpc/rpc_hout.c: Likewise.
34370 * sunrpc/rpc_main.c: Likewise.
34371 * sunrpc/rpc_parse.c: Likewise.
34372 * sunrpc/rpc_parse.h: Likewise.
34373 * sunrpc/rpc_prot.c: Likewise.
34374 * sunrpc/rpc_sample.c: Likewise.
34375 * sunrpc/rpc_scan.c: Likewise.
34376 * sunrpc/rpc_scan.h: Likewise.
34377 * sunrpc/rpc_svcout.c: Likewise.
34378 * sunrpc/rpc_tblout.c: Likewise.
34379 * sunrpc/rpc_util.c: Likewise.
34380 * sunrpc/rpc_util.h: Likewise.
34381 * sunrpc/rpcinfo.c: Likewise.
34382 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34383 * sunrpc/rpcsvc/key_prot.x: Likewise.
34384 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34385 * sunrpc/rpcsvc/mount.x: Likewise.
34386 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34387 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34388 * sunrpc/rpcsvc/rex.x: Likewise.
34389 * sunrpc/rpcsvc/rstat.x: Likewise.
34390 * sunrpc/rpcsvc/rusers.x: Likewise.
34391 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34392 * sunrpc/rpcsvc/spray.x: Likewise.
34393 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34394 * sunrpc/rtime.c: Likewise.
34395 * sunrpc/svc.c: Likewise.
34396 * sunrpc/svc_auth.c: Likewise.
34397 * sunrpc/svc_authux.c: Likewise.
34398 * sunrpc/svc_raw.c: Likewise.
34399 * sunrpc/svc_run.c: Likewise.
34400 * sunrpc/svc_simple.c: Likewise.
34401 * sunrpc/svc_tcp.c: Likewise.
34402 * sunrpc/svc_udp.c: Likewise.
34403 * sunrpc/svc_unix.c: Likewise.
34404 * sunrpc/svcauth_des.c: Likewise.
34405 * sunrpc/xcrypt.c: Likewise.
34406 * sunrpc/xdr.c: Likewise.
34407 * sunrpc/xdr_array.c: Likewise.
34408 * sunrpc/xdr_float.c: Likewise.
34409 * sunrpc/xdr_mem.c: Likewise.
34410 * sunrpc/xdr_rec.c: Likewise.
34411 * sunrpc/xdr_ref.c: Likewise.
34412 * sunrpc/xdr_sizeof.c: Likewise.
34413 * sunrpc/xdr_stdio.c: Likewise.
34414
9da4bb31
UD
34415 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34416 handling.
34417
bdaa77bc
AS
344182010-08-19 Andreas Schwab <schwab@redhat.com>
34419
34420 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34421
fe2f79db
LM
344222010-08-19 Luis Machado <luisgpm@br.ibm.com>
34423
34424 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34425 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34426 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34427 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34428 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34429 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34430 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34431 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34432 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34433 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34434 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34435 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34436 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34437 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34438
b9b42ee0
AB
344392010-07-26 Anton Blanchard <anton@samba.org>
34440
34441 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34442 * malloc/arena.c (heap_trim): Likewise.
34443
1c06ba31
UD
344442010-08-16 Ulrich Drepper <drepper@redhat.com>
34445
34446 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34447 here. Not...
34448 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34449 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34450
f8392f40
L
344512010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34452
34453 * sysdeps/i386/elf/Makefile: New file.
34454
3162f12e
AS
344552010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34456
34457 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34458 from fanotify_init.
34459 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34460 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34461
28c90b2c
UD
344622010-08-15 Ulrich Drepper <drepper@redhat.com>
34463
34464 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34465 of strncasecmp_l.
1feccb6c 34466 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34467
ca6bb004
UD
344682010-08-14 Ulrich Drepper <drepper@redhat.com>
34469
e9f82e0d
UD
34470 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34471 strncase_l-nonascii.
34472 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34473 Add strncase_l-ssse3.
34474 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34475 * sysdeps/x86_64/strcmp.S: Likewise.
34476 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34477 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34478 * sysdeps/x86_64/strncase.S: New file.
34479 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34480 * sysdeps/x86_64/strncase_l.S: New file.
34481 * string/Makefile (strop-tests): Add strncasecmp.
34482 * string/test-strncasecmp.c: New file.
34483
34484 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34485 warning.
34486
ca6bb004
UD
34487 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34488 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34489
052fa7b3
AS
344902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34491
34492 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34493
962dba78
UD
344942010-08-12 Ulrich Drepper <drepper@redhat.com>
34495
34496 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34497 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34498 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34499
bebff237
AM
345002010-05-01 Alan Modra <amodra@gmail.com>
34501
34502 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34503 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34504 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34505 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34506 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34507 tidying. Don't tail-call __sigjmp_save for static lib.
34508 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34509 save location.
34510 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34511 (CALL_MCOUNT): Add eh info, and nop after bl.
34512 (TAIL_CALL_SYSCALL_ERROR): New macro.
34513 (PSEUDO_RET): Use it.
34514 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34515 Correct save location of integer regs and cr.
34516 (_dl_profile_resolve): Correct cr save location. Delete nops
34517 after bl when SHARED. Reduce cfi size a little by better
34518 placement of cfi directives.
34519 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34520 make a stack frame. Instead use parm save area as a temp.
34521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34522 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34524 Don't make a stack frame for parent, use parm save area.
34525 Increase child stack frame to 112 bytes. Don't save unused reg,
34526 and adjust reg usage. Set up cfi on error recovery and
34527 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34529 (__makecontext): Add dummy nop after jump to exit.
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34531 Use correct parm save area and cr save, reduce stack frame.
34532 Correct cfi for possible PSEUDO_RET frame setup.
34533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34534 Branch to local label emitted by PSEUDO_RET rather than
34535 __syscall_error.
34536
02637374
AS
345372010-08-12 Andreas Schwab <schwab@redhat.com>
34538
34539 [BZ #11904]
34540 * locale/programs/locale.c (print_assignment): New function.
34541 (show_locale_vars): Use it.
34542
c3e2f19b
UD
345432010-08-11 Ulrich Drepper <drepper@redhat.com>
34544
3cdaa6ad
UD
34545 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34546 field.
34547 (struct statfs64): Likewise.
34548 (_STATFS_F_FLAGS): Define.
34549 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34550 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34551 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34552 (ST_VALID): Define locally.
34553 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34554 __statvfs_getflags, use the provided value.
34555 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34556 __ASSUME_STATFS_F_FLAGS.
34557
754f7da3
UD
34558 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34559
10b3bedc
UD
34560 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34561 Add sys/fanotify.h.
34562 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34563 fanotify_mask for GLIBC_2.13.
34564 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34565 fanotify_init and fanotify_mark.
34566 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34567 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34568
c08fb0d7
UD
34569 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34570 Add prlimit.
34571 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34572 prlimit64 for GLIBC_2.13.
34573 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34574 prlimit64.
34575 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34576 syscall.
34577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34578 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34579 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34580 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34581 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34582 add prlimit alias.
34583 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34584
15bac72b
UD
34585 [BZ #11903]
34586 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34587 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34588
c3e2f19b
UD
34589 * nss/Makefile: Add rules to build and run tst-nss-test1.
34590 * shlib-versions: Add entry for libnss_test1.
34591 * nss/nss_test1.c: New file.
34592 * nss/tst-nss-test1.c: New file.
34593
34594 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34595 (__nss_configure_lookup): Set appropriate entry in
34596 __nss_configure_lookup to true.
34597 * nss/nsswitch.h: Define enum with indeces of databases in
34598 databases and __nss_database_custom arrays. Declare
34599 __nss_database_custom.
34600 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34601 to avoid using nscd when custom rules are installed.
34602 * nss/getXXbyYY_r.c: Likewise.
34603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34604
34605 * nss/nss_files/files-parse.c: Whitespace fixes.
34606
f15ce4d8
UD
346072010-08-09 Ulrich Drepper <drepper@redhat.com>
34608
34609 [BZ #11883]
34610 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34611 * posix/fnmatch_loop.c: Likewise.
34612
d22e4cc9
AK
346132010-07-17 Andi Kleen <ak@linux.intel.com>
34614
34615 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34616 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34617 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34618 * Versions.def [GLIBC_2.13]: Add.
34619
805bc17d
UD
346202010-08-06 Ulrich Drepper <drepper@redhat.com>
34621
34622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34623 Also fail if tpwd after pwuid call is NULL.
34624
5a42321d
ST
346252010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34626
34627 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34628 when converting to ms.
34629
fd3ebeda
ST
346302010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34631
34632 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34633 EOPNOTSUPP errors with ENOTTY.
34634 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34635 EOPNOTSUPP errors with ENOTTY.
34636
73507d3a
UD
346372010-07-31 Ulrich Drepper <drepper@redhat.com>
34638
34639 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34640 Add strcasecmp_l-ssse3.
34641 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34642 strcasecmp.
34643 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34644 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34645 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34646
fe36dd02
UD
346472010-07-30 Ulrich Drepper <drepper@redhat.com>
34648
66f6765a
UD
34649 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34650
42e08a54
UD
34651 * string/Makefile (strop-tests): Add strcasecmp.
34652 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34653 strcasecmp_l-nonascii.
34654 (gen-as-const-headers): Add locale-defines.sym.
34655 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34656 * sysdeps/x86_64/strcasecmp.S: New file.
34657 * sysdeps/x86_64/strcasecmp_l.S: New file.
34658 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34659 * sysdeps/x86_64/locale-defines.sym: New file.
34660 * string/test-strcasecmp.c: New file.
34661
fe36dd02
UD
34662 * string/test-strcasestr.c: Test both ends of the range of characters.
34663 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34664
48cbc0d6
RM
346652010-07-29 Roland McGrath <roland@redhat.com>
34666
76e6d6bc 34667 [BZ #11856]
48cbc0d6
RM
34668 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34669
880113d9
UD
346702010-07-27 Ulrich Drepper <drepper@redhat.com>
34671
34672 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34673 for ld.so.
34674
deb9cabb
AS
346752010-07-27 Andreas Schwab <schwab@redhat.com>
34676
34677 * manual/memory.texi (Malloc Tunable Parameters): Document
34678 M_PERTURB.
34679
1c7570ff
RM
346802010-07-26 Roland McGrath <roland@redhat.com>
34681
34682 [BZ #11840]
34683 * configure.in (-fgnu89-inline check): Set and substitute
34684 gnu89_inline, not libc_cv_gnu89_inline.
34685 * configure: Regenerated.
34686 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34687
24fb0f88
UD
346882010-07-26 Ulrich Drepper <drepper@redhat.com>
34689
34690 * string/test-strnlen.c: New file.
34691 * string/Makefile (strop-tests): Add strnlen.
34692 * string/tester.c (test_strnlen): Add a few more test cases.
34693 * string/tst-strlen.c: Better error reporting.
34694
34695 * sysdeps/x86_64/strnlen.S: New file.
34696
8e96b93a
UD
346972010-07-24 Ulrich Drepper <drepper@redhat.com>
34698
34699 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34700 lower-latency instructions.
34701
dbc676d4
UD
347022010-07-23 Ulrich Drepper <drepper@redhat.com>
34703
34704 * string/test-strcasestr.c: New file.
34705 * string/test-strstr.c: New file.
34706 * string/Makefile (strop-tests): Add strstr and strcasestr.
34707 * string/str-two-way.h: Don't undefine MAX.
34708 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34709
f6a31e0e
AS
347102010-07-21 Andreas Schwab <schwab@redhat.com>
34711
34712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34713 strcasestr-nonascii.
34714 (CFLAGS-strcasestr-nonascii.c): Define.
34715 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34716 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34717 Remove unused attribute.
34718
5dbc3b6c
RM
347192010-07-20 Roland McGrath <roland@redhat.com>
34720
34721 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34722 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34723 ld.so.cache was broken. With it, there is no way to disable dsocaps
34724 like LD_HWCAP_MASK can disable hwcaps.
34725
23d101d8
EPM
347262010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34727
34728 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34729
cc9f2e47
UD
347302010-07-16 Ulrich Drepper <drepper@redhat.com>
34731
34732 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34733 call in strcasestr.
34734 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34735 __strcasestr_sse42_nonascii.
34736 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34737 strcasestr-nonascii.c.
34738 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34739
77c1b069
LM
347402010-06-15 Luis Machado <luisgpm@br.ibm.com>
34741
34742 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34743 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34744 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34745 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34746
440566c3
UD
347472010-07-09 Ulrich Drepper <drepper@redhat.com>
34748
34749 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34750 fcntl.
34751
5be9d05d
AS
347522010-07-06 Andreas Schwab <schwab@redhat.com>
34753
c30b7ee2 34754 [BZ #11577]
5be9d05d
AS
34755 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34756 dl_signal_cerror.
34757
8a492a67
UD
347582010-07-06 Ulrich Drepper <drepper@redhat.com>
34759
34760 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34761 _PC_PIPE_BUF using F_GETPIPE_SZ.
34762
713df3d5
RM
347632010-07-05 Roland McGrath <roland@redhat.com>
34764
34765 * manual/arith.texi (Rounding Functions): Fix rint description
34766 implicit in round description.
34767
702e8f14
UD
347682010-07-02 Ulrich Drepper <drepper@redhat.com>
34769
34770 * elf/Makefile: Fix linking for a few tests to make recent linker
34771 happy.
34772
52ed8be9
AS
347732010-06-30 Andreas Schwab <schwab@redhat.com>
34774
34775 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34776 $(common-objpfx)libc_nonshared.a.
34777
f47c9a11
LM
347782010-06-21 Luis Machado <luisgpm@br.ibm.com>
34779
34780 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34781 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34782 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34783 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34784 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34785 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34786 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34787 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34802 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34803 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34804 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34805 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34806 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34807 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34808 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34809 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34810 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34811 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34812 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34813 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34828
6fb8cbcb
L
348292010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34832 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34833 * string/memmove.c (memmove): Renamed to ...
34834 (MEMMOVE): ...this. Default to memmove.
34835 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34836 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34837 (END_CHK): Define.
34838 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34839 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34840 mempcpy-ssse3-back memmove-ssse3-back.
34841 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34842 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34843 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34844 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34845 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34846 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34847 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34848 * sysdeps/x86_64/multiarch/memmove.c: New file.
34849 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34850 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34851 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34852 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34853 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34854 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34855 Define.
34856 (index_Fast_Copy_Backward): Define.
34857 (HAS_ARCH_FEATURE): Define.
34858 (HAS_FAST_REP_STRING): Define.
34859 (HAS_FAST_COPY_BACKWARD): Define.
34860
4e733bac 348612010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34862
34863 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34864 Restore proper fallback handling.
34865
63c4ed22
UD
348662010-06-19 Ulrich Drepper <drepper@redhat.com>
34867
ac2b484c
UD
34868 [BZ #11701]
34869 * posix/group_member.c (__group_member): Correct checking loop.
34870
63c4ed22
UD
34871 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34872 OOM in getpwuid_r correctly. Return error number when the caller
34873 should return, otherwise -1.
34874 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34875 call returning > 0 value.
34876 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34877
765ade4b
AS
348782010-06-07 Andreas Schwab <schwab@redhat.com>
34879
34880 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34881 libc_nonshared.a from targets in modules-names.
34882
80da2e09
KS
348832010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34884
34885 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34886 requires it.
34887
158db122
LM
348882010-06-10 Luis Machado <luisgpm@br.ibm.com>
34889
34890 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34891 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34892 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34893 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34894
caa78cf8
AS
348952010-06-02 Andreas Schwab <schwab@redhat.com>
34896
34897 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34898
b2ef2c01
UD
348992010-06-14 Ulrich Drepper <drepper@redhat.com>
34900
34901 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34902 and F_GETPIPE_SZ.
34903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34905 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34906 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34907 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34908 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34909
fbd643b6
RM
349102010-06-14 Roland McGrath <roland@redhat.com>
34911
34912 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34913
f32f2869
JJ
349142010-06-07 Jakub Jelinek <jakub@redhat.com>
34915
34916 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34917 __REDIRECT followed by __THROW.
34918 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34919 * posix/getopt.h (getopt): Likewise.
34920
2a50c078
EPM
349212010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34922
34923 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34924 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34925 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34926 in AT_FLAGS.
34927 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34928 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34929
eb5ad2eb
LM
349302010-05-28 Luis Machado <luisgpm@br.ibm.com>
34931
34932 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34933
3c88fe1e
L
349342010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34935
34936 [BZ #11640]
34937 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34938 Properly check family and model.
34939
d2f73151
TY
349402010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34941
34942 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34943
ebd2e13d
LM
349442010-05-24 Luis Machado <luisgpm@br.ibm.com>
34945
34946 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34947
b32b8b45
UD
349482010-05-21 Ulrich Drepper <drepper@redhat.com>
34949
34950 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34951 symbol reference.
34952
9acbe24d
AS
349532010-05-19 Andreas Schwab <schwab@redhat.com>
34954
34955 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34956 symbol reference.
34957
f0ccf6ea
AS
349582010-05-21 Andreas Schwab <schwab@redhat.com>
34959
3d04ff3a
AS
34960 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34961 and internal_recvmmsg.
34962 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34963 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34964 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34965 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34966
f0ccf6ea
AS
34967 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34968 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34969 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34970
5b08ac57
AS
349712010-05-20 Andreas Schwab <schwab@redhat.com>
34972
34973 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34974
4828935d
LM
349752010-05-17 Luis Machado <luisgpm@br.ibm.com>
34976
34977 POWER7 optimizations.
34978 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34979 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34980
373d545e
UD
349812010-05-19 Ulrich Drepper <drepper@redhat.com>
34982
34983 * version.h: Update for 2.13 development version.
34984
21a2b1ae
AS
349852010-05-12 Andrew Stubbs <ams@codesourcery.com>
34986
34987 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34988 exceptions. Return 0.
34989
3f7dcb2b
RM
349902010-05-07 Roland McGrath <roland@redhat.com>
34991
34992 * elf/ldconfig.c (main): Add a const.
34993
5f24d53a 349942010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34995
a160f8d8
UD
34996 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34997 (args_options): Add no-idn option.
34998 (ahosts_keys_int): Add idn_flags to ai_flags.
34999 (parse_option): Handle 'i' option to clear idn_flags.
35000
5f24d53a
UD
35001 * malloc/malloc.c (_int_free): Possible race in the most recently
35002 added check. Only act on the data if no current modification
35003 happened.
265bb1ce
UD
35004
35005See ChangeLog.17 for earlier changes.