]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
66294491
JM
12013-11-16 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #16167]
4 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
5 argument being NaN and avoid computations with second argument in
6 that case.
7 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10
1820b143
CL
112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
12
13 * locale/iso-639.def: Add Chitwani Tharu (the).
14
714bd261
AS
152013-11-14 Andreas Schwab <schwab@suse.de>
16
17 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18 word instead of empty string.
19
7ab44563
AZ
202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21
22 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
24 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25 (__fe_nomask_env): Likewise.
26
e8470ea2
SE
272013-11-13 Steve Ellcey <sellcey@mips.com>
28
29 * benchtests/bench-timing.h: Include time.h.
30
17c1d9f0
L
312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
32
33 [BZ #15997]
34 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
35 to 3.4.0 for x32.
36 * sysdeps/unix/sysv/linux/configure: Regenerated.
37
9310c284
JM
382013-11-13 Joseph Myers <joseph@codesourcery.com>
39
40 [BZ #16151]
41 * stdlib/strtod_l.c (round_and_return): Do not consider
42 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
43 exponent one less than half the least subnormal exponent.
44 * stdlib/test-strtod-round-data: Add more tests.
45 * stdlib/tst-strtod-round.c (tests): Regenerated.
46
7a2ad8cf
AZ
472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48
49 [BZ #14143]
50 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51 (__fe_mask_env): Likewise.
52 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
53 libm_hidden_proto and add function prototype.
54 (__fe_mask_env): Add function prototype.
55 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
56 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
57 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
59 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61
50727aa7
MS
622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63
64 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
65 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
66
a615be46
MS
672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
68
69 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
70 of htab_find_slot().
71
7ddace62
DM
722013-11-11 David S. Miller <davem@davemloft.net>
73
74 [BZ #16150]
75 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
76 symbol in the non-vis3 case in static builds.
77 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
78 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
79 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
80 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
81
9182aa67
JK
822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
83
84 [BZ #387]
85 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
86 it is empty.
87
450a2e2d
AZ
882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
89
90 * benchtests/Makefile: Add bench-strtod.
91 * benchtests/bench-strtod.c: New file: strtod benchtest
92
8ec3f656
AS
932013-11-11 Andreas Schwab <schwab@suse.de>
94
95 [BZ #16153]
96 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
97 terminating NUL in key length.
98
76a9b998
AZ
992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
100
101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
102 Add artificial ODP entry for vDSO symbol for PPC64.
103 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
104 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
105
e4368156
OB
1062013-11-07 Ondřej Bílka <neleai@seznam.cz>
107
108 [BZ #15374]
109 * nss/getent.c (services_keys): Recognize services starting with digit.
110
8d6bb57c
DM
1112013-11-06 David S. Miller <davem@davemloft.net>
112
113 [BZ #15985]
114 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
115 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
116
e256c421
WN
1172013-11-06 Will Newton <will.newton@linaro.org>
118
119 * manual/memory.texi (Malloc Examples): Remove register
120 keyword from examples.
121
f6e12daa 1222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 123
f6e12daa 124 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 125
9d880655
AS
1262013-11-04 Joseph Myers <joseph@codesourcery.com>
127
128 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
129 depending on [__GCC_IEC_559 > 0].
130 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
131 depending on [__GCC_IEC_559_COMPLEX > 0].
132
ae129d3c
CL
1332013-11-03 Chris Leonard <cjl@sugarlabs.org>
134
135 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
136 to iso-639.def.
137
4a15c2a4 1382013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
139
140 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
141
8b35e35d
OB
1422013-11-01 Ondřej Bílka <neleai@seznam.cz>
143
144 [BZ #16112]
145 * malloc/malloc (malloc_info): Do not handle first bin as
146 special case.
147
1d70fd6c
CL
1482013-11-01 Chris Leonard <cjl@sugarlabs.org>
149
150 * locale/iso-639.def: Add Central Nahuatl (nhn).
151
8c5c2600
BH
1522013-11-01 Bruno Haible <bruno@clisp.org>
153
154 [BZ #7003]
155 * manual/math.texi (BSD Random): Specify range upper bound as
156 in POSIX.
157
da5579c2
CL
1582013-10-31 Chris Leonard <cjl@sugarlabs.org>
159
160 * locale/iso-639.def: Add Meadow Mari (mhr).
161
5d30d853
OB
1622013-10-31 Ondřej Bílka <neleai@seznam.cz>
163
164 [BZ #14752], [BZ #15763]
165 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
166 Validate name.
167 * rt/tst_shm.c: Add test for escaping directory.
168
a4966c61
AS
1692013-10-31 Andreas Schwab <schwab@suse.de>
170
8a43e768 171 [BZ #15917]
a4966c61
AS
172 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
173 followed by 'x' as part of digit sequence.
174 * stdio-common/tst-sscanf.c (double_tests2): New tests.
175
28d708c4
MAP
1762013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
177
178 [BZ #16037]
179 * configure.ac: allow GNU Make 4.0 and greater.
180 * configure: Regenerated.
181
a56ee40b
WN
1822013-10-30 Will Newton <will.newton@linaro.org>
183
184 [BZ #16038]
185 * malloc/hooks.c (memalign_check): Limit alignment to the
186 maximum representable power of two.
187 * malloc/malloc.c (__libc_memalign): Likewise.
188 * malloc/tst-memalign.c (do_test): Add test for very
189 large alignment values.
190 * malloc/tst-posix_memalign.c (do_test): Likewise.
191
c6e4925d
OB
1922013-10-30 Ondřej Bílka <neleai@seznam.cz>
193
194 [BZ #11087]
195 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
196 (munmap_chunk): Likewise.
197 (mremap_chunk): Likewise.
198
1992013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 200
8a43e768 201 [BZ #15799]
bbea82f7
OB
202 * stdlib/div.c (div): Remove obsolete code.
203 * stdlib/ldiv.c (ldiv): Likewise.
204 * stdlib/lldiv.c (lldiv): Likewise.
205
977f4b31
SP
2062013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
207
208 [BZ #16071]
209 * nss/nss_files/files-XXX.c (get_contents_ret): New
210 enumerator.
211 (get_contents): New function.
212 (internal_getent): Use it. Expand size of LINEBUFLEN.
213
cb8a6dbd
MF
2142013-10-30 Mike Frysinger <vapier@gentoo.org>
215
216 * configure.in: Moved to ...
217 * configure.ac: ... here. Change reference to configure.in
218 to configure.ac.
219 * sysdeps/arm/preconfigure.ac: ... here.
220 configure.in to configure.ac.
221 * sysdeps/gnu/configure.in: Moved to ...
222 * sysdeps/gnu/configure.ac: ... here.
223 * sysdeps/i386/configure.in: Moved to ...
224 * sysdeps/i386/configure.ac: ... here.
225 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
226 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
227 * sysdeps/mach/configure.in: Moved to ...
228 * sysdeps/mach/configure.ac: ... here.
229 * sysdeps/mach/hurd/configure.in: Moved to ...
230 * sysdeps/mach/hurd/configure.ac: ... here.
231 * sysdeps/powerpc/configure.in: Moved to ...
232 * sysdeps/powerpc/configure.ac: ... here.
233 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
234 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
235 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
236 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
237 * sysdeps/s390/s390-32/configure.in: Moved to ...
238 * sysdeps/s390/s390-32/configure.ac: ... here.
239 * sysdeps/s390/s390-64/configure.in: Moved to ...
240 * sysdeps/s390/s390-64/configure.ac: ... here.
241 * sysdeps/sh/configure.in: Moved to ...
242 * sysdeps/sh/configure.ac: ... here.
243 * sysdeps/sparc/configure.in: Moved to ...
244 * sysdeps/sparc/configure.ac: ... here.
245 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
246 * sysdeps/unix/sysv/linux/configure.ac: ... here.
247 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
248 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
249 * sysdeps/x86_64/configure.in: Moved to ...
250 * sysdeps/x86_64/configure.ac: ... here.
251 * sysdeps/x86_64/preconfigure.in: Moved to ...
252 * sysdeps/x86_64/preconfigure.ac: ... here.
253 * aclocal.m4: Change reference to configure.in to configure.ac.
254 * config.h.in: Likewise.
255 * manual/install.texi: Likewise.
256 * manual/maint.texi: Likewise.
257 * Makefile: Likewise.
258 * malloc/Makefile: Likewise.
259 * nscd/Makefile: Likewise.
260 * Makeconfig: Change reference to configure.in and
261 preconfigure.in to configure.ac and preconfigure.ac
262 respectively.
263 * INSTALL: Regenerated.
264 * configure: Likewise.
265 * sysdeps/gnu/configure: Likewise.
266 * sysdeps/i386/configure: Likewise.
267 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
268 * sysdeps/mach/configure: Likewise.
269 * sysdeps/mach/hurd/configure: Likewise.
270 * sysdeps/powerpc/configure: Likewise.
271 * sysdeps/powerpc/powerpc32/configure: Likewise.
272 * sysdeps/powerpc/powerpc64/configure: Likewise.
273 * sysdeps/s390/s390-32/configure: Likewise.
274 * sysdeps/s390/s390-64/configure: Likewise.
275 * sysdeps/sh/configure: Likewise.
276 * sysdeps/sparc/configure: Likewise.
277 * sysdeps/unix/sysv/linux/configure: Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
279 * sysdeps/x86_64/configure: Likewise.
280 * sysdeps/x86_64/preconfigure: Likewise.
281
36a4953a
AS
2822013-10-29 Andreas Schwab <schwab@suse.de>
283
284 * stdio-common/Makefile (tst-swscanf-ENV): Define.
285
c79a1204
SP
2862013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
287
dfa1b402
SP
288 * benchtests/pow-inputs: Add new inputs.
289
54f73d9c
SP
290 * benchtests/exp-inputs: Add new inputs.
291
c79a1204
SP
292 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
293 conditional check for return value.
294 (__cos32): Likewise.
295
67beb545 2962013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
297
298 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
299 to provide a boost for large inputs with word alignment.
300 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
301 implementation based on optimized PPC64 strcpy.
302 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
303 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
304 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
305 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
306
151659f6
OB
3072013-10-25 Ondřej Bílka <neleai@seznam.cz>
308
482a077e 309 [BZ #2801]
151659f6
OB
310 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
311
10b0f26b
OB
3122013-10-25 Ondřej Bílka <neleai@seznam.cz>
313
314 [BZ #14876]
315 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
316 * time/tst-strptime.c (day_tests): Add testcase.
317
ca42d35e
OB
3182013-10-25 Ondřej Bílka <neleai@seznam.cz>
319
482a077e 320 [BZ #14029]
ca42d35e
OB
321 * manual/pattern.texi: Acknowledge that fnmatch can fail.
322
52e6d801
FB
3232013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
324
325 [BZ #16074]
326 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
327 MAP_FAILED on error.
328
7cbcdb36
SP
3292013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
330
331 [BZ #16072]
332 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
333 heap for large requests.
334
894f3f10
AM
3352013-10-25 Aurelien Jarno <aurelien@aurel32.net>
336
337 [BZ #9954]
338 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
339 result if the result has no associated interface.
340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
341 interface for all 127.X.Y.Z addresses.
342
b85545a6
CL
3432013-10-24 Chris Leonard <cjl@sugarlabs.org>
344
345 * locale/iso-639.def: Add Ligurian (lij)
346
d1f23d46
OB
3472013-10-21 Ondřej Bílka <neleai@seznam.cz>
348
349 [BZ #15825]
350 * sunrpc/rpc_main.c: Document rpcgen -5.
351
4db5b08f
MS
3522013-10-19 Michael Stahl <mstahl@redhat.com>
353
354 * elf/rtld.c (do_preload): Print the reason why preloading failed.
355
a471e96a
OB
3562013-10-19 Ondřej Bílka <neleai@seznam.cz>
357
d1f23d46 358 [BZ #10278]
a471e96a
OB
359 * posix/glob.c: Match only directories when trailing slash is present.
360 * posix/tst-gnuglob.c (my_opendir): Do not open files.
361 (main): Add testcase.
362
45c30c61
OB
3632013-10-19 Ondřej Bílka <neleai@seznam.cz>
364
365 [BZ #15670]
366 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
367
484c12fb
CD
3682013-10-18 Carlos O'Donell <carlos@redhat.com>
369
3d7dc513
CD
370 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
371 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
372 AUTH_DES and cindex for FIPS 140-2.
373 (DES Encryption): Add cindex FIPS 46-3.
374
484c12fb
CD
375 * locale/locarchive.h (struct locarhandle): Add fname.
376 * locale/programs/localedef.c (main): Pass ARGV[remaining]
377 if an optional argument was specified to --list-archive,
378 otherwise NULL.
379 * locale/programs/locarchive.c (show_archive_content): Take new
380 argument fname and pass it via ah.fname to open_archive.
381 * locale/programs/localedef.h: Update decl.
382 (open_archive): If AH->fname is non-null, open that file
383 rather than the default file name, and don't ignore ENOENT.
384 (create_archive): Set AH.fname to NULL.
385 (delete_locales_from_archive): Likewise.
386 (add_locales_to_archive): Likewise.
387 * locale/programs/locfile.c (write_all_categories): Likewise.
388
3c8325fb
JM
3892013-10-18 Joseph Myers <joseph@codesourcery.com>
390 Aldy Hernandez <aldyh@redhat.com>
391
392 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
393 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
394 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
395 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
396 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
397 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
398 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
400 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
401 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
402 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
403 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
404 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
405 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
406 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
407 Likewise.
408 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
409 Likewise.
410 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
411 Likewise.
412 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
413 Likewise.
414 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
415 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
416 Likewise.
417 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
418 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
419 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
420 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
421 Likewise.
422 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
423 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
424 * sysdeps/powerpc/preconfigure: Likewise.
425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
426 Likewise.
427 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
428 Replace contents of file by #include of <fenv_libc.h>.
429 * sysdeps/powerpc/soft-fp/sfp-machine.h
430 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
431 and <sys/prctl.h>.
432 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
433 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
434 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
435 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
436 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
437 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
438 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
439 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
440 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
441 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
442 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
443 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
445 Allow copysignl PLT reference to be missing.
446
5abe0682
RS
4472013-10-18 Richard Sandiford <richard@codesourcery.com>
448 Joseph Myers <joseph@codesourcery.com
449
450 [BZ #15948]
451 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
452 single character.
453 (add_to_tablewc): Assert sequence of wide characters is nonempty.
454
c7738d08
SP
4552013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
456
457 * elf/tst-tls-dlinfo.c: Don't include tls.h.
458 * elf/tst-tls1.c: Likewise.
459 * elf/tst-tls10.h: Likewise.
460 * elf/tst-tls14.c: Likewise.
461 * elf/tst-tls2.c: Likewise.
462 * elf/tst-tls3.c: Likewise.
463 * elf/tst-tls4.c: Likewise.
464 * elf/tst-tls5.c: Likewise.
465 * elf/tst-tls6.c: Likewise.
466 * elf/tst-tls7.c: Likewise.
467 * elf/tst-tls8.c: Likewise.
468 * elf/tst-tls9.c: Likewise.
469 * elf/tst-tlsmod1.c: Likewise.
470 * elf/tst-tlsmod13.c: Likewise.
471 * elf/tst-tlsmod13a.c: Likewise.
472 * elf/tst-tlsmod14a.c: Likewise.
473 * elf/tst-tlsmod16a.c: Likewise.
474 * elf/tst-tlsmod16b.c: Likewise.
475 * elf/tst-tlsmod2.c: Likewise.
476 * elf/tst-tlsmod3.c: Likewise.
477 * elf/tst-tlsmod4.c: Likewise.
478 * elf/tst-tlsmod5.c: Likewise.
479 * elf/tst-tlsmod6.c: Likewise.
480
0bfcf2c7
OB
4812013-10-18 Ondřej Bílka <neleai@seznam.cz>
482
483 [BZ #12486]
484 * malloc/malloc.c: remove checks for statistics.
485
264aad1e
OB
4862013-10-17 Ondřej Bílka <neleai@seznam.cz>
487
488 [BZ #15277]
489 * inet/inet_net.c (inet_network): Detect additional invalid strings.
490 * inet/tst-network.c: Add testcase.
491
b957ced8
AS
4922013-10-17 Andreas Schwab <schwab@suse.de>
493
494 [BZ #15218]
495 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
496 to determine canonical name.
497
c5d5d574
OB
4982013-10-17 Ondřej Bílka <neleai@seznam.cz>
499
500 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
501 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
502 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
503 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
505 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
506 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
507 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
508 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
510 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
511 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
512 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
513 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
514 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
515 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
517 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
519 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
520 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
521 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
522 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
523 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
524 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
525 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
526 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
527 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
528 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
529 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
530 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
531 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
532 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
533 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
534 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
535 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
536 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
537 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
538 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
539 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
540 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
541 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
542 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
543 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
544 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
545 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
546 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
547 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
548 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
549 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
550 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
551 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
552 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
553 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
558
e5c2c2d0
JM
5592013-10-17 Joseph Myers <joseph@codesourcery.com>
560
561 [BZ #16041]
562 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
563 make result into a quiet NaN.
564
51ca9e29
JM
5652013-10-16 Joseph Myers <joseph@codesourcery.com>
566
567 * soft-fp/adddf3.c: Fix horizontal whitespace.
568 * soft-fp/addsf3.c: Likewise.
569 * soft-fp/addtf3.c: Likewise.
570 * soft-fp/divdf3.c: Likewise.
571 * soft-fp/divsf3.c: Likewise.
572 * soft-fp/divtf3.c: Likewise.
573 * soft-fp/double.h: Likewise.
574 * soft-fp/eqdf2.c: Likewise.
575 * soft-fp/eqsf2.c: Likewise.
576 * soft-fp/eqtf2.c: Likewise.
577 * soft-fp/extenddftf2.c: Likewise.
578 * soft-fp/extended.h: Likewise.
579 * soft-fp/extendsfdf2.c: Likewise.
580 * soft-fp/extendsftf2.c: Likewise.
581 * soft-fp/extendxftf2.c: Likewise.
582 * soft-fp/fixdfdi.c: Likewise.
583 * soft-fp/fixdfsi.c: Likewise.
584 * soft-fp/fixdfti.c: Likewise.
585 * soft-fp/fixsfdi.c: Likewise.
586 * soft-fp/fixsfsi.c: Likewise.
587 * soft-fp/fixsfti.c: Likewise.
588 * soft-fp/fixtfdi.c: Likewise.
589 * soft-fp/fixtfsi.c: Likewise.
590 * soft-fp/fixtfti.c: Likewise.
591 * soft-fp/fixunsdfdi.c: Likewise.
592 * soft-fp/fixunsdfsi.c: Likewise.
593 * soft-fp/fixunsdfti.c: Likewise.
594 * soft-fp/fixunssfdi.c: Likewise.
595 * soft-fp/fixunssfsi.c: Likewise.
596 * soft-fp/fixunssfti.c: Likewise.
597 * soft-fp/fixunstfdi.c: Likewise.
598 * soft-fp/fixunstfsi.c: Likewise.
599 * soft-fp/fixunstfti.c: Likewise.
600 * soft-fp/floatdidf.c: Likewise.
601 * soft-fp/floatdisf.c: Likewise.
602 * soft-fp/floatditf.c: Likewise.
603 * soft-fp/floatsidf.c: Likewise.
604 * soft-fp/floatsisf.c: Likewise.
605 * soft-fp/floatsitf.c: Likewise.
606 * soft-fp/floattidf.c: Likewise.
607 * soft-fp/floattisf.c: Likewise.
608 * soft-fp/floattitf.c: Likewise.
609 * soft-fp/floatundidf.c: Likewise.
610 * soft-fp/floatundisf.c: Likewise.
611 * soft-fp/floatunditf.c: Likewise.
612 * soft-fp/floatunsidf.c: Likewise.
613 * soft-fp/floatunsisf.c: Likewise.
614 * soft-fp/floatunsitf.c: Likewise.
615 * soft-fp/floatuntidf.c: Likewise.
616 * soft-fp/floatuntisf.c: Likewise.
617 * soft-fp/floatuntitf.c: Likewise.
618 * soft-fp/fmadf4.c: Likewise.
619 * soft-fp/fmasf4.c: Likewise.
620 * soft-fp/fmatf4.c: Likewise.
621 * soft-fp/gedf2.c: Likewise.
622 * soft-fp/gesf2.c: Likewise.
623 * soft-fp/getf2.c: Likewise.
624 * soft-fp/ledf2.c: Likewise.
625 * soft-fp/lesf2.c: Likewise.
626 * soft-fp/letf2.c: Likewise.
627 * soft-fp/muldf3.c: Likewise.
628 * soft-fp/mulsf3.c: Likewise.
629 * soft-fp/multf3.c: Likewise.
630 * soft-fp/negdf2.c: Likewise.
631 * soft-fp/negsf2.c: Likewise.
632 * soft-fp/negtf2.c: Likewise.
633 * soft-fp/op-1.h: Likewise.
634 * soft-fp/op-2.h: Likewise.
635 * soft-fp/op-4.h: Likewise.
636 * soft-fp/op-8.h: Likewise.
637 * soft-fp/op-common.h: Likewise.
638 * soft-fp/quad.h: Likewise.
639 * soft-fp/single.h: Likewise.
640 * soft-fp/soft-fp.h: Likewise.
641 * soft-fp/sqrtdf2.c: Likewise.
642 * soft-fp/sqrtsf2.c: Likewise.
643 * soft-fp/sqrttf2.c: Likewise.
644 * soft-fp/subdf3.c: Likewise.
645 * soft-fp/subsf3.c: Likewise.
646 * soft-fp/subtf3.c: Likewise.
647 * soft-fp/truncdfsf2.c: Likewise.
648 * soft-fp/trunctfdf2.c: Likewise.
649 * soft-fp/trunctfsf2.c: Likewise.
650 * soft-fp/trunctfxf2.c: Likewise.
651 * soft-fp/unorddf2.c: Likewise.
652 * soft-fp/unordsf2.c: Likewise.
653 * soft-fp/unordtf2.c: Likewise.
654
9ebb0332
JM
6552013-10-15 Joseph Myers <joseph@codesourcery.com>
656
657 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
658 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
659
4b1a6d8b
OB
6602013-10-15 Ondřej Bílka <neleai@seznam.cz>
661
662 * elf/dl-libc.c: Clear initfini list after freeing.
663
1e145589
JM
6642013-10-14 Joseph Myers <joseph@codesourcery.com>
665
666 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
667 * soft-fp/addsf3.c: Likewise.
668 * soft-fp/addtf3.c: Likewise.
669 * soft-fp/divdf3.c: Likewise.
670 * soft-fp/divsf3.c: Likewise.
671 * soft-fp/divtf3.c: Likewise.
672 * soft-fp/double.h: Likewise.
673 * soft-fp/eqdf2.c: Likewise.
674 * soft-fp/eqsf2.c: Likewise.
675 * soft-fp/eqtf2.c: Likewise.
676 * soft-fp/extenddftf2.c: Likewise.
677 * soft-fp/extended.h: Likewise.
678 * soft-fp/extendsfdf2.c: Likewise.
679 * soft-fp/extendsftf2.c: Likewise.
680 * soft-fp/extendxftf2.c: Likewise.
681 * soft-fp/fixdfdi.c: Likewise.
682 * soft-fp/fixdfsi.c: Likewise.
683 * soft-fp/fixdfti.c: Likewise.
684 * soft-fp/fixsfdi.c: Likewise.
685 * soft-fp/fixsfsi.c: Likewise.
686 * soft-fp/fixsfti.c: Likewise.
687 * soft-fp/fixtfdi.c: Likewise.
688 * soft-fp/fixtfsi.c: Likewise.
689 * soft-fp/fixtfti.c: Likewise.
690 * soft-fp/fixunsdfdi.c: Likewise.
691 * soft-fp/fixunsdfsi.c: Likewise.
692 * soft-fp/fixunsdfti.c: Likewise.
693 * soft-fp/fixunssfdi.c: Likewise.
694 * soft-fp/fixunssfsi.c: Likewise.
695 * soft-fp/fixunssfti.c: Likewise.
696 * soft-fp/fixunstfdi.c: Likewise.
697 * soft-fp/fixunstfsi.c: Likewise.
698 * soft-fp/fixunstfti.c: Likewise.
699 * soft-fp/floatdidf.c: Likewise.
700 * soft-fp/floatdisf.c: Likewise.
701 * soft-fp/floatditf.c: Likewise.
702 * soft-fp/floatsidf.c: Likewise.
703 * soft-fp/floatsisf.c: Likewise.
704 * soft-fp/floatsitf.c: Likewise.
705 * soft-fp/floattidf.c: Likewise.
706 * soft-fp/floattisf.c: Likewise.
707 * soft-fp/floattitf.c: Likewise.
708 * soft-fp/floatundidf.c: Likewise.
709 * soft-fp/floatundisf.c: Likewise.
710 * soft-fp/floatunsidf.c: Likewise.
711 * soft-fp/floatunsisf.c: Likewise.
712 * soft-fp/floatuntidf.c: Likewise.
713 * soft-fp/floatuntisf.c: Likewise.
714 * soft-fp/floatuntitf.c: Likewise.
715 * soft-fp/fmadf4.c: Likewise.
716 * soft-fp/fmasf4.c: Likewise.
717 * soft-fp/fmatf4.c: Likewise.
718 * soft-fp/gedf2.c: Likewise.
719 * soft-fp/gesf2.c: Likewise.
720 * soft-fp/getf2.c: Likewise.
721 * soft-fp/ledf2.c: Likewise.
722 * soft-fp/lesf2.c: Likewise.
723 * soft-fp/letf2.c: Likewise.
724 * soft-fp/muldf3.c: Likewise.
725 * soft-fp/mulsf3.c: Likewise.
726 * soft-fp/multf3.c: Likewise.
727 * soft-fp/negdf2.c: Likewise.
728 * soft-fp/negsf2.c: Likewise.
729 * soft-fp/negtf2.c: Likewise.
730 * soft-fp/op-1.h: Likewise.
731 * soft-fp/op-2.h: Likewise.
732 * soft-fp/op-4.h: Likewise.
733 * soft-fp/op-8.h: Likewise.
734 * soft-fp/op-common.h: Likewise.
735 * soft-fp/quad.h: Likewise.
736 * soft-fp/single.h: Likewise.
737 * soft-fp/soft-fp.h: Likewise.
738 * soft-fp/sqrtdf2.c: Likewise.
739 * soft-fp/sqrtsf2.c: Likewise.
740 * soft-fp/sqrttf2.c: Likewise.
741 * soft-fp/subdf3.c: Likewise.
742 * soft-fp/subsf3.c: Likewise.
743 * soft-fp/subtf3.c: Likewise.
744 * soft-fp/truncdfsf2.c: Likewise.
745 * soft-fp/trunctfdf2.c: Likewise.
746 * soft-fp/trunctfsf2.c: Likewise.
747 * soft-fp/trunctfxf2.c: Likewise.
748 * soft-fp/unorddf2.c: Likewise.
749 * soft-fp/unordsf2.c: Likewise.
750 * soft-fp/unordtf2.c: Likewise.
751
17c48a60
OB
7522013-10-14 Ondřej Bílka <neleai@seznam.cz>
753
754 [BZ #15672]
755 * misc/error.c (error_tail): Fix possible buffer overflow.
756
cabba934
OB
7572013-10-14 Aurelien Jarno <aurelien@aurel32.net>
758
759 [BZ #13028]
760 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
761 address.
762
94bf958a
PM
7632013-10-14 P. J. McDermott <pj@pehjota.net>
764
765 [BZ #832]
766 * elf/ldd.bash.in (try_trace): New function. Delete previous code
767 testing pipefail option.
768
71b4dea7
JM
7692013-10-12 Joseph Myers <joseph@codesourcery.com>
770
771 * soft-fp/double.h: Indent preprocessor directives inside #if.
772 * soft-fp/extended.h: Likewise.
773 * soft-fp/op-2.h: Likewise.
774 * soft-fp/op-4.h: Likewise.
775 * soft-fp/op-common.h: Likewise.
776 * soft-fp/quad.h: Likewise.
777 * soft-fp/single.h: Likewise.
778 * soft-fp/soft-fp.h: Likewise.
779
55602758
YC
7802013-10-12 Yuri Chornoivan <yurchor@ukr.net>
781
782 * iconv/iconv_prog.c: Fix typos.
783 * stdio-common/psiginfo-data.h: Likewise.
784
9cd83302
RT
7852013-10-12 Reuben Thomas <rrt@sc3d.org>
786
787 [BZ #15764]
788 * locale/setlocale.c: Fix typo.
789
99fd9f47
JM
7902013-10-12 Joseph Myers <joseph@codesourcery.com>
791
b7ea74f0
JM
792 [BZ #16036]
793 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
794 signaling NaN arguments.
795 * soft-fp/unordsf2.c (__unordsf2): Likewise.
796 * soft-fp/unordtf2.c (__unordtf2): Likewise.
797
8a509447
JM
798 [BZ #14910]
799 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
800 unordered operands.
801 * soft-fp/gesf2.c (__gesf2): Likewise.
802 * soft-fp/getf2.c (__getf2): Likewise.
803 * soft-fp/ledf2.c (__ledf2): Likewise.
804 * soft-fp/lesf2.c (__lesf2): Likewise.
805 * soft-fp/letf2.c (__letf2): Likewise.
806
98998e9f
JM
807 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
808 * soft-fp/eqsf2.c (__eqsf2): Likewise.
809 * soft-fp/eqtf2.c (__eqtf2): Likewise.
810 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
811 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
812 * soft-fp/fixdfti.c (__fixdfti): Likewise.
813 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
814 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
815 * soft-fp/fixsfti.c (__fixsfti): Likewise.
816 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
817 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
818 * soft-fp/fixtfti.c (__fixtfti): Likewise.
819 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
820 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
821 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
822 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
823 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
824 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
825 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
826 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
827 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
828 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
829 * soft-fp/floatdisf.c (__floatdisf): Likewise.
830 * soft-fp/floatsisf.c (__floatsisf): Likewise.
831 * soft-fp/floattidf.c (__floattidf): Likewise.
832 * soft-fp/floattisf.c (__floattisf): Likewise.
833 * soft-fp/floattitf.c (__floattitf): Likewise.
834 * soft-fp/floatundidf.c (__floatundidf): Likewise.
835 * soft-fp/floatundisf.c (__floatundisf): Likewise.
836 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
837 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
838 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
839 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
840 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
841 * soft-fp/gesf2.c (__gesf2): Likewise.
842 * soft-fp/getf2.c (__getf2): Likewise.
843 * soft-fp/ledf2.c (__ledf2): Likewise.
844 * soft-fp/lesf2.c (__lesf2): Likewise.
845 * soft-fp/letf2.c (__letf2): Likewise.
846
8edc4a11
JM
847 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
848 Undefine and redefine.
849 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
850 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
851 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
852 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
853 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
854 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
855 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
856 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
857 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
858 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
859 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
860 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
861 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
862 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
863 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
864
8399acaf
JM
865 [BZ #16032]
866 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
867 without decrementing exponent if mantissa >= that for the
868 denominator, not >.
869 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
870 denominator, not >. Decrement exponent in < case instead of
871 incrementing in >= case.
872 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
873 without decrementing exponent if mantissa >= that for the
874 denominator, not >.
875
99fd9f47
JM
876 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
877 computing saturated result for unsigned overflow.
878
10e1cf6b
SP
8792013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
880 Jeff Law <law@redhat.com>
881
882 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
883 (atan2Mp): Add systemtap probe marker.
884 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
885 (__ieee754_log): Add systemtap probe marker.
886 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
887 (atanMp): Add systemtap probe marker.
888 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
889 (tanMp): Add systemtap probe marker.
890 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
891 (__slowexp): Add systemtap probe marker.
892 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
893 (__slowpow): Add systemtap probe marker.
894 * manual/probes.texi: Document probes.
895
3d110c7c
EB
8962013-10-11 Eric Biggers <ebiggers3@gmail.com>
897
898 [BZ #15362]
899 * libio/fileops.c (_IO_new_file_write): Return count of bytes
900 written.
901 (_IO_new_file_xsputn): Don't return EOF if nothing has been
902 written.
903 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
904 written to buffer but not flushed.
905 * libio/iofwrite_u.c: Likewise.
906 * libio/iopadn.c: Return bytes returned even if EOF was
907 encountered.
908 * libio/iowpadn.c: Likewise.
909 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
910 if _IO_padn does not write the whole buffer.
911 [!COMPILE_WPRINTF] (PAD): Likewise.
912
75b4202a
DM
9132013-10-10 David S. Miller <davem@davemloft.net>
914
915 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
916 directory block.
917
6c6352e6
JM
9182013-10-10 Joseph Myers <joseph@codesourcery.com>
919
33b853c3
JM
920 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
921 instead of FSF address.
922 * soft-fp/fixdfti.c: Likewise.
923 * soft-fp/fixsfti.c: Likewise.
924 * soft-fp/fixtfti.c: Likewise.
925 * soft-fp/fixunsdfti.c: Likewise.
926 * soft-fp/fixunssfti.c: Likewise.
927 * soft-fp/fixunstfti.c: Likewise.
928 * soft-fp/floattidf.c: Likewise.
929 * soft-fp/floattisf.c: Likewise.
930 * soft-fp/floattitf.c: Likewise.
931 * soft-fp/floatuntidf.c: Likewise.
932 * soft-fp/floatuntisf.c: Likewise.
933 * soft-fp/floatuntitf.c: Likewise.
934 * soft-fp/trunctfxf2.c: Likewise.
935
6c6352e6
JM
936 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
937 * soft-fp/fixdfti.c: Likewise.
938 * soft-fp/fixsfti.c: Likewise.
939 * soft-fp/fixtfti.c: Likewise.
940 * soft-fp/fixunsdfti.c: Likewise.
941 * soft-fp/fixunssfti.c: Likewise.
942 * soft-fp/fixunstfti.c: Likewise.
943 * soft-fp/floattidf.c: Likewise.
944 * soft-fp/floattisf.c: Likewise.
945 * soft-fp/floattitf.c: Likewise.
946 * soft-fp/floatuntidf.c: Likewise.
947 * soft-fp/floatuntisf.c: Likewise.
948 * soft-fp/floatuntitf.c: Likewise.
949 * soft-fp/trunctfxf2.c: Likewise.
950
3bf78b71
DM
9512013-10-10 David S. Miller <davem@davemloft.net>
952
953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
954
6f10289e
JM
9552013-10-10 Joseph Myers <joseph@codsourcery.com>
956
bd878fc0
JM
957 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
958 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
959 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
960 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
961 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
962 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
963 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
964
6f10289e
JM
965 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
966 for NaNs before doing comparisons on argument.
967 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
968 Likewise.
969
321e2684
WN
9702013-10-10 Will Newton <will.newton@linaro.org>
971
972 * malloc/hooks.c (memalign_check): Ensure the value of bytes
973 passed to _int_memalign does not overflow.
974
40fefba1
TR
9752013-10-10 Torvald Riegel <triegel@redhat.com>
976
977 * scripts/bench.pl: Add include-sources directive.
978 * benchtests/README: Update documentation.
979
2ae21ed2
JM
9802013-10-10 Joseph Myers <joseph@codesourcery.com>
981
dcc2dd3f
JM
982 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
983 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
984 instead of FP_INIT_ROUNDMODE.
985 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
986 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
987
2ae21ed2
JM
988 [BZ #16034]
989 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
990 copy class of input value.
991 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
992 not handle exceptions.
993 * soft-fp/negsf2.c (__negsf2): Likewise.
994 * soft-fp/negtf2.c (__negtf2): Likewise.
995 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
996
cb8f9562
JM
9972013-10-09 Joseph Myers <joseph@codesourcery.com>
998
999 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
1000 semicolon. From Linux kernel.
1001
5b60c59d
AB
10022013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
1003
1004 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
1005
b86835ca
YC
10062013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
1007
1008 [BZ #156]
1009 * manual/socket.texi: Added statement about buffer
1010 for gethostbyname2_r.
1011
e7044ea7
OB
10122013-10-08 Ondřej Bílka <neleai@seznam.cz>
1013
1014 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
1015 Use .p2align directive instead, throughout.
1016 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1017 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1018 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
1019 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1021 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
1022 * sysdeps/x86_64/strchr.S: Likewise.
1023 * sysdeps/x86_64/strrchr.S: Likewise.
1024
09544cbc
SP
10252013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
1026
88576635
SP
1027 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
1028
e7b2d1dd
SP
1029 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
1030
09544cbc
SP
1031 * sysdeps/generic/math_private.h (__mpsin1): Remove
1032 declaration.
1033 (__mpcos1): Likewise.
1034 (__mpsin): New argument __range_reduce.
1035 (__mpcos): Likewise.
1036 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1037 (slow): Use __mpsin and __mpcos.
1038 (slow1): Likewise.
1039 (slow2): Likewise.
1040 (sloww): Likewise.
1041 (sloww1): Likewise.
1042 (sloww2): Likewise.
1043 (bsloww): Likewise.
1044 (bsloww1): Likewise.
1045 (bsloww2): Likewise.
1046 (cslow2): Likewise.
1047 (csloww): Likewise.
1048 (csloww1): Likewise.
1049 (csloww2): Likewise.
1050 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
1051 range_reduce. Merge in __mpsin1.
1052 (__mpcos): Likewise.
1053 (__mpsin1): Remove.
1054 (__mpcos1): Likewise.
1055
7602d070
JM
10562013-10-07 Joseph Myers <joseph@codesourcery.com>
1057
1058 * locale/loadlocale.c (_nl_intern_locale_data): Use
1059 LOCFILE_ALIGNED_P.
1060 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
1061 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
1062 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
1063 obstack data is appropriately aligned.
1064 (obstack_int32_grow_fast): Likewise.
1065 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
1066 * locale/programs/locfile.c (add_locale_uint32): Likewise.
1067 (add_locale_uint32_array): Likewise.
1068
a357259b
SP
10692013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
1070
1071 * benchtests/Makefile: Remove ARGLIST and RET variables.
1072 ($(objpfx)bench-%.c): Pass only function name to the script.
1073 * benchtests/README: Update documentation.
1074 * benchtests/acos-inputs: Add new directives.
1075 * benchtests/acosh-inputs: Likewise.
1076 * benchtests/asin-inputs: Likewise.
1077 * benchtests/asinh-inputs: Likewise.
1078 * benchtests/atan-inputs: Likewise.
1079 * benchtests/atanh-inputs: Likewise.
1080 * benchtests/cos-inputs: Likewise.
1081 * benchtests/cosh-inputs: Likewise.
1082 * benchtests/exp-inputs: Likewise.
1083 * benchtests/log-inputs: Likewise.
1084 * benchtests/pow-inputs: Likewise.
1085 * benchtests/rint-inputs: Likewise.
1086 * benchtests/sin-inputs: Likewise.
1087 * benchtests/sinh-inputs: Likewise.
1088 * benchtests/tan-inputs: Likewise.
1089 * benchtests/tanh-inputs: Likewise.
1090 * scripts/bench.pl: Add support for new directives.
1091
9ec1b13d
AM
10922013-10-07 Alan Modra <amodra@gmail.com>
1093
1094 * README: Fix careless merge.
1095
8b7d57cd
AM
10962013-10-05 Alan Modra <amodra@gmail.com>
1097
1098 * NEWS: Mention powerpc64le support and bugs fixed.
1099 * README: Both big-endian and little-endian powerpc64 supported.
1100
7b7bab13
ST
11012013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
1102
1103 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
1104 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
1105 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
1106 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
1107
d39baad1
RA
11082013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
1109
1110 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
1111 match prototype.
1112
cd78f7e7
JM
11132013-10-04 Joseph Myers <joseph@codesourcery.com>
1114
29d73d86
JM
1115 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
1116 Move -mhard-float appending from
1117 ports/sysdeps/powerpc/powerpc32/Makefile.
1118 [$(with-fp) = yes] (ASFLAGS): Likewise.
1119 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
1120 * sysdeps/powerpc/nofpu: Move directory from
1121 ports/sysdeps/powerpc/nofpu.
1122 * sysdeps/powerpc/soft-fp: Move directory from
1123 ports/sysdeps/powerpc/soft-fp.
1124 * sysdeps/powerpc/powerpc32/405: Move directory from
1125 ports/sysdeps/powerpc/powerpc32/405.
1126 * sysdeps/powerpc/powerpc32/440: Move directory from
1127 ports/sysdeps/powerpc/powerpc32/440.
1128 * sysdeps/powerpc/powerpc32/464: Move directory from
1129 ports/sysdeps/powerpc/powerpc32/464.
1130 * sysdeps/powerpc/powerpc32/476: Move directory from
1131 ports/sysdeps/powerpc/powerpc32/476.
1132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
1133 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
1134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
1135 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
1136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
1137 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
1138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
1139 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
1140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
1141 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
1142 * README: Update for powerpc-*-linux-gnu software floating point
1143 support in libc.
1144
e246b347
JM
1145 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
1146 case to powerpc/powerpc32*.
1147 * sysdeps/unix/sysv/linux/configure: Regenerated.
1148
89c2003e
JM
1149 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
1150 (_FPU_MASK_OM): Define as 0x04.
1151 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
1152 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
1153 0x00c10080.
1154 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
1155 0x0000003c.
1156 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
1157
cd78f7e7
JM
1158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
1159 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1160 getcontext_e500.
1161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
1162 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
1163 setcontext_e500.
1164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
1165 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
1166 and setcontext_e500.
1167
c755294d
CL
11682013-10-04 Chris Leonard <cjl@sugarlabs,.org>
1169
1170 * locale/iso-3166.def: Update iso-1366.def and related occurrences
1171
e16d221c
SP
11722013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1173
1174 * manual/threads.texi (Default Thread Attributes): Fix typo.
1175
215c7d43
WN
11762013-10-04 Will Newton <will.newton@linaro.org>
1177
1178 * malloc/Makefile: Add tst-memalign.
1179 * malloc/tst-memalign.c: New file.
1180
27d0461b
WN
1181 * malloc/tst-posix_memalign.c: Add comments.
1182 (do_test): Add comments and call free on all potentially
1183 allocated pointers. Add space after cast.
1184
1bc92709
WN
1185 * malloc/tst-pvalloc.c: Add comments.
1186 (do_test): Add comments and call free on all potentially
1187 allocated pointers. Remove duplicate check for NULL pointer.
1188 Add space after cast.
1189
66a9be9d
WN
1190 * malloc/tst-valloc.c: Add comments.
1191 (do_test): Add comments and call free on all potentially
1192 allocated pointers. Remove duplicate check for NULL pointer.
1193 Add space after cast.
1194
4cb81307
AM
11952013-10-04 Alan Modra <amodra@gmail.com>
1196
1197 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1198 Use stdint types in rather than __attribute__((mode())).
1199 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1200
f8e3e9f3
AM
12012013-10-04 Alan Modra <amodra@gmail.com>
1202
1203 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
1204 Correct handling of unaligned relocs for little-endian.
1205 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
1206
8f9ebb08
AM
12072013-10-04 Alan Modra <amodra@gmail.com>
1208
1209 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
1210 * configure: Regenerate.
1211 * nptl/shlib-versions: Powerpc*le starts at 2.18.
1212 * shlib-versions: Likewise.
1213
0edf96c2
AM
12142013-10-04 Alan Modra <amodra@gmail.com>
1215
1216 * string/tester.c (test_memrchr): Increment reported test cycle.
1217
e0f7a380
AM
12182013-10-04 Alan Modra <amodra@gmail.com>
1219
1220 * string/test-memcpy.c (do_one_test): When reporting errors, print
1221 string address and don't overrun end of string.
1222
466b0393
AM
12232013-10-04 Alan Modra <amodra@gmail.com>
1224
1225 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
1226 insrdi. Make better use of reg selection to speed exit slightly.
1227 Schedule entry path a little better. Remove useless "are we done"
1228 checks on entry to main loop. Handle wrapping around zero address.
1229 Correct main loop count. Handle single left-over word from main
1230 loop inline rather than by using loop_small. Remove extra word
1231 case in loop_small caused by wrong loop count. Add little-endian
1232 support.
1233 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
1234 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
1235 cache hint.
1236 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
1238 support. Avoid rlwimi.
1239 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
1240
3be87c77
AM
12412013-10-04 Alan Modra <amodra@gmail.com>
1242
1243 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 1244 insrdi. Formatting.
3be87c77
AM
1245 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
1246 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
1247 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1249 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
1251
759cfef3
AM
12522013-10-04 Alan Modra <amodra@gmail.com>
1253
1254 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
1255 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
1257 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
1263 use of regs. Use power7 mtocrf. Tidy function tails.
1264
fe6e95d7
AM
12652013-10-04 Alan Modra <amodra@gmail.com>
1266
1267 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
1268 Formatting. Consistently use rXXX register defines or rN defines.
1269 Use early exit labels that avoid restoring unused non-volatile regs.
1270 Make cr field use more consistent with rWORDn compares. Rename
1271 regs used as shift registers for unaligned loop, using rN defines
1272 for short lifetime/multiple use regs.
1273 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1274 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
1275 addi 1,1,64 to pop stack frame. Simplify return value code.
1276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1277
664318c3
AM
12782013-10-04 Alan Modra <amodra@gmail.com>
1279
1280 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
1281 support. Correct typos, formatting. Optimize tail. Use insrdi
1282 rather than rlwimi.
1283 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1285 little-endian support. Correct typos.
1286 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1287 rather than rlwimi.
1288 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1289 in loop and entry code to keep "and." results.
1290 (strchr): Add little-endian support. Comment. Move cntlzd
1291 earlier in tail.
1292 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1293
43b84013
AM
12942013-10-04 Alan Modra <amodra@gmail.com>
1295
1296 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1297 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1298 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1299 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1300
8a7413f9
AM
13012013-10-04 Alan Modra <amodra@gmail.com>
1302
1303 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1304 (rTMP): Define as r11.
1305 (strcmp): Add little-endian support. Optimise tail.
1306 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1307 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1308 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1309 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1310 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1311 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1312 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1313
33ee81de
AM
13142013-10-04 Alan Modra <amodra@gmail.com>
1315
1316 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1317 little-endian support. Remove unnecessary "are we done" tests.
1318 Handle "s" wrapping around zero and extremely large "size".
1319 Correct main loop count. Handle single left-over word from main
1320 loop inline rather than by using small_loop. Correct comments.
1321 Delete "zero" tail, use "end_max" instead.
1322 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1323
db9b4570
AM
13242013-10-04 Alan Modra <amodra@gmail.com>
1325
1326 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1327 support. Don't branch over align.
1328 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1329 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1330 support. Rearrange tmp reg use to suit. Comment.
1331 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1332
f7c399cf
AM
13332013-10-04 Alan Modra <amodra@gmail.com>
1334
1335 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1336
0b2c2ace
AM
13372013-10-04 Alan Modra <amodra@gmail.com>
1338
1339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1340 conditional form of branch and link when obtaining pc.
1341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1342
02f04a6c
AM
13432013-10-04 Alan Modra <amodra@gmail.com>
1344
1345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1346 HIWORD/LOWORD.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1349
9b874b2f
AM
13502013-10-04 Alan Modra <amodra@gmail.com>
1351
1352 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1353 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1354 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1355 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1356 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1357 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1358 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1359 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1360 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1361 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1362
be1e5d31
AB
13632013-10-04 Anton Blanchard <anton@au1.ibm.com>
1364 Alistair Popple <alistair@ozlabs.au.ibm.com>
1365 Alan Modra <amodra@gmail.com>
1366
1367 [BZ #15723]
1368 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1369 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1370 _dl_hwcap access for little-endian.
1371 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1372 destroy vmx regs when saving unaligned.
1373 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1374 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1375 destroy vmx regs when saving unaligned.
1376
fef13a78
AM
13772013-10-04 Alan Modra <amodra@gmail.com>
1378
1379 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1380 Don't use a union to pack hi/low value.
1381
76a66d51
AB
13822013-10-04 Anton Blanchard <anton@au1.ibm.com>
1383
1384 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1385 for little-endian.
1386 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1389 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1390 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1391
6a31fe7f
AM
13922013-10-04 Alan Modra <amodra@gmail.com>
1393
1394 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1395 constants to usual value for .cst8 section, and remove redundant
1396 high address load.
1397 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1398 constant for 0x1p52. Load little-endian words of double from
1399 correct stack offsets.
1400
7b88401f
AM
14012013-10-04 Alan Modra <amodra@gmail.com>
1402
1403 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1404 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1405 words of double from correct stack offsets.
1406 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1407 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1408 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1410 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1411 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1412 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1413 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1414 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1415 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1416 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1417 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1418 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1419 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1421 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1422 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1423
9c008155
AM
14242013-10-04 Alan Modra <amodra@gmail.com>
1425
1426 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1427 64-bit int/double union.
1428 (_FPU_SETCW): Likewise.
1429 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1430 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1431
da13146d
AM
14322013-10-04 Alan Modra <amodra@gmail.com>
1433
1434 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1435 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1436
603e8410
AM
14372013-10-04 Alan Modra <amodra@gmail.com>
1438
1439 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1440 use vector int constants.
1441 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1442
4a28b3ca
AB
14432013-10-04 Anton Blanchard <anton@au1.ibm.com>
1444
1445 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1446 array with long long.
1447 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1448 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1449 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1450 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1451 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1452 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1453 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1454 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1455 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1456 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1457 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1458 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1459 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1460
2ca85d2b
AB
14612013-10-04 Anton Blanchard <anton@au1.ibm.com>
1462
1463 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1464 (__signbit): Likewise. Correct for little-endian.
1465 (__signbitl): Call __signbit.
1466 (lrint): Correct for little-endian.
1467 (lrintf): Call lrint.
1468
62a728ae
AM
14692013-10-04 Alan Modra <amodra@gmail.com>
1470
1471 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1472 union 32-bit int array member with 64-bit int array.
1473 (t515, tm256): Double rather than long double.
1474 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1475
32c301df
AM
14762013-10-04 Alan Modra <amodra@gmail.com>
1477
1478 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1479 Delete.
1480 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1481 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1482 version of math_ldbl.h.
1483
650ef4bd
AM
14842013-10-04 Alan Modra <amodra@gmail.com>
1485
1486 [BZ #15734], [BZ #15735]
1487 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1488 all uses of ieee875 long double macros and unions. Simplify test
1489 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1490 ldbl_extract_mantissa value for ix,iy exponents. Properly
1491 normalize after ldbl_extract_mantissa, and don't add hidden bit
1492 already handled. Don't treat low word of ieee854 mantissa like
1493 low word of IBM long double and mask off bit when testing for
1494 zero.
1495 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1496 all uses of ieee875 long double macros and unions. Simplify tests
1497 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1498 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1499 two1022, instead use their values. Recognise that tests for large
1500 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1501 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1502 Rewrite all uses of ieee875 long double macros and unions. Simplify
1503 test for 0.0L and nan. Correct negation.
1504 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1505 ieee875 long double macros and unions. Correct output for large
1506 magnitude x. Correct absolute value calculation.
1507 (__erfcl): Likewise.
1508 * math/libm-test.inc: Add tests for errors discovered in IBM long
1509 double versions of fmodl, remainderl, erfl and erfcl.
1510
765714ca
AM
15112013-10-04 Alan Modra <amodra@gmail.com>
1512
1513 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1514 all uses of ieee854 long double macros and unions. Simplify tests
1515 for long doubles that are fully specified by the high double.
1516 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1517 Likewise.
1518 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1519 Remove dead code too.
1520 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1521 (__ieee754_ynl): Likewise.
1522 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1523 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1525 Remove dead code too.
1526 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1528 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1529 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1530 Simplify.
1531 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1532 Simplify.
1533 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1534 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1535 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1536 Comment on variable precision.
1537 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1538 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1539 Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1541 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1542 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1543 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1545
4ebd120c
AM
15462013-10-04 Alan Modra <amodra@gmail.com>
1547
1548 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1550 all uses of ieee854 long double macros and unions.
1551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1553 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1554 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1555 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1556 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1557 Likewise.
1558 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1559 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1560 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1561 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1562 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1563 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1564 Simplify sign and nan test too.
1565 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1566 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1567 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1568 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1569 Likewise.
1570 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1571 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1572 Likewise.
1573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1574 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1575 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1578 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1579
1b6adf88
AM
15802013-10-04 Alan Modra <amodra@gmail.com>
1581
1582 * stdio-common/printf_size.c (__printf_size): Don't use
1583 union ieee854_long_double in fpnum union.
1584 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1585 signbit macro to retrieve sign from long double.
1586 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1587 retrieve sign from long double.
1588 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1589 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1590 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1591 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1592 * math/test-misc.c (main): Don't use union ieee854_long_double.
1593
4cf69995
AM
15942013-10-04 Alan Modra <amodra@gmail.com>
1595
1596 [BZ #15680]
1597 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1598 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1599 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1600 calculation. Remove unnecessary test for denormal exponent.
1601 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1602 Correct handling of denormals. Avoid undefined shift behaviour.
1603 Correct normalisation of low mantissa when low double is denormal.
1604 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1605 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1606 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1607 Correct normalisation of low mantissa. Test for overflow of high
1608 mantissa and normalise.
1609 (ldbl_nearbyint): Use more readable constant for two52.
1610 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1611 (__mpn_construct_long_double): Fix test for overflow of high
1612 mantissa and correct normalisation. Avoid undefined shift.
1613
9605ca6c
AM
16142013-10-04 Alan Modra <amodra@gmail.com>
1615
1616 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1617 (union ibm_extended_long_double): Define as an array of ieee754_double.
1618 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1619 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1620 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1621 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1622 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1623 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1625 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1626 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1627 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1628 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1629
975569d0
JM
16302013-10-03 Joseph Myers <joseph@codesourcery.com>
1631
d3d23756
JM
1632 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1633 page size instead of calling getpagesize.
1634
975569d0
JM
1635 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1636 (LOCFILE_ALIGN_MASK): Likewise.
1637 (LOCFILE_ALIGN_UP): Likewise.
1638 (LOCFILE_ALIGNED_P): Likewise.
1639 * locale/programs/ld-collate.c (collate_output): Use the new
1640 macros instead of __alignof__ (int32_t).
1641 * locale/weight.h (findidx): Likewise.
1642
b1fe1f2b
OB
16432013-10-03 Ondřej Bílka <neleai@seznam.cz>
1644
1645 [BZ #431]
1646 * manual/string.texi: Fix strncat and wcsncat.
1647
5f855e35
BM
16482013-10-03 Brooks Moses <bmoses@google.com>
1649
1650 [BZ #15915]
1651 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1652 * Makerules: ...here, and adjust associated comments.
1653
3cef6009
WN
16542013-10-02 Will Newton <will.newton@linaro.org>
1655
1656 * malloc/Makefile: Add tst-pvalloc.
1657 * malloc/tst-pvalloc.c: New file.
1658
7815420b
WN
16592013-10-02 Will Newton <will.newton@linaro.org>
1660
1661 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1662 improve test coverage.
1663
4868b204
WN
16642013-10-02 Will Newton <will.newton@linaro.org>
1665
1666 * malloc/Makefile: Add tst-posix_memalign.
1667 * malloc/tst-posix_memalign.c: New file.
1668
29c793b3
EB
16692013-10-01 Eric Blake <eblake@redhat.com>
1670
1671 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1672 Use __THROWNL rather than __THROW on static functions.
1673
fd967522
PM
16742013-09-30 Petr Machata <pmachata@redhat.com>
1675
1676 * elf/elf.h (R_AARCH64_ABS16): New macro.
1677 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1678 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1679 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1680 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1681 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1682 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1683 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1684 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1685 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1686 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1687 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1688 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1689 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1690 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1691 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1692 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1693 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1694 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1695 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1696 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1697 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1698 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1699 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1700 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1701 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1702 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1703 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1704 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1705 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1706 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1707 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1708 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1709 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1710 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1711 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1712 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1713 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1714 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1715 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1716 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1717 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1718 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1719 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1720 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1721 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1722 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1723 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1724 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1725 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1726 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1727 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1728 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1729 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1730 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1731 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1732 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1733 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1734 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1735 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1736 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1737 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1738 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1739 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1740 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1741 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1742 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1743 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1744 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1745 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1746 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1747 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1748 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1749 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1750 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1751 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1752 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1753 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1754 (R_AARCH64_TLSDESC_LDR): Likewise.
1755 (R_AARCH64_TLSDESC_ADD): Likewise.
1756 (R_AARCH64_TLSDESC_CALL): Likewise.
1757
b2179107
AS
17582013-09-30 Andreas Schwab <schwab@suse.de>
1759
1760 [BZ #15048]
1761 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1762 the nss database lookup.
1763 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1764 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1765
47f28d0a
MF
17662013-09-28 Mike Frysinger <vapier@gentoo.org>
1767
1768 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1769
17702013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1771
1772 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1773 ${Bash-specific parameter/pattern/string} parameter expansion.
1774 * sysdeps/unix/make-syscalls.sh: Likewise.
1775
f4518a17
KK
17762013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1777
1778 * sysdeps/sh/stackguard-macros.h: New file.
1779
dc1a95c7
OB
17802013-09-26 Ondřej Bílka <neleai@seznam.cz>
1781
1782 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1783 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1784 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1785 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1786 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1787 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1788
5ebbff8f
AZ
17892013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1790
1791 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1792 Fix thread ID register.
1793
4fd2cf9f
JM
17942013-09-25 Joseph Myers <joseph@codesourcery.com>
1795
1796 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1797 [POSIX || UNIX98]: Require rather than permitting all symbols from
1798 <time.h>.
1799 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1800 element of struct sched_param.
1801 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1802 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1803 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1804 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1805 constant.
1806
12c22bc4
OL
18072013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1808
1809 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1810 argument calculation.
1811
a03d8ea7
JM
18122013-09-24 Joseph Myers <joseph@codesourcery.com>
1813
1814 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1815 Expect macro.
1816 [POSIX] (pthread_attr_t): Do not require type.
1817 [POSIX] (pthread_cond_t): Likewise.
1818 [POSIX] (pthread_condattr_t): Likewise.
1819 [POSIX] (pthread_key_t): Likewise.
1820 [POSIX] (pthread_mutex_t): Likewise.
1821 [POSIX] (pthread_mutexattr_t): Likewise.
1822 [POSIX] (pthread_once_t): Likewise.
1823 [POSIX] (pthread_t): Likewise.
1824 [POSIX-based standards] (pthread_atfork): Expect function.
1825
6055173a
JM
18262013-09-24 Joseph Myers <joseph@codesourcery.com>
1827 Richard Sandiford <richard@codesourcery.com>
1828
1829 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1830 (swap_endianness_p): New extern variable.
1831 (set_big_endian): New inline function.
1832 (maybe_swap_uint32): Likewise.
1833 (maybe_swap_uint32_array): Likewise.
1834 (maybe_swap_uint32_obstack): Likewise.
1835 * locale/programs/locfile.c: Include <stdbool.h>.
1836 (swap_endianness_p): New variable.
1837 (add_locale_uint32): Call maybe_swap_uint32.
1838 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1839 (write_locale_data): Call maybe_swap_uint32_array.
1840 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1841 maybe_swap_uint32.
1842 (obstack_int32_grow_fast): Likewise.
1843 (output_weightwc): Call maybe_swap_uint32_obstack.
1844 (collate_output): Likewise.
1845 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1846 (OPT_LITTLE_ENDIAN): Likewise.
1847 (options): Add --little-endian and --big-endian options.
1848 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1849 * locale/programs/locarchive.c: Include "locfile.h".
1850 (GET): New macro.
1851 (SET): Likewise.
1852 (INC): Likewise.
1853 (create_archive): Use the new macros to access fields of
1854 structures directly mapped from or written to locale archives.
1855 (oldlocrecentcmp): Likewise.
1856 (enlarge_archive): Likewise.
1857 (insert_name): Likewise.
1858 (add_alias): Likewise.
1859 (add_locale): Likewise.
1860 (delete_locales_from_archive): Likewise.
1861 (show_archive_content): Likewise.
1862 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1863 locale data.
1864
39bf0bb4
RM
18652013-09-24 Roland McGrath <roland@hack.frob.com>
1866
1867 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1868 http://www.gnu.org/doc/freemanuals.texi.
1869 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1870
f02eed10
WN
18712013-09-24 Will Newton <will.newton@linaro.org>
1872
1873 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1874 macro.
1875
a3a6c312
JM
18762013-09-23 Joseph Myers <joseph@codesourcery.com>
1877
1878 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1879 unsigned char.
1880
107375ac
MR
18812013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1882
1883 * manual/threads.texi (POSIX Threads): Fix a typo.
1884
141f3a77
SP
18852013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1886
303e567a
SP
1887 [BZ #14547]
1888 * string/tst-strcoll-overflow.c: New test case.
1889 * string/Makefile (xtests): Add tst-strcoll-overflow.
1890 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1891 cache if string sizes may cause integer overflow.
1892
141f3a77
SP
1893 [BZ #14547]
1894 * string/strcoll_l.c (coll_seq): New members rule, idx,
1895 save_idx and back_us.
1896 (get_next_seq_nocache): New function.
1897 (do_compare_nocache): New function.
1898 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1899 when malloc fails.
1900
c61b4d41
CD
19012013-09-23 Carlos O'Donell <carlos@redhat.com>
1902
0b1f8e35
CD
1903 [BZ #15754]
1904 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1905 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1906 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1907
c61b4d41
CD
1908 [BZ #15754]
1909 * elf/Makefile (tests): Add tst-ptrguard1.
1910 (tests-static): Add tst-ptrguard1-static.
1911 (tst-ptrguard1-ARGS): Define.
1912 (tst-ptrguard1-static-ARGS): Define.
1913 * elf/tst-ptrguard1.c: New file.
1914 * elf/tst-ptrguard1-static.c: New file.
1915 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1916 * sysdeps/i386/stackguard-macros.h: Likewise.
1917 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1918 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1919 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1920 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1921 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1922 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1923
19242013-09-23 Hector Marco <hecmargi@upv.es>
1925 Ismael Ripoll <iripoll@disca.upv.es>
1926 Carlos O'Donell <carlos@redhat.com>
1927
1928 [BZ #15754]
1929 * sysdeps/generic/stackguard-macros.h: Define
1930 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1931 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1932 Define __pointer_chk_guard_local.
1933 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1934 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1935
f5f4e7b4
VV
19362013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1937
1938 [BZ #15859]
1939 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1940
5bb43a43
AS
19412013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1942
1943 * include/string.h (__ffs): Declare as hidden.
1944 * string/ffs.c (__ffs): Define as hidden.
1945 * sysdeps/i386/ffs.c (__ffs): Likewise.
1946 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1947 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1948 * sysdeps/s390/ffs.c (__ffs): Likewise.
1949 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1950
3ea5be54
AO
19512013-09-20 Alexandre Oliva <aoliva@redhat.com>
1952
ffb89e53
AO
1953 * NEWS: Mention malloc probes.
1954
322dea08
AO
1955 * malloc/arena.c (new_heap): New memory_heap_new probe.
1956 (grow_heap): New memory_heap_more probe.
1957 (shrink_heap): New memory_heap_less probe.
1958 (heap_trim): New memory_heap_free probe.
1959 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1960 (systrim): New memory_sbrk_less probe.
1961 * manual/probes.texi: Document them.
1962
655673f3
AO
1963 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1964 * manual/probes.texi: Document it.
1965
35fed6f1
AO
1966 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1967 (__libc_realloc): Add memory_realloc_retry probe.
1968 (__libc_memalign): Add memory_memalign_retry probe.
1969 (__libc_valloc): Add memory_valloc_retry probe.
1970 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1971 (__libc_calloc): Add memory_calloc_retry probe.
1972 * manual/probes.texi: Document them.
1973
6999d38c
AO
1974 * malloc/arena.c (get_free_list): Add probe
1975 memory_arena_reuse_free_list.
1976 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1977 and memory_arena_reuse.
1978 (arena_get2) [!PER_THREAD]: Likewise.
1979 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1980 memory_arena_reuse_realloc.
1981 * manual/probes.texi: Document them.
1982
0653427f
AO
1983 * malloc/malloc.c (__libc_free): Add
1984 memory_mallopt_free_dyn_thresholds probe.
1985 (__libc_mallopt): Add multiple memory_mallopt probes.
1986 * manual/probes.texi: Document them.
1987
3ea5be54
AO
1988 * malloc/malloc.c: Include stap-probe.h.
1989 (__libc_mallopt): Add memory_mallopt probe.
1990 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1991 * manual/probes.texi: New.
1992 * manual/Makefile (chapters): Add probes.
1993 * manual/threads.texi: Set next node.
1994
e35696c3 19952013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1996
e35696c3
CL
1997 [BZ #15963, #13985]
1998 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1999 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
2000 Add `Chinese' to `nan' entry name.
2001
4aafb73c
SP
20022013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2003
2004 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
2005 (POLYNOMIAL): Likewise.
2006 (TAYLOR_SINCOS): Likewise.
2007 (TAYLOR_SLOW): Likewise.
2008 (__sin): Use TAYLOR_SINCOS.
2009 (__cos): Likewise.
2010 (slow): Use TAYLOR_SLOW.
2011 (sloww): Likewise.
2012 (bsloww): Likewise.
2013 (csloww): Likewise.
2014
d84f25c7
LD
20152013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2016
2017 * stdlib/strtod_l.c: Fix buffer overrun.
2018
5eea0404
SP
20192013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2020
7849ff93
SP
2021 * benchtests/Makefile (bench): Add sincos.
2022 * benchtests/bench-sincos.c: New file.
2023
cfa3c886
SP
2024 * math/libm-test.inc (cos_test_data): New test inputs.
2025 (sin_test_data): Likewise.
2026
b348e1e3
SP
2027 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
2028 macro.
2029 (__sin): Use it.
2030 (__cos): Likewise.
2031 (slow1): Likewise.
2032 (slow2): Likewise.
2033 (sloww1): Likewise.
2034 (sloww2): Likewise.
2035 (bsloww1): Likewise.
2036 (bsloww2): Likewise.
2037 (cslow2): Likewise.
2038 (csloww1): Likewise.
2039 (csloww2): Likewise.
2040
6cce25f8
SP
2041 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
2042 function.
2043 (__sin): Use it.
2044 (__cos): Likewise.
2045
5eea0404
SP
2046 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
2047 gotos.
2048 (__cos): Likewise.
2049
9c21573c
MR
20502013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
2051
2052 * config.h.in (HAVE_MIPS_NAN2008): New macro.
2053 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
2054 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
2055 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
2056 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
2057 * elf/cache.c (print_entry): Handle the new cache flags.
2058
24d22e65
JM
20592013-09-18 Joseph Myers <joseph@codesourcery.com>
2060 Aldy Hernandez <aldyh@redhat.com>
2061
2062 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
2063 Change condition to [_SOFT_FLOAT].
2064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
2065 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
2066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
2067 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
2068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
2069 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
2070 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
2071 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
2072 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
2073 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
2074 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
2075 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
2076 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
2077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
2078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
2079 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
2080 declaration.
2081
d13ef066
JM
20822013-09-18 Joseph Myers <joseph@codesourcery.com>
2083
2e071de0
JM
2084 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
2085 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2086 (__longjmp): Use LOAD_GP to load saved GPRs.
2087 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
2088 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
2089 (__sigsetjmp): Use SAVE_GP to save GPRs.
2090
d13ef066
JM
2091 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
2092 Do not append -msoft-float.
2093 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
2094
97a0650b
SP
20952013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
2096
2097 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
2098
11ca09e9
JM
20992013-09-17 Joseph Myers <joseph@codesourcery.com>
2100
2101 [BZ #15966]
2102 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
2103 (_FPU_GETCW): Use initial "__" on variable and field names but not
2104 on macro parameter name.
2105 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
2106 parentheses around reference to macro parameter.
2107
08ffcf34
RS
21082013-09-13 Richard Sandiford <richard@codesourcery.com>
2109
2110 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
2111 prototype.
2112 (ctype_startup): Use uint32_t in cast and sizeof for
2113 ctype->charnames.
2114
ae7080d3
JL
21152013-09-11 Jia Liu <proljc@gmail.com>
2116
2117 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
2118 __daddr_t_defined.
2119 [__FreeBSD__]: Likewise.
2120
5905e7b3
OB
21212013-09-11 Ondřej Bílka <neleai@seznam.cz>
2122
2123 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2124 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
2125 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
2126 (strchr): Remove __strchr_sse42 ifunc selection.
2127 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
2128 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
2129
b987c776
WN
21302013-09-11 Will Newton <will.newton@linaro.org>
2131
2132 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
2133 parameter to RES. Remove hardcoded 1000 value.
2134 * benchtests/bench-skeleton.c (main): Pass RES parameter
2135 to TIMING_INIT and multiply result by 1000.
2136
ddf985af
AZ
21372013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2138
2139 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2140
ffdd3181
AS
21412013-09-11 Andreas Schwab <schwab@suse.de>
2142
2143 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2144 if not defined.
2145 (O_TMPFILE) [__USE_GNU]: Define.
2146 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
2147 Define.
2148
b73ed247
WN
21492013-09-11 Will Newton <will.newton@linaro.org>
2150
2151 [BZ #15857]
2152 * malloc/malloc.c (__libc_memalign): Check the value of bytes
2153 does not overflow.
2154
55e17aad
WN
21552013-09-11 Will Newton <will.newton@linaro.org>
2156
2157 [BZ #15856]
2158 * malloc/malloc.c (__libc_valloc): Check the value of bytes
2159 does not overflow.
2160
1159a193
WN
21612013-09-11 Will Newton <will.newton@linaro.org>
2162
2163 [BZ #15855]
2164 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
2165 does not overflow.
2166
5905e7b3 21672013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
2168
2169 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
2170 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2171 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2172 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2173 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2174
cdfc721b
AM
21752013-09-10 Allan McRae <allan@archlinux.org>
2176
aa04af00
AM
2177 [BZ #15748]
2178 * manual/arith.texi (Parsing of Floats): Clarify
2179 cross-reference.
2180
cdfc721b
AM
2181 [BZ #15849]
2182 * manual/install.texi (Running make install): Mention
2183 --enable-pt-chown.
2184 * INSTALL: Regenerated.
2185
95e7cf29
MR
21862013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
2187
2188 * csu/init-first.c (_init): Remove the !SHARED condition around
2189 FPU control word initialization.
2190 * elf/dl-support.c (_dl_fpu_control): New variable.
2191 (_dl_aux_init) <AT_FPUCW>: Initialize it.
2192 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
2193 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
2194 * math/test-fpucw-static.c: New file.
2195 * math/test-fpucw-ieee.c: New file.
2196 * math/test-fpucw-ieee-static.c: New file.
2197 * math/Makefile (tests): Add `test-fpucw-ieee' and
2198 `$(tests-static)'.
2199 (tests-static): New variable.
2200 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
2201 dependency to...
2202 [($(build-shared),yes)]
2203 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2204 ... this.
2205 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
2206 New dependency.
2207
83e43bf0
AM
22082013-09-09 Allan McRae <allan@archlinux.org>
2209
a9f5ce09
AM
2210 [BZ #15939]
2211 * manual/string.texi (Collation Functions): Fix typo in
2212 strcoll example.
2213 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
2214
34829bc2
AM
2215 [BZ #15893]
2216 * stdlib/isomac.c (get_null_defines): Fix memory leak.
2217
3932737d
AM
2218 [BZ #15892]
2219 * libio/memstream.c (open_memstream): Fix memory leak.
2220 * libio/wmemstream.c (open_wmemstream): Likewise.
2221
83e43bf0
AM
2222 [BZ #15895]
2223 * nscd/netgroupcache.c: Fix nesting of ifdefs.
2224
0c66b8e9
WN
22252013-09-09 Will Newton <will.newton@linaro.org>
2226
2227 * malloc/Makefile: Add tst-realloc to tests.
2228 * malloc/tst-realloc.c: New file.
2229
f6b00fd1
AM
22302013-09-09 Allan McRae <allan@archlinux.org>
2231
2232 [BZ #15844]
2233 * COPYING: Update from GNU website to fix FSF address.
2234 * COPYING.LIB: Likewise.
2235
eec55e16
DM
22362013-09-06 David S. Miller <davem@davemloft.net>
2237
2238 * po/zh_TW.po: Update Chinese (traditional) translation from
2239 translation project.
2240
1ecbb381
RS
22412013-09-06 Richard Sandiford <richard@codesourcery.com>
2242 Joseph Myers <joseph@codesourcery.com>
2243
2244 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
2245 "localeinfo.h".
2246 (obstack_chunk_alloc): New macro.
2247 (obstack_chunk_free): Likewise.
2248 (record_offset): New function.
2249 (init_locale_data): Likewise.
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): Take locale_file structure rather than an
2264 iovec.
2265 * locale/programs/locfile.h: Include "obstack.h".
2266 (struct locale_file): Change to store locale file contents instead
2267 of header.
2268 (init_locale_data): New prototype.
2269 (align_locale_data): Likewise.
2270 (add_locale_empty): Likewise.
2271 (add_locale_raw_data): Likewise.
2272 (add_locale_raw_obstack): Likewise.
2273 (add_locale_string): Likewise.
2274 (add_locale_wstring): Likewise.
2275 (add_locale_uint32): Likewise.
2276 (add_locale_uint32_array): Likewise.
2277 (add_locale_char): Likewise.
2278 (start_locale_structure): Likewise.
2279 (end_locale_structure): Likewise.
2280 (start_locale_prelude): Likewise.
2281 (end_locale_prelude): Likewise.
2282 (write_locale_data): Update prototype.
2283 * locale/programs/3level.h (struct TABLE): Remove result field.
2284 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2285 Use new locale_file interface.
2286 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2287 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2288 * locale/programs/ld-address.c (address_output): Use new
2289 locale_file interface.
2290 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2291 NO_ADD_LOCALE.
2292 (collate_finish): Don't call collseq_table_finalize.
2293 (collate_output): Use new locale_file interface.
2294 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2295 in file.
2296 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2297 (TABLE): Move defines earlier in file.
2298 (ELEMENT): Likewise.
2299 (DEFAULT): Likewise.
2300 (wctrans_table_add): Move macro and inline function earlier in
2301 file.
2302 (struct wctype_table): Move type earlier in file.
2303 (add_locale_wctype_table): New static prototype.
2304 (struct locale_ctype_t): Use logical types instead of struct iovec
2305 pointers for members.
2306 (ctype_output): Use new locale_file interface.
2307 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2308 new locale_file interface.
2309 (allocate_arrays): Update for use of new locale_file interface.
2310 * locale/programs/ld-identification.c (identification_output): Use
2311 new locale_file interface.
2312 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2313 * locale/programs/ld-messages.c (messages_output): Likewise.
2314 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2315 * locale/programs/ld-name.c (name_output): Likewise.
2316 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2317 * locale/programs/ld-paper.c (paper_output): Likewise.
2318 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2319 * locale/programs/ld-time.c (time_output): Likewise.
2320
e029e2e5
AZ
23212013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2322
2323 * benchtests/Makefile: Add memrchr benchmark.
2324 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2325 benchmark as memrchr.
2326 * benchtests/bench-memrchr-ifunc.c: New file.
2327 * benchtests/bench-memrchr.c: New file.
2328
bbf6e8e4
WN
23292013-09-06 Will Newton <will.newton@linaro.org>
2330
2331 * benchtests/Makefile (string-bench): Add memcpy.
2332
6c82a2f8
CD
23332013-09-05 Carlos O'Donell <carlos@redhat.com>
2334 Cong Wang <amwang@redhat.com>
2335
2336 * sysdeps/unix/sysv/linux/bits/in.h
2337 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2338 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2339 before __USE_KERNEL_IPV6_DEFS uses.
2340 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2341 IPPROTO_BEETPH.
2342 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2343 sockaddr_in6, or ipv6_mreq.
2344
5430fc65
AZ
23452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2346
2347 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2348 memory access for final bytes in some large inputs.
2349 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2350
4660856c
AZ
23512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2352
2353 * string/test-memrchr.c: New file.
2354 * string/test-memrchr-ifunc.c: New file.
2355 * string/Makefile: Add new memrchr testcase.
2356
bb8ea713
MF
23572013-09-05 Mike Frysinger <vapier@gentoo.org>
2358
2359 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2360 fanotify_init returns EPERM.
2361
b92a20b5
JM
23622013-09-04 Joseph Myers <joseph@codesourcery.com>
2363
2364 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2365 errors.
2366 (top level): Treat second token from macro or constant entries for
2367 allowed headers as allowed.
2368 * include/complex.h: Condition internal declarations on
2369 [!_ISOMAC].
2370 * include/fenv.h: Condition include of <stdbool.h> and internal
2371 declarations on [!_ISOMAC].
7447ccd9
CL
2372
23732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2374
3e181dda 2375 [BZ #15923]
7447ccd9
CL
2376 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2377
3f2e46a4
JM
23782013-09-04 Joseph Myers <joseph@codesourcery.com>
2379
2380 * configure.in (--enable-versioning): Remove configure option.
2381 (libc_cv_asm_symver_directive): Remove configure test.
2382 (libc_cv_ld_version_script_option): Likewise.
2383 (VERSIONING): Remove variable and AC_SUBST.
2384 (DO_VERSIONING): Remove AC_DEFINE.
2385 * configure: Regenerated.
2386 * config.h.in (DO_VERSIONING): Remove macro.
2387 * Makerules [$(versioning) = yes]: Change conditionals to
2388 [$(build-shared) = yes].
2389 * config.make.in (versioning): Remove variable.
2390 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2391 [$(build-shared) = yes].
2392 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2393 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2394 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2395 [$(build-shared) = yes].
2396 * extra-lib.mk [$(versioning) = yes]: Likewise.
2397 * hurd/Makefile [$(versioning) = yes]: Likewise.
2398 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2399 [SHARED].
2400 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2401 [SHARED].
2402 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2403 [SHARED && !NO_HIDDEN].
2404 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2405 [SHARED].
2406 [SHARED && DO_VERSIONING]: Likewise..
2407 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2408 [$(build-shared) = yes].
2409 * manual/install.texi (--disable-versioning): Remove
2410 documentation.
2411 * INSTALL: Regenerated.
2412 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2413 to [SHARED].
2414 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2415 [$(build-shared) = yes].
2416 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2417 * sysdeps/i386/i686/multiarch/strstr-c.c
2418 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2419 [SHARED && !NO_HIDDEN].
2420 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2421 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2422 * sysdeps/powerpc/powerpc32/dl-machine.c
2423 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2424 * sysdeps/powerpc/powerpc32/sysdep.h
2425 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2426 to [SHARED && PIC && !NO_HIDDEN].
2427 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2428 conditional to [SHARED].
2429
44558701
WN
24302013-09-04 Will Newton <will.newton@linaro.org>
2431
2432 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2433 * benchtests/bench-string.h: Include bench-timing.h instead
2434 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2435 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2436 call to HP_TIMING_DIFF_INIT.
2437 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2438 instead of hp-timing.h macros.
2439 * benchtests/bench-memchr.c: Likewise.
2440 * benchtests/bench-memcmp.c: Likewise.
2441 * benchtests/bench-memcpy.c: Likewise.
2442 * benchtests/bench-memmem.c: Likewise.
2443 * benchtests/bench-memmove.c: Likewise.
2444 * benchtests/bench-memset.c: Likewise.
2445 * benchtests/bench-rawmemchr.c: Likewise.
2446 * benchtests/bench-strcasecmp.c: Likewise.
2447 * benchtests/bench-strcasestr.c: Likewise.
2448 * benchtests/bench-strcat.c: Likewise.
2449 * benchtests/bench-strchr.c: Likewise.
2450 * benchtests/bench-strcmp.c: Likewise.
2451 * benchtests/bench-strcpy.c: Likewise.
2452 * benchtests/bench-strcpy_chk.c: Likewise.
2453 * benchtests/bench-strlen.c: Likewise.
2454 * benchtests/bench-strncasecmp.c: Likewise.
2455 * benchtests/bench-strncat.c: Likewise.
2456 * benchtests/bench-strncmp.c: Likewise.
2457 * benchtests/bench-strncpy.c: Likewise.
2458 * benchtests/bench-strnlen.c: Likewise.
2459 * benchtests/bench-strpbrk.c: Likewise.
2460 * benchtests/bench-strrchr.c: Likewise.
2461 * benchtests/bench-strspn.c: Likewise.
2462 * benchtests/bench-strstr.c: Likewise.
2463
cae16d66
WN
24642013-09-04 Will Newton <will.newton@linaro.org>
2465
2466 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2467
ffa3cd7f
JM
24682013-09-03 Joseph Myers <joseph@codesourcery.com>
2469
2470 [BZ #15427]
2471 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2472 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2473 * math/libm-test.inc (lgamma_test_data): Add more tests.
2474 * sysdeps/i386/fpu/libm-test-ulps: Update.
2475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476
8f02859f
OB
24772013-09-03 Ondřej Bílka <neleai@seznam.cz>
2478
2479 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2481 Add ifunc.
2482 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2483 Add strcmp-sse2-unaligned
2484 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2485
18d43716
MF
24862013-09-02 Mike Frysinger <vapier@gentoo.org>
2487
2488 * Versions.def (libc): Add GLIBC_2.19.
2489
ac444012
MF
24902013-09-02 Mike Frysinger <vapier@gentoo.org>
2491
2492 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2493 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2494
b7835e32
JM
24952013-09-02 Joseph Myers <joseph@codesourcery.com>
2496
2497 [BZ #14155]
2498 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2499 intermediate calculations in recurrence.
2500 (__ieee754_ynf): Likewise.
2501 * math/libm-test.inc (jn_test_data): Do not allow spurious
2502 underflow exception. Add more tests.
2503 (yn_test_data): Add more tests.
2504 * sysdeps/i386/fpu/libm-test-ulps: Update.
2505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2506
8220f4f0
OB
25072013-09-02 Ondřej Bílka <neleai@seznam.cz>
2508
2509 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2510
f24a6d08
OB
25112013-08-30 Ondřej Bílka <neleai@seznam.cz>
2512
2513 * csu/init-first.c: Fix then/than typos.
2514 * locale/programs/ld-collate.c: Likewise.
2515 * locale/programs/linereader.h: Likewise.
2516 * manual/charset.texi: Likewise.
2517 * manual/filesys.texi: Likewise.
2518 * manual/stdio.texi: Likewise.
2519 * manual/string.texi: Likewise.
2520 * stdlib/fmtmsg.c: Likewise.
2521 * sysdeps/i386/stpncpy.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2526
382466e0
OB
25272013-08-30 Ondřej Bílka <neleai@seznam.cz>
2528
2529 * elf/dl-open.c: Fix typos.
2530 * iconvdata/gbbig5.c: Likewise.
2531 * iconvdata/iso-2022-jp.c: Likewise.
2532 * iconv/gconv_int.h: Likewise.
2533 * iconv/loop.c: Likewise.
2534 * nis/rpcsvc/nis.h: Likewise.
2535 * resolv/ns_name.c: Likewise.
2536 * stdio-common/vfscanf.c: Likewise.
2537 * streams/stropts.h: Likewise.
2538 * sunrpc/rpc_thread.c: Likewise.
2539 * sysdeps/i386/strpbrk.S: Likewise.
2540 * sysdeps/ieee754/k_standard.c: Likewise.
2541 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2543 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2544 * sysdeps/mach/hurd/profil.c: Likewise.
2545 * sysdeps/s390/dl-procinfo.h: Likewise.
2546 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2547 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2548 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2549 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2550 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2551
0186c6e9
OB
25522013-08-30 Ondřej Bílka <neleai@seznam.cz>
2553
2554 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2555 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2556
d4e16af1
OB
25572013-08-29 Ondřej Bílka <neleai@seznam.cz>
2558
2559 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2560 aix specific files.
2561 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2563 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2565 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2567 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2568 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2569
88335980
TS
25702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2571 Roland McGrath <roland@hack.frob.com>
2572
2573 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2574 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2575
ed479b02
ST
25762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2577
2578 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2579 __executable_start symbol instead of _start.
2580
f1cc4c86
TS
25812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2582
d821f07c
TS
2583 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2584 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2585 Move macros to...
2586 * sysdeps/gnu/ldsodefs.h: ... this new file.
2587
c54290cf
TS
2588 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2589 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2590 instead of ELFOSABI_LINUX.
2591
0007fc9b 2592 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2593 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2594 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2595 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2596 Likewise.
2597 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2598 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2599 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2600 Likewise.
2601 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2602 (ibm_extended_long_double): Add ieee_nan member.
2603 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2604 (do_test): New function.
2605
f1cc4c86
TS
2606 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2607 TEST_TRUNC.
2608 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2609 functions, renamed from truncdfsf_test, trunctfsf_test,
2610 trunctfdf_test.
2611 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2612 functions.
2613 (do_test): Run all these.
2614
6f65e668
OB
26152013-08-29 Ondřej Bílka <neleai@seznam.cz>
2616
2617 * argp/argp-help.c: Fix typos.
2618 * argp/argp-parse.c: Likewise.
2619 * debug/backtracesyms.c: Likewise.
2620 * elf/elf.h: Likewise.
2621 * malloc/malloc.c: Likewise.
2622 * nis/nis_print.c: Likewise.
2623 * resolv/res_comp.c: Likewise.
2624 * stdlib/stdlib.h: Likewise.
2625 * sunrpc/clnt_tcp.c: Likewise.
2626 * sunrpc/clnt_udp.c: Likewise.
2627 * sunrpc/clnt_unix.c: Likewise.
2628 * sysdeps/unix/bsd/ptsname.c: Likewise.
2629 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2630 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2632 Likewise.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2634 Likewise.
2635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2636 Likewise.
6f65e668
OB
2637 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2638
3a309239
SP
26392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2640
2641 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2642 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2643
3b813b29
MF
26442013-08-27 Mike Frysinger <vapier@gentoo.org>
2645
2646 [BZ #15897]
2647 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2648 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2649 ($(objpfx)bug-dl-leaf): New rule.
2650 ($(objpfx)bug-dl-leaf.so): Likewise.
2651 ($(objpfx)bug-dl-leaf.out): Likewise.
2652 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2653 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2654 * dlfcn/bug-dl-leaf.c: New test.
2655 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2656 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2657 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2658 (dlclose): Likewise.
2659 (dlmopen): Likewise.
2660
8cc3269f
RM
26612013-08-27 Roland McGrath <roland@hack.frob.com>
2662
7f9d0034
RM
2663 * include/netdb.h [!_ISOMAC]:
2664 Don't include <tls.h>.
2665 (h_errno, __libc_h_errno): Move declaration and macros out of
2666 [_LIBC_REENTRANT].
2667
fb431262
RM
2668 * include/resolv.h [_RESOLV_H_]:
2669 Don't include <tls.h>.
2670 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2671 * resolv/res_libc.c: Don't include <tls.h>.
2672 (_res): Use __attribute__ ((nocommon)) in place of
2673 __attribute__ ((section (".bss"))).
2674
bd81123a
RM
2675 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2676 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2677
c4e42566
RM
2678 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2679
f890a59b
RM
2680 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2681 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2682
2683 * resolv/res_mkquery.c: Include <sys/time.h>.
2684
5d1f0a09
RM
2685 * inet/ifreq.c: Moved to ...
2686 * sysdeps/unix/ifreq.c: ... here.
2687 * inet/ifreq.c: New file, true stub version.
2688
6fcf28b3
RM
2689 * socket/sa_len.c: New file.
2690 * socket/Makefile (aux): Add it.
2691 * sysdeps/unix/sysv/linux/Makefile
2692 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2693 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2694 and #include <socket/sa_len.c>.
2695 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2696 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2697
e041fb8b
RM
2698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2699 * bits/socket.h: ... here.
2700
8cc3269f
RM
2701 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2702 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2703 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2704
5d228a43
AS
27052013-08-27 Andreas Schwab <schwab@suse.de>
2706
45b8accc
AS
2707 [BZ #15736]
2708 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2709 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2710 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2711 * string/test-strcasecmp.c (test_main): Run tests in several
2712 locales.
2713 * string/test-strncasecmp.c (test_main): Likewise.
2714
5d228a43
AS
2715 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2716 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2717 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2718 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2719 (__strncasecmp_ssse3) [PIC]: Likewise.
2720
59d112a4
RM
27212013-08-26 Roland McGrath <roland@hack.frob.com>
2722
53234cc3
RM
2723 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2724
59d112a4
RM
2725 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2726 instead of explicitly declaring xdecrypt.
2727 * nis/nss_nis/nis-publickey.c: Likewise.
2728
595aba70
SP
27292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2730
2731 [BZ #15890]
2732 * nscd/aicache.c: Include res_hconf.h.
2733 (addhstaiX): Initialize res_hconf.
2734
ffabd393
AS
27352013-08-26 Andreas Schwab <schwab@suse.de>
2736
2737 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2738 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2739
e0a69f5c
SP
27402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2741
2742 * nscd/aicache.c (addhstaiX): Fix indentation.
2743
8c12f01d
MF
27442013-08-25 Mike Frysinger <vapier@gentoo.org>
2745
2746 * configure.ac: Quote $build_pt_chown test.
2747 * configure: Regenerated.
2748
8fe89494
JM
27492013-08-23 Joseph Myers <joseph@codesourcery.com>
2750
2751 [BZ #15532]
2752 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2753 * math/s_cexpf.c (__cexpf): Likewise.
2754 * math/s_cexpl.c (__cexpl): Likewise.
2755 * math/libm-test.inc (cexp_test_data): Correct expected return
2756 value for NaN + i0. Add another test.
2757
75b181d6
DM
27582013-08-22 David S. Miller <davem@davemloft.net>
2759
2760 * po/ca.po: Update Catalan translation from translation project.
936241e4 2761 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2762
acd06bb1
JM
27632013-08-21 Joseph Myers <joseph@codesourcery.com>
2764
2765 [BZ #15797]
2766 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2767 is infinite, not alongside NaN test.
2768 * math/s_fdimf.c (__fdimf): Likewise.
2769 * math/s_fdiml.c (__fdiml): Likewise.
2770 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2771 errno is unchanged.
2772
c0c3f78a
OB
27732013-08-21 Ondřej Bílka <neleai@seznam.cz>
2774
2775 * argp/argp-help.c: Fix typos.
2776 * crypt/speeds.c: Likewise.
2777 * csu/check_fds.c: Likewise.
2778 * elf/dl-load.c: Likewise.
2779 * elf/dl-open.c: Likewise.
2780 * elf/reldep3.c: Likewise.
2781 * elf/reldep.c: Likewise.
2782 * elf/sprof.c: Likewise.
2783 * iconv/iconv_charmap.c: Likewise.
2784 * iconv/skeleton.c: Likewise.
2785 * iconv/strtab.c: Likewise.
2786 * io/lockf64.c: Likewise.
2787 * libio/libioP.h: Likewise.
2788 * resolv/gai_notify.c: Likewise.
2789 * resolv/ns_name.c: Likewise.
2790 * resolv/ns_samedomain.c: Likewise.
2791 * resolv/res_send.c: Likewise.
2792 * stdlib/random.c: Likewise.
2793 * sunrpc/rpc/xdr.h: Likewise.
2794 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2795 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2796 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2797 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2798 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2799 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2800 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2801 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2802 * sysdeps/mach/hurd/check_fds.c: Likewise.
2803 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2804 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2806 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2807 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2808 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2809 * sysdeps/pthread/aio_notify.c: Likewise.
2810 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2811 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2812 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2813 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2814 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2815
46ed1038
LD
28162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2817
2818 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2819 version if bit_Slow_SSE4_2 is set.
2820 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2821 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2822
d400dcac
AZ
28232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2824
2825 [BZ #15867]
2826 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2827 trampoline stack frame information.
2828 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2829 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2830 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2831 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2832 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2833 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2834 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2835 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2836 sa_flags value.
2837 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2838 interrupting a syscall and set with option SA_SIGINFO.
2839
42c8fdd8
JM
28402013-08-20 Joseph Myers <joseph@codesourcery.com>
2841
c980f2f4
JM
2842 [BZ #15531]
2843 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2844 argument is infinite.
2845 * math/s_cprojf.c (__cprojf): Likewise.
2846 * math/s_cprojl.c (__cprojl): Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2848 * math/libm-test.inc (cproj_test_data): Add more tests.
2849
0716c4fc
JM
2850 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2851
42c8fdd8
JM
2852 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2853 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2854 size. Use __ffs to determine corresponding shift.
2855
b31469d0
JM
28562013-08-20 Joseph Myers <joseph@codesourcery.com>
2857 Roland McGrath <roland@hack.frob.com>
2858
2859 * Makefile (INSTALL): Remove trailing blank lines from output of
2860 makeinfo.
2861
4e39af6e
AK
28622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2863
2864 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2865 Align 32 bit compat elf_greg to 8 bytes.
2866
f315524e
AA
28672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2868
2869 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2870
1326ba1a
SP
28712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2872
2873 * string/strcoll_l.c (coll_seq): New structure.
2874 (get_next_seq_cached): New function.
2875 (get_next_seq): New function.
2876 (do_compare): New function.
2877 (STRCOLL): Use GNU style definition. Simplify implementation
2878 by using get_next_seq, get_next_seq_cached and do_compare.
2879
91ce4085
FW
28802013-08-16 Florian Weimer <fweimer@redhat.com>
2881
2882 [BZ #14699]
2883 CVE-2013-4237
2884 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2885 member.
2886 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2887 member.
2888 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2889 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2890 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2891 conditional.
2892 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2893 GETDENTS_64BIT_ALIGNED.
2894 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2895 * manual/filesys.texi (Reading/Closing Directory): Document
2896 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2897 strongly.
2898 * manual/conf.texi (Limits for Files): Add portability note to
2899 NAME_MAX, PATH_MAX.
2900 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2901
ca0a6bc4
AS
29022013-08-13 Andreas Schwab <schwab@suse.de>
2903
2904 [BZ #15749]
2905 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2906 of fabs.
2907 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2908 LDBL_MAX_EXP >= 16384]: Add tests for it.
2909
6c1fd795
DM
29102013-08-12 David S. Miller <davem@davemloft.net>
2911
2912 * version.h (RELEASE): Set to "development".
2913 (VERSION): Set to "2.18.90".
2914 * NEWS: Add 2.19 section.
2915
31ad488d
DM
29162013-08-03 David S. Miller <davem@davemloft.net>
2917
2918 * po/ko.po: Update Korean translation from translation project.
2919
db24e684
DM
29202013-08-01 David S. Miller <davem@davemloft.net>
2921
2922 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2923 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2924 Bilka.
2925
f723285b
DM
29262013-07-30 David S. Miller <davem@davemloft.net>
2927
2928 * po/fr.po: Update French translation from translation project.
2929
3cbc52db
DM
29302013-07-28 David S. Miller <davem@davemloft.net>
2931
30bbc0cc
DM
2932 * po/cs.po: Update Czech translation from translation project.
2933
3cbc52db
DM
2934 * po/sv.po: Update Swedish translation from translation project.
2935
d492e6d0
DM
29362013-07-27 David S. Miller <davem@davemloft.net>
2937
f1a7f492
DM
2938 * po/eo.po: Update Esperanto translation from translation project.
2939
90e62a4a
DM
2940 * po/vi.po: Update Vietnamese translation from translation project.
2941
d492e6d0
DM
2942 * po/de.po: Update German translation from translation project.
2943
d4baa62d
DM
29442013-07-26 David S. Miller <davem@davemloft.net>
2945
641aa7b4
DM
2946 * po/bg.po: Update Bulgarian translation from translation project.
2947
d4baa62d
DM
2948 * po/nl.po: Update Dutch translation from translation project.
2949 * po/pl.po: Update Polish translation from translation project.
2950 * po/ru.po: Update Russian translation from translation project.
2951
61a9dcb9
DM
29522013-07-24 David S. Miller <davem@davemloft.net>
2953
2954 * po/libc.pot: Update.
2955
7b1f8b58
AZ
29562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2957
2958 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2959 variable page size.
2960 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2961 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2962 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2963
a8fc7a03
AK
29642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2965
2966 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2967
e4608715
CD
29682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2969 Andreas Schwab <schwab@suse.de>
2970 Roland McGrath <roland@hack.frob.com>
2971 Joseph Myers <joseph@codesourcery.com>
2972 Carlos O'Donell <carlos@redhat.com>
2973
2974 [BZ #15755]
2975 * config.h.in: Define HAVE_PT_CHOWN.
2976 * config.make.in (build-pt-chown): New variable.
2977 * configure.in (--enable-pt_chown): New configure option.
2978 * configure: Regenerate.
2979 * login/Makefile: Include Makeconfig. Build pt_chown only if
2980 build-pt-chown is enabled.
2981 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2982 pt_chown to fix pty ownership.
2983 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2984 CLOSE_ALL_FDS.
2985 * manual/install.texi (Configuring and compiling): Mention
2986 --enable-pt_chown. Add @findex for grantpt.
2987 * INSTALL: Regenerate.
2988
da2d62df
DM
29892013-07-20 David S. Miller <davem@davemloft.net>
2990
2991 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2992 difference between 32-bit and 64-bit.
2993
d7e06450
CD
29942013-07-15 Carlos O'Donell <carlos@redhat.com>
2995
2996 [BZ #15711]
2997 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2998 Avoid system header dependency with -ffreestanding.
2999 ($(objpfx)bits/syscall%d): Likewise.
3000
f959cfd7
DM
30012013-07-13 David S. Miller <davem@davemloft.net>
3002
3003 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
3004 underflows from atanl/atan2l due to bug 15319.
3005 (casinh_test_data): Likewise.
3006
c61f8513
DM
30072013-07-07 David S. Miller <davem@davemloft.net>
3008
3009 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
3010
72c90ed0
JA
30112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
3012
3013 * sysdeps/i386/fpu/libm-test-ulps: Update.
3014 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3015
52dfbe13
SP
30162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 * configure.in (--enable-lock-elision): Fix message text.
3019 * INSTALL: Regenerate.
3020 * configure: Regenerate.
3021
3f169543
AZ
30222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3023
3024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3025
521c6785
AJ
30262013-07-03 Andreas Jaeger <aj@suse.de>
3027
3028 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
3029 define.
3030 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
3031 (ptrace_peeksiginfo_args): Add.
3032 (__ptrace_peeksiginfo_flags): Add.
3033 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
3034 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
3035 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
3036
d2cc15cb
AM
30372013-07-03 Allan McRae <allan@archlinux.org>
3038
3039 * sysdeps/i386/fpu/libm-test-ulps: Update.
3040
3aaeeca7
DM
30412013-07-02 David S. Miller <davem@davemloft.net>
3042
3043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3044
5314ed1a
MT
30452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
3046
3047 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3048
67338156
JM
30492013-07-02 Joseph Myers <joseph@codesourcery.com>
3050
3051 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3053
1717da59
AK
30542013-07-02 Andi Kleen <ak@linux.intel.com>
3055
3056 * config.h.in (ENABLE_LOCK_ELISION): Add.
3057 * configure.in (--enable-lock-elision): Add option.
3058 * manual/install.texi: Document --enable lock elision.
3059 * configure: Regenerate
3060 * INSTALL: Regenerate.
3061
1c81621c
L
30622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
3063
3064 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
3065 SSE4.2 strcasecmp for libc.a.
3066 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3067
77f01ab5
JM
30682013-07-02 Joseph Myers <joseph@codesourcery.com>
3069
3070 [BZ #13304]
3071 * soft-fp/op-common.h (_FP_FMA): New macro.
3072 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
3073 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
3074 (_FP_MUL_MEAT_1_imm): ... here.
3075 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
3076 (_FP_MUL_MEAT_1_wide): ... here.
3077 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
3078 (_FP_MUL_MEAT_1_hard): ... here.
3079 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
3080 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
3081 (_FP_MUL_MEAT_2_wide): ... here.
3082 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
3083 (_FP_MUL_MEAT_2_wide_3mul): ... here.
3084 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
3085 (_FP_MUL_MEAT_2_gmp): ... here.
3086 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
3087 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
3088 (_FP_MUL_MEAT_4_wide): ... here.
3089 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
3090 (_FP_MUL_MEAT_4_gmp): ... here.
3091 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
3092 (_FP_WFRACBITS_DW_S): Likewise.
3093 (_FP_WFRACXBITS_DW_S): Likewise.
3094 (_FP_HIGHBIT_DW_S): Likewise.
3095 (FP_FMA_S): Likewise.
3096 (_FP_FRAC_HIGH_DW_S): Likewise.
3097 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
3098 (_FP_WFRACBITS_DW_D): Likewise.
3099 (_FP_WFRACXBITS_DW_D): Likewise.
3100 (_FP_HIGHBIT_DW_D): Likewise.
3101 (FP_FMA_D): Likewise.
3102 (_FP_FRAC_HIGH_DW_D): Likewise.
3103 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
3104 (_FP_WFRACBITS_DW_E): Likewise.
3105 (_FP_WFRACXBITS_DW_E): Likewise.
3106 (_FP_HIGHBIT_DW_E): Likewise.
3107 (FP_FMA_E): Likewise.
3108 (_FP_FRAC_HIGH_DW_E): Likewise.
3109 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
3110 (_FP_WFRACBITS_DW_Q): Likewise.
3111 (_FP_WFRACXBITS_DW_Q): Likewise.
3112 (_FP_HIGHBIT_DW_Q): Likewise.
3113 (FP_FMA_Q): Likewise.
3114 (_FP_FRAC_HIGH_DW_Q): Likewise.
3115 * soft-fp/fmasf4.c: New file.
3116 * soft-fp/fmadf4.c: Likewise.
3117 * soft-fp/fmatf4.c: Likewise.
3118
6308fd9a
LD
31192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3120
3121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
3122 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
3123 Silvermont.
3124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
3125 macro.
3126 (index_Slow_SSE4_2): Likewise.
3127 (index_Prefer_PMINUB_for_stringop): Likewise.
3128 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
3129 bit_Slow_SSE4_2 is set.
3130 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3131 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3132
89cd9569
RA
31332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3134
3135 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
3136 rtld_global._dl_hwcap2.
3137 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
3138 POWER8.
3139 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
3140 POWER8 feature descriptions defined in _dl_hwcap2.
3141 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
3142 string handling for POWER8 feature bits.
3143 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
3144 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
3145 _dl_powerpc_cap_flags.
3146 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
3147 * sysdeps/powerpc/rtld-global-offsets.sym
3148 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
3149 _dl_hwcap2 in the rtld_global_ro structure.
3150
1ae8bfe0
RA
31512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3152
3153 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
3154 hardware capabilities in support of AT_HWCAP2.
3155 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
3156 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
3157 GLRO(dl_hwcap2).
3158 (_dl_show_auxv): Add support for calling _dl_procinfo to display
3159 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
3160 explicitly the unknown a_type display mechanism is used.
3161 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
3162 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
3163 struct member.
3164 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
3165 to macro prototype for AT_HWCAP2 support.
3166 * sysdeps/i386/dl-procinfo.h: Likewise.
3167 * sysdeps/s390/dl-procinfo.h: Likewise.
3168 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
3169 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
3170 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
3171 return -1 for unknown a_type display fallback.
3172 * sysdeps/sparc/dl-procinfo.h: Likewise.
3173 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
3174 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3175
8fbec010
JM
31762013-06-28 Joseph Myers <joseph@codesourcery.com>
3177
3178 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
3179 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
3180
0432680e
PY
31812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
3182
3183 [BZ #12492]
3184 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
3185 mprotect making __stack_prot writable.
3186
ce61a2ad
NF
31872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
3188 Joseph Myers <joseph@codesourcery.com>
3189
3190 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
3191 as being properly aligned.
3192
f91f1c0f
MR
31932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
3194
3d0f5d0c
MR
3195 * dlfcn/modstatic5.c: New file.
3196 * dlfcn/tststatic5.c: New file.
3197 * dlfcn/Makefile (tests): Add tststatic5.
3198 (tests-static): Likewise.
3199 (modules-names): Add modstatic5.
3200 (tststatic5-ENV): New variable.
3201 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
3202
f91f1c0f
MR
3203 [BZ #15022]
3204 * elf/dl-support.c (_dl_main_map): New variable.
3205 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
3206 (_dl_nns, _dl_load_adds): Set to 1.
3207 (_dl_initial_searchlist): Refer to _dl_main_map.
3208 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
3209 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
3210 call to _dl_get_origin.
3211 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
3212 around call_map.
3213 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
3214 * dlfcn/modstatic3.c: New file.
3215 * dlfcn/tststatic3.c: New file.
3216 * dlfcn/tststatic4.c: New file.
3217 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
3218 (tests-static): Likewise.
3219 (modules-names): Add modstatic3.
3220 (tststatic3-ENV, tststatic4-ENV): New variables.
3221 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
3222 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
3223
cbe7d24b
JM
32242013-06-26 Joseph Myers <joseph@codesourcery.com>
3225
3226 * configure.in (CC): Require GCC version 4.4 or later.
3227 * configure: Regenerated.
3228 * manual/install.texi (Tools for Compilation): Update GCC version
3229 requirement.
3230 * INSTALL: Regenerated.
3231
11b8a0e1
LD
32322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3233
3234 [BZ #15674]
bb5bb87c
L
3235 * string/test-memcmp.c (check2): New.
3236 (main): Call check2.
3237
11b8a0e1
LD
3238 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
3239
b0037103
MR
32402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
3241
3242 [BZ #15022]
3243 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
3244 over to...
3245 (dl_open_worker) [!SHARED]: ... here.
3246
c18c701d
RA
32472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3248
3249 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
3250
1d17fa5f
RH
32512013-06-25 Richard Henderson <rth@redhat.com>
3252
3253 * locale/programs/locarchive.c: Include <libc-internal.h>
3254
8fcb833a
JM
32552013-06-25 Joseph Myers <joseph@codesourcery.com>
3256
3257 * manual/texinfo.tex: Update to version 2013-06-21.17, with
3258 trailing whitespace removed.
3259
17db6e8d
MF
32602013-06-24 Mike Frysinger <vapier@gentoo.org>
3261
3262 [BZ #10283]
17db6e8d
MF
3263 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
3264 * locale/programs/locarchive.c: Include libc-mmap.h.
3265 (prepare_address_space): Take two new outputs (the mmap base and len).
3266 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
3267 values.
3268 (create_archive): Declare new mmap base and len values for
3269 prepare_address_space, and store the result in ah.
3270 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
3271 (enlarge_archive): If ah->mmap_base is not NULL, use that and
3272 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3273 Declare new mmap base and len values for
3274 prepare_address_space, and store the result in new_ah.
3275 (open_archive): Declare new mmap base and len values for
3276 prepare_address_space, and store the result in ah.
3277 (close_archive): If ah->mmap_base is not NULL, use that and
3278 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
3279 * sysdeps/generic/libc-mmap.h: New file.
3280
d605071e
MF
32812013-06-24 Mike Frysinger <vapier@gentoo.org>
3282
3283 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
3284 (ALIGN_UP): Likewise.
3285 (PTR_ALIGN_DOWN): Likewise.
3286 (PTR_ALIGN_UP): Likewise.
3287
2f063a6e
RA
32882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3289
3290 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3291 entry mapped to PPC_PLATFORM_POWER8.
3292 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3293 POWER8.
3294 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3295 (_dl_string_platform): Add case for exporting platform position for
3296 POWER8.
3297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3298 search path to sysdeps/powerpc/powerpc32/power8 directory.
3299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3300 search path to sysdeps/powerpc/powerpc64/power8 directory.
3301 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3302 power7 directories.
3303 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3304 power7 directories.
3305
a31ee4b3
SP
33062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3307
a74ca98f
SP
3308 * INSTALL: Regenerate.
3309
a31ee4b3
SP
3310 * nscd/connections.c (nscd_init): Fix comment.
3311
695c378f
JM
33122013-06-22 Joseph Myers <joseph@codesourcery.com>
3313
d8412221
JM
3314 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3315
695c378f
JM
3316 [BZ #15667]
3317 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3318 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3319
d1d54715
MR
33202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3321
3322 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3323 DL_DST_REQ_STATIC.
3324 (DL_DST_REQ_STATIC): Remove macro.
3325
8fdda7af
JM
33262013-06-21 Joseph Myers <joseph@codesourcery.com>
3327
3328 [BZ #7006]
3329 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3330 with a shift of 0 bits.
3331
f3bc5e5a
MR
33322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3333
3334 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3335 $(tststatic-ENV).
3336
be09e8c9
KK
33372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3338
3339 [BZ #15655]
3340 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3341
85c2e611
AZ
33422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3343
3344 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3345 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3346 accepts -fno-tree-loop-distribute-patterns.
3347 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3348 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3349 recursive call.
3350 * string/memset.c (memset): Likewise.
3351 * string/test-memmove.c (simple_memmove): Disable loop transformation
3352 to library calls.
3353 * string/test-memset.c (simple_memset): Likewise.
3354 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3355 * benchtests/bench-memset.c (simple_memset): Likewise.
3356 * configure: Regenerated.
3357
c91e0825
JM
33582013-06-20 Joseph Myers <joseph@codesourcery.com>
3359
b8c792af
JM
3360 * math/test-misc.c (main): Ignore fesetround failure when failures
3361 of subsequent rounding tests would be ignored.
3362
c91e0825
JM
3363 [BZ #15654]
3364 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3365 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3366 * math/fegetenv.c (__fegetenv): Return 0.
3367 * math/fegetexcept.c (fegetexcept): Return 0.
3368 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3369 FE_TONEAREST.
3370 * math/feholdexcpt.c (feholdexcept): Return 0.
3371 * math/fesetenv.c (__fesetenv): Return 0.
3372 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3373 argument FE_TONEAREST.
3374 * math/feupdateenv.c (__feupdateenv): Return 0.
3375 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3376
bfcacbde
RM
33772013-06-18 Roland McGrath <roland@hack.frob.com>
3378
3379 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3380 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3381 ($(objpfx)rtld-%.os rules): Use them.
3382
e55a9b25
AZ
33832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3384
3385 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3386 fields.
3387
346d65b3
RM
33882013-06-17 Roland McGrath <roland@hack.frob.com>
3389
12086fb4
RM
3390 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3391 length of target pattern, then descending length of dependency pattern.
3392 * configure.in (AWK): Require gawk 3.1.2 or newer.
3393 * manual/install.texi (Tools for Compilation): Say that we do.
3394 * configure: Regenerated.
3395
346d65b3
RM
3396 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3397 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3398 * scripts/sysd-rules.awk: ... this new script.
3399 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3400 than a glob-style pattern.
3401
1a846317
JM
34022013-06-17 Joseph Myers <joseph@codesourcery.com>
3403
3404 * math/test-misc.c (main): Do not treat incorrectly rounded
3405 conversions as failure unless ROUNDING_TESTS passes.
3406
8fc75e6f
JM
34072013-06-15 Joseph Myers <joseph@codesourcery.com>
3408
3711a167
JM
3409 [BZ #15631]
3410 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3411 restore exception state around main square root computation, then
3412 check for inexactness explicitly.
3413
8fc75e6f
JM
3414 * math/libm-test.inc (fma_test_data): Add another test.
3415
61dd6208
SP
34162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3417
adf23d2c
SP
3418 * manual/threads.texi (Non-POSIX Extensions): New document
3419 node. Document pthread_getattr_default_np and
3420 pthread_setattr_default_np.
3421
61dd6208
SP
3422 * Versions.def (libpthread): Add GLIBC_2.18.
3423 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3425 Likewise.
3426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3427 Likewise.
3428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3429 Likewise.
3430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3431 Likewise.
3432 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3433 Likewise.
3434 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3435 Likewise.
3436 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3437 Likewise.
3438 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3439 Likewise.
3440 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3441 Likewise.
3442
d086fc7b
LD
34432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3444
3445 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3446 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3447
747ef469
SP
34482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3449 H.J. Lu <hjl.tools@gmail.com>
3450
3451 [BZ #15627]
3452 * sysdeps/x86_64/rtld-memset.c: Remove file.
3453 * sysdeps/x86_64/rtld-memset.S: New file.
3454
1b2feed2
JM
34552013-06-14 Joseph Myers <joseph@codesourcery.com>
3456
3457 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3458 (test_in_one_mode): Take arguments for whether the rounding mode
3459 is supported for each floating-point type.
3460 (do_test): Pass new arguments to test_in_one_mode using
3461 ROUNDING_TESTS.
3462
a58ad3f8
RM
34632013-06-13 Roland McGrath <roland@hack.frob.com>
3464
3465 * posix/tst-waitid.c (do_test): Distinguish different instances of
3466 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3467 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3468 before entering the kernel for waitpid.
3469
c204ab28
SP
34702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3471
3472 * NEWS: Fix note on clock function precision. Text by Roland
3473 McGrath.
3474
f4a29fba
RM
34752013-06-13 Roland McGrath <roland@hack.frob.com>
3476
3477 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3478 it into place only when and if the sanity check passes.
3479
1f24b9ad
JM
34802013-06-13 Joseph Myers <joseph@codesourcery.com>
3481
3482 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3483 output for whether conversion result is exact. Take argument
3484 indicating whether type is IBM long double.
3485 (round_for_all): Change need_exact field to ibm_ld.
3486 * stdlib/tst-strtod-round.c (struct exactness): New type.
3487 (struct test): Change bool ld_ok field to struct exactness exact.
3488 (TEST): Update all definitions for change to field.
3489 (tests): Regenerate array contents.
3490 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3491 field value. Check for IBM long double here.
3492 (do_test): Update calls to test_in_one_mode.
3493
58206c68
SP
34942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
3496 [BZ #12515]
3497 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3498 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3499
2d6f4c5b 35002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3501
3502 [BZ #15605]
3503 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3504 generated by the compiler on loop optimizations.
3505 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3506 general definitions.
3507
94f2c076
JM
35082013-06-12 Joseph Myers <joseph@codesourcery.com>
3509
3510 * math/bug-nextafter.c: Include <math-tests.h>.
3511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3512 the relevant type.
3513 * math/bug-nexttoward.c: Include <math-tests.h>.
3514 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3515 the relevant type.
3516 * math/test-misc.c: Include <math-tests.h>.
3517 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3518 the relevant type.
3519
e0e50a0a
AJ
35202013-06-12 Andreas Jaeger <aj@suse.de>
3521
3522 * po/ia.po: Update Interlingua translation from translation
3523 project.
3524
25061094
SP
35252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3526
3527 * include/fenv.h: Include stdbool.h.
3528 (struct rm_ctx): New structure.
3529 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3530 Define macro.
3531 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3532 (SET_RESTORE_ROUNDF): Likewise.
3533 (SET_RESTORE_ROUNDL): Likewise.
3534 (SET_RESTORE_ROUND_NOEX): Likewise.
3535 (SET_RESTORE_ROUND_NOEXF): Likewise.
3536 (SET_RESTORE_ROUND_NOEXL): Likewise.
3537 (SET_RESTORE_ROUND_53BIT): Likewise.
3538 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3539 (libc_feresetround_noexf_ctx): Likewise.
3540 (libc_feresetround_noexl_ctx): Likewise.
3541 (libc_feholdsetround_53bit_ctx): Likewise.
3542 (libc_feresetround_53bit_ctx): Likewise.
3543 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3544 (libc_feholdexcept_setround_sse_ctx): New function.
3545 (libc_fesetenv_sse_ctx): Likewise.
3546 (libc_feupdateenv_sse_ctx): Likewise.
3547 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3548 (libc_feholdexcept_setround_387_ctx): Likewise.
3549 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3550 (libc_feholdsetround_387_prec_ctx): Likewise.
3551 (libc_feholdsetround_387_ctx): Likewise.
3552 (libc_feholdsetround_387_53bit_ctx): Likewise.
3553 (libc_feholdsetround_sse_ctx): Likewise.
3554 (libc_feresetround_sse_ctx): Likewise.
3555 (libc_feresetround_387_ctx): Likewise.
3556 (libc_feupdateenv_387_ctx): Likewise.
3557 (libc_feholdexcept_setroundf_ctx): Define macro.
3558 (libc_fesetenvf_ctx): Likewise.
3559 (libc_feupdateenvf_ctx): Likewise.
3560 (libc_feholdsetroundf_ctx): Likewise.
3561 (libc_feresetroundf_ctx): Likewise.
3562 (libc_feholdexcept_setround_ctx): Likewise.
3563 (libc_fesetenv_ctx): Likewise.
3564 (libc_feupdateenv_ctx): Likewise.
3565 (libc_feholdsetround_ctx): Likewise.
3566 (libc_feresetround_ctx): Likewise.
3567 (libc_feholdexcept_setroundl_ctx): Likewise.
3568 (libc_feupdateenvl_ctx): Likewise.
3569 (libc_feholdsetroundl_ctx): Likewise.
3570 (libc_feresetroundl_ctx): Likewise.
3571 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3572 (libc_feresetround_53bit_ctx): Likewise.
3573
59b30555
SP
35742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3575
3576 * locale/iso-639.def: Convert to UTF-8.
3577
f1d73d30
JM
35782013-06-11 Joseph Myers <joseph@codesourcery.com>
3579
3580 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3581 (EXCEPTION_TESTS_double): Likewise.
3582 (EXCEPTION_TESTS_long_double): Likewise.
3583 (EXCEPTION_TESTS): Likewise.
3584 * math/libm-test.inc (test_exceptions): Only test exceptions if
3585 EXCEPTION_TESTS (FLOAT).
3586
94aca5e7
SP
35872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3588
3589 * benchtests/Makefile (string-bench): Add strcpy_chk and
3590 stpcpy_chk.
3591 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3592 * benchtests/bench-stpcpy_chk.c: New file.
3593 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3594 * benchtests/bench-strcpy_chk.c: New file.
3595 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3596 code.
3597 (do_test): Likewise.
3598
fac0c5f2
RA
35992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3600
3601 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3602 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3603 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3604 with tabs where appropriate.
3605 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3606 dl-procinfo.h.
3607 [PPC_PLATFORM_PPC440]: Likewise.
3608 [PPC_PLATFORM_PPC464]: Likewise.
3609 [PPC_PLATFORM_PPC476]: Likewise.
3610 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3611 ppc464, and ppc476 platform strings merging from ports/
3612 dl-procinfo.h.
3613
f22bc486
AS
36142013-06-11 Andreas Schwab <schwab@suse.de>
3615
3616 [BZ #14991]
3617 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3618 (from_ucs4_idx): Regenerate.
3619 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3620 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3621 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3622 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3623 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3624 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3625 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3626 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3627 from FROM_LOOP and TO_LOOP specific macros.
3628 (BODY): Handle combining characters.
3629 * iconvdata/BIG5HKSCS.irreversible: Update.
3630 * iconvdata/BIG5HKSCS.precomposed: New file.
3631 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3632 characters.
3633 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3634
c1f75dc3
SP
36352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3636
4eacded2
SP
3637 * include/sys/time.h: Fix indentation and add copyright header.
3638
fec799f8
SP
3639 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3640 (do_test): Likewise.
3641 * string/test-memchr.c (do_one_test): Likewise.
3642 (do_test): Likewise.
3643 * string/test-memcmp.c (do_one_test): Likewise.
3644 (do_test): Likewise.
3645 * string/test-memcpy.c (do_one_test): Likewise.
3646 (do_test): Likewise.
3647 * string/test-memmem.c (do_one_test): Likewise.
3648 (do_test): Likewise.
3649 (do_random_tests): Likewise.
3650 * string/test-memmove.c (do_one_test): Likewise.
3651 (do_test): Likewise.
3652 * string/test-memset.c (do_one_test): Likewise.
3653 (do_test): Likewise.
3654 * string/test-rawmemchr.c (do_one_test): Likewise.
3655 (do_test): Likewise.
3656 * string/test-strcasecmp.c (do_one_test): Likewise.
3657 (do_test): Likewise.
3658 * string/test-strcasestr.c (do_one_test): Likewise.
3659 (do_test): Likewise.
3660 * string/test-strcat.c (do_one_test): Likewise.
3661 (do_test): Likewise.
3662 * string/test-strchr.c (do_one_test): Likewise.
3663 (do_test): Likewise.
3664 * string/test-strcmp.c (do_one_test): Likewise.
3665 (do_test): Likewise.
3666 * string/test-strcpy.c (do_one_test): Likewise.
3667 (do_test): Likewise.
3668 * string/test-string.h: Likewise.
3669 (test_init): Likewise.
3670 * string/test-strlen.c (do_one_test): Likewise.
3671 (do_test): Likewise.
3672 * string/test-strncasecmp.c (do_one_test): Likewise.
3673 (do_test): Likewise.
3674 * string/test-strncat.c (do_one_test): Likewise.
3675 (do_test): Likewise.
3676 * string/test-strncmp.c (do_one_test): Likewise.
3677 (do_test_limit): Likewise.
3678 (do_test): Likewise.
3679 * string/test-strncpy.c (do_one_test): Likewise.
3680 (do_test): Likewise.
3681 * string/test-strnlen.c (do_one_test): Likewise.
3682 (do_test): Likewise.
3683 * string/test-strpbrk.c (do_one_test): Likewise.
3684 (do_test): Likewise.
3685 * string/test-strrchr.c (do_one_test): Likewise.
3686 (do_test): Likewise.
3687 * string/test-strspn.c (do_one_test): Likewise.
3688 (do_test): Likewise.
3689 * string/test-strstr.c (do_one_test): Likewise.
3690 (do_test): Likewise.
3691
97020474
SP
3692 * benchtests/Makefile (string-bench): Add string benchmarks.
3693 * benchtests/bench-bcopy-ifunc.c: New file.
3694 * benchtests/bench-bcopy.c: New file.
3695 * benchtests/bench-bzero-ifunc.c: New file.
3696 * benchtests/bench-bzero.c: New file.
3697 * benchtests/bench-memccpy-ifunc.c: New file.
3698 * benchtests/bench-memccpy.c: New file.
3699 * benchtests/bench-memchr-ifunc.c: New file.
3700 * benchtests/bench-memchr.c: New file.
3701 * benchtests/bench-memcmp-ifunc.c: New file.
3702 * benchtests/bench-memcmp.c: New file.
3703 * benchtests/bench-memmem-ifunc.c: New file.
3704 * benchtests/bench-memmem.c: New file.
3705 * benchtests/bench-memmove-ifunc.c: New file.
3706 * benchtests/bench-memmove.c: New file.
3707 * benchtests/bench-mempcpy-ifunc.c: New file.
3708 * benchtests/bench-mempcpy.c: New file.
3709 * benchtests/bench-memset-ifunc.c: New file.
3710 * benchtests/bench-memset.c: New file.
3711 * benchtests/bench-rawmemchr-ifunc.c: New file.
3712 * benchtests/bench-rawmemchr.c: New file.
3713 * benchtests/bench-stpcpy-ifunc.c: New file.
3714 * benchtests/bench-stpcpy.c: New file.
3715 * benchtests/bench-stpncpy-ifunc.c: New file.
3716 * benchtests/bench-stpncpy.c: New file.
3717 * benchtests/bench-strcasecmp-ifunc.c: New file.
3718 * benchtests/bench-strcasecmp.c: New file.
3719 * benchtests/bench-strcasestr-ifunc.c: New file.
3720 * benchtests/bench-strcasestr.c: New file.
3721 * benchtests/bench-strcat-ifunc.c: New file.
3722 * benchtests/bench-strcat.c: New file.
3723 * benchtests/bench-strchr-ifunc.c: New file.
3724 * benchtests/bench-strchr.c: New file.
3725 * benchtests/bench-strchrnul-ifunc.c: New file.
3726 * benchtests/bench-strchrnul.c: New file.
3727 * benchtests/bench-strcmp-ifunc.c: New file.
3728 * benchtests/bench-strcmp.c: New file.
3729 * benchtests/bench-strcpy-ifunc.c: New file.
3730 * benchtests/bench-strcpy.c: New file.
3731 * benchtests/bench-strcspn-ifunc.c: New file.
3732 * benchtests/bench-strcspn.c: New file.
3733 * benchtests/bench-strlen-ifunc.c: New file.
3734 * benchtests/bench-strlen.c: New file.
3735 * benchtests/bench-strncasecmp-ifunc.c: New file.
3736 * benchtests/bench-strncasecmp.c: New file.
3737 * benchtests/bench-strncat-ifunc.c: New file.
3738 * benchtests/bench-strncat.c: New file.
3739 * benchtests/bench-strncmp-ifunc.c: New file.
3740 * benchtests/bench-strncmp.c: New file.
3741 * benchtests/bench-strncpy-ifunc.c: New file.
3742 * benchtests/bench-strncpy.c: New file.
3743 * benchtests/bench-strnlen-ifunc.c: New file.
3744 * benchtests/bench-strnlen.c: New file.
3745 * benchtests/bench-strpbrk-ifunc.c: New file.
3746 * benchtests/bench-strpbrk.c: New file.
3747 * benchtests/bench-strrchr-ifunc.c: New file.
3748 * benchtests/bench-strrchr.c: New file.
3749 * benchtests/bench-strspn-ifunc.c: New file.
3750 * benchtests/bench-strspn.c: New file.
3751 * benchtests/bench-strstr-ifunc.c: New file.
3752 * benchtests/bench-strstr.c: New file.
3753
c1f75dc3
SP
3754 * benchtests/Makefile: Disable parallel execution of targets.
3755 (string-bench): Add memcpy.
3756 (benchset): New variable to store a list of benchmark sets.
3757 (bench-func): Renamed from bench.
3758 (bench-set): New target.
3759 (bench): Depend on bench-func and bench-set.
3760 * benchtests/README: Add section on benchmark sets.
3761 * benchtests/bench-memcpy-ifunc.c: New file.
3762 * benchtests/bench-memcpy.c: New file.
3763 * benchtests/bench-string.h: New file.
3764
50fd745b
AS
37652013-06-11 Andreas Schwab <schwab@suse.de>
3766
3767 [BZ #15577]
3768 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3769 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3770 values in the triple.
3771 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3772 terminator in the group key.
3773
3ee7e9fe
AJ
37742013-06-11 Andreas Jaeger <aj@suse.de>
3775
3776 * po/zh_TW.po: Update Chinese (traditional) translation from
3777 translation project.
3778
89fb6835
SP
37792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3780
3781 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3782 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3783 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3784 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3785 (clock_getcpuclockid): Likewise.
3786 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3787 Add weak_alias and libc_hidden_def.
3788 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3789 * rt/clock_gettime.c (clock_gettime): Rename to
3790 __clock_gettime. Add weak_alias and libc_hidden_def.
3791 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3792 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3793 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3794 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3795 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3796 Likewise.
3797 * rt/clock_settime.c (clock_settime): Rename to
3798 __clock_settime. Add weak_alias and libc_hidden_def.
3799 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3800
0efa6f8b
JM
38012013-06-10 Joseph Myers <joseph@codesourcery.com>
3802
b8c61b4b
JM
3803 * mach/err_boot.sub: Remove trailing whitespace.
3804 * mach/err_ipc.sub: Likewise.
3805 * mach/err_mach.sub: Likewise.
3806
0efa6f8b
JM
3807 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3808 (ROUNDING_TESTS_double): Likewise.
3809 (ROUNDING_TESTS_long_double): Likewise.
3810 (ROUNDING_TESTS): Likewise.
3811 * math/libm-test.inc: Include <math-tests.h>.
3812 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3813 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3814 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3815 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3816
50b818bf
SP
38172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3818
3819 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3820 of assigning.
3821
60d2f8f3
JM
38222013-06-08 Joseph Myers <joseph@codesourcery.com>
3823
4902d2c3
JM
3824 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3825 otherwise empty TRANS lines.
3826 * sysdeps/gnu/errlist.c: Regenerated.
3827
60d2f8f3
JM
3828 * catgets/gencat.c (error_print): Use (void) in function
3829 definition.
3830 * crypt/crypt_util.c (__init_des): Likewise.
3831 * crypt/speeds.c (Stop): Likewise.
3832 (main): Likewise.
3833 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3834 * inet/ruserpass.c (token): Likewise.
3835 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3836 * intl/localealias.c (extend_alias_table): Likewise.
3837 * intl/plural-exp.c (init_germanic_plural): Likewise.
3838 * libio/fcloseall.c (__fcloseall): Likewise.
3839 * libio/genops.c (_IO_flush_all): Likewise.
3840 (_IO_flush_all_linebuffered): Likewise.
3841 (_IO_cleanup): Likewise.
3842 (_IO_iter_begin): Likewise.
3843 (_IO_iter_end): Likewise.
3844 (_IO_list_lock): Likewise.
3845 (_IO_list_unlock): Likewise.
3846 (_IO_list_resetlock): Likewise.
3847 * libio/getchar.c (getchar): Likewise.
3848 * libio/getchar_u.c (getchar_unlocked): Likewise.
3849 * libio/getwchar.c (getwchar): Likewise.
3850 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3851 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3852 * login/getpt.c (__getpt): Likewise.
3853 * login/tst-utmp.c (main): Likewise.
3854 * malloc/hooks.c (__malloc_check_init): Likewise.
3855 * malloc/malloc.c (__malloc_stats): Likewise.
3856 * malloc/mtrace.c (tr_break): Likewise.
3857 (mtrace): Likewise.
3858 (muntrace): Likewise.
3859 * misc/fstab.c (endfsent): Likewise.
3860 * misc/getclktck.c (__getclktck): Likewise.
3861 * misc/getdtsz.c (__getdtablesize): Likewise.
3862 * misc/gethostid.c (gethostid): Likewise.
3863 * misc/getpagesize.c (__getpagesize): Likewise.
3864 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3865 (__get_nprocs): Likewise.
3866 (__get_phys_pages): Likewise.
3867 (__get_avphys_pages): Likewise.
3868 * misc/getttyent.c (getttyent): Likewise.
3869 (setttyent): Likewise.
3870 (endttyent): Likewise.
3871 * misc/getusershell.c (getusershell): Likewise.
3872 (endusershell): Likewise.
3873 (setusershell): Likewise.
3874 (initshells): Likewise.
3875 * misc/hsearch.c (__hdestroy): Likewise.
3876 * misc/sync.c (sync): Likewise.
3877 * misc/syslog.c (closelog_internal): Likewise.
3878 (closelog): Likewise.
3879 * misc/ttyslot.c (ttyslot): Likewise.
3880 * misc/vhangup.c (vhangup): Likewise.
3881 * posix/fork.c (__fork): Likewise.
3882 * posix/getegid.c (__getegid): Likewise.
3883 * posix/geteuid.c (__geteuid): Likewise.
3884 * posix/getgid.c (__getgid): Likewise.
3885 * posix/getpid.c (__getpid): Likewise.
3886 * posix/getppid.c (__getppid): Likewise.
3887 * posix/getuid.c (__getuid): Likewise.
3888 * posix/pause.c (pause): Likewise.
3889 * posix/setpgrp.c (setpgrp): Likewise.
3890 * posix/setsid.c (__setsid): Likewise.
3891 * posix/test-vfork.c (noop): Likewise.
3892 * resolv/gethnamaddr.c (_endhtent): Likewise.
3893 (_gethtent): Likewise.
3894 (ht_endhostent): Likewise.
3895 (gethostent): Likewise.
3896 (dns_service): Likewise.
3897 * stdlib/drand48.c (drand48): Likewise.
3898 * stdlib/lrand48.c (lrand48): Likewise.
3899 * stdlib/mrand48.c (mrand48): Likewise.
3900 * stdlib/rand.c (rand): Likewise.
3901 * stdlib/random.c (__random): Likewise.
3902 * stdlib/setenv.c (clearenv): Likewise.
3903 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3904 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3905 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3906 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3907 (__get_nprocs): Likewise.
3908 (__get_phys_pages): Likewise.
3909 (__get_avphys_pages): Likewise.
3910 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3911 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3912 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3913 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3914 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3915 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3916 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3917 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3918 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3919 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3920 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3921 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3922 * sysdeps/posix/clock.c (clock): Likewise.
3923 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3924 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3925 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3926 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3927 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3929 (__get_nprocs_conf): Likewise.
3930 (__get_phys_pages): Likewise.
3931 (__get_avphys_pages): Likewise.
3932 * time/clock.c (clock): Likewise.
3933 * time/tzset.c (__tzname_max): Likewise.
3934
2e09a79a
JM
39352013-06-07 Joseph Myers <joseph@codesourcery.com>
3936
3937 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3938 (__bswap_32): Do not use "register".
3939 * crypt/crypt.c (_ufc_doit_r): Likewise.
3940 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3941 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3942 * gmon/gmon.c (__monstartup): Likewise.
3943 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3944 * hurd/hurdmalloc.c (more_memory): Likewise.
3945 (malloc): Likewise.
3946 (free): Likewise.
3947 (realloc): Likewise.
3948 (malloc_fork_prepare): Likewise.
3949 (malloc_fork_parent): Likewise.
3950 (malloc_fork_child): Likewise.
3951 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3952 (_svcauth_des): Likewise.
3953 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3954 * inet/inet_net.c (inet_network): Likewise.
3955 * inet/inet_netof.c (inet_netof): Likewise.
3956 * inet/rcmd.c (__validuser2_sa): Likewise.
3957 * io/fts.c (fts_open): Likewise.
3958 (fts_load): Likewise.
3959 (fts_close): Likewise.
3960 (fts_read): Likewise.
3961 (fts_children): Likewise.
3962 (fts_build): Likewise.
3963 (fts_stat): Likewise.
3964 (fts_sort): Likewise.
3965 (fts_alloc): Likewise.
3966 (fts_lfree): Likewise.
3967 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3968 (_IO_file_xsgetn): Likewise.
3969 (_IO_file_xsgetn_mmap): Likewise.
3970 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3971 (_IO_cookie_write): Likewise.
3972 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3973 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3974 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3975 * malloc/obstack.c (_obstack_begin): Likewise.
3976 (_obstack_begin_1): Likewise.
3977 (_obstack_newchunk): Likewise.
3978 (_obstack_allocated_p): Likewise.
3979 (obstack_free): Likewise.
3980 (_obstack_memory_used): Likewise.
3981 * misc/getttyent.c (getttynam): Likewise.
3982 (getttyent): Likewise.
3983 (skip): Likewise.
3984 (value): Likewise.
3985 * misc/getusershell.c (initshells): Likewise.
3986 * misc/syslog.c (__vsyslog_chk): Likewise.
3987 * misc/ttyslot.c (ttyslot): Likewise.
3988 * nis/nis_hash.c (__nis_hash): Likewise.
3989 * posix/fnmatch_loop.c (FCT): Likewise.
3990 * posix/getconf.c (print_all): Likewise.
3991 (main): Likewise.
3992 * posix/getopt.c (exchange): Likewise.
3993 * posix/glob.c (globfree): Likewise.
3994 (prefix_array): Likewise.
3995 (__glob_pattern_type): Likewise.
3996 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3997 (NS_GET32): Likewise.
3998 (NS_PUT16): Likewise.
3999 (NS_PUT32): Likewise.
4000 * resolv/gethnamaddr.c (getanswer): Likewise.
4001 (gethostbyname2): Likewise.
4002 (gethostbyaddr): Likewise.
4003 (_gethtent): Likewise.
4004 (_gethtbyname2): Likewise.
4005 (_gethtbyaddr): Likewise.
4006 * resolv/ns_print.c (dst_s_get_int16): Likewise.
4007 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
4008 * resolv/res_init.c (__res_vinit): Likewise.
4009 (net_mask): Likewise.
4010 * resolv/res_mkquery.c (outchar): Likewise.
4011 (PRINT): Likewise.
4012 * stdio-common/printf_fp.c (outchar): Likewise.
4013 (PRINT): Likewise.
4014 * stdio-common/printf_fphex.c (outchar): Likewise.
4015 (PRINT): Likewise.
4016 * stdio-common/printf_size.c (outchar): Likewise.
4017 (PRINT): Likewise.
4018 * stdio-common/test_rdwr.c (main): Likewise.
4019 * stdio-common/tfformat.c (matches): Likewise.
4020 * stdio-common/vfprintf.c (outchar): Likewise.
4021 (printf_unknown): Likewise.
4022 (buffered_vfprintf): Likewise.
4023 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4024 * stdio-common/xbug.c (AppendToBuffer): Likewise.
4025 (ReadFile): Likewise.
4026 * stdlib/qsort.c (SWAP): Likewise.
4027 (_quicksort): Likewise.
4028 * stdlib/setenv.c (__add_to_environ): Likewise.
4029 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4030 * stdlib/strtol_l.c (__strtol_l): Likewise.
4031 * stdlib/tst-strtod.c (main): Likewise.
4032 * stdlib/tst-strtol.c (main): Likewise.
4033 * stdlib/tst-strtoll.c (main): Likewise.
4034 * string/bits/string2.h (__strcmp_cc): Likewise.
4035 (__strcmp_cg): Likewise.
4036 (__strcspn_c1): Likewise.
4037 (__strcspn_c2): Likewise.
4038 (__strcspn_c3): Likewise.
4039 (__strspn_c1): Likewise.
4040 (__strspn_c2): Likewise.
4041 (__strspn_c3): Likewise.
4042 (__strsep_1c): Likewise.
4043 (__strsep_2c): Likewise.
4044 (__strsep_3c): Likewise.
4045 * string/memccpy.c (__memccpy): Likewise.
4046 * string/stpcpy.c (__stpcpy): Likewise.
4047 * string/strcmp.c (strcmp): Likewise.
4048 * string/strrchr.c (strrchr): Likewise.
4049 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
4050 Likewise.
4051 * sysdeps/mach/hurd/getcwd.c
4052 (_hurd_canonicalize_directory_name_internal): Likewise.
4053 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
4054 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
4055 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
4056 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
4057 Likewise, in both definitions.
4058 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
4059 definitions.
4060 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
4061 64] (__bswap_64): Likewise.
4062 * time/test_time.c (main): Likewise.
4063 * time/tzfile.c (__tzfile_read): Likewise.
4064 (__tzfile_compute): Likewise.
4065 * time/tzset.c (__tzset_parse_tz): Likewise.
4066 (tzset_internal): Likewise.
4067 (compute_change): Likewise.
4068 * wcsmbs/wcscat.c (__wcscat): Likewise.
4069 * wcsmbs/wcschr.c (wcschr): Likewise.
4070 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
4071 * wcsmbs/wcscspn.c (wcscspn): Likewise.
4072 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
4073 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
4074 * wcsmbs/wcsspn.c (wcsspn): Likewise.
4075 * wcsmbs/wcsstr.c (wcsstr): Likewise.
4076 * wcsmbs/wmemchr.c (wmemchr): Likewise.
4077 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
4078 * wcsmbs/wmemset.c (wmemset): Likewise.
4079
9e54314b
JM
40802013-06-06 Joseph Myers <joseph@codesourcery.com>
4081
4082 * scripts/config.guess: Update to version 2013-05-16.
4083 * scripts/config.sub: Update to version 2013-04-24.
4084 * scripts/install-sh: Update to version 2011-11-20.07.
4085 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
4086 * scripts/move-if-change: Update to version 2012-01-06 07:23.
4087
350635a5
OB
40882013-06-06 Ondřej Bílka <neleai@seznam.cz>
4089
4090 * debug/fgetws_u_chk.c: Fix leading whitespaces.
4091 * elf/sln.c: Likewise.
4092 * hurd/hurd/ioctl.h: Likewise.
4093 * hurd/hurdmalloc.c: Likewise.
4094 * hurd/xattr.c: Likewise.
4095 * include/shlib-compat.h: Likewise.
4096 * inet/ruserpass.c: Likewise.
4097 * libio/iofgets_u.c: Likewise.
4098 * libio/iofgetws_u.c: Likewise.
4099 * locale/programs/ld-identification.c: Likewise.
4100 * locale/programs/ld-time.c: Likewise.
4101 * mach/msg-destroy.c: Likewise.
4102 * nss/nss_files/files-netgrp.c: Likewise.
4103 * resolv/res_data.c: Likewise.
4104 * soft-fp/op-1.h: Likewise.
4105 * soft-fp/op-2.h: Likewise.
4106 * soft-fp/op-4.h: Likewise.
4107 * soft-fp/op-common.h: Likewise.
4108 * stdio-common/printf_fphex.c: Likewise.
4109 * stdlib/strtod_l.c: Likewise.
4110 * sunrpc/rpc/clnt.h: Likewise.
4111 * sysdeps/generic/framestate.c: Likewise.
4112 * sysdeps/i386/bsd-_setjmp.S: Likewise.
4113 * sysdeps/i386/bsd-setjmp.S: Likewise.
4114 * sysdeps/i386/__longjmp.S: Likewise.
4115 * sysdeps/i386/setjmp.S: Likewise.
4116 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4117 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4118 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4119 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4120 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4125 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
4126 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4131 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4132 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4133 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
4134 * sysdeps/ieee754/support.c: Likewise.
4135 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
4136 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
4137 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
4138 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
4139 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
4140 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
4141 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
4142 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
4143 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
4144 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
4145 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
4146 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
4147 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
4148 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
4149 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
4150 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
4151 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
4153
44a988af
OB
41542013-06-05 Ondřej Bílka <neleai@seznam.cz>
4155
25506f09 4156 * posix/transbug.c: Remove executable mode.
44a988af 4157
9c84384c
JM
41582013-06-05 Joseph Myers <joseph@codesourcery.com>
4159
4160 * crypt/speeds.c: Remove trailing whitespace.
4161 * dlfcn/default.c: Likewise.
4162 * elf/ifuncdep2.c: Likewise.
4163 * elf/ifuncmain1.c: Likewise.
4164 * elf/ifuncmain1vis.c: Likewise.
4165 * elf/testobj.h: Likewise.
4166 * elf/tst-stackguard1.c: Likewise.
4167 * gmon/sys/gmon.h: Likewise.
4168 * hurd/hurdmsg.c: Likewise.
4169 * hurd/new-fd.c: Likewise.
4170 * hurd/ports-get.c: Likewise.
4171 * iconvdata/ibm1008_420.c: Likewise.
4172 * inet/tst-getni1.c: Likewise.
4173 * inet/tst-getni2.c: Likewise.
4174 * libio/ioungetc.c: Likewise.
4175 * libio/wfiledoalloc.c: Likewise.
4176 * manual/libm-err-tab.pl: Likewise.
4177 * math/w_dremf.c: Likewise.
4178 * misc/ftruncate.c: Likewise.
4179 * posix/bug-glob2.c: Likewise.
4180 * posix/tst-pcre.c: Likewise.
4181 * posix/wait4.c: Likewise.
4182 * resolv/README: Likewise.
4183 * resolv/res_debug.h: Likewise.
4184 * resolv/tst-inet_ntop.c: Likewise.
4185 * setjmp/bug269-setjmp.c: Likewise.
4186 * soft-fp/extended.h: Likewise.
4187 * soft-fp/op-1.h: Likewise.
4188 * soft-fp/op-2.h: Likewise.
4189 * soft-fp/op-4.h: Likewise.
4190 * soft-fp/op-8.h: Likewise.
4191 * soft-fp/testit.c: Likewise.
4192 * stdio-common/bug16.c: Likewise.
4193 * stdlib/random.c: Likewise.
4194 * sunrpc/rpcsvc/rquota.x: Likewise.
4195 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
4196 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4197 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4198 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4199 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4200 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4201 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4202 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4203 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4204 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4205 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4206 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4207 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4208 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4209 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4210 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4211 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4212 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4213 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4215 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4216 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4217 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4218 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4219 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4220 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4221 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
4222 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
4223 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4224 * sysdeps/ieee754/s_lib_version.c: Likewise.
4225 * sysdeps/mach/hurd/check_fds.c: Likewise.
4226 * sysdeps/mach/hurd/getsockname.c: Likewise.
4227 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
4228 * sysdeps/mach/hurd/recvfrom.c: Likewise.
4229 * sysdeps/powerpc/bits/link.h: Likewise.
4230 * sysdeps/powerpc/dl-procinfo.c: Likewise.
4231 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
4232 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
4233 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
4234 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
4235 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4236 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
4237 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
4238 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
4239 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4240 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4241 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
4242 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
4243 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4244 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4245 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4246 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
4247 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
4248 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4249 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4250 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4251 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
4252 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4253 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
4254 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
4255 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
4256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
4257 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4258 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4259 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
4260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
4261 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
4262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4263 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
4264 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
4265 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
4266 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
4267 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
4268 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4269 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
4270 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
4271 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
4272 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
4273 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
4274 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
4275 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
4276 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
4277 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
4278 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
4279 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
4280 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4281 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4282 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
4283 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
4284 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4285 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4286 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4287 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4288 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4289 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4290 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4291 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4292 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4293 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4294 * sysdeps/powerpc/sysdep.h: Likewise.
4295 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4296 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4297 * sysdeps/sh/dl-trampoline.S: Likewise.
4298 * sysdeps/sh/memset.S: Likewise.
4299 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4300 * sysdeps/sh/strlen.S: Likewise.
4301 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4302 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4303 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4304 * sysdeps/sparc/sparc32/rem.S: Likewise.
4305 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4306 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4307 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4308 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4309 * sysdeps/sparc/sparc32/urem.S: Likewise.
4310 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4311 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4312 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4313 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4314 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4315 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4316 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4317 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4318 * sysdeps/unix/bsd/times.c: Likewise.
4319 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4320 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4324 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4325 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4326 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4327 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4328 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4329 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4330 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4331 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4332 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4333 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4334 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4335 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4336 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4337 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4338 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4339 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4340 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4341 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4342 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4343 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4344 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4345 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4346 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4347 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4348 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4349 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4350 * sysdeps/x86_64/strcspn.S: Likewise.
4351
869378a5
RA
43522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4353
4354 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4355 generated file. Regenerate properly from gen-translit.pl.
4356 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4357 locale/C-translit.h.
4358
840e2943
AS
43592013-06-05 Andreas Schwab <schwab@suse.de>
4360
4361 [BZ #15100]
4362 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4363 week as 6 instead of -1.
4364 * time/tst-strptime.c (day_tests): Add test case.
4365
4c60cb0c
SP
43662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4367
4368 * sysdeps/generic/math_private.h
4369 (libc_feholdexcept_setround_53bit): Replace with
4370 libc_feholdsetround_53bit.
4371 (libc_feupdateenv_53bit): Replace with
4372 libc_feresetround_53bit.
4373 (SET_RESTORE_ROUND_53BIT): Adjust.
4374
d180203e
SP
43752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4376
96df079a
SP
4377 * string/test-strchrnul.c: Add copyright header.
4378
d180203e
SP
4379 * posix/tst-getaddrinfo4.c: Increase test timeout.
4380
8b0ccb2d
CD
43812013-06-03 Carlos O'Donell <carlos@redhat.com>
4382
4383 [BZ #15536]
4384 * math/libm-test.inc (MAX_EXP): Remove
4385 (MIN_EXP): Define.
4386 (ulp): Use MIN_EXP - MANT_DIG.
4387 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4388
3b3c4d40
CD
43892013-05-31 Carlos O'Donell <carlos@redhat.com>
4390
4391 * po/be.po: Revert last change.
4392 * po/zh_CN.po: Likewise.
4393 * po/header.pot: Likewise.
4394
fab7ce3f
JM
43952013-05-31 Joseph Myers <joseph@codesourcery.com>
4396
4397 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4398 link-libc-deps to empty as target-specific variable.
4399 * Makerules (link-libc-args): New variable.
4400 (libc-for-link): Likewise.
4401 (link-libc-deps): Likewise.
4402 (lib%.so): Depend on $(link-libc-deps). Link with
4403 $(link-libc-args).
4404 (build-module): Link with $(link-libc-args).
4405 (build-module-asneeded): Likewise.
4406 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4407 list of objects.
4408 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4409 target-specific variable.
4410 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4411 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4412 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4413 libc.
4414 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4415 libc and ld.so.
4416 ($(objpfx)libpcprofile.so): Likewise.
4417 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4418 libc_nonshared.a.
4419 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4420 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4421 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4422 $(link-libc-deps).
4423 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4424 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4425 * login/Makefile ($(objpfx)libutil.so): Likewise.
4426 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4427 * math/Makefile ($(objpfx)libm.so): Likewise.
4428 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4429 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4430 variable instead of depending directly on libc.
4431 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4432 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4433 $(link-libc-deps).
4434 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4435 libc.
4436 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4437 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4438 ($(objpfx)libanl.so): Likewise.
4439 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4440 ld.so.
4441 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4442 $(link-libc-deps).
4443 * sysdeps/i386/fpu/Makefile: Remove file.
4444 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4445 ($(objpfx)libm.so): Remove dependency on ld.so.
4446
eca5920c
PF
44472013-05-30 Patsy Franklin <pfrankli@redhat.com>
4448
4449 [BZ # 15553]
4450 * nis/yp_xdr.c (XDRMAXNAME): Define.
4451 (XDRMAXRECORD): Define.
4452 (xdr_domainname): Use XDRMAXNAME.
4453 (xdr_mapname): Likewise.
4454 (xdr_peername): Likewise.
4455 (xdr_keydat): Use XDRMAXRECORD.
4456 (xdr_valdat): Likewise.
4457
44582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4459
4460 [BZ #14256]
4461 * manual/errno.texi (ESTALE): Update to account for more than
4462 just NFS file systems.
4463 * sysdeps/gnu/errlist.c: Regenerated.
4464
b9375348
SP
44652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4466
4467 [BZ #15465]
4468 * elf/Makefile (tests): Add tst-null-argv.
4469 (modules-names): Add tst-null-argv-lib.
4470 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4471 (tst-null-argv-ENV): Set environment for tst-null-argv.
4472 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4473 (RTLD_PROGNAME): New macro.
4474 * elf/tst-null-argv.c: New test case.
4475 * elf/tst-null-argv-lib.c: Library for test case.
4476 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4477 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4478 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4479 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4480 * elf/dl-init.c (call_init): Likewise.
4481 (_dl_init): Likewise.
4482 * elf/dl-load.c (print_search_path): Likewise.
4483 (_dl_map_object): Likewise.
4484 * elf/dl-lookup.c (do_lookup_x): Likewise.
4485 (add_dependency): Likewise.
4486 (_dl_lookup_symbol_x): Likewise.
4487 (_dl_debug_bindings): Likewise.
4488 * elf/dl-open.c (_dl_show_scope): Likewise.
4489 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4490 * elf/dl-version.c (match_symbol): Likewise.
4491 (_dl_check_map_versions): Likewise.
4492 * elf/rtld.c (dl_main): Likewise.
4493 (print_unresolved): Use RTLD_PROGNAME.
4494 (print_missing_version): Likewise.
4495 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4496 (elf_machine_rela): Likewise.
4497 * sysdeps/powerpc/powerpc32/dl-machine.c
4498 (__process_machine_rela): Likewise.
4499 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4500 Likewise.
4501 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4502 Likewise.
4503 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4504 Likewise.
4505 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4506 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4507 Likewise.
4508 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4509 Likewise.
4510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4511
8a9f20c8
CD
45122013-05-28 Carlos O'Donell <carlos@redhat.com>
4513
4514 * po/be.po: Add descriptive title.
4515 * po/zh_CN.po: Likewise.
4516 * po/header.pot: Likewise.
4517
0e60d68e
MF
45182013-05-28 Mike Frysinger <vapier@gentoo.org>
4519
4520 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4521 error message.
4522 (enlarge_archive): Likewise.
4523
56b672e9
BN
45242013-05-28 Ben North <ben@redfrontdoor.org>
4525
4526 * manual/arith.texi (frexp): It is the magnitude of the return
4527 value which lies in [0.5, 1), not the return value itself.
4528
5e056687
AZ
45292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4530
4531 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4532
2b66ef5d
TS
45332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4534
528c2405
TS
4535 * stdio-common/bug26.c (main): Correct fscanf template.
4536
07b4c13d
TS
4537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4538 declare _dl_skip_args.
4539
ec9dd97c
TS
4540 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4541 Don't declare.
4542
2b66ef5d
TS
4543 * manual/platform.texi: Add missing @end deftypefun.
4544
4f8dfe27
JM
45452013-05-24 Joseph Myers <joseph@codesourcery.com>
4546
0323d086
JM
4547 [BZ #15529]
4548 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4549 bit of mantissa of 2^16382.
4550 * math/libm-test.inc (hypot_test_data): Add more tests.
4551
dd4259b9
JM
4552 * math/libm-test.inc: Add drem and pow10 to list of tested
4553 functions.
4554 (pow10_test): New function.
4555 (drem_test): Likewise.
4556 (drem_test_tonearest): Likewise.
4557 (drem_test_towardzero): Likewise.
4558 (drem_test_downward): Likewise.
4559 (drem_test_upward): Likewise.
4560 (main): Call the new functions.
4561
4f8dfe27
JM
4562 * math/libm-test.inc (finite_test_data): Remove.
4563 (finite_test): Run tests from isfinite_test_data.
4564 (gamma_test_data): Remove.
4565 (gamma_test): Run tests from lgamma_test_data.
4566 * sysdeps/i386/fpu/libm-test-ulps: Update.
4567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4568
d116b7c4
AZ
45692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4570
4571 * manual/platform.texi: Add PowerPC PPR function set documentation.
4572 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4573 implementation.
4574
e96e3767
CD
45752013-05-24 Carlos O'Donell <carlos@redhat.com>
4576
4577 * math/libm-test.inc (MAX_EXP): Define.
4578 (ULPDIFF): Define.
4579 (ulp): New function.
4580 (check_float_internal): Use ULPDIFF.
4581 (cpow_test): Disable failing test.
4582 (check_ulp): Test ulp() implemetnation.
4583 (main): Call check_ulp before starting tests.
4584
b679a606
JM
45852013-05-24 Joseph Myers <joseph@codesourcery.com>
4586
e8bdba36
JM
4587 * math/gen-libm-test.pl (generate_testfile): Do not handle
4588 START_DATA and END_DATA.
4589 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4590 END_DATA.
4591 (acos_tonearest_test_data): Likewise.
4592 (acos_towardzero_test_data): Likewise.
4593 (acos_downward_test_data): Likewise.
4594 (acos_upward_test_data): Likewise.
4595 (acosh_test_data): Likewise.
4596 (asin_test_data): Likewise.
4597 (asin_tonearest_test_data): Likewise.
4598 (asin_towardzero_test_data): Likewise.
4599 (asin_downward_test_data): Likewise.
4600 (asin_upward_test_data): Likewise.
4601 (asinh_test_data): Likewise.
4602 (atan_test_data): Likewise.
4603 (atanh_test_data): Likewise.
4604 (atan2_test_data): Likewise.
4605 (cabs_test_data): Likewise.
4606 (cacos_test_data): Likewise.
4607 (cacosh_test_data): Likewise.
4608 (carg_test_data): Likewise.
4609 (casin_test_data): Likewise.
4610 (casinh_test_data): Likewise.
4611 (catan_test_data): Likewise.
4612 (catanh_test_data): Likewise.
4613 (cbrt_test_data): Likewise.
4614 (ccos_test_data): Likewise.
4615 (ccosh_test_data): Likewise.
4616 (ceil_test_data): Likewise.
4617 (cexp_test_data): Likewise.
4618 (cimag_test_data): Likewise.
4619 (clog_test_data): Likewise.
4620 (clog10_test_data): Likewise.
4621 (conj_test_data): Likewise.
4622 (copysign_test_data): Likewise.
4623 (cos_test_data): Likewise.
4624 (cos_tonearest_test_data): Likewise.
4625 (cos_towardzero_test_data): Likewise.
4626 (cos_downward_test_data): Likewise.
4627 (cos_upward_test_data): Likewise.
4628 (cosh_test_data): Likewise.
4629 (cosh_tonearest_test_data): Likewise.
4630 (cosh_towardzero_test_data): Likewise.
4631 (cosh_downward_test_data): Likewise.
4632 (cosh_upward_test_data): Likewise.
4633 (cpow_test_data): Likewise.
4634 (cproj_test_data): Likewise.
4635 (creal_test_data): Likewise.
4636 (csin_test_data): Likewise.
4637 (csinh_test_data): Likewise.
4638 (csqrt_test_data): Likewise.
4639 (ctan_test_data): Likewise.
4640 (ctan_tonearest_test_data): Likewise.
4641 (ctan_towardzero_test_data): Likewise.
4642 (ctan_downward_test_data): Likewise.
4643 (ctan_upward_test_data): Likewise.
4644 (ctanh_test_data): Likewise.
4645 (ctanh_tonearest_test_data): Likewise.
4646 (ctanh_towardzero_test_data): Likewise.
4647 (ctanh_downward_test_data): Likewise.
4648 (ctanh_upward_test_data): Likewise.
4649 (erf_test_data): Likewise.
4650 (erfc_test_data): Likewise.
4651 (exp_test_data): Likewise.
4652 (exp_tonearest_test_data): Likewise.
4653 (exp_towardzero_test_data): Likewise.
4654 (exp_downward_test_data): Likewise.
4655 (exp_upward_test_data): Likewise.
4656 (exp10_test_data): Likewise.
4657 (exp2_test_data): Likewise.
4658 (expm1_test_data): Likewise.
4659 (fabs_test_data): Likewise.
4660 (fdim_test_data): Likewise.
4661 (finite_test_data): Likewise.
4662 (floor_test_data): Likewise.
4663 (fma_test_data): Likewise.
4664 (fma_towardzero_test_data): Likewise.
4665 (fma_downward_test_data): Likewise.
4666 (fma_upward_test_data): Likewise.
4667 (fmax_test_data): Likewise.
4668 (fmin_test_data): Likewise.
4669 (fmod_test_data): Likewise.
4670 (fpclassify_test_data): Likewise.
4671 (frexp_test_data): Likewise.
4672 (gamma_test_data): Likewise.
4673 (hypot_test_data): Likewise.
4674 (ilogb_test_data): Likewise.
4675 (isfinite_test_data): Likewise.
4676 (isgreater_test_data): Likewise.
4677 (isgreaterequal_test_data): Likewise.
4678 (isinf_test_data): Likewise.
4679 (isless_test_data): Likewise.
4680 (islessequal_test_data): Likewise.
4681 (islessgreater_test_data): Likewise.
4682 (isnan_test_data): Likewise.
4683 (isnormal_test_data): Likewise.
4684 (issignaling_test_data): Likewise.
4685 (isunordered_test_data): Likewise.
4686 (j0_test_data): Likewise.
4687 (j1_test_data): Likewise.
4688 (jn_test_data): Likewise.
4689 (ldexp_test_data): Likewise.
4690 (lgamma_test_data): Likewise.
4691 (lrint_test_data): Likewise.
4692 (lrint_tonearest_test_data): Likewise.
4693 (lrint_towardzero_test_data): Likewise.
4694 (lrint_downward_test_data): Likewise.
4695 (lrint_upward_test_data): Likewise.
4696 (llrint_test_data): Likewise.
4697 (llrint_tonearest_test_data): Likewise.
4698 (llrint_towardzero_test_data): Likewise.
4699 (llrint_downward_test_data): Likewise.
4700 (llrint_upward_test_data): Likewise.
4701 (log_test_data): Likewise.
4702 (log10_test_data): Likewise.
4703 (log1p_test_data): Likewise.
4704 (log2_test_data): Likewise.
4705 (logb_test_data): Likewise.
4706 (logb_downward_test_data): Likewise.
4707 (lround_test_data): Likewise.
4708 (llround_test_data): Likewise.
4709 (modf_test_data): Likewise.
4710 (nearbyint_test_data): Likewise.
4711 (nextafter_test_data): Likewise.
4712 (nexttoward_test_data): Likewise.
4713 (pow_test_data): Likewise.
4714 (pow_tonearest_test_data): Likewise.
4715 (pow_towardzero_test_data): Likewise.
4716 (pow_downward_test_data): Likewise.
4717 (pow_upward_test_data): Likewise.
4718 (remainder_test_data): Likewise.
4719 (remainder_tonearest_test_data): Likewise.
4720 (remainder_towardzero_test_data): Likewise.
4721 (remainder_downward_test_data): Likewise.
4722 (remainder_upward_test_data): Likewise.
4723 (remquo_test_data): Likewise.
4724 (rint_test_data): Likewise.
4725 (rint_tonearest_test_data): Likewise.
4726 (rint_towardzero_test_data): Likewise.
4727 (rint_downward_test_data): Likewise.
4728 (rint_upward_test_data): Likewise.
4729 (round_test_data): Likewise.
4730 (scalb_test_data): Likewise.
4731 (scalbn_test_data): Likewise.
4732 (scalbln_test_data): Likewise.
4733 (signbit_test_data): Likewise.
4734 (sin_test_data): Likewise.
4735 (sin_tonearest_test_data): Likewise.
4736 (sin_towardzero_test_data): Likewise.
4737 (sin_downward_test_data): Likewise.
4738 (sin_upward_test_data): Likewise.
4739 (sincos_test_data): Likewise.
4740 (sinh_test_data): Likewise.
4741 (sinh_tonearest_test_data): Likewise.
4742 (sinh_towardzero_test_data): Likewise.
4743 (sinh_downward_test_data): Likewise.
4744 (sinh_upward_test_data): Likewise.
4745 (sqrt_test_data): Likewise.
4746 (tan_test_data): Likewise.
4747 (tan_tonearest_test_data): Likewise.
4748 (tan_towardzero_test_data): Likewise.
4749 (tan_downward_test_data): Likewise.
4750 (tan_upward_test_data): Likewise.
4751 (tanh_test_data): Likewise.
4752 (tgamma_test_data): Likewise.
4753 (trunc_test_data): Likewise.
4754 (y0_test_data): Likewise.
4755 (y1_test_data): Likewise.
4756 (yn_test_data): Likewise.
4757 (significand_test_data): Likewise.
4758
b679a606
JM
4759 * math/gen-libm-test.pl (@functions): Remove variable.
4760 (generate_testfile): Don't handle START and END lines.
4761 * math/libm-test.inc (START): New macro.
4762 (END): Likewise.
4763 (END_COMPLEX): Likewise.
4764 (acos_test): Use END macro without arguments.
4765 (acos_test_tonearest): Likewise.
4766 (acos_test_towardzero): Likewise.
4767 (acos_test_downward): Likewise.
4768 (acos_test_upward): Likewise.
4769 (acosh_test): Likewise.
4770 (asin_test): Likewise.
4771 (asin_test_tonearest): Likewise.
4772 (asin_test_towardzero): Likewise.
4773 (asin_test_downward): Likewise.
4774 (asin_test_upward): Likewise.
4775 (asinh_test): Likewise.
4776 (atan_test): Likewise.
4777 (atanh_test): Likewise.
4778 (atan2_test): Likewise.
4779 (cabs_test): Likewise.
4780 (cacos_test): Use END_COMPLEX macro without arguments.
4781 (cacosh_test): Likewise.
4782 (carg_test): Use END macro without arguments.
4783 (casin_test): Use END_COMPLEX macro without arguments.
4784 (casinh_test): Likewise.
4785 (catan_test): Likewise.
4786 (catanh_test): Likewise.
4787 (cbrt_test): Use END macro without arguments.
4788 (ccos_test): Use END_COMPLEX macro without arguments.
4789 (ccosh_test): Likewise.
4790 (ceil_test): Use END macro without arguments.
4791 (cexp_test): Use END_COMPLEX macro without arguments.
4792 (cimag_test): Use END macro without arguments.
4793 (clog_test): Use END_COMPLEX macro without arguments.
4794 (clog10_test): Likewise.
4795 (conj_test): Likewise.
4796 (copysign_test): Use END macro without arguments.
4797 (cos_test): Likewise.
4798 (cos_test_tonearest): Likewise.
4799 (cos_test_towardzero): Likewise.
4800 (cos_test_downward): Likewise.
4801 (cos_test_upward): Likewise.
4802 (cosh_test): Likewise.
4803 (cosh_test_tonearest): Likewise.
4804 (cosh_test_towardzero): Likewise.
4805 (cosh_test_downward): Likewise.
4806 (cosh_test_upward): Likewise.
4807 (cpow_test): Use END_COMPLEX macro without arguments.
4808 (cproj_test): Likewise.
4809 (creal_test): Use END macro without arguments.
4810 (csin_test): Use END_COMPLEX macro without arguments.
4811 (csinh_test): Likewise.
4812 (csqrt_test): Likewise.
4813 (ctan_test): Likewise.
4814 (ctan_test_tonearest): Likewise.
4815 (ctan_test_towardzero): Likewise.
4816 (ctan_test_downward): Likewise.
4817 (ctan_test_upward): Likewise.
4818 (ctanh_test): Likewise.
4819 (ctanh_test_tonearest): Likewise.
4820 (ctanh_test_towardzero): Likewise.
4821 (ctanh_test_downward): Likewise.
4822 (ctanh_test_upward): Likewise.
4823 (erf_test): Use END macro without arguments.
4824 (erfc_test): Likewise.
4825 (exp_test): Likewise.
4826 (exp_test_tonearest): Likewise.
4827 (exp_test_towardzero): Likewise.
4828 (exp_test_downward): Likewise.
4829 (exp_test_upward): Likewise.
4830 (exp10_test): Likewise.
4831 (exp2_test): Likewise.
4832 (expm1_test): Likewise.
4833 (fabs_test): Likewise.
4834 (fdim_test): Likewise.
4835 (finite_test): Likewise.
4836 (floor_test): Likewise.
4837 (fma_test): Likewise.
4838 (fma_test_towardzero): Likewise.
4839 (fma_test_downward): Likewise.
4840 (fma_test_upward): Likewise.
4841 (fmax_test): Likewise.
4842 (fmin_test): Likewise.
4843 (fmod_test): Likewise.
4844 (fpclassify_test): Likewise.
4845 (frexp_test): Likewise.
4846 (gamma_test): Likewise.
4847 (hypot_test): Likewise.
4848 (ilogb_test): Likewise.
4849 (isfinite_test): Likewise.
4850 (isgreater_test): Likewise.
4851 (isgreaterequal_test): Likewise.
4852 (isinf_test): Likewise.
4853 (isless_test): Likewise.
4854 (islessequal_test): Likewise.
4855 (islessgreater_test): Likewise.
4856 (isnan_test): Likewise.
4857 (isnormal_test): Likewise.
4858 (issignaling_test): Likewise.
4859 (isunordered_test): Likewise.
4860 (j0_test): Likewise.
4861 (j1_test): Likewise.
4862 (jn_test): Likewise.
4863 (ldexp_test): Likewise.
4864 (lgamma_test): Likewise.
4865 (lrint_test): Likewise.
4866 (lrint_test_tonearest): Likewise.
4867 (lrint_test_towardzero): Likewise.
4868 (lrint_test_downward): Likewise.
4869 (lrint_test_upward): Likewise.
4870 (llrint_test): Likewise.
4871 (llrint_test_tonearest): Likewise.
4872 (llrint_test_towardzero): Likewise.
4873 (llrint_test_downward): Likewise.
4874 (llrint_test_upward): Likewise.
4875 (log_test): Likewise.
4876 (log10_test): Likewise.
4877 (log1p_test): Likewise.
4878 (log2_test): Likewise.
4879 (logb_test): Likewise.
4880 (logb_test_downward): Likewise.
4881 (lround_test): Likewise.
4882 (llround_test): Likewise.
4883 (modf_test): Likewise.
4884 (nearbyint_test): Likewise.
4885 (nextafter_test): Likewise.
4886 (nexttoward_test): Likewise.
4887 (pow_test): Likewise.
4888 (pow_test_tonearest): Likewise.
4889 (pow_test_towardzero): Likewise.
4890 (pow_test_downward): Likewise.
4891 (pow_test_upward): Likewise.
4892 (remainder_test): Likewise.
4893 (remainder_test_tonearest): Likewise.
4894 (remainder_test_towardzero): Likewise.
4895 (remainder_test_downward): Likewise.
4896 (remainder_test_upward): Likewise.
4897 (remquo_test): Likewise.
4898 (rint_test): Likewise.
4899 (rint_test_tonearest): Likewise.
4900 (rint_test_towardzero): Likewise.
4901 (rint_test_downward): Likewise.
4902 (rint_test_upward): Likewise.
4903 (round_test): Likewise.
4904 (scalb_test): Likewise.
4905 (scalbn_test): Likewise.
4906 (scalbln_test): Likewise.
4907 (signbit_test): Likewise.
4908 (sin_test): Likewise.
4909 (sin_test_tonearest): Likewise.
4910 (sin_test_towardzero): Likewise.
4911 (sin_test_downward): Likewise.
4912 (sin_test_upward): Likewise.
4913 (sincos_test): Likewise.
4914 (sinh_test): Likewise.
4915 (sinh_test_tonearest): Likewise.
4916 (sinh_test_towardzero): Likewise.
4917 (sinh_test_downward): Likewise.
4918 (sinh_test_upward): Likewise.
4919 (sqrt_test): Likewise.
4920 (tan_test): Likewise.
4921 (tan_test_tonearest): Likewise.
4922 (tan_test_towardzero): Likewise.
4923 (tan_test_downward): Likewise.
4924 (tan_test_upward): Likewise.
4925 (tanh_test): Likewise.
4926 (tgamma_test): Likewise.
4927 (trunc_test): Likewise.
4928 (y0_test): Likewise.
4929 (y1_test): Likewise.
4930 (yn_test): Likewise.
4931 (significand_test): Likewise.
4932
bae143d2
OB
49332013-05-24 Ondřej Bílka <neleai@seznam.cz>
4934
4935 [BZ #15381]
4936 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4937
9323d39b
EM
49382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4939
d4ea44a0 4940 [BZ #14894]
9323d39b
EM
4941 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4942 __ppc_mdoio and __ppc_mdoom.
4943 * manual/platform.texi: Document new functions __ppc_yield,
4944 __ppc_mdoio and __ppc_mdoom.
4945
13e23af7
CD
49462013-05-22 Carlos O'Donell <carlos@redhat.com>
4947
4948 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4949 (main): Mention "tls" pseudo-hwcap is legacy.
4950 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4951
351fe550
JM
49522013-05-22 Joseph Myers <joseph@codesourcery.com>
4953
4954 * math/gen-libm-test.pl (parse_args): Output only string of
4955 arguments as text for test name, not full call or descriptions of
4956 tests for extra outputs.
4957 (generate_testfile): Do not pass function name to parse_args.
4958 Generate this_func variable from START.
4959 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4960 field to arg_str.
4961 (struct test_ff_f_data): Likewise.
4962 (test_ff_f_data_nexttoward): Likewise.
4963 (struct test_fi_f_data): Likewise.
4964 (struct test_fl_f_data): Likewise.
4965 (struct test_if_f_data): Likewise.
4966 (struct test_fff_f_data): Likewise.
4967 (struct test_c_f_data): Likewise.
4968 (struct test_f_f1_data): Likewise. Remove field extra_name.
4969 (struct test_fF_f1_data): Likewise.
4970 (struct test_ffI_f1_data): Likewise.
4971 (struct test_c_c_data): Rename test_name field to arg_str.
4972 (struct test_cc_c_data): Likewise.
4973 (struct test_f_i_data): Likewise.
4974 (struct test_ff_i_data): Likewise.
4975 (struct test_f_l_data): Likewise.
4976 (struct test_f_L_data): Likewise.
4977 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4978 and extra2_name.
4979 (COMMON_TEST_SETUP): New macro.
4980 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4981 (COMMON_TEST_CLEANUP): Likewise.
4982 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4983 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4984 macros.
4985 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4986 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4987 macros.
4988 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4989 (RUN_TEST_fff_f): Take argument string. Call new setup and
4990 cleanup macros.
4991 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4992 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4993 macros.
4994 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4995 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4996 macros.
4997 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4998 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4999 cleanup macros.
5000 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5001 (RUN_TEST_fI_f1): Take argument string. Call new setup and
5002 cleanup macros.
5003 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5004 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
5005 cleanup macros.
5006 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5007 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
5008 macros.
5009 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
5010 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
5011 macros.
5012 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
5013 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
5014 macros.
5015 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
5016 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
5017 cleanup macros.
5018 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
5019 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
5020 cleanup macros.
5021 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
5022 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
5023 macros.
5024 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
5025 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
5026 cleanup macros.
5027 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
5028 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
5029 macros.
5030 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
5031 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
5032 macros.
5033 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
5034 (RUN_TEST_fFF_11): Take argument string. Call new setup and
5035 cleanup macros.
5036 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
5037
85118d4d
EBM
50382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5039
5040 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
5041 to _sifields.sigfault.
5042 (si_addr_lsb): Define new macro.
5043 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5044 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5045 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
5046
7a44c18f
CD
50472013-05-03 Carlos O'Donell <carlos at redhat.com>
5048
5049 [BZ #15441]
5050 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
5051 returns -1.
5052 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
5053 null return -1.
5054 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
5055 loading the domain.
5056
b50a7181
JM
50572013-05-22 Joseph Myers <joseph@codesourcery.com>
5058
5059 * math/gen-libm-test.pl (parse_args): Do not include expected
5060 result in test name.
5061 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
5062 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5063 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5064 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5065 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5067
051063c8
SP
50682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
5069
3ce9e010
SP
5070 * benchtests/Makefile: Sort function entries.
5071
051063c8
SP
5072 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
5073 tanh, asinh, acosh, atanh.
5074 * benchtests/acos-inputs: New file.
5075 * benchtests/acosh-inputs: New file.
5076 * benchtests/asin-inputs: New file.
5077 * benchtests/asinh-inputs: New file.
5078 * benchtests/atanh-inputs: New file.
5079 * benchtests/cosh-inputs: New file.
5080 * benchtests/log-inputs: New file.
5081 * benchtests/sinh-inputs: New file.
5082 * benchtests/tanh-inputs: New file.
5083
47c22455
DL
50842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
5085
5086 [BZ #15339]
5087 * posix/tst-getaddrinfo4.c: New test.
5088 * posix/Makefile (tests): Add it.
5089
3d04f5db
SP
50902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5091
5092 [BZ #15339]
5093 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
5094 when no services were used.
5095 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
5096 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
5097
d5dd6189
AS
50982013-05-21 Andreas Schwab <schwab@suse.de>
5099
5100 [BZ #15014]
5101 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
5102 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
5103 successful.
5104 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
5105 redundant variable declarations and reallocation of buffer when
5106 parsing as IPv6 address. Always set NSS status when called from
5107 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
5108 buffer too small. Correct computation of needed size.
5109 * nss/Makefile (tests): Add test-digits-dots.
5110 * nss/test-digits-dots.c: New test.
5111
fef94eab
SP
51122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5113
5114 * benchtests/Makefile: Remove instructions for adding
5115 benchmark tests.
5116 * benchtests/README: New file to explain how to execute and
5117 enhance the benchmark tests.
5118
e39adf43
AS
51192013-05-21 Andreas Schwab <schwab@suse.de>
5120
5121 [BZ #15493]
5122 * setjmp/Makefile (tests): Add tst-sigsetjmp.
5123 * setjmp/tst-sigsetjmp.c: New test.
5124
b2b671b6
OB
51252013-05-20 Ondřej Bílka <neleai@seznam.cz>
5126
5127 * sysdeps/x86_64/memset.S (memset): New implementation.
5128 (__bzero): Likewise.
5129 (__memset_tail): New function.
5130
2d48b41c
OB
51312013-05-20 Ondřej Bílka <neleai@seznam.cz>
5132
5133 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
5134 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
5135 __memcpy_sse2_unaligned ifunc selection.
5136 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5137 Add memcpy-sse2-unaligned.S.
5138 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5139 Add: __memcpy_sse2_unaligned.
5140
f16cc3eb
JM
51412013-05-19 Joseph Myers <joseph@codesourcery.com>
5142
3e694268
JM
5143 [BZ #15490]
5144 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
5145 math_force_eval before restoring floating-point envrionment.
5146 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
5147 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
5148 Likewise.
5149 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
5150 <math_private.h>.
5151 (__nearbyintl): Use math_force_eval before restoring
5152 floating-point environment.
5153 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
5154
db62a907
JM
5155 * math/gen-libm-test.pl (special_functions): Remove.
5156 (parse_args): Don't handle TEST_extra. Handle functions with no
5157 return value.
5158 * math/libm-test.inc (struct test_sincos_data): Replace with
5159 struct test_fFF_11_data.
5160 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
5161 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
5162 (sincos_test_data): Change element type to struct
5163 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
5164 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
5165 RUN_TEST_LOOP_sincos.
5166 * math/README.libm-test: Don't mention special handling of
5167 individual functions.
5168 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
5169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5170 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
5171 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5172 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
5173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5174
f16cc3eb
JM
5175 * math/gen-libm-test.pl (get_variable): Remove function.
5176 (parse_args): Don't show pointer parameters to call in test
5177 names. Use "extra output N" in test names for extra outputs
5178 rather than naming variables.
5179
3779b5b6
JM
51802013-05-18 Joseph Myers <joseph@codesourcery.com>
5181
2ee094ff
JM
5182 [BZ #15488]
5183 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
5184 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
5185 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
5186 double tests.
5187 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
5188 disable.
5189 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
5190 check_long_double.
5191
3779b5b6
JM
5192 * math/gen-libm-test.pl (@tests): Remove variable.
5193 ($count): Likewise.
5194 (new_test): Remove function.
5195 (show_exceptions): New function.
5196 (special_functions): Use show_exceptions instead of new_test.
5197 (parse_args): Likewise.
5198 (generate_testfile): Pass only function name in generated call to
5199 print_max_error or print_complex_max_error.
5200 (get_ulps): Do not handle complex tests specially.
5201 (output_test): Rename to ...
5202 (get_all_ulps_for_test): ... this. Return a string rather than
5203 printing to a file. Require ulps to be present.
5204 (output_ulps): Generate arrays rather than #defines.
5205 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
5206 (struct ulp_data): New type.
5207 (BUILD_COMPLEX_ULP): Remove macro.
5208 (compare_ulp_data): New function.
5209 (find_ulps): Likewise.
5210 (find_test_ulps): Likewise.
5211 (find_function_ulps): Likewise.
5212 (find_complex_function_ulps): Likewise.
5213 (print_max_error): Determine allowed ulps using
5214 find_function_ulps.
5215 (print_complex_max_error): Determine allowed ulps using
5216 find_complex_function_ulps.
5217 (check_float_internal): Determine max ulps using find_test_ulps.
5218 (check_float): Do not take max_ulp parameter. Update call to
5219 check_float_internal.
5220 (check_complex): Likewise.
5221 (check_int): Do not take max_ulp parameter.
5222 (check_long): Likewise.
5223 (check_bool): Likewise.
5224 (check_longlong): Likewise.
5225 (struct test_f_f_data): Remove max_ulp field.
5226 (struct test_ff_f_data): Likewise.
5227 (struct test_ff_f_data_nexttoward): Likewise.
5228 (struct test_fi_f_data): Likewise.
5229 (struct test_fl_f_data): Likewise.
5230 (struct test_if_f_data): Likewise.
5231 (struct test_fff_f_data): Likewise.
5232 (struct test_c_f_data): Likewise.
5233 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
5234 (struct test_fF_f1_data): Likewise.
5235 (struct test_ffI_f1_data): Likewise.
5236 (struct test_c_c_data): Remove max_ulp field.
5237 (struct test_cc_c_data): Likewise.
5238 (struct test_f_i_data): Likewise.
5239 (struct test_ff_i_data): Likewise.
5240 (struct test_f_l_data): Likewise.
5241 (struct test_f_L_data): Likewise.
5242 (struct test_sincos_data): Likewise.
5243 (RUN_TEST_f_f): Do not handle ulps.
5244 (RUN_TEST_LOOP_f_f): Likewise.
5245 (RUN_TEST_2_f): Likewise.
5246 (RUN_TEST_LOOP_2_f): Likewise.
5247 (RUN_TEST_fff_f): Likewise.
5248 (RUN_TEST_LOOP_fff_f): Likewise.
5249 (RUN_TEST_c_f): Likewise.
5250 (RUN_TEST_LOOP_c_f): Likewise.
5251 (RUN_TEST_f_f1): Likewise.
5252 (RUN_TEST_LOOP_f_f1): Likewise.
5253 (RUN_TEST_fF_f1): Likewise.
5254 (RUN_TEST_LOOP_fF_f1): Likewise.
5255 (RUN_TEST_fI_f1): Likewise.
5256 (RUN_TEST_LOOP_fI_f1): Likewise.
5257 (RUN_TEST_ffI_f1): Likewise.
5258 (RUN_TEST_LOOP_ffI_f1): Likewise.
5259 (RUN_TEST_c_c): Likewise.
5260 (RUN_TEST_LOOP_c_c): Likewise.
5261 (RUN_TEST_cc_c): Likewise.
5262 (RUN_TEST_LOOP_cc_c): Likewise.
5263 (RUN_TEST_f_i): Likewise.
5264 (RUN_TEST_LOOP_f_i): Likewise.
5265 (RUN_TEST_f_i_tg): Likewise.
5266 (RUN_TEST_LOOP_f_i_tg): Likewise.
5267 (RUN_TEST_ff_i_tg): Likewise.
5268 (RUN_TEST_LOOP_ff_i_tg): Likewise.
5269 (RUN_TEST_f_b): Likewise.
5270 (RUN_TEST_LOOP_f_b): Likewise.
5271 (RUN_TEST_f_b_tg): Likewise.
5272 (RUN_TEST_LOOP_f_b_tg): Likewise.
5273 (RUN_TEST_f_l): Likewise.
5274 (RUN_TEST_LOOP_f_l): Likewise.
5275 (RUN_TEST_f_L): Likewise.
5276 (RUN_TEST_LOOP_f_L): Likewise.
5277 (RUN_TEST_sincos): Likewise.
5278 (RUN_TEST_LOOP_sincos): Likewise.
5279
8269107f
JM
52802013-05-17 Joseph Myers <joseph@codesourcery.com>
5281
bb38759d
JM
5282 [BZ #15480]
5283 [BZ #15485]
5284 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5285 main case of finite arguments, set rounding mode to FE_TONEAREST
5286 and discard exceptions.
5287 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5288 exceptions.
5289 (remainder_tonearest_test_data): New variable.
5290 (remainder_test_tonearest): New function.
5291 (remainder_towardzero_test_data): New variable.
5292 (remainder_test_towardzero): New function.
5293 (remainder_downward_test_data): New variable.
5294 (remainder_test_downward): New function.
5295 (remainder_upward_test_data): New variable.
5296 (remainder_test_upward): New function.
5297 (main): Call the new test functions.
5298
a00bdcf0
JM
5299 * math/libm-test.inc (struct test_f_f1_data): Remove field
5300 extra_init.
5301 (struct test_fF_f1_data): Likewise.
5302 (struct test_ffI_f1_data): Likewise.
5303 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5304 based on value of EXTRA_EXPECTED.
5305 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5306 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5307 EXTRA_VAR based on value of EXTRA_EXPECTED.
5308 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5309 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5310 EXTRA_VAR based on value of EXTRA_EXPECTED.
5311 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5312 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5313 EXTRA_VAR based on value of EXTRA_EXPECTED.
5314 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5315 * math/gen-libm-test.pl (parse_args): Don't output initializers
5316 for extra output values.
5317
de407f79
JM
5318 * math/libm-test.inc (check_int): Expect result to be exactly
5319 equal to expected value and do not handle ulps.
5320 (check_long): Likewise.
5321 (check_longlong): Likewise.
5322
8269107f
JM
5323 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5324 exceptions.
5325 (cimag_test_data): Likewise.
5326 (conj_test_data): Likewise.
5327 (copysign_test_data): Likewise.
5328 (cproj_test_data): Likewise.
5329 (creal_test_data): Likewise.
5330 (fabs_test_data): Likewise.
5331 (fdim_test_data): Likewise.
5332 (finite_test_data): Likewise.
5333 (floor_test_data): Likewise.
5334 (fmax_test_data): Likewise.
5335 (fmin_test_data): Likewise.
5336 (fmod_test_data): Likewise.
5337 (fpclassify_test_data): Likewise.
5338 (frexp_test_data): Likewise.
5339 (ilogb_test_data): Likewise.
5340 (isfinite_test_data): Likewise.
5341 (isgreater_test_data): Likewise.
5342 (isgreaterequal_test_data): Likewise.
5343 (isinf_test_data): Likewise.
5344 (isless_test_data): Likewise.
5345 (islessequal_test_data): Likewise.
5346 (islessgreater_test_data): Likewise.
5347 (isnan_test_data): Likewise.
5348 (isnormal_test_data): Likewise.
5349 (issignaling_test_data): Likewise.
5350 (isunordered_test_data): Likewise.
5351 (ldexp_test_data): Likewise.
5352 (lrint_test_data): Likewise.
5353 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5354 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5355 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5356 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5357 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5358 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5359 test input.
5360 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5361 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5362 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5363 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5364 that test input.
5365 (lrint_downward_test_data): Test for "inexact" exceptions.
5366 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5367 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5368 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5369 test input.
5370 (lrint_upward_test_data): Test for "inexact" exceptions.
5371 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5372 test input.
5373 (llrint_test_data): Test for "inexact" exceptions.
5374 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5375 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5376 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5377 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5378 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5379 (llrint_downward_test_data): Test for "inexact" exceptions.
5380 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5381 (llrint_upward_test_data): Test for "inexact" exceptions.
5382 (logb_test_data): Likewise.
5383 (logb_downward_test_data): Likewise.
5384 (nextafter_test_data): Likewise.
5385 (nexttoward_test_data): Likewise.
5386 (remainder_test_data): Likewise.
5387 (remquo_test_data): Likewise.
5388 (scalbn_test_data): Likewise.
5389 (scalbln_test_data): Likewise.
5390 (signbit_test_data): Likewise.
5391 (sqrt_test_data): Likewise.
5392 (significand_test_data): Likewise.
5393
48a18de1
SP
53942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5395
5396 [BZ #15424]
5397 * benchtests/bench-modf.c (struct args): Mark arg0 as
5398 volatile.
5399 * scripts/bench.pl: Mark members of struct args as volatile.
5400
13d3b41a
AZ
54012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5402
68191c1d 5403 [BZ # 15497]
13d3b41a
AZ
5404 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5405 negative infinity on POWER6 or lower.
5406 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5407
2848b105
MR
54082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5409
5410 [BZ #15442]
5411 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5412 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5413 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5414 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5415 (_FP_SETQNAN): New macro.
5416 (_FP_SETQNAN_SEMIRAW): Likewise.
5417 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5418 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5419 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5420 (FP_EXTEND): Use _FP_FRAC_SNANP.
5421 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5422 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5423 into account.
5424 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5425 New macro.
5426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5427 Likewise.
5428
323e5cb7
JM
54292013-05-16 Joseph Myers <joseph@codesourcery.com>
5430
c58b274f
JM
5431 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5432 with DIVIDE_BY_ZERO_EXCEPTION.
5433 (gamma_test_data): Likewise.
5434 (lgamma_test_data): Likewise.
5435 (log_test_data): Likewise.
5436 (log10_test_data): Likewise.
5437 (log2_test_data): Likewise.
5438 (tgamma_test_data): Likewise.
5439
0ab34904
JM
5440 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5441 (acos_test_tonearest): Likewise.
5442 (acos_test_towardzero): Likewise.
5443 (acos_test_downward): Likewise.
5444 (acos_test_upward): Likewise.
5445 (acosh_test): Likewise.
5446 (asin_test): Likewise.
5447 (asin_test_tonearest): Likewise.
5448 (asin_test_towardzero): Likewise.
5449 (asin_test_downward): Likewise.
5450 (asin_test_upward): Likewise.
5451 (asinh_test): Likewise.
5452 (atan_test): Likewise.
5453 (atanh_test): Likewise.
5454 (atan2_test): Likewise.
5455 (cabs_test): Likewise.
5456 (cacos_test): Likewise.
5457 (cacosh_test): Likewise.
5458 (casin_test): Likewise.
5459 (casinh_test): Likewise.
5460 (catan_test): Likewise.
5461 (catanh_test): Likewise.
5462 (cbrt_test): Likewise.
5463 (ccos_test): Likewise.
5464 (ccosh_test): Likewise.
5465 (cexp_test): Likewise.
5466 (clog_test): Likewise.
5467 (clog10_test): Likewise.
5468 (cos_test): Likewise.
5469 (cos_test_tonearest): Likewise.
5470 (cos_test_towardzero): Likewise.
5471 (cos_test_downward): Likewise.
5472 (cos_test_upward): Likewise.
5473 (cosh_test): Likewise.
5474 (cosh_test_tonearest): Likewise.
5475 (cosh_test_towardzero): Likewise.
5476 (cosh_test_downward): Likewise.
5477 (cosh_test_upward): Likewise.
5478 (cpow_test): Likewise.
5479 (csin_test): Likewise.
5480 (csinh_test): Likewise.
5481 (csqrt_test): Likewise.
5482 (ctan_test): Likewise.
5483 (ctan_test_tonearest): Likewise.
5484 (ctan_test_towardzero): Likewise.
5485 (ctan_test_downward): Likewise.
5486 (ctan_test_upward): Likewise.
5487 (ctanh_test): Likewise.
5488 (ctanh_test_tonearest): Likewise.
5489 (ctanh_test_towardzero): Likewise.
5490 (ctanh_test_downward): Likewise.
5491 (ctanh_test_upward): Likewise.
5492 (erf_test): Likewise.
5493 (erfc_test): Likewise.
5494 (exp_test): Likewise.
5495 (exp_test_tonearest): Likewise.
5496 (exp_test_towardzero): Likewise.
5497 (exp_test_downward): Likewise.
5498 (exp_test_upward): Likewise.
5499 (exp10_test): Likewise.
5500 (exp2_test): Likewise.
5501 (expm1_test): Likewise.
5502 (fmod_test): Likewise.
5503 (gamma_test): Likewise.
5504 (hypot_test): Likewise.
5505 (j0_test): Likewise.
5506 (j1_test): Likewise.
5507 (jn_test): Likewise.
5508 (lgamma_test): Likewise.
5509 (log_test): Likewise.
5510 (log10_test): Likewise.
5511 (log1p_test): Likewise.
5512 (log2_test): Likewise.
5513 (logb_test_downward): Likewise.
5514 (pow_test): Likewise.
5515 (pow_test_tonearest): Likewise.
5516 (pow_test_towardzero): Likewise.
5517 (pow_test_downward): Likewise.
5518 (pow_test_upward): Likewise.
5519 (remainder_test): Likewise.
5520 (remquo_test): Likewise.
5521 (sin_test): Likewise.
5522 (sin_test_tonearest): Likewise.
5523 (sin_test_towardzero): Likewise.
5524 (sin_test_downward): Likewise.
5525 (sin_test_upward): Likewise.
5526 (sincos_test): Likewise.
5527 (sinh_test): Likewise.
5528 (sinh_test_tonearest): Likewise.
5529 (sinh_test_towardzero): Likewise.
5530 (sinh_test_downward): Likewise.
5531 (sinh_test_upward): Likewise.
5532 (sqrt_test): Likewise.
5533 (tan_test): Likewise.
5534 (tan_test_tonearest): Likewise.
5535 (tan_test_towardzero): Likewise.
5536 (tan_test_downward): Likewise.
5537 (tan_test_upward): Likewise.
5538 (tanh_test): Likewise.
5539 (tgamma_test): Likewise.
5540 (y0_test): Likewise.
5541 (y1_test): Likewise.
5542 (yn_test): Likewise.
5543
323e5cb7
JM
5544 * math/gen-libm-test.pl (adjust_arg): Remove function.
5545 (special_function): Remove argument $in_func. Only handle
5546 generating output for tables of tests, not inside functions.
5547 (parse_args): Likewise.
5548 (generate_testfile): Remove variable $in_func. Update call to
5549 parse_args.
5550 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5551 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5552 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5553 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5554 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5555 (MAX_VALUE_INIT): Rename macro to max_value.
5556 (MIN_VALUE_INIT): Rename macro to min_value.
5557 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5558 (plus_zero): Remove variable.
5559 (minus_zero): Likewise.
5560 (plus_infty): Likewise.
5561 (minus_infty): Likewise.
5562 (qnan_value): Likewise.
5563 (max_value): Likewise.
5564 (min_value): Likewise.
5565 (min_subnorm_value): Likewise.
5566
e054f494
RA
55672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5568
5569 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5570 uint64_t or uint32_t usage.
5571 * crypt/sha256-block.c: Likewise.
5572 * crypt/sha256-crypt.c: Likewise.
5573 * crypt/sha256.c: Likewise.
5574 * crypt/sha512-block.c: Likewise.
5575 * crypt/sha512-crypt.c: Likewise.
5576 * crypt/sha512.c: Likewise.
5577 * debug/backtrace-tst.c: Likewise.
5578 * debug/pcprofiledump.c: Likewise.
5579 * elf/cache.c: Likewise.
5580 * elf/dl-cache.c: Likewise.
5581 * elf/dl-misc.c: Likewise.
5582 * elf/dl-profile.c: Likewise.
5583 * elf/dl-support.c: Likewise.
5584 * elf/ldconfig.c: Likewise.
5585 * elf/sprof.c: Likewise.
5586 * iconv/dummy-repertoire.c: Likewise.
5587 * iconv/iconv_charmap.c: Likewise.
5588 * iconv/skeleton.c: Likewise.
5589 * iconvdata/8bit-generic.c: Likewise.
5590 * iconvdata/cp737.h: Likewise.
5591 * iconvdata/cp775.h: Likewise.
5592 * iconvdata/ibm1008.h: Likewise.
5593 * iconvdata/ibm1025.h: Likewise.
5594 * iconvdata/ibm1046.h: Likewise.
5595 * iconvdata/ibm1097.h: Likewise.
5596 * iconvdata/ibm1112.h: Likewise.
5597 * iconvdata/ibm1122.h: Likewise.
5598 * iconvdata/ibm1123.h: Likewise.
5599 * iconvdata/ibm1124.h: Likewise.
5600 * iconvdata/ibm1129.h: Likewise.
5601 * iconvdata/ibm1130.h: Likewise.
5602 * iconvdata/ibm1132.h: Likewise.
5603 * iconvdata/ibm1133.h: Likewise.
5604 * iconvdata/ibm1137.h: Likewise.
5605 * iconvdata/ibm1140.h: Likewise.
5606 * iconvdata/ibm1141.h: Likewise.
5607 * iconvdata/ibm1142.h: Likewise.
5608 * iconvdata/ibm1143.h: Likewise.
5609 * iconvdata/ibm1144.h: Likewise.
5610 * iconvdata/ibm1145.h: Likewise.
5611 * iconvdata/ibm1146.h: Likewise.
5612 * iconvdata/ibm1147.h: Likewise.
5613 * iconvdata/ibm1148.h: Likewise.
5614 * iconvdata/ibm1149.h: Likewise.
5615 * iconvdata/ibm1153.h: Likewise.
5616 * iconvdata/ibm1154.h: Likewise.
5617 * iconvdata/ibm1155.h: Likewise.
5618 * iconvdata/ibm1156.h: Likewise.
5619 * iconvdata/ibm1157.h: Likewise.
5620 * iconvdata/ibm1158.h: Likewise.
5621 * iconvdata/ibm1160.h: Likewise.
5622 * iconvdata/ibm1161.h: Likewise.
5623 * iconvdata/ibm1162.h: Likewise.
5624 * iconvdata/ibm1163.h: Likewise.
5625 * iconvdata/ibm1164.h: Likewise.
5626 * iconvdata/ibm1166.h: Likewise.
5627 * iconvdata/ibm1167.h: Likewise.
5628 * iconvdata/ibm12712.h: Likewise.
5629 * iconvdata/ibm1390.h: Likewise.
5630 * iconvdata/ibm1399.h: Likewise.
5631 * iconvdata/ibm16804.h: Likewise.
5632 * iconvdata/ibm4517.h: Likewise.
5633 * iconvdata/ibm4899.h: Likewise.
5634 * iconvdata/ibm4909.h: Likewise.
5635 * iconvdata/ibm4971.h: Likewise.
5636 * iconvdata/ibm5347.h: Likewise.
5637 * iconvdata/ibm803.h: Likewise.
5638 * iconvdata/ibm856.h: Likewise.
5639 * iconvdata/ibm901.h: Likewise.
5640 * iconvdata/ibm902.h: Likewise.
5641 * iconvdata/ibm9030.h: Likewise.
5642 * iconvdata/ibm9066.h: Likewise.
5643 * iconvdata/ibm921.h: Likewise.
5644 * iconvdata/ibm922.h: Likewise.
5645 * iconvdata/ibm9448.h: Likewise.
5646 * iconvdata/isiri-3342.h: Likewise.
5647 * iconvdata/jis0201.h: Likewise.
5648 * include/link.h: Likewise.
5649 * include/netdb.h: Likewise.
5650 * inet/check_native.c: Likewise.
5651 * inet/check_pf.c: Likewise.
5652 * inet/getipv4sourcefilter.c: Likewise.
5653 * inet/getnameinfo.c: Likewise.
5654 * inet/getsourcefilter.c: Likewise.
5655 * inet/htonl.c: Likewise.
5656 * inet/setipv4sourcefilter.c: Likewise.
5657 * inet/setsourcefilter.c: Likewise.
5658 * inet/test-inet6_opt.c: Likewise.
5659 * inet/tst-network.c: Likewise.
5660 * locale/C-collate.c: Likewise.
5661 * locale/C-ctype.c: Likewise.
5662 * locale/C-time.c: Likewise.
5663 * locale/C-translit.h: Likewise.
5664 * locale/loadarchive.c: Likewise.
5665 * locale/programs/3level.h: Likewise.
5666 * locale/programs/charmap.c: Likewise.
5667 * locale/programs/charmap.h: Likewise.
5668 * locale/programs/ld-address.c: Likewise.
5669 * locale/programs/ld-collate.c: Likewise.
5670 * locale/programs/ld-ctype.c: Likewise.
5671 * locale/programs/ld-identification.c: Likewise.
5672 * locale/programs/ld-measurement.c: Likewise.
5673 * locale/programs/ld-messages.c: Likewise.
5674 * locale/programs/ld-monetary.c: Likewise.
5675 * locale/programs/ld-name.c: Likewise.
5676 * locale/programs/ld-numeric.c: Likewise.
5677 * locale/programs/ld-paper.c: Likewise.
5678 * locale/programs/ld-telephone.c: Likewise.
5679 * locale/programs/ld-time.c: Likewise.
5680 * locale/programs/linereader.c: Likewise.
5681 * locale/programs/locale.c: Likewise.
5682 * locale/programs/locarchive.c: Likewise.
5683 * locale/programs/locfile.h: Likewise.
5684 * locale/programs/repertoire.c: Likewise.
5685 * locale/programs/simple-hash.c: Likewise.
5686 * locale/programs/simple-hash.h: Likewise.
5687 * malloc/memusage.c: Likewise.
5688 * malloc/memusagestat.c: Likewise.
5689 * nis/nis_defaults.c: Likewise.
5690 * nis/nis_hash.c: Likewise.
5691 * nis/nis_print.c: Likewise.
5692 * nis/nis_xdr.c: Likewise.
5693 * nscd/connections.c: Likewise.
5694 * nscd/hstcache.c: Likewise.
5695 * nscd/nscd_gethst_r.c: Likewise.
5696 * nscd/nscd_getserv_r.c: Likewise.
5697 * nscd/nscd_helper.c: Likewise.
5698 * nscd/servicescache.c: Likewise.
5699 * nss/makedb.c: Likewise.
5700 * nss/nss_db/db-XXX.c: Likewise.
5701 * nss/nss_db/db-initgroups.c: Likewise.
5702 * nss/nss_db/db-netgrp.c: Likewise.
5703 * nss/nss_files/files-network.c: Likewise.
5704 * nss/nss_files/files-parse.c: Likewise.
5705 * posix/bug-regex5.c: Likewise.
5706 * posix/fnmatch_loop.c: Likewise.
5707 * posix/regcomp.c: Likewise.
5708 * posix/regexec.c: Likewise.
5709 * posix/tst-rfc3484-2.c: Likewise.
5710 * posix/tst-rfc3484-3.c: Likewise.
5711 * posix/tst-rfc3484.c: Likewise.
5712 * resolv/nss_dns/dns-canon.c: Likewise.
5713 * resolv/nss_dns/dns-network.c: Likewise.
5714 * resolv/res_init.c: Likewise.
5715 * resolv/res_mkquery.c: Likewise.
5716 * resolv/tst-aton.c: Likewise.
5717 * stdlib/cxa_atexit.c: Likewise.
5718 * stdlib/cxa_finalize.c: Likewise.
5719 * stdlib/gen-fpioconst.c: Likewise.
5720 * stdlib/strtol_l.c: Likewise.
5721 * string/tst-endian.c: Likewise.
5722 * sunrpc/auth_des.c: Likewise.
5723 * sunrpc/clnt_udp.c: Likewise.
5724 * sunrpc/rtime.c: Likewise.
5725 * sunrpc/svcauth_des.c: Likewise.
5726 * sunrpc/xdr.c: Likewise.
5727 * sunrpc/xdr_intXX_t.c: Likewise.
5728 * sunrpc/xdr_rec.c: Likewise.
5729 * sysdeps/generic/ldconfig.h: Likewise.
5730 * sysdeps/generic/ldsodefs.h: Likewise.
5731 * sysdeps/generic/memusage.h: Likewise.
5732 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5733 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5734 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5735 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5736 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5737 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5738 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5739 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5740 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5742 * sysdeps/posix/getaddrinfo.c: Likewise.
5743 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5744 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5745 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5746 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5747 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5748 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5749 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5750 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5751 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5752 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5753 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5754 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5755 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5756 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5757 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5758 * sysdeps/x86_64/dl-tls.h: Likewise.
5759 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5760 * time/alt_digit.c: Likewise.
5761 * time/era.c: Likewise.
5762 * wcsmbs/tst-c16c32-1.c: Likewise.
5763
8c75f674
JM
57642013-05-16 Joseph Myers <joseph@codesourcery.com>
5765
5766 * math/libm-test.inc (struct test_sincos_data): New type.
5767 (RUN_TEST_LOOP_sincos): New macro.
5768 (sincos_test_data): New variable.
5769 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5770
e6e49e59
RH
57712013-05-16 Richard Henderson <rth@redhat.com>
5772
5773 * math/atest-exp2.c (LIMB64): New macro.
5774 (CONSTSZ): New macro.
5775 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5776 (hexdig): Move ...
5777 (print_mpn_fp): ... to function scope.
5778 (read_mpn_hex): Remove.
5779 (get_log2): Remove.
5780 (exp2_mpn): Use mp_log2.
5781 (main): Use mp_exp1.
5782
15c7c18d
JM
57832013-05-16 Joseph Myers <joseph@codesourcery.com>
5784
105a07df
JM
5785 * math/libm-test.inc: Remove comment about not testing "inexact"
5786 exceptions.
5787 (INEXACT_EXCEPTION): New macro.
5788 (NO_INEXACT_EXCEPTION): Likewise.
5789 (INVALID_EXCEPTION_OK): Update value.
5790 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5791 (OVERFLOW_EXCEPTION_OK): Likewise.
5792 (UNDERFLOW_EXCEPTION_OK): Likewise.
5793 (IGNORE_ZERO_INF_SIGN): Likewise.
5794 (ERRNO_UNCHANGED): Likewise.
5795 (ERRNO_EDOM): Likewise.
5796 (ERRNO_ERANGE): Likewise.
5797 (test_exceptions): Handle testing "inexact" exceptions.
5798 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5799 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5800 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5801 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5802 INEXACT_EXCEPTION.
5803 (rint_towardzero_test_data): Likewise.
5804 (rint_downward_test_data): Likewise.
5805 (rint_upward_test_data): Likewise.
5806
e9eee333
JM
5807 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5808 with OVERFLOW_EXCEPTION.
5809 (exp10_test_data): Likewise.
5810 (exp2_test_data): Likewise.
5811 (expm1_test_data): Likewise.
5812 (lgamma_test_data): Likewise.
5813 (pow_test_data): Likewise.
5814 (tgamma_test_data): Likewise.
5815 (yn_test_data): Remove duplicate test of overflow.
5816
1c38ff73
JM
5817 * math/libm-test.inc (struct test_cc_c_data): New type.
5818 (RUN_TEST_LOOP_cc_c): New macro.
5819 (cpow_test_data): New variable.
5820 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5821
15c7c18d
JM
5822 * math/libm-test.inc (struct test_f_L_data): New type.
5823 (RUN_TEST_LOOP_f_L): New macro.
5824 (llrint_test_data): New variable.
5825 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5826 (llrint_tonearest_test_data): New variable.
5827 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5828 (llrint_towardzero_test_data): New variable.
5829 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5830 (llrint_downward_test_data): New variable.
5831 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5832 (llrint_upward_test_data): New variable.
5833 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5834 (llround_test_data): New variable.
5835 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5836
f137ff13
PC
58372013-05-13 Peter Collingbourne <pcc@google.com>
5838
5839 * math/atest-exp2.c (get_log2): Remove const attribute.
5840
3608cb24
JM
58412013-05-15 Joseph Myers <joseph@codesourcery.com>
5842
5843 * math/libm-test.inc (struct test_f_l_data): New type.
5844 (RUN_TEST_LOOP_f_l): New macro.
5845 (lrint_test_data): New variable.
5846 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5847 (lrint_tonearest_test_data): New variable.
5848 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5849 (lrint_towardzero_test_data): New variable.
5850 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5851 (lrint_downward_test_data): New variable.
5852 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5853 (lrint_upward_test_data): New variable.
5854 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5855 (lround_test_data): New variable.
5856 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5857
39b1f617
PC
58582013-05-15 Peter Collingbourne <pcc@google.com>
5859
1deff3dc
PC
5860 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5861 (EXTRACT_WORDS64) Use where appropriate.
5862 (INSERT_WORDS64) Likewise.
5863
791f3ba0
PC
5864 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5865 constraints with x constraints.
5866 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5867
39b1f617
PC
5868 * malloc/obstack.c (_obstack_compat): Add initializer.
5869
12fba011
EM
58702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5871
5872 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5873 si_trapno and add si_addr_lsb to _sifields.sigfault.
5874 (si_trapno): Remove macro.
5875 (si_addr_lsb): Define new macro.
5876 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5877
d369f531
JM
58782013-05-15 Joseph Myers <joseph@codesourcery.com>
5879
b861c6c4
JM
5880 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5881 instead of TEST_f_l.
5882 (llrint_test_tonearest): Likewise.
5883 (llrint_test_towardzero): Likewise.
5884 (llrint_test_downward): Likewise.
5885 (llrint_test_upward): Likewise.
5886 (llround_test): Likewise.
5887
7abeee12
JM
5888 * math/libm-test.inc (struct test_f_i_data): Add comment.
5889 (RUN_TEST_LOOP_f_b): New macro.
5890 (RUN_TEST_LOOP_f_b_tg): Likewise.
5891 (finite_test_data): New variable.
5892 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5893 (isfinite_test_data): New variable.
5894 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5895 (isinf_test_data): New variable.
5896 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5897 (isnan_test_data): New variable.
5898 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5899 (isnormal_test_data): New variable.
5900 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5901 (issignaling_test_data): New variable.
5902 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5903 (signbit_test_data): New variable.
5904 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5905
cbe8c4d3
JM
5906 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5907 with INVALID_EXCEPTION.
5908 (acosh_test_data): Likewise.
5909 (asin_test_data): Likewise.
5910 (atanh_test_data): Likewise.
5911 (fmod_test_data): Likewise.
5912 (log_test_data): Likewise.
5913 (log10_test_data): Likewise.
5914 (log2_test_data): Likewise.
5915 (pow_test_data): Likewise.
5916 (sqrt_test_data): Likewise.
5917 (y0_test_data): Likewise.
5918 (y1_test_data): Likewise.
5919 (yn_test_data): Likewise.
5920
5575c0e5
JM
5921 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5922 function contents.
5923
d369f531
JM
5924 * math/libm-test.inc (struct test_ff_i_data): New type.
5925 (RUN_TEST_LOOP_ff_i_tg): New macro.
5926 (isgreater_test_data): New variable.
5927 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5928 (isgreaterequal_test_data): New variable.
5929 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5930 (isless_test_data): New variable.
5931 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5932 (islessequal_test_data): New variable.
5933 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5934 (islessgreater_test_data): New variable.
5935 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5936 (isunordered_test_data): New variable.
5937 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5938
781fd748
DM
59392013-05-14 David S. Miller <davem@davemloft.net>
5940
5941 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5942
87aa21df
JM
59432013-05-14 Joseph Myers <joseph@codesourcery.com>
5944
5e908270
JM
5945 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5946
f71172e5
JM
5947 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5948 extra_test to int.
5949 (struct test_f_i_data): Change type of max_ulp to int.
5950
8cfa635a
JM
5951 * math/libm-test.inc (test_ffI_f1_data): New type.
5952 (RUN_TEST_LOOP_ffI_f1): New macro.
5953 (remquo_test_data): New variable.
5954 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5955
2bcb36b2
JM
5956 * setjmp/tst-setjmp-fp.c: New file.
5957 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5958 (link-libm): New variable.
5959 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5960
acbd839a
JM
5961 * math/libm-test.inc (struct test_f_i_data): New type.
5962 (RUN_TEST_LOOP_f_i): New macro.
5963 (RUN_TEST_LOOP_f_i_tg): Likewise.
5964 (fpclassify_test_data): New variable.
5965 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5966 (ilogb_test_data): New variable.
5967 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5968
e414d745
JM
5969 * math/libm-test.inc (scalbln_test): Correct function name in END
5970 call.
5971
d9c2a0fd
JM
5972 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5973 (RUN_TEST_LOOP_fI_f1): New macro.
5974 (frexp_test_data): New variable.
5975 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5976
9dc9095d
JM
5977 * math/libm-test.inc (struct test_fF_f1_data): New type.
5978 (RUN_TEST_LOOP_fF_f1): New macro.
5979 (modf_test_data): New variable.
5980 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5981
87aa21df
JM
5982 * math/libm-test.inc (struct test_f_f1_data): New type.
5983 (RUN_TEST_LOOP_f_f1): New macro.
5984 (gamma_test_data): New variable.
5985 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5986 (lgamma_test_data): New variable.
5987 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5988
141af660
CD
59892013-05-13 Carlos O'Donell <carlos@redhat.com>
5990
5991 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5992 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5993 (main): Comment "tls" pseudo-hwcap.
5994
6d33265c
JM
59952013-05-13 Joseph Myers <joseph@codesourcery.com>
5996
68fc074c
JM
5997 * math/libm-test.inc (struct test_fl_f_data): New type.
5998 (RUN_TEST_LOOP_fl_f): New variable.
5999 (scalbln_test_data): New variable.
6000 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
6001
243216e1
JM
6002 * math/libm-test.inc (struct test_fi_f_data): New type.
6003 (RUN_TEST_LOOP_fi_f): New macro.
6004 (ldexp_test_data): New variable.
6005 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
6006 (scalbn_test_data): New variable.
6007 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
6008
6a1992e2
JM
6009 * math/libm-test.inc (struct test_c_f_data): New type.
6010 (RUN_TEST_LOOP_c_f): New macro.
6011 (cabs_test_data): New variable.
6012 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
6013 (carg_test_data): New variable.
6014 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
6015 (cimag_test_data): New variable.
6016 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
6017 (creal_test_data): New variable.
6018 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
6019
0e400df5
JM
6020 * math/libm-test.inc (struct test_if_f_data): New type.
6021 (RUN_TEST_LOOP_if_f): New macro.
6022 (jn_test_data): New variable.
6023 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
6024 (yn_test_data): New variable.
6025 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
6026
6d33265c
JM
6027 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
6028
f98ece5f
AZ
60292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6030
6031 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
6032 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
6033
0f7d347b
SP
60342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6035
43fe811b
SP
6036 * benchtests/Makefile (CPPFLAGS-nonlib): Add
6037 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
6038 (bench-deps): Add bench-timing.h.
6039 * benchtests-bench-skeleton.c: Include bench-timing.h.
6040 (main): Use TIMING_* macros instead of clock_gettime.
6041 * benchtests/bench-timing.h: New file.
6042
0f7d347b
SP
6043 [BZ #14582]
6044 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
6045 Renamed from _LIB_VERSION.
6046 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
6047
601a3a5f
JM
60482013-05-12 Joseph Myers <joseph@codesourcery.com>
6049
4f184d30
JM
6050 * math/libm-test.inc (struct test_fff_f_data): New type.
6051 (RUN_TEST_LOOP_fff_f): New macro.
6052 (fma_test_data): New variable.
6053 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
6054 (fma_towardzero_test_data): New variable.
6055 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
6056 (fma_downward_test_data): New variable.
6057 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
6058 (fma_upward_test_data): New variable.
6059 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
6060
08198877
JM
6061 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
6062 (struct test_c_c_data): New type.
6063 (RUN_TEST_LOOP_c_c): New macro.
6064 (cacos_test_data): New variable.
6065 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
6066 (cacosh_test_data): New variable.
6067 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
6068 (casin_test_data): New variable.
6069 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
6070 (casinh_test_data): New variable.
6071 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
6072 (catan_test_data): New variable.
6073 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
6074 (catanh_test_data): New variable.
6075 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
6076 (ccos_test_data): New variable.
6077 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
6078 (ccosh_test_data): New variable.
6079 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
6080 (cexp_test_data): New variable.
6081 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
6082 (clog_test_data): New variable.
6083 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
6084 (clog10_test_data): New variable.
6085 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
6086 (conj_test_data): New variable.
6087 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
6088 (cproj_test_data): New variable.
6089 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
6090 (csin_test_data): New variable.
6091 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
6092 (csinh_test_data): New variable.
6093 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
6094 (csqrt_test_data): New variable.
6095 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
6096 (ctan_test_data): New variable.
6097 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
6098 (ctan_tonearest_test_data): New variable.
6099 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6100 (ctan_towardzero_test_data): New variable.
6101 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6102 (ctan_downward_test_data): New variable.
6103 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6104 (ctan_upward_test_data): New variable.
6105 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6106 (ctanh_test_data): New variable.
6107 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
6108 (ctanh_tonearest_test_data): New variable.
6109 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
6110 (ctanh_towardzero_test_data): New variable.
6111 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
6112 (ctanh_downward_test_data): New variable.
6113 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
6114 (ctanh_upward_test_data): New variable.
6115 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
6116 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
6117 of BUILD_COMPLEX.
6118
601a3a5f
JM
6119 * math/libm-test.inc (struct test_ff_f_data): New type.
6120 (struct test_ff_f_data_nexttoward): Likewise.
6121 (RUN_TEST_LOOP_2_f): New macro.
6122 (RUN_TEST_LOOP_ff_f): Likewise.
6123 (atan2_test_data): New variable.
6124 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
6125 (copysign_test_data): New variable.
6126 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
6127 (fdim_test_data): New variable.
6128 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
6129 (fmax_test_data): New variable.
6130 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
6131 (fmin_test_data): New variable.
6132 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
6133 (fmod_test_data): New variable.
6134 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
6135 (hypot_test_data): New variable.
6136 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
6137 (nextafter_test_data): New variable.
6138 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
6139 (nexttoward_test_data): New variable.
6140 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
6141 (pow_test_data): New variable.
6142 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
6143 (pow_tonearest_test_data): New variable.
6144 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
6145 (pow_towardzero_test_data): New variable.
6146 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
6147 (pow_downward_test_data): New variable.
6148 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
6149 (pow_upward_test_data): New variable.
6150 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
6151 (remainder_test_data): New variable.
6152 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
6153 (scalb_test_data): New variable.
6154 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
6155 * sysdeps/i386/fpu/libm-test-ulps: Update.
6156
74c57478
JM
61572013-05-11 Joseph Myers <joseph@codesourcery.com>
6158
8329e4da
JM
6159 * math/libm-test.inc (fma_test): Use max_value instead of local
6160 variable fltmax.
6161 (nextafter_test): Likewise.
6162
74c57478
JM
6163 * math/libm-test.inc (acos_towardzero_test_data): New variable.
6164 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6165 (acos_downward_test_data): New variable.
6166 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6167 (acos_upward_test_data): New variable.
6168 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6169 (acosh_test_data): New variable.
6170 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
6171 (asin_test_data): New variable.
6172 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
6173 (asin_tonearest_test_data): New variable.
6174 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6175 (asin_towardzero_test_data): New variable.
6176 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6177 (asin_downward_test_data): New variable.
6178 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6179 (asin_upward_test_data): New variable.
6180 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6181 (asinh_test_data): New variable.
6182 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
6183 (atan_test_data): New variable.
6184 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
6185 (atanh_test_data): New variable.
6186 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
6187 (cbrt_test_data): New variable.
6188 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
6189 (ceil_test_data): New variable.
6190 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
6191 (cos_test_data): New variable.
6192 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
6193 (cos_tonearest_test_data): New variable.
6194 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6195 (cos_towardzero_test_data): New variable.
6196 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6197 (cos_downward_test_data): New variable.
6198 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6199 (cos_upward_test_data): New variable.
6200 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6201 (cosh_test_data): New variable.
6202 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
6203 (cosh_tonearest_test_data): New variable.
6204 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6205 (cosh_towardzero_test_data): New variable.
6206 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6207 (cosh_downward_test_data): New variable.
6208 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6209 (cosh_upward_test_data): New variable.
6210 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6211 (erf_test_data): New variable.
6212 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
6213 (erfc_test_data): New variable.
6214 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
6215 (exp_test_data): New variable.
6216 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
6217 (exp_tonearest_test_data): New variable.
6218 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6219 (exp_towardzero_test_data): New variable.
6220 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6221 (exp_downward_test_data): New variable.
6222 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6223 (exp_upward_test_data): New variable.
6224 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6225 (exp10_test_data): New variable.
6226 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
6227 (exp2_test_data): New variable.
6228 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
6229 (expm1_test_data): New variable.
6230 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
6231 (fabs_test_data): New variable.
6232 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
6233 (floor_test_data): New variable.
6234 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
6235 (j0_test_data): New variable.
6236 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
6237 (j1_test_data): New variable.
6238 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
6239 (log_test_data): New variable.
6240 (log_test): Run tests with RUN_TEST_LOOP_f_f.
6241 (log10_test_data): New variable.
6242 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
6243 (log1p_test_data): New variable.
6244 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
6245 (log2_test_data): New variable.
6246 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
6247 (logb_test_data): New variable.
6248 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
6249 (logb_downward_test_data): New variable.
6250 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6251 (nearbyint_test_data): New variable.
6252 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
6253 (rint_test_data): New variable.
6254 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
6255 (rint_tonearest_test_data): New variable.
6256 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6257 (rint_towardzero_test_data): New variable.
6258 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6259 (rint_downward_test_data): New variable.
6260 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6261 (rint_upward_test_data): New variable.
6262 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6263 (round_test_data): New variable.
6264 (round_test): Run tests with RUN_TEST_LOOP_f_f.
6265 (sin_test_data): New variable.
6266 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
6267 (sin_tonearest_test_data): New variable.
6268 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6269 (sin_towardzero_test_data): New variable.
6270 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6271 (sin_downward_test_data): New variable.
6272 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6273 (sin_upward_test_data): New variable.
6274 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6275 (sinh_test_data): New variable.
6276 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
6277 (sinh_tonearest_test_data): New variable.
6278 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6279 (sinh_towardzero_test_data): New variable.
6280 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6281 (sinh_downward_test_data): New variable.
6282 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6283 (sinh_upward_test_data): New variable.
6284 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6285 (sqrt_test_data): New variable.
6286 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6287 (tan_test_data): New variable.
6288 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6289 (tan_tonearest_test_data): New variable.
6290 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6291 (tan_towardzero_test_data): New variable.
6292 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6293 (tan_downward_test_data): New variable.
6294 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6295 (tan_upward_test_data): New variable.
6296 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6297 (tanh_test_data): New variable.
6298 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6299 (tgamma_test_data): New variable.
6300 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6301 (trunc_test_data): New variable.
6302 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6303 (y0_test_data): New variable.
6304 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6305 (y1_test_data): New variable.
6306 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6307 (significand_test_data): New variable.
6308 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6309
7187d844
CG
63102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6311
6312 [BZ #12387]
6313 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6314
f63fae73
PT
63152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6316
6317 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6318
8a67a4b3
AJ
63192013-05-10 Andreas Jaeger <aj@suse.de>
6320
6321 [BZ #15448]
6322 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6323 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6324
51df539d
JM
63252013-05-10 Joseph Myers <joseph@codesourcery.com>
6326
6327 * math/gen-libm-test.pl (adjust_arg): New function.
6328 (special_functions): Handle generating output in both functions
6329 and arrays.
6330 (parse_args): Likewise.
6331 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6332 $in_func argument to parse_args.
6333 * math/libm-test.inc (struct test_f_f_data): New type.
6334 (IF_ROUND_INIT_): New macro.
6335 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6336 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6337 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6338 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6339 (ROUND_RESTORE_): Likewise.
6340 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6341 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6342 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6343 (ROUND_RESTORE_FE_UPWARD): Likewise.
6344 (RUN_TEST_LOOP_f_f): New macro.
6345 (acos_test_data): New variable.
6346 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6347 (acos_tonearest_test_data): New variable.
6348 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6349
5c637fe5
SP
63502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6351
6352 * benchtests/bench-skeleton.c (startup): Fix coding style.
6353
ab2b9461
JM
63542013-05-10 Joseph Myers <joseph@codesourcery.com>
6355
6356 [BZ #6809]
6357 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6358 negative infinity argument.
6359 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6360 negative infinity argument.
6361 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6362 negative infinity argument.
6363 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6364 domain errors.
6365
4c0fe6fe
FW
63662013-05-10 Florian Weimer <fweimer@redhat.com>
6367
6368 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6369 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6370 * iconv/iconv_prog.c (main): Likewise.
6371 * locale/programs/charmap-dir.c (charmap_readdir)
6372 (fopen_uncompressed): Likewise.
6373 * locale/programs/locfile.c (siblings_uncached)
6374 (write_locale_data): Use lstat64 instead of lstat.
6375 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6376 stat.
6377
a3375d29
AJ
63782013-05-10 Andreas Jaeger <aj@suse.de>
6379
6380 [BZ #15395]
6381 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6382 localization.
6383 Include <locale.h>.
6384
36129722
CD
63852013-05-09 Carlos O'Donell <carlos@redhat.com>
6386
6387 * elf/dl-close.c (_dl_close_worker): Add comments.
6388
faa7f811
JM
63892013-05-09 Joseph Myers <joseph@codesourcery.com>
6390
ed41ffef
JM
6391 [BZ #15359]
6392 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6393 high part of pi/2.
6394 (__ieee754_rem_pio2l): Update comments.
6395
d0213cd0
JM
6396 [BZ #15429]
6397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6398 high part of pi/2.
6399 (__ieee754_rem_pio2l): Update comments.
6400
0d3e777a
JM
6401 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6402 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6403
24f56066
JM
6404 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6405 M_PI_4l.
6406
faa7f811
JM
6407 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6408 (M_PI_34_LOG10El): Likewise.
6409 (M_PI2_LOG10El): Likewise.
6410 (M_PI4_LOG10El): Likewise.
6411 (M_PI_LOG10El): Likewise.
6412
e9a5e0fd
AZ
64132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6416
d8cd06db
JM
64172013-05-08 Joseph Myers <joseph@codesourcery.com>
6418
a0d9f9d7
JM
6419 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6420 (MINUS_ZERO_INIT): Likewise.
6421 (PLUS_INFTY_INIT): Likewise.
6422 (MINUS_INFTY_INIT): Likewise.
6423 (QNAN_VALUE_INIT): Likewise.
6424 (MAX_VALUE_INIT): Likewise.
6425 (MIN_VALUE_INIT): Likewise.
6426 (MIN_SUBNORM_VALUE_INIT): Likewise.
6427 (plus_zero): Initialize with PLUS_ZERO_INIT.
6428 (minus_zero): Initialize with MINUS_ZERO_INIT.
6429 (plus_infty): Initialize with PLUS_INFTY_INIT.
6430 (minus_infty): Initialize with MINUS_INFTY_INIT.
6431 (qnan_value): Initialize with QNAN_VALUE_INIT.
6432 (max_value): Initialize with MAX_VALUE_INIT.
6433 (min_value): Initialize with MIN_VALUE_INIT.
6434 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6435
ae08db3b
JM
6436 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6437 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6438 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6439 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6440
f44bf14a
JM
6441 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6442 (RUN_TEST_2_f): Likewise.
6443 (RUN_TEST_ff_f): Likewise.
6444 (RUN_TEST_fi_f): Likewise.
6445 (RUN_TEST_fl_f): Likewise.
6446 (RUN_TEST_fff_f): Likewise.
6447 (RUN_TEST_c_f): Likewise.
6448 (RUN_TEST_f_f1): Likewise.
6449 (RUN_TEST_fF_f1): Likewise.
6450 (RUN_TEST_fI_f1): Likewise.
6451 (RUN_TEST_ffI_f1): Likewise.
6452 (RUN_TEST_c_c): Likewise.
6453 (RUN_TEST_cc_c): Likewise.
6454 (RUN_TEST_f_i): Likewise.
6455 (RUN_TEST_f_i_tg): Likewise.
6456 (RUN_TEST_ff_i_tg): Likewise.
6457 (RUN_TEST_f_b): Likewise.
6458 (RUN_TEST_f_b_tg): Likewise.
6459 (RUN_TEST_f_l): Likewise.
6460 (RUN_TEST_f_L): Likewise.
6461 (RUN_TEST_sincos): Likewise.
6462 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6463 whether to show exceptions. Do not include ");\n" in return
6464 value.
6465 (special_functions): Output call to RUN_TEST_sincos instead of
6466 check_float calls. Update calls to new_test.
6467 (parse_args): Output call to single RUN_TEST_* macro instead of
6468 check_* calls and other assignments. Update calls to new_test.
6469
d8cd06db
JM
6470 [BZ #2546]
6471 [BZ #2560]
6472 [BZ #5159]
6473 [BZ #15426]
6474 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6475 input to result for tgamma overflow.
6476 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6477 (gamma_coeff): New variable.
6478 (NCOEFF): New macro.
6479 (gamma_positive): New function.
6480 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6481 underflow here. Use gamma_positive instead of exp (lgamma) for
6482 other arguments.
6483 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6484 (gamma_coeff): New variable.
6485 (NCOEFF): New macro.
6486 (gammaf_positive): New function.
6487 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6488 underflow here. Use gamma_positive instead of exp (lgamma) for
6489 other arguments.
6490 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6491 (gamma_coeff): New variable.
6492 (NCOEFF): New macro.
6493 (gammal_positive): New function.
6494 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6495 underflow here. Use gamma_positive instead of exp (lgamma) for
6496 other arguments.
6497 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6498 (gamma_coeff): New variable.
6499 (NCOEFF): New macro.
6500 (gammal_positive): New function.
6501 (__ieee754_gammal_r): Handle positive infinity, overflow and
6502 underflow here. Handle NaN the same as positive infinity. Remove
6503 check x < 0xffffffff for negative integers. Use gamma_positive
6504 instead of exp (lgamma) for other arguments.
6505 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6506 (gamma_coeff): New variable.
6507 (NCOEFF): New macro.
6508 (gammal_positive): New function.
6509 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6510 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6511 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6512 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6513 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6514 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6515 * sysdeps/generic/math_private.h (__gamma_productf): New
6516 prototype.
6517 (__gamma_product): Likewise.
6518 (__gamma_productl): Likewise.
6519 * math/Makefile (libm-calls): Add gamma_product.
6520 * math/libm-test.inc (tgamma_test): Add more tests.
6521 * sysdeps/i386/fpu/libm-test-ulps: Update.
6522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6523
bb7cf681
OB
65242013-05-08 Ondřej Bílka <neleai@seznam.cz>
6525
6526 * benchtests/bench-skeleton.c (main): Preheat CPU.
6527
ba853947
AJ
65282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6529
6530 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6531
8347c74c
RM
65322013-05-07 Roland McGrath <roland@hack.frob.com>
6533
6534 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6535 and _dl_skip_args_internal.
6536
e8dd4791
CD
65372013-05-07 Carlos O'Donell <carlos@redhat.com>
6538
6539 * manual/message.texi (Message Translation): Talk about users.
6540 Message to key mapping impacts design.
6541
c7405830
RM
65422013-05-06 Roland McGrath <roland@hack.frob.com>
6543
a9173057
RM
6544 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6545
976e2f03
RM
6546 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6547
9723ffc5
RM
6548 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6549 * sysdeps/wordsize-64/glob64.c: ... here.
6550
962e6658
RM
6551 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6552 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6553 New macros.
6554
ee586a6d
RM
6555 * debug/getlogin_r_chk.c: Moved to ...
6556 * login/getlogin_r_chk.c: ... here.
6557 * debug/Makefile (routines): Move getlogin_r_chk to ...
6558 * login/Makefile (routines): ... here.
6559 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6560 * login/Versions (libc: GLIBC_2.4): ... here.
6561
355f9165
RM
6562 * io/poll.c (__poll): Renamed from poll.
6563 Add libc_hidden_def.
6564 (poll): Define as weak alias.
6565
bd9ffde6
RM
6566 * debug/ptsname_r_chk.c: Moved to ...
6567 * login/ptsname_r_chk.c: ... here.
6568 * debug/Makefile (routines): Move ptsname_r_chk to ...
6569 * login/Makefile (routines): ... here.
6570 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6571 * login/Versions (libc: GLIBC_2.4): ... here.
6572
8fb16a04
RM
6573 * posix/getlogin.c: Moved to ...
6574 * login/getlogin.c: ... here.
6575 * posix/getlogin_r.c: Moved to ...
6576 * login/getlogin_r.c: ... here.
6577 * posix/getlogin_r.c: Moved to ...
6578 * login/getlogin_r.c: ... here.
6579 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6580 * login/Makefile (routines): ... here.
6581 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6582 * login/Versions (libc: GLIBC_2.0): ... here.
6583
b99b892f
RM
6584 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6585 (setrlimit): Define as weak alias.
6586
c7405830
RM
6587 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6588 Call __ names for open, ftruncate, and close.
6589 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6590 (truncate): Define as weak alias.
6591
5bf96de5
JM
65922013-05-06 Joseph Myers <joseph@codesourcery.com>
6593
9ea3513c
JM
6594 * math/gen-libm-test.pl (parse_args): Initialize x before each
6595 test of frexp, modf and remquo.
6596
5bf96de5
JM
6597 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6598 test signgam value.
6599
16e616a7
AZ
66002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6601
6602 [BZ #15418]
6603 [BZ #15419]
6604 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6605 internal tests.
6606 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6607
d5e82754
RM
66082013-05-06 Roland McGrath <roland@hack.frob.com>
6609
6610 * elf/dl-writev.h: New file.
6611 * elf/dl-misc.c: Include it.
6612 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6613 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6614
a7548d41
JM
66152013-05-04 Joseph Myers <joseph@codesourcery.com>
6616
b7dab1e4
JM
6617 * math/libm-test.inc (noXFails): Remove variable.
6618 (noXPasses): Likewise.
6619 (BUILD_COMPLEX_INT): Remove macro.
6620 (print_screen): Remove xfail argument.
6621 (print_screen_max_error): Likewise.
6622 (update_stats): Likewise.
6623 (print_max_error): Likewise. Update calls to other affected
6624 functions.
6625 (print_complex_max_error): Likewise.
6626 (test_single_exception): Update calls to print_screen.
6627 (test_single_errno): Likewise.
6628 (check_float_internal): Remove xfail argument. Update calls to
6629 other affected functions.
6630 (check_float): Likewise.
6631 (check_complex): Likewise.
6632 (check_int): Likewise.
6633 (check_long): Likewise.
6634 (check_bool): Likewise.
6635 (check_longlong): Likewise.
6636 (main): Don't print noXFails and noXPasses.
6637 * math/gen-libm-test.pl (top level): Don't mention expected
6638 failure handling in comment.
6639 (new_test): Don't handle expected failures.
6640 (parse_args): Don't mention expected failure handling in comment.
6641 (generate_testfile): Don't handle expected failures.
6642 (parse_ulps): Likewise.
6643 (print_ulps_file): Likewise.
6644 (get_failure): Remove function.
6645 (output_test): Don't handle expected failures.
6646 * make/README.libm-test: Don't mention expected failure handling.
6647
a7548d41
JM
6648 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6649 (minus_zero): Likewise.
6650 (plus_infty): Likewise.
6651 (minus_infty): Likewise.
6652 (qnan_value): Likewise.
6653 (max_value): Likewise.
6654 (min_value): Likewise.
6655 (min_subnorm_value): Likewise.
6656 (initialize): Do not initialize those variables dynamically.
6657
60bfd54c
RM
66582013-05-03 Roland McGrath <roland@hack.frob.com>
6659
cc0e6ed8
RM
6660 * io/open.c (__open_2): Moved to ...
6661 * io/open_2.c: ... this new file.
6662 * io/open64.c (__open64_2): Moved to ...
6663 * io/open64_2.c: ... this new file.
6664 * io/openat.c (__openat_2): Moved to ...
6665 * io/openat_2.c: ... this new file.
6666 * io/openat64.c (__openat64_2): Moved to ...
6667 * io/openat64_2.c: ... this new file.
6668 * io/Makefile (routines): Add them.
6669 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6670 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6671 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6672 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6673 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6674 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6675 (__openat64): Add hidden_ver.
6676 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6677 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6678
60bfd54c
RM
6679 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6680 Separately conditionalize setting of GLRO(dl_sysinfo) so
6681 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6682 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6683
83e7640f
AZ
66842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6685
6686 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6687 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6688 definition.
6689 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6690 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6691 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6692 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6693 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6694
d5dc2af3
JM
66952013-05-03 Joseph Myers <joseph@codesourcery.com>
6696
c31a5b1e
JM
6697 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6698 test signgam value.
6699
d5dc2af3
JM
6700 * math/libm-test.inc (hypot_test): Do not use
6701 IGNORE_ZERO_INF_SIGN.
6702
164fd39d
AJ
67032013-05-03 Andreas Jaeger <aj@suse.de>
6704
6705 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6706 Linux 3.9.
6707 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6708 (PF_MAX): Adjust for VSOCK change.
6709
8237f48c
AZ
67102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6711
6712 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6713
9df02941
CD
67142013-05-02 Carlos O'Donell <carlos@redhat.com>
6715
6716 [BZ #15264]
6717 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6718 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6719 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6720
d422395e
DM
67212013-05-02 David S. Miller <davem@davemloft.net>
6722
6723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6724
a07c5731
OB
67252013-05-01 Ondřej Bílka <neleai@seznam.cz>
6726
6727 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6728
1324e37f
RM
67292013-05-01 Roland McGrath <roland@hack.frob.com>
6730
6731 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6732
0695940b
RS
67332013-05-01 Richard Smith <richard@metafoo.co.uk>
6734
bb5f27ad 6735 [BZ #14952]
0695940b
RS
6736 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6737 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6738 Use __attribute__ ((__gnu_inline__)).
6739 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6740 Don't use __attribute__ ((__gnu_inline__)).
6741
10de07f5
JM
67422013-05-01 Joseph Myers <joseph@codesourcery.com>
6743
6744 [BZ #15423]
6745 * math/s_catan.c (__catan): Handle small real or imaginary part of
6746 input specially to avoid spurious underflow.
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
cb4d5414
AZ
67572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6758
6759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6760
caf84319
JM
67612013-04-30 Joseph Myers <joseph@codesourcery.com>
6762
6763 [BZ #15416]
6764 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6765 accurately for denominator in atan2.
6766 * math/s_catanf.c (__catanf): Likewise.
6767 * math/s_catanh.c (__catanh): Likewise.
6768 * math/s_catanhf.c (__catanhf): Likewise.
6769 * math/s_catanhl.c (__catanhl): Likewise.
6770 * math/s_catanl.c (__catanl): Likewise.
6771 * math/libm-test.inc (catan_test): Add more tests.
6772 (catanh_test): Likewise.
6773 * sysdeps/i386/fpu/libm-test-ulps: Update.
6774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6775
d569c6ee
SP
67762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6777
6dbe713d
SP
6778 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6779
f0ee064b
SP
6780 * benchtests/Makefile (bench): Remove slow benchmarks.
6781 * benchtests/atan-inputs: Add slow benchmark inputs.
6782 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6783 (BENCH_FUNC): Accept variant offset.
6784 (VARIANT): Define.
6785 * benchtests/bench-skeleton.c (main): Run benchmark for each
6786 variant.
6787 * benchtests/cos-inputs: Add slow benchmark inputs.
6788 * benchtests/exp-inputs: Likewise.
6789 * benchtests/pow-inputs: Likewise.
6790 * benchtests/sin-inputs: Likewise.
6791 * benchtests/slowatan-inputs: Remove.
6792 * benchtests/slowatan.c: Remove.
6793 * benchtests/slowcos-inputs: Remove.
6794 * benchtests/slowcos.c: Remove.
6795 * benchtests/slowexp-inputs: Remove.
6796 * benchtests/slowexp.c: Remove.
6797 * benchtests/slowpow-inputs: Remove.
6798 * benchtests/slowpow.c: Remove.
6799 * benchtests/slowsin-inputs: Remove.
6800 * benchtests/slowsin.c: Remove.
6801 * benchtests/slowtan-inputs: Remove.
6802 * benchtests/slowtan.c: Remove.
6803 * benchtests/tan-inputs: Add slow benchmark inputs.
6804 * scripts/bench.pl: Parse comments and directives.
6805
d569c6ee
SP
6806 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6807 in CPPFLAGS.
6808 ($(objpfx)bench-%.c): Remove *-ITER.
6809 * benchtests/bench-modf.c: Remove definition of ITER.
6810 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6811 (main): Loop for DURATION seconds instead of fixed number of
6812 iterations.
6813 * scripts/bench.pl: Don't expect iterations in parameters.
6814
a6a242fe
RM
68152013-04-29 Roland McGrath <roland@hack.frob.com>
6816
6817 * io/fchdir.c (__fchdir): Renamed from fchdir.
6818 (fchdir): Define as weak alias.
6819
f2da7793
JM
68202013-04-29 Joseph Myers <joseph@codesourcery.com>
6821
6822 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6823 (ERRNO_EDOM): Likewise.
6824 (ERRNO_ERANGE): Likewise.
6825 (noErrnoTests): New variable.
6826 (init_max_error): Set errno to 0.
6827 (test_single_errno): New function.
6828 (test_errno): Likewise.
6829 (check_float_internal): Call test_errno. Set errno to 0.
6830 (check_complex): Refer to errno tests in comment.
6831 (check_int): Call test_errno. Set errno to 0.
6832 (check_long): Likewise.
6833 (check_bool): Likewise.
6834 (check_longlong): Likewise.
6835 (cos_test): Use ERRNO_* flags for errno tests instead of
6836 check_int.
6837 (expm1_test): Likewise.
6838 (fmod_test): Likewise.
6839 (ilogb_test): Likewise.
6840 (lgamma_test): Likewise.
6841 (pow_test): Likewise.
6842 (remainder_test): Likewise.
6843 (sin_test): Likewise.
6844 (tan_test): Likewise.
6845 (yn_test): Likewise.
6846 (initialize): Set errno to 0.
6847 (main): Print number of errno tests.
6848 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6849
b1a36ceb
AJ
68502013-04-29 Andreas Jaeger <aj@suse.de>
6851
c3ed8088
AJ
6852 [BZ #15084]
6853 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6854 and RES_USEVC.
6855
f1a24198
AJ
6856 [BZ #15085]
6857 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6858 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6859 unimplemented.
6860
9ce3b2cb
AJ
6861 [BZ #15380]
6862 * stdlib/random.c (__initstate): Return NULL if
6863 __initstate fails.
6864
f1a24198 6865 [BZ #15086]
b1a36ceb
AJ
6866 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6867 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6868 RES_SNGLKUPREOP.
6869
7e7b6f36
AZ
68702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6871
6872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6873
4d14f449
JM
68742013-04-29 Joseph Myers <joseph@codesourcery.com>
6875
6876 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6877 of individual tests.
6878 (casin_test): Likewise.
6879 (casinh_test): Likewise.
6880
5b4217d7
JM
68812013-04-27 Joseph Myers <joseph@codesourcery.com>
6882
6883 [BZ #15409]
6884 * math/s_catan.c (__catan): Handle arguments with large real or
6885 imaginary part separately without squaring.
6886 * math/s_catanf.c (__catanf): Likewise.
6887 * math/s_catanh.c (__catanh): Likewise.
6888 * math/s_catanhf.c (__catanhf): Likewise.
6889 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6890 and redefine.
6891 (__catanhl): Handle arguments with large real or imaginary part
6892 separately without squaring.
6893 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6894 and redefine.
6895 (__catanl): Handle arguments with large real or imaginary part
6896 separately without squaring.
6897 * math/libm-test.inc (catan_test): Add more tests.
6898 (catanh_test): Likewise.
6899 * sysdeps/i386/fpu/libm-test-ulps: Update.
6900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6901
4220c3ef
AJ
69022013-04-27 Andreas Jaeger <aj@suse.de>
6903
6904 [BZ #15007]
6905 * stdlib/stdlib.h: Update guards for qecvt.
6906 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6907 <stdlib.h>.
6908
4721b2d1
AM
69092013-04-27 Allan McRae <allan@archlinux.org>
6910
6911 * sysdeps/i386/fpu/libm-test-ulps: Update.
6912
f0302940
JM
69132013-04-26 Joseph Myers <joseph@codesourcery.com>
6914
9457fd95
JM
6915 [BZ #15406]
6916 * math/s_catan.c: Include <float.h>.
6917 (__catan): Ensure underflow exception occurs for underflowed
6918 result.
6919 * math/s_catanf.c: Include <float.h>.
6920 (__catanf): Ensure underflow exception occurs for underflowed
6921 result.
6922 * math/s_catanh.c: Include <float.h>.
6923 (__catanh): Ensure underflow exception occurs for underflowed
6924 result.
6925 * math/s_catanhf.c: Include <float.h>.
6926 (__catanhf): Ensure underflow exception occurs for underflowed
6927 result.
6928 * math/s_catanhl.c: Include <float.h>.
6929 (__catanhl): Ensure underflow exception occurs for underflowed
6930 result.
6931 * math/s_catanl.c: Include <float.h>.
6932 (__catanl): Ensure underflow exception occurs for underflowed
6933 result.
6934 * math/libm-test.inc (catan_test): Add more tests.
6935 (catanh_test): Likewise.
6936
f0302940
JM
6937 [BZ #15405]
6938 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6939 underflowed result.
6940 * math/s_ccoshf.c (__ccoshf): Likewise.
6941 * math/s_ccoshl.c (__ccoshl): Likewise.
6942 * math/s_csin.c (__csin): Likewise.
6943 * math/s_csinf.c (__csinf): Likewise.
6944 * math/s_csinh.c (__csinh): Likewise.
6945 * math/s_csinhf.c (__csinhf): Likewise.
6946 * math/s_csinhl.c (__csinhl): Likewise.
6947 * math/s_csinl.c (__csinl): Likewise.
6948 * math/libm-test.inc (ccos_test): Add more tests.
6949 (ccosh_test): Likewise.
6950 (csin_test): Likewise.
6951 (csinh_test): Likewise.
6952
aa630f59
AZ
69532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954
6955 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6956 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6957 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6958 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6959 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6960 powerpc/power5+/fpu folders.
6961 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6962
6963
1b835983
MT
69642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6965
6966 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6967
73709b26
JM
69682013-04-25 Joseph Myers <joseph@codesourcery.com>
6969
6970 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6971 additions to variable.
6972 [$(config-machine) = x86_64] (modules-names): Likewise.
6973 ($(objpfx)tst-audit3): Remove dependency.
6974 ($(objpfx)tst-audit3.out): Likewise.
6975 ($(objpfx)tst-audit4): Likewise.
6976 ($(objpfx)tst-audit4.out): Likewise.
6977 ($(objpfx)tst-audit5): Likewise.
6978 ($(objpfx)tst-audit5.out): Likewise.
6979 ($(objpfx)tst-audit6): Likewise.
6980 ($(objpfx)tst-audit6.out): Likewise.
6981 ($(objpfx)tst-audit7): Likewise.
6982 ($(objpfx)tst-audit7.out): Likewise.
6983 (tst-audit3-ENV): Remove variable.
6984 (tst-audit4-ENV): Likewise.
6985 (tst-audit5-ENV): Likewise.
6986 (tst-audit6-ENV): Likewise.
6987 (tst-audit7-ENV): Likewise.
6988 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6989 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6990 addition to variable.
6991 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6992 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6993 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6994 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6995 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6996 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6997 tst-audit3, tst-audit4 and tst-audit5.
6998 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6999 tst-audit6 and tst-audit7.
7000 [$(subdir) = elf] (modules-names): Add audit modules for those
7001 tests.
7002 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
7003 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
7004 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
7005 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
7006 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
7007 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
7008 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
7009 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
7010 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
7011 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
7012 [$(subdir) = elf] (tst-audit3-ENV): New variable.
7013 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
7014 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
7015 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
7016 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
7017 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
7018 Likewise.
7019 [$(subdir) = elf && $(config-cflags-avx) = yes]
7020 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
7021 [$(subdir) = elf && $(config-cflags-avx) = yes]
7022 (CFLAGS-tst-auditmod4a.c): Likewise.
7023 [$(subdir) = elf && $(config-cflags-avx) = yes]
7024 (CFLAGS-tst-auditmod4b.c): Likewise.
7025 [$(subdir) = elf && $(config-cflags-avx) = yes]
7026 (CFLAGS-tst-auditmod6b.c): Likewise.
7027 [$(subdir) = elf && $(config-cflags-avx) = yes]
7028 (CFLAGS-tst-auditmod6c.c): Likewise.
7029 [$(subdir) = elf && $(config-cflags-avx) = yes]
7030 (CFLAGS-tst-auditmod7b.c): Likewise.
7031 * elf/tst-audit3.c: Move to ...
7032 * sysdeps/x86_64/tst-audit3.c: ... here.
7033 * elf/tst-audit4.c: Move to ...
7034 * sysdeps/x86_64/tst-audit4.c: ... here.
7035 * elf/tst-audit5.c: Move to ...
7036 * sysdeps/x86_64/tst-audit5.c: ... here.
7037 * elf/tst-audit6.c: Move to ...
7038 * sysdeps/x86_64/tst-audit6.c: ... here.
7039 * elf/tst-audit7.c: Move to ...
7040 * sysdeps/x86_64/tst-audit7.c: ... here.
7041 * elf/tst-auditmod3a.c: Move to ...
7042 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
7043 * elf/tst-auditmod3b.c: Move to ...
7044 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
7045 * elf/tst-auditmod4a.c: Move to ...
7046 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
7047 * elf/tst-auditmod4b.c: Move to ...
7048 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
7049 * elf/tst-auditmod5a.c: Move to ...
7050 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
7051 * elf/tst-auditmod5b.c: Move to ...
7052 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
7053 * elf/tst-auditmod6a.c: Move to ...
7054 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
7055 * elf/tst-auditmod6b.c: Move to ...
7056 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
7057 * elf/tst-auditmod6c.c: Move to ...
7058 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
7059 * elf/tst-auditmod7a.c: Move to ...
7060 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
7061 * elf/tst-auditmod7b.c: Move to ...
7062 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
7063
1ef74943
PP
70642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
7065
7066 [BZ #15366]
7067 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
7068 define unconditionally.
7069 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
7070 define unconditionally.
7071 (INT8_C, INT16_C, etc.): Likewise.
7072
93fd48c5
MR
70732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
7074
ae9552cf
MR
7075 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
7076 __ehdr_start with hidden visibility.
7077
93fd48c5
MR
7078 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
7079
418601aa
CD
70802013-04-24 Carlos O'Donell <carlos@redhat.com>
7081
7082 * math/libm-test.inc (cos_test): Use accurate hex constants.
7083 (sincost_test): Likewise.
7084
2f38fbfe
JM
70852013-04-24 Joseph Myers <joseph@codesourcery.com>
7086
5e221800
JM
7087 * math/libm-test.inc (catan_test): Add more tests.
7088 (catanh_test): Likewise.
7089
77f143fd
JM
7090 * math/s_catanf.c (__catanf): Use suffixed floating-point
7091 constants.
7092 * math/s_catanhf.c (__catanhf): Likewise.
7093 * math/s_catanhl.c (__catanhl): Likewise.
7094 * math/s_catanl.c (__catanl): Likewise.
7095
2f38fbfe
JM
7096 [BZ #15394]
7097 * math/s_catan.c (__catan): Calculate imaginary part of result
7098 with log1p not log unless computing log of number close to 0.
7099 * math/s_catanf.c (__catanf): Likewise.
7100 * math/s_catanl.c (__catanl): Likewise.
7101 * math/s_catanh.c (__catanh): Calculate real part of result with
7102 log1p not log unless computing log of number close to 0.
7103 * math/s_catanhf.c (__catanhf): Likewise.
7104 * math/s_catanhl.c (__catanhl): Likewise.
7105 * math/libm-test.inc (catan_test): Add more tests.
7106 (catanh_test): Likewise.
7107 * sysdeps/i386/fpu/libm-test-ulps: Update.
7108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7109
45d69176
SP
71102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7111
7112 * benchtests/Makefile: Mention files in which fast and slow
7113 paths of math functions are implemented.
7114
87f51853
RM
71152013-04-23 Roland McGrath <roland@hack.frob.com>
7116
7117 * sysdeps/posix/timespec_get.c: New file.
7118
3c026539
AZ
71192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7120
7121 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
7122 POWER.
7123 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
7124 for POWER.
7125 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
7126 powerpc/power5/fpu folders.
7127 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
7128 * benchtests/Makefile: Add modf testcase.
7129 * benchtests/bench-modf.c: New file: Benchmark test for mo
7130
ff491d14
SP
71312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
7132
7133 [BZ #14888]
7134 * time/Makefile (tests): Add tst-strptime-whitespace.
7135 * time/strptime_l.c (get_number): Use ISSPACE.
7136 (__strptime_internal): Likewise.
7137 * time/tst-strptime-whitespace.c: New test case.
7138
7ed3f4e8
AS
71392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
7140
7141 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
7142 member.
7143 (_nss_files_init): Set it here.
7144
5c95f7b6
HC
71452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
7146
7147 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
7148 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
7149 unsigned.
7150
d34c9158
JBG
71512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
7152
7153 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
7154
2169712d
SP
71552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
7156
7157 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
7158 size just once.
7159
29c5de99
DM
71602013-04-21 David S. Miller <davem@davemloft.net>
7161
7162 * po/ru.po: Update Russion translation from translation project.
7163
ccdad15d
AC
71642013-04-17 Adam Conrad <adconrad@0c3.net>
7165
7166 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
7167 and setfsgid.
7168
0f122b8d
CD
71692013-04-17 Carlos O'Donell <carlos@redhat.com>
7170
5c5b07da 7171 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 7172 * configure: Regenerate.
5c5b07da 7173 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
7174 Add example to error message.
7175 * sysdeps/i386/configure: Regenerate.
7176
037714dd
SP
71772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7178
7179 * benchtests/Makefile (bench): Add cos, tan, slowcos and
7180 slowtan.
7181 * benchtests/cos-inputs: New file.
7182 * benchtests/slowcos-inputs: New file.
7183 * benchtests/slowcos.c: New file.
7184 * benchtests/slowtan-inputs: New file.
7185 * benchtests/slowtan.c: New file.
7186 * benchtests/tan-inputs: New file.
7187
e913141d
RM
71882013-04-16 Roland McGrath <roland@hack.frob.com>
7189
7190 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
7191 considered kosher.
7192
a2964074
SP
71932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7194
4856bcd2
SP
7195 * benchtests/Makefile: Include cppflags-iterator.mk to add
7196 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
7197
a2964074
SP
7198 * Makefile.in (bench-clean): New target.
7199 * benchtests/Makefile (bench-clean): Likewise.
7200
9fbf9aca
DH
72012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
7202
7203 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
7204
207d1e2a
TS
72052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
7206
7207 * stdio-common/tstdiomisc.c: Fix coding-style violation.
7208
306dfba9
AS
72092013-04-15 Andreas Schwab <schwab@suse.de>
7210
7211 * nscd/grpcache.c (cache_addgr): Properly check for short write.
7212 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7213 * nscd/pwdcache.c (cache_addpw): Likewise.
7214 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
7215 more than recsize.
7216
206a6699
SP
72172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7218
7219 * benchtests/Makefile (bench): Write all output to
7220 bench-out.tmp together.
7221
0582f6b3
AS
72222013-04-15 Andreas Schwab <schwab@suse.de>
7223
7224 * nscd/nscd.c (main): Don't fork again after closing files.
7225
acb4325f
SP
72262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7227
5cb26d0a
SP
7228 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
7229
acb4325f
SP
7230 * benchtests/Rules (bench-deps): Collect dependencies into a
7231 single variable. Add Makefile to dependencies.
7232 ($(objpfx)bench-%.c): Depend on bench-deps.
7233
47792506
RM
72342013-04-12 Roland McGrath <roland@hack.frob.com>
7235 Xavier Roche <roche+kml2@exalead.com>
7236
7237 [BZ #15361]
7238 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
7239 just that it's a file descriptor.
7240 * manual/llio.texi (Synchronizing AIO Operations): Update description
7241 for EBADF error from aio_fsync.
7242
8fc1bee5
SP
72432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
7244
7245 * Rules (bench): Move target definition...
7246 * benchtests/Makefile: ... here.
7247
aba5e333
CD
72482013-04-11 Carlos O'Donell <carlos@redhat.com>
7249
7250 * math/libm-test.inc (cos_test): Fix PI/2 test.
7251 (sincos_test): Likewise.
7252 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7253 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
7254
273cdee8
AS
72552013-04-11 Andreas Schwab <schwab@suse.de>
7256
6ecec3b6
AS
7257 [BZ #13988]
7258 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
7259 accept exponent character only when digits were seen.
7260 * stdio-common/Makefile (tests): Add bug26.
7261 * stdio-common/bug26.c: New file.
7262
273cdee8
AS
7263 [BZ #14293]
7264 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
7265 non-freeable.
7266
8da491f5
SP
72672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
7268
01dc6df9
SP
7269 * Makeconfig (rtld-prefix): Define built linker prefix.
7270 * Rules (run-bench): Use it.
7271 * math/Makefile (run-regen-ulps): Likewise.
7272
8da491f5
SP
7273 * Rules (bench): Remove eval.
7274
abe7f530
SP
72752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7276 Roland McGrath <roland@hack.frob.com>
7277 Ondrej Bilka <neleai@seznam.cz>
7278
7279 [BZ #15346]
7280 * time/getdate.c: Include ctype.h and alloca.h.
7281 (__getdate_r): Trim leading and trailing spaces of input.
7282 * time/tst-getdate.c (tests): Add tests with leading and
7283 trailing spaces.
7284
61c23e62
RM
72852013-04-08 Roland McGrath <roland@hack.frob.com>
7286
7287 [BZ #14280]
7288 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7289 when computing value.
7290
7208a313
CD
72912013-04-06 Carlos O'Donell <carlos@redhat.com>
7292
085b2d41
CD
7293 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7294 Use testrun.sh to run libm tests.
7295
7208a313
CD
7296 [BZ #15309]
7297 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7298
872c0acd
MM
72992013-04-06 Marko Myllynen <myllynen@redhat.com>
7300
7301 [BZ #15264]
7302 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7303
26510bdd
CD
73042013-04-06 Carlos O'Donell <carlos@redhat.com>
7305
7306 * Makefile.in (regen-ulps): New target.
7307 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7308 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7309 [ifneq (no,$(PERL)] (regen-ulps): New target.
7310 [ifeq (no,$(PERL)] (regen-ulps): New target.
7311 * math/libm-test.inc (ulps_file_name): Define.
7312 (output_dir): New variable.
7313 (options): Add "output-dir" option.
7314 (parse_opt): Handle 'o' case.
7315 (main): If output_dir is non-NULL use it as a prefix
7316 otherwise use "".
7317 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7318
a01f19c8
CD
73192013-04-06 Carlos O'Donell <carlos@redhat.com>
7320
7321 [BZ #10060, #10062]
7322 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7323 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7324 fail configure if __sync_val_compare_and_swap is not inlined.
7325 * sysdeps/i386/configure: Regenerate.
7326 * configure.in: Build for i686 when configured for i386.
7327 * configure: Regenerate.
7328 * README: Remove i386 reference.
7329
b7a329a5
CD
73302013-04-06 Carlos O'Donell <carlos@redhat.com>
7331
7332 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7334
bf0f50df
TS
73352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7336
ee091edf
TS
7337 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7338 (lmsnanval): New variables.
7339 (F): Add conversion tests.
7340 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7341 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7342
a8b792d6
TS
7343 * stdio-common/tstdiomisc.c (F): Properly collect individual
7344 tests' results.
7345
a1cbf437
TS
7346 [BZ #14686, #15336]
7347 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7348 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7349 Instead, use input NaN values or generate a qNaN by arithmetic
7350 operation. Also fix bugs to comply with the standard.
7351 * math/libm-test.inc (remainder_test): Add more tests.
7352
8b43a0c9
TS
7353 [BZ #15335, #15342]
7354 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7355 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7356 input NaN values or generate a qNaN by arithmetic operation.
7357
d91da4ce
TS
7358 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7359 unreachable code.
7360
bf0f50df
TS
7361 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7362 definitions.
7363
05e166c8
JM
73642013-04-03 Joseph Myers <joseph@codesourcery.com>
7365
7366 [BZ #14478]
7367 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7368 underflowed result.
7369 * math/s_cexpf.c (__cexpf): Likewise.
7370 * math/s_cexpl.c (__cexpl): Likewise.
7371 * math/libm-test.inc (cexp_test): Add more tests.
7372
1cef1b19
AS
73732013-04-03 Andreas Schwab <schwab@suse.de>
7374
7375 [BZ #15330]
7376 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7377 order arrays from heap if bigger than alloca cutoff.
7378
74d87055
TS
73792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7380
7381 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7382 (SNAN_TESTS_double): Refer to GCC PR56831.
7383 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7384 GCC PR56828.
7385
d755bba4
SP
73862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7387
90d5d5bb
SP
7388 * Rules (bench): Move bench.out after the run is complete.
7389
73e0cd5d
SP
7390 * Rules (bench): Echo currently running benchmark.
7391
64aabd4b
SP
7392 * benchtests/Makefile (bench): Add atan and slowatan.
7393 * benchtests/atan-inputs: New file.
7394 * benchtests/slowatan-inputs: New file.
7395 * benchtests/slowatan.c: New file.
7396
c871eccd
SP
7397 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7398 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7399 its value.
7400
d755bba4
SP
7401 [BZ #15305]
7402 * sysdeps/unix/sysv/linux/kernel-features.h
7403 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7404 __ASSUME_XFS_RESTRICTED_CHOWN.
7405 * sysdeps/unix/sysv/linux/pathconf.c
7406 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7407 Save and restore errno.
7408
52ce4860
JM
74092013-04-02 Joseph Myers <joseph@codesourcery.com>
7410
7411 [BZ #15327]
7412 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7413 arguments using __kernel_casinh.
7414 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7415 arguments using __kernel_casinhf.
7416 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7417 arguments using __kernel_casinhl.
7418 * math/libm-test.inc (cacosh_test): Add more tests.
7419 * sysdeps/i386/fpu/libm-test-ulps: Update.
7420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7421
81f311c2
SP
74222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7423
e7906a47
SP
7424 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7425 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7426
92e3664b
SP
7427 * bench/Makefile (bench): Add sin and slowsin.
7428 * benchtests/sin-inputs: New file.
7429 * benchtests/slowsin-inputs: New file.
7430 * benchtests/slowsin.c: New file.
7431
81f311c2
SP
7432 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7433 (bench): Add slowexp and slowpow.
7434 (exp-ITER): Increase iterations.
7435 (pow-ITER): Likewise.
7436 * benchtests/exp-inputs: Change input.
7437 * benchtests/pow-inputs: Likewise.
7438 * benchtests/slowexp-inputs: New file.
7439 * benchtests/slowexp.c: New file.
7440 * benchtests/slowpow-inputs: New file.
7441 * benchtests/slowpow.c: New file.
7442
ab0f1aa9
AZ
74432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7444
7445 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7446 instructions.
7447 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7448 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7449 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7450 * benchtests/Makefile: Add rint benchtest.
7451 * benchtests/rint-inputs: Input for rint benchtest.
7452
57267616
TS
74532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7454
7455 * Versions.def (libm): Add GLIBC_2.18.
7456 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7457 hidden libm prototypes.
7458 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7459 * math/Makefile (libm-calls): Add s_issignaling.
7460 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7461 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7462 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7463 declaration.
7464 * math/math.h [__USE_GNU] (issignaling): New macro.
7465 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7466 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7467 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7468 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7469 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7470 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7471 * manual/arith.texi (issignaling): New section.
7472 * manual/libm-err-tab.pl (@all_functions): Update comment.
7473 * math/gen-libm-test.pl (parse_args): Apply special handling for
7474 issignaling.
7475 * math/libm-test.inc (print_float, issignaling_test): New
7476 functions.
7477 (check_float_internal): Add issignaling checks.
7478 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7479 default definition.
7480 * sysdeps/powerpc/math-tests.h: New file.
7481 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7482 tests.
7483 * math/test-snan.c (TEST_FUNC): Likewise.
7484
6142896d
DM
74852013-03-30 David S. Miller <davem@davemloft.net>
7486
7487 * po/de.po: Update from translation team.
7488
ccc8cadf
JM
74892013-03-30 Joseph Myers <joseph@codesourcery.com>
7490
7491 [BZ #10357]
7492 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7493 imaginary part less than 1.0 and real part less than 0.5
7494 specially.
7495 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7496 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7497 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7498 (cacos_test): Add more tests.
7499 (casin_test): Likewise.
7500 (casinh_test): Likewise.
7501 * sysdeps/i386/fpu/libm-test-ulps: Update.
7502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7503
0f6a8d4b
SP
75042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7505
0d1029de
SP
7506 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7507 ONE with its value.
7508
c2d94018
SP
7509 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7510 (__pow_mp): Replace ONE and MONE with their values.
7511 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7512 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7513 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7514 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7515 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7516 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7517
27ec37f1
SP
7518 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7519
a64d7e0e
SP
7520 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7521 (__pow_mp): Replace ZERO and MZERO with their values.
7522 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7523 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7524 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7525 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7526 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7527 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7528 (__sqr): Likewise.
7529
d26dd3eb
SP
7530 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7531
0f6a8d4b
SP
7532 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7533
e57b0c61
RM
75342013-03-28 Roland McGrath <roland@hack.frob.com>
7535
7536 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7537 Declare with __attribute__ ((weak)).
7538 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7539 Call __call_tls_dtors only if it's not NULL.
7540
356b3480
RM
75412013-03-28 Roland McGrath <roland@hack.frob.com>
7542
288f7d79
RM
7543 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7544 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7545 magic __ehdr_start linker symbol if it's defined.
7546 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7547 them up here if it was already done.
7548
dc0a0263
RM
7549 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7550 (_dl_aux_init): Use const in cast when setting it.
7551 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7552 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7553 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7554
3d3436ae
RM
7555 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7556 Declare them here.
7557 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7558 * csu/libc-tls.c: Nor here.
7559 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7560
356b3480
RM
7561 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7562 (__libc_message): Never call vsyslog.
7563
b0f1246a
AM
75642013-03-28 Alan Modra <amodra@gmail.com>
7565
7566 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7567 Define as empty.
7568 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7569 Likewise.
7570
fbbe2b9a
AZ
75712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7572
7573 [BZ #15214]
7574 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7575 underflow.
7576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7577
1728ab37
SP
75782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7579
7a86be6e
SP
7580 [BZ #15304]
7581 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7582 Don't add gid passed as argument.
7583
1728ab37
SP
7584 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7585
3a7182a1
JM
75862013-03-27 Joseph Myers <joseph@codesourcery.com>
7587
7588 [BZ #15307]
7589 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7590 imaginary part between 1.0 and 1.5 and real part less than 0.5
7591 specially.
7592 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7593 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7594 * math/libm-test.inc (cacos_test): Add more tests.
7595 (casin_test): Likewise.
7596 (casinh_test): Likewise.
7597 * sysdeps/i386/fpu/libm-test-ulps: Update.
7598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7599
6f2e90e7
SP
76002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7601
5739f705
SP
7602 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7603 constants.
7604 (norm): Likewise.
7605 (denorm): Likewise.
7606 (__dbl_mp): Likewise.
7607 (add_magnitudes): Likewise.
7608 (sub_magnitudes): Likewise.
7609 (__add): Likewise.
7610 (__sub): Likewise.
7611 (__mul): Likewise.
7612 (__sqr): Likewise.
7613 (__inv): Likewise.
7614 (__dvd): Likewise.
7615
e375e83d
SP
7616 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7617 commented code.
7618 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7619 (__dubcos): Likewise.
7620 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7621 (__ieee754_acos): Likewise.
7622 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7623 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7624 (__exp1): Likewise.
7625 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7626 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7627 (log1): Likewise.
7628 (my_log2): Likewise.
7629 (checkint): Likewise.
7630 * sysdeps/ieee754/dbl-64/e_remainder.c
7631 (__ieee754_remainder): Likewise.
7632 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7633 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7634 (bsloww): Likewise.
7635 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7636
6f2e90e7
SP
7637 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7638 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7639 MANTISSA_STORE_T to store computations on mantissa. Use
7640 macros for rounding and division.
7641 (denorm): Likewise.
7642 (__dbl_mp): Likewise.
7643 (add_magnitudes): Likewise.
7644 (sub_magnitudes): Likewise.
7645 (__mul): Likewise.
7646 (__sqr): Likewise.
7647 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7648 powers of two in terms of TWOPOW macro.
7649 (mp_no): Make type of mantissa as MANTISSA_T.
7650 [!RADIXI]: Define RADIXI.
7651 [!TWO52]: Define TWO52.
7652 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7653
fce14d4e
AZ
76542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655
7656 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7657 llroundl symbol when building for PPC32.
7658
9ad027fb
MW
76592013-03-24 Mark H Weaver <mhw@netris.org>
7660
7661 * manual/arith.texi (Normalization Functions): Fix prototypes for
7662 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7663
e42a38dd
AZ
76642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7665
7666 [BZ #13889]
7667 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7668 high value to check if expl overflow.
7669 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7670 to check for underflow and overflow.
7671 * math/libm-test.inc: Add exp test.
7672
2e0fb521
DL
76732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7674
7675 [BZ #11120]
7676 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7677 with NOT_IN_libc.
7678
b5784d95
AZ
76792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7682 symbol.
7683
5aa4a1a1
TS
76842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7685
bdef0be7
TS
7686 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7687 wrap blocks consisting of several statements.
7688
5aa4a1a1
TS
7689 * sysdeps/generic/math-tests.h: New file.
7690 * sysdeps/i386/fpu/math-tests.h: Likewise.
7691 * math/test-snan.c: Include it.
7692 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7693
98c48fe5
JM
76942013-03-21 Joseph Myers <joseph@codesourcery.com>
7695
7696 [BZ #15285]
7697 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7698 (__ieee754_j0l): Do not improve calculations using cos of twice
7699 input for inputs above LDBL_MAX / 2.0L.
7700 (__ieee754_y0l): Likewise.
7701 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7702 (__ieee754_j1l): Do not improve calculations using cos of twice
7703 input for inputs above LDBL_MAX / 2.0L.
7704 (__ieee754_y1l): Likewise.
7705 * math/libm-test.inc (j0_test): Add another test.
7706 (j1_test): Likewise.
7707 (y0_test): Likewise.
7708 (y1_test): Likewise.
7709 * sysdeps/i386/fpu/libm-test-ulps: Update.
7710
3775a8bc
SP
77112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7712
7713 * Rules ($(objpfx)bench-%.c): Include code from a C source
7714 file.
7715
0a1b2ae6
JM
77162013-03-21 Joseph Myers <joseph@codesourcery.com>
7717
7718 [BZ #15287]
7719 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7720 imaginary part 1.0 and real part less than 0.5 specially.
7721 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7722 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7723 * math/libm-test.inc (cacos_test): Add more tests.
7724 (casin_test): Likewise.
7725 (casinh_test): Likewise.
7726 * sysdeps/i386/fpu/libm-test-ulps: Update.
7727 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7728
b33d4ce4
SP
77292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
7731 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7732 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7733
bef0b507
JM
77342013-03-20 Joseph Myers <joseph@codesourcery.com>
7735
7736 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7737 * config.make.in (config-cflags-sse4): Remove variable.
7738 (config-cflags-avx): Likewise.
7739 (config-cflags-sse2avx): Likewise.
7740 (config-cflags-novzeroupper): Likewise.
7741 (config-asflags-i686): Likewise.
7742 (have-mfma4): Likewise.
7743 (have-as-vis3): Likewise.
7744 (MIG): Likewise.
7745 * configure.in (MIG): Do not AC_SUBST.
7746 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7747 (libc_cv_cc_sse4): Do not AC_SUBST.
7748 (libc_cv_cc_avx): Likewise.
7749 (libc_cv_cc_sse2avx): Likewise.
7750 (libc_cv_cc_novzeroupper): Likewise.
7751 (libc_cv_cc_fma4): Likewise.
7752 (libc_cv_as_i686): Likewise.
7753 (libc_cv_sparc_as_vis3): Likewise.
7754 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7755 LIBC_CONFIG_VAR.
7756 (config-asflags-i686): Likewise.
7757 (config-cflags-avx): Likewise.
7758 (config-cflags-sse2avx): Likewise.
7759 (have-mfma4): Likewise.
7760 (config-cflags-novzeroupper): Likewise.
7761 * sysdeps/mach/configure.in (MIG): Likewise.
7762 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7763 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7764 LIBC_CONFIG_VAR.
7765 (config-cflags-avx): Likewise.
7766 (config-cflags-sse2avx): Likewise.
7767 (have-mfma4): Likewise.
7768 (config-cflags-novzeroupper): Likewise.
7769 * configure: Regenerated.
7770 * sysdeps/i386/configure: Likewise.
7771 * sysdeps/mach/configure: Likewise.
7772 * sysdeps/sparc/configure: Likewise.
7773 * sysdeps/x86_64/configure: Likewise.
7774
912cc4b3
RM
77752013-03-20 Roland McGrath <roland@hack.frob.com>
7776
7777 [BZ #14812]
7778 * locale/programs/localedef.c (options): Put N_ translation marker
7779 on argument names, not just descriptions.
7780
04eed2b0
MS
77812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7782
7783 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7784
a065ceff
OB
77852013-03-20 Ondřej Bílka <neleai@seznam.cz>
7786
9bb2a810 7787 [BZ #14176]
a065ceff
OB
7788 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7789
a600e5ce
RM
77902013-03-19 Roland McGrath <roland@hack.frob.com>
7791
7792 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7793 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7794 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7795 [!BEFORE_ABORT] (before_abort): New function.
7796 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7797 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7798 (writev_for_fatal): New function.
7799 (WRITEV_FOR_FATAL): New macro; call that.
7800 (backtrace_and_maps): New function.
7801 (BEFORE_ABORT): New macro; call that.
7802 (struct str_list): Type removed.
7803 (__libc_message, __libc_fatal): Functions removed.
7804 Include <sysdeps/posix/libc_fatal.c> instead.
7805
6b18bea6
JM
78062013-03-19 Joseph Myers <joseph@codesourcery.com>
7807
7808 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7809 constants.
7810 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7811 double constants.
7812
aaa8cb4b
AS
78132013-03-19 Andreas Schwab <schwab@suse.de>
7814
44673770
AS
7815 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7816 * sysdeps/gnu/configure: Regenerate.
7817
aaa8cb4b
AS
7818 * configure.in: Substitute libc_cv_rtlddir.
7819 * configure: Regenerate.
7820 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7821 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7822 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7823 * elf/Makefile (install-others, CFLAGS-interp.c)
7824 (ldso_install, common-ldd-rewrite): Likewise.
7825 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7826 $(inst_slibdir)/$(rtld-installed-name).
7827 * scripts/rellns-sh: Add -p option.
7828 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7829 for source.
7830
d3cfc668
SP
78312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7832
7833 * manual/nptl.texi: Renamed to ...
7834 * manual/threads.texi: ... this.
7835 * manual/Makefile (chapters): Update.
7836
0e2b9cdd
RM
78372013-03-18 Roland McGrath <roland@hack.frob.com>
7838
7839 [BZ #14812]
7840 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7841 on argument names, not just descriptions.
0e2b9cdd
RM
7842 * malloc/memusagestat.c (options): Likewise.
7843 * nss/getent.c (options): Likewise.
63270c24
RM
7844
78452013-03-18 Benno Schulenberg <bensberg@justemail.net>
7846
7847 [BZ #14812]
7848 * iconv/iconv_prog.c (options): Put N_ translation marker
7849 on argument names, not just descriptions.
7850 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7851
b2e1393c
OB
78522013-03-18 Ondrej Bilka <neleai@seznam.cz>
7853
7854 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7855 implementation which is faster on all x86_64 architectures.
7856 Tested on AMD, Intel Nehalem, SNB, IVB.
7857 * sysdeps/x86_64/strnlen.S: Likewise.
7858
7859 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7860 Remove all multiarch strlen and strnlen versions.
7861 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7862 Remove strlen and strnlen related parts.
7863
7864 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7865 Inline strlen part.
7866 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7867
7868 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7869 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7870 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7871 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7872 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7873 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7874
ec4ff04d
CD
78752013-03-17 Carlos O'Donell <carlos@redhat.com>
7876
7877 * manual/memory.texi (Malloc Tunable Parameters):
7878 Sort parameters alphabetically. Add comments for missing entries.
7879
cd18e90a
DM
78802013-03-17 David S. Miller <davem@davemloft.net>
7881
7882 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7883
2a185d32
JM
78842013-03-16 Joseph Myers <joseph@codesourcery.com>
7885
d2f9799e
JM
7886 [BZ #15283]
7887 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7888 for arguments at most half maximum finite value.
7889 * math/libm-test.inc (j0_test): Add more tests.
7890 (j1_test): Likewise.
7891 (y0_test): Likewise.
7892 (y1_test): Likewise.
7893 * sysdeps/i386/fpu/libm-test-ulps: Update.
7894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7895
2a185d32
JM
7896 [BZ #14155]
7897 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7898 1 / x and functions P and Q for arguments above 0x1p256L.
7899 (__ieee754_y0l): Likewise.
7900 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7901 (__ieee754_y1l): Likewise.
7902 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7903 (j1_test): Likewise.
7904 (y0_test): Likewise.
7905 (y1_test): Likewise.
7906
6cbec759
TS
79072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7908
7909 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7910 variable.
7911
bc16e260
RM
79122013-03-15 Roland McGrath <roland@hack.frob.com>
7913
aefc9b8c
RM
7914 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7915 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7916 zero since it's initialized to EXEC_PAGESIZE.
7917
bc16e260
RM
7918 * sysdeps/unix/sysv/linux/ldsodefs.h
7919 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7920 * sysdeps/generic/ldsodefs.h: ... here.
7921
a57da955
TS
79222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7923
af00a34d
TS
7924 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7925
495ded2c
TS
7926 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7927 math/test-snan.c.
7928 * math/test-snan.c: Renamed from
7929 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7930 * math/Makefile (tests): Add test-snan.
7931 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7932 test-powerpc-snan.
7933
777b0332
TS
7934 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7935 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7936 functions.
7937 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7938 __builtin_nan family of functions.
7939 * math/libm-test.inc (initialize): Initialize qnan_value with
7940 __builtin_nan family of functions.
7941 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7942 Remove variables.
7943 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7944 Remove functions.
7945 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7946 storage class. Initialize qNaN_var and sNaN_var with
7947 __builtin_nan and __builtin_nans families of functions,
7948 respectively.
7949
64d063b8
TS
7950 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7951 (sqrt_test): Remove duplicate test with qNaN input.
7952 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7953 (round_test, signbit_test, significand_test): Note missing +/-Inf
7954 as well as qNaN tests.
7955
67e971f1
TS
7956 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7957 qNaN_var. Fix a few strings, too.
7958 * math/libm-test.inc (nan_value): Rename to qnan_value.
7959 * math/gen-libm-test.pl (%beautify): Adjust to that.
7960 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7961 * math/test-misc.c (main): Likewise.
7962 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7963 to __qnan_bytes, and __qnan_union, respectively.
7964 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7965 Likewise.
7966 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7967 and lqnanval, respectively.
7968 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7969 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7970 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7971 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7972
64487e12
TS
7973 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7974 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7975 doubles.
7976
e015e27b
TS
7977 * math/test-misc.c (main): Fix copy'n'pastos.
7978 * misc/tst-efgcvt.c (special): Likewise.
7979
a57da955
TS
7980 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7981 Remove declarations.
7982
1e380345
SP
79832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7984
7985 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7986 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7987 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7988 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7989
ef26eece
AZ
79902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991
7992 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7993 macro to return vdso values correctly in IFUNC implementations.
7994 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7995 Optimization by using IFUNC.
7996
8cfdb7e0
SP
79972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7998 Richard Henderson <rth@redhat.com>
7999 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
8000
8001 * Makefile.in (bench): New target.
8002 * NEWS: Mention the benchmark framework.
8003 * Rules (bench): Likewise.
8004 (binaries-bench): Generate binaries for functions to
8005 benchmark.
8006 * benchtests/Makefile: New makefile for benchmark tests.
8007 * benchtests/bench-skeleton.c: New skeleton file for benchmark
8008 programs.
8009 * benchtests/exp-inputs: New input file for EXP function.
8010 * benchtests/pow-inputs: New input file for POW function.
8011 * scripts/bench.pl: New script to generate source files for
8012 benchmark programs.
8013
bcda9880
SP
80142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8015
d22ca8cd
SP
8016 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8017 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
8018 computations on mantissa. Use macros for rounding and
8019 division.
8020 (denorm): Likewise.
8021 (__dbl_mp): Likewise.
8022 (add_magnitudes): Likewise.
8023 (sub_magnitudes): Likewise.
8024 (__mul): Likewise.
8025 (__sqr): Likewise.
8026 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8027 powers of two in terms of TWOPOW macro.
8028 (mp_no): Make type of mantissa as MANTISSA_T.
8029 [!RADIXI]: Define RADIXI.
8030 [!TWO52]: Define TWO52.
8031 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8032
bcda9880
SP
8033 * manual/nptl.texi (cindex): Modify threads to pthreads.
8034
06d5adfb
JM
80352013-03-15 Joseph Myers <joseph@codesourcery.com>
8036
8037 * sysdeps/x86_64/preconfigure: Regenerated.
8038
41c7328e
JM
80392013-03-14 Joseph Myers <joseph@codesourcery.com>
8040
8041 [BZ #14155]
8042 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
8043 0x1p28 and above.
8044 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
8045 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
8046 0x1p28 and above.
8047 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
8048 * math/libm-test.inc (j0_test): Do not allow one spurious
8049 underflow exception.
8050 (y1_test): Likewise.
8051
e25cfa60
SP
80522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
8053
0409959c
SP
8054 * manual/Makefile (chapters): Add nptl.
8055 * manual/debug.texi (Debugging Support): Add link to Threads
8056 chapter.
8057 * manual/nptl.texi: New file.
8058
e25cfa60
SP
8059 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
8060
58a1335e
PB
80612013-03-14 Petr Baudis <pasky@ucw.cz>
8062
8063 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
8064 for non-NULL pointer before the memory validity test. Pointed
8065 out by Holger Brunck <holger.brunck@keymile.com>.
8066
9dc7c64f
AS
80672013-03-13 Andreas Schwab <schwab@suse.de>
8068
8069 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
8070 instead of .os.
8071
54206aa6
JM
80722013-03-13 Joseph Myers <joseph@codesourcery.com>
8073
8074 * timezone/zic.c: Update from tzcode 2013b.
8075
e98cdb38
CD
80762013-03-12 Carlos O'Donell <carlos@redhat.com>
8077
8078 * manual/install.texi (Configuring and compiling):
8079 Mention i686 and i586.
8080 * INSTALL: Regenerate.
8081
9967e003
RM
80822013-03-12 Roland McGrath <roland@hack.frob.com>
8083
8084 * sysdeps/init_array/elf-init.c: New file.
8085 * csu/elf-init.c
8086 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
8087 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
8088
8089 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
8090 __gmon_start__ as global, but as static with a .preinit_array pointer.
8091 * sysdeps/init_array/gmon-start.c: New file. Use that.
8092 * sysdeps/init_array/crti.S: New file, empty except for comments.
8093 * sysdeps/init_array/crtn.S: Likewise.
8094
e6b5a293 80952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
8096
8097 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
8098 definining bcopy.
80f844c9
OB
8099 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8100 Remove Prefer_SSE_for_memop.
8101 * sysdeps/x86_64/multiarch/init-arch.h: Remove
8102 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
8103 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
8104 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8105 memset-x86-64.
80f844c9 8106 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 8107 Remove bzero, memset ifunc support.
80f844c9
OB
8108 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
8109 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
8110 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8111 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8112
fb6b0fcb
AS
81132013-03-11 Andreas Schwab <schwab@suse.de>
8114
8115 [BZ #15234]
8116 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
8117 by SHLIB_COMPAT.
8118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
8119 (GLIBC_2.16): Remove pthread_atfork.
8120
3e6bd4b1
PP
81212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
8122
8123 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
8124 (ptestcases.h): Likewise.
8125
222d7f00
RM
81262013-03-08 Roland McGrath <roland@hack.frob.com>
8127
8128 * Makeconfig ($(common-objpfx)config.status): Depend on
8129 sysdeps/*/preconfigure{,.in} too.
8130
1ba4f030
JM
81312013-03-08 Joseph Myers <joseph@codesourcery.com>
8132
a222d91a
JM
8133 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
8134 (__free_hook): Use void * instead of __malloc_ptr_t.
8135 (__malloc_hook): Likewise.
8136 (__realloc_hook): Likewise.
8137 (__memalign_hook): Likewise.
8138 (__after_morecore_hook): Likewise.
8139 * malloc/arena.c (save_malloc_hook): Likewise.
8140 (save_free_hook): Likewise.
8141 * malloc/hooks.c (malloc_hook_ini): Likewise.
8142 (realloc_hook_ini): Likewise.
8143 (memalign_hook_ini): Likewise.
8144 * malloc/malloc.c (malloc_hook_ini): Likewise.
8145 (realloc_hook_ini): Likewise.
8146 (memalign_hook_ini): Likewise.
8147 (__free_hook): Likewise.
8148 (__malloc_hook): Likewise.
8149 (__realloc_hook): Likewise.
8150 (__memalign_hook): Likewise.
8151 (__libc_malloc): Likewise.
8152 (__libc_free): Likewise.
8153 (__libc_realloc): Likewise.
8154 (__libc_memalign): Likewise.
8155 (__libc_valloc): Likewise.
8156 (__libc_pvalloc): Likewise.
8157 (__libc_calloc): Likewise.
8158 (__posix_memalign): Likewise.
8159 * malloc/morecore.c (__sbrk): Likewise.
8160 (__default_morecore): Likewise.
8161
5cc45e10
JM
8162 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
8163
dd54b864
JM
8164 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
8165 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
8166 __malloc_ptrdiff_t.
8167
1ba4f030
JM
8168 * malloc/malloc.h (__malloc_size_t): Remove macro.
8169 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
8170 __malloc_size_t.
8171 (old_memalign_hook): Likewise.
8172 (old_realloc_hook): Likewise.
8173 (struct hdr): Likewise.
8174 (flood): Likewise.
8175 (mallochook): Likewise.
8176 (memalignhook): Likewise.
8177 (reallochook): Likewise.
8178 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
8179 (tr_old_realloc_hook): Likewise.
8180 (tr_old_memalign_hook): Likewise.
8181 (tr_mallochook): Likewise.
8182 (tr_reallochook): Likewise.
8183 (tr_memalignhook): Likewise.
8184
edf66e57
AZ
81852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8186
8187 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
8188 default_ldbl_pack and using as default implementation.
8189 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
8190 implementation.
8191 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
8192 redundant definition.
8193 (ldbl_insert_mantissa): Likewise.
8194 (ldbl_canonicalize): Likewise.
8195 (ldbl_nearbyint): Likewise.
8196 (ldbl_pack): Rename to ldbl_pack_ppc.
8197 (ldbl_unpack): Rename to ldbl_unpack_ppc.
8198 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
8199 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
8200
6d9145d8
SP
82012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8202
8203 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
8204 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
8205 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
8206 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
8207 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
8208 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
8209 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
8210 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
8211
4dd4e157
AJ
82122013-03-07 Andreas Jaeger <aj@suse.de>
8213
8214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8215 bits/mman-linux.h.
8216
adbb8027
SP
82172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
8218
ce544b5b
SP
8219 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
8220 Include mpa.h and declare __MPEXP.
8221 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
8222 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8223 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8224 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
8225 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8226 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
8227 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
8228
4cc149fd
SP
8229 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
8230 (__slowpow): Use long double EXPL and LOGL functions to
8231 compute POW.
8232 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
8233 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
8235 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
8236 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
8237 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
8238
e6ebd4a7
SP
8239 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
8240 intermediate variable to calculate exponent.
8241 (__sqr): Likewise.
8242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8243 Likewise.
8244 (__sqr): Likewise.
8245
82a9811d
SP
8246 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
8247 [!NO__SQR]: Define __sqr.
8248 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
8249 and NO__SQR. Remove all code except __mul and __sqr. Include
8250 sysdeps/ieee754/dbl-64/mpa.c.
8251 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8252
adbb8027
SP
8253 [BZ #12723]
8254 * posix/Makefile (tests): Add tst-pathconf.
8255 * posix/tst-pathconf.c: New test case.
8256 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
8257 _PC_PIPE_BUF.
8258 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
8259
39120df9
PF
82602013-03-06 Patsy Franklin <pfrankli@redhat.com>
8261
8262 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
8263
67525cb8
AJ
82642013-03-06 Andreas Jaeger <aj@suse.de>
8265
664a9ce4
AJ
8266 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
8267 definition via __MAP_ANONYMOUS.
8268
8e39047d
AJ
8269 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
8270 it's not part of Linux headers.
8271
67525cb8
AJ
8272 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
8273 (MAP_HUGE_MASK): Define.
8274
8275 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8276 Define.
8277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8279 Define.
8280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8281 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
8282 Define.
8283 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8284 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8285 Define.
8286 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8287
8288 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8289 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8290 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8291 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8292 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8293 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8294
8295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8296 Handle f2fs.
8297
8298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8299 Handle f2fs and efivarfs.
8300
8301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8302 f2fs.
8303
8304 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8305 (EFIVARFS_MAGIC): Add.
8306 (F2FS_LINK_MAX): Add.
8307
e1b42695
PP
83082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8309
8310 * stdio-common/vfprintf.c: Replace __builtin_expect with
8311 __glibc_unlikely.
8312
2d67d91a
JM
83132013-03-06 Joseph Myers <joseph@codesourcery.com>
8314
8315 [BZ #13550]
8316 * sysdeps/generic/bp-sym.h: Remove file.
8317 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8318 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8319 <bp-sym.h> and <bp-asm.h>.
8320 (__longjmp): Don't use BP_SYM.
8321 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8322 and <bp-asm.h>.
8323 (memcpy): Don't use BP_SYM.
8324 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8325 <bp-sym.h> and <bp-asm.h>.
8326 (memcpy): Don't use BP_SYM.
8327 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8328 <bp-asm.h>.
8329 (memcpy): Don't use BP_SYM.
8330 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8331 <bp-asm.h>.
8332 (memset): Don't use BP_SYM.
8333 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8334 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8335 (__bzero): Don't use BP_SYM.
8336 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8337 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8338 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8339 <bp-sym.h> and <bp-asm.h>.
8340 (memcmp): Don't use BP_SYM. Remove comment about bounded
8341 pointers.
8342 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8343 <bp-sym.h> and <bp-asm.h>.
8344 (memcpy): Don't use BP_SYM.
8345 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8346 <bp-sym.h> and <bp-asm.h>.
8347 (memset): Don't use BP_SYM.
8348 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8349 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8350 (__bzero): Don't use BP_SYM.
8351 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8352 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8353 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8354 <bp-sym.h> and <bp-asm.h>.
8355 (strncmp): Don't use BP_SYM. Remove comment about bounded
8356 pointers.
8357 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8358 <bp-sym.h> and <bp-asm.h>.
8359 (memcpy): Don't use BP_SYM.
8360 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8361 <bp-sym.h> and <bp-asm.h>.
8362 (memset): Don't use BP_SYM.
8363 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8364 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8365 (__bzero): Don't use BP_SYM.
8366 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8367 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8368 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8369 <bp-sym.h> and <bp-asm.h>.
8370 (__memchr): Don't use BP_SYM.
8371 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8372 <bp-sym.h> and <bp-asm.h>.
8373 (memcmp): Don't use BP_SYM. Remove comment about bounded
8374 pointers.
8375 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8376 <bp-sym.h> and <bp-asm.h>.
8377 (memcpy): Don't use BP_SYM.
8378 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8379 <bp-sym.h> and <bp-asm.h>.
8380 (__mempcpy): Don't use BP_SYM.
8381 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8382 <bp-sym.h> and <bp-asm.h>.
8383 (__memrchr): Don't use BP_SYM.
8384 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8385 <bp-sym.h> and <bp-asm.h>.
8386 (memset): Don't use BP_SYM.
8387 (__bzero): Likewise.
8388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8389 <bp-sym.h> and <bp-asm.h>.
8390 (__rawmemchr): Don't use BP_SYM.
8391 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8392 <bp-sym.h> and <bp-asm.h>.
8393 (__STRCMP): Don't use BP_SYM.
8394 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8395 <bp-sym.h> and <bp-asm.h>.
8396 (strchr): Don't use BP_SYM.
8397 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8398 <bp-sym.h> and <bp-asm.h>.
8399 (__strchrnul): Don't use BP_SYM.
8400 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8401 <bp-sym.h> and <bp-asm.h>.
8402 (strlen): Don't use BP_SYM.
8403 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8404 <bp-sym.h> and <bp-asm.h>.
8405 (strncmp): Don't use BP_SYM. Remove comment about bounded
8406 pointers.
8407 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8408 <bp-sym.h> and <bp-asm.h>.
8409 (__strnlen): Don't use BP_SYM.
8410 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8411 <bp-sym.h> and <bp-asm.h>.
8412 (__GI__setjmp): Don't use BP_SYM.
8413 (_setjmp): Likewise.
8414 (__sigsetjmp): Likewise.
8415 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8416 (L(start_addresses)): Don't use BP_SYM.
8417 (_start): Likewise.
8418 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8419 <bp-asm.h>.
8420 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8421 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8422 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8423 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8424 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8425 <bp-asm.h>.
8426 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8427 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8428 about bounded pointers.
8429 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8430 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8431 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8432 <bp-asm.h>.
8433 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8434 about bounded pointers. Remove GKM FIXME comments.
8435 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8436 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8437 <bp-asm.h>.
8438 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8439 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8440 Remove GKM FIXME comments.
8441 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8442 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8443 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8444 <bp-asm.h>.
8445 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8446 about bounded pointers. Remove GKM FIXME comment.
8447 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8448 and <bp-asm.h>.
8449 (strncmp): Don't use BP_SYM. Remove comment about bounded
8450 pointers.
8451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8452 <bp-sym.h> and <bp-asm.h>.
8453 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8455 <bp-sym.h> and <bp-asm.h>.
8456 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8457 comment.
8458
cdcf361f
PP
84592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8460
8461 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8462 call free(NULL).
8463
3c4a2b15
DM
84642013-03-05 David S. Miller <davem@davemloft.net>
8465
8466 * po/es.po: Update from translation team.
8467
cdcf361f 84682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8469
8470 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8471 <bits/mman-linux.h>.
8472 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8473 is fine.
8474 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8475 <bits/mman-linux.h> to end of file.
8476 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8477 is fine.
8478 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8479 <bits/mman-linux.h> to end of file.
8480 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8481 is fine.
8482 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8483 <bits/mman-linux.h> to end of file.
8484
8485 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8486 (MCL_CURRENT, MCL_FUTURE): Define here.
8487
5f67c04f
AK
84882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8489
8a4473cc 8490 [BZ #15232]
5f67c04f
AK
8491 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8492 attribute_hidden.
8493 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8494
c3e94a95
AK
84952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8496
8497 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8498 fourth parameter needed for rt_sigprocmask syscall.
8499 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8500 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8502 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8503 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8504 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8505
cfb6382a
JM
85062013-03-04 Joseph Myers <joseph@codesourcery.com>
8507
8508 [BZ #13550]
8509 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8510 comment about bounded pointers.
8511 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8512 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8513
539d8e01
AJ
85142013-03-04 Andreas Jaeger <aj@suse.de>
8515
8516 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8517 common definitions.
8518
8519 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8520 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8521 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8522 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8523 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8524 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8525
2e167a70 85262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8527
8528 [BZ #15055]
8529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8530 __ieee754_sqrl instead of __sqrl.
8531
68508633
JM
85322013-03-01 Joseph Myers <joseph@codesourcery.com>
8533
8534 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8535 * sysdeps/powerpc/fpu_control.h: ... here.
8536 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8537 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8538 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8539 * sysdeps/powerpc/bits/mathinline.h: ... here.
8540
7775448e
RM
85412013-03-01 Roland McGrath <roland@hack.frob.com>
8542
8543 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8544 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8545 to just [NEED_DL_SYSINFO_DSO].
8546 * elf/dl-support.c: Likewise.
8547 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8548 * elf/rtld.c (dl_main): Likewise.
8549 * elf/setup-vdso.h (setup_vdso): Likewise.
8550 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8551 * sysdeps/unix/sysv/linux/dl-sysdep.c
8552 (_dl_discover_osversion): Likewise.
8553
4e9b5995
CD
85542013-03-01 Carlos O'Donell <carlos@redhat.com>
8555
8556 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8557 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8558
e23872c8
SP
85592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8560
e5c74c63
SP
8561 * NEWS: Mention libm performance improvements and non-x86 PI
8562 futex support.
8563
e23872c8
SP
8564 * csu/libc-start.c (__pthread_initialize_minimal): Change
8565 function arguments.
8566 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8567
b5510883
JM
85682013-02-28 Joseph Myers <joseph@codesourcery.com>
8569
8570 [BZ #13550]
8571 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8572 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8573 <bp-sym.h> and <bp-asm.h>.
8574 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8575 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8576 and <bp-asm.h>.
8577 (memcpy): Don't use BP_SYM.
8578 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8579 <bp-asm.h>.
8580 (__mpn_add_n): Don't use BP_SYM.
8581 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8582 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8583 and <bp-asm.h>.
8584 (__mpn_addmul_1): Don't use BP_SYM.
8585 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8586 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8587 <bp-sym.h>.
8588 (_setjmp): Don't use BP_SYM.
8589 (__novmx_setjmp): Likewise.
8590 (__GI__setjmp): Likewise.
8591 (__vmx_setjmp): Likewise.
8592 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8593 <bp-sym.h>.
8594 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8595 (__bzero): Don't use BP_SYM.
8596 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8597 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8598 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8599 <bp-sym.h> and <bp-asm.h>.
8600 (memcpy): Don't use BP_SYM.
8601 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8602 <bp-sym.h> and <bp-asm.h>.
8603 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8604 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8605 <bp-sym.h> and <bp-asm.h>.
8606 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8607 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8608 <bp-asm.h>.
8609 (__mpn_lshift): Don't use BP_SYM.
8610 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8611 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8612 <bp-asm.h>.
8613 (memset): Don't use BP_SYM.
8614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8616 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8617 <bp-asm.h>.
8618 (__mpn_mul_1): Don't use BP_SYM.
8619 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8620 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8621 <bp-sym.h> and <bp-asm.h>.
8622 (memcmp): Don't use BP_SYM.
8623 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8624 <bp-sym.h> and <bp-asm.h>.
8625 (memcpy): Don't use BP_SYM.
8626 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8627 <bp-sym.h> and <bp-asm.h>.
8628 (memset): Don't use BP_SYM.
8629 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8630 <bp-sym.h> and <bp-asm.h>.
8631 (strncmp): Don't use BP_SYM.
8632 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8633 <bp-sym.h> and <bp-asm.h>.
8634 (memcpy): Don't use BP_SYM.
8635 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8636 <bp-sym.h> and <bp-asm.h>.
8637 (memset): Don't use BP_SYM.
8638 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8639 <bp-sym.h> and <bp-asm.h>.
8640 (__memchr): Don't use BP_SYM.
8641 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8642 <bp-sym.h> and <bp-asm.h>.
8643 (memcmp): Don't use BP_SYM.
8644 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8645 <bp-sym.h> and <bp-asm.h>.
8646 (memcpy): Don't use BP_SYM.
8647 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8648 <bp-sym.h> and <bp-asm.h>.
8649 (__mempcpy): Don't use BP_SYM.
8650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8651 <bp-sym.h> and <bp-asm.h>.
8652 (__memrchr): Don't use BP_SYM.
8653 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8654 <bp-sym.h> and <bp-asm.h>.
8655 (memset): Don't use BP_SYM.
8656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8657 <bp-sym.h> and <bp-asm.h>.
8658 (__rawmemchr): Don't use BP_SYM.
8659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8660 <bp-sym.h> and <bp-asm.h>.
8661 (__STRCMP): Don't use BP_SYM.
8662 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8663 <bp-sym.h> and <bp-asm.h>.
8664 (strchr): Don't use BP_SYM.
8665 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8666 <bp-sym.h> and <bp-asm.h>.
8667 (__strchrnul): Don't use BP_SYM.
8668 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8669 <bp-sym.h> and <bp-asm.h>.
8670 (strlen): Don't use BP_SYM.
8671 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8672 <bp-sym.h> and <bp-asm.h>.
8673 (strncmp): Don't use BP_SYM.
8674 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8675 <bp-sym.h> and <bp-asm.h>.
8676 (__strnlen): Don't use BP_SYM.
8677 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8678 <bp-asm.h>.
8679 (__mpn_rshift): Don't use BP_SYM.
8680 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8681 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8682 <bp-sym.h> and <bp-asm.h>.
8683 (__sigsetjmp): Don't use BP_SYM.
8684 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8685 (L(start_addresses)): Don't use BP_SYM.
8686 (_start): Likewise.
8687 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8688 <bp-asm.h>.
8689 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8690 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8691 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8692 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8693 <bp-asm.h>.
8694 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8695 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8696 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8697 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8698 <bp-asm.h>.
8699 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8700 comments.
8701 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8702 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8703 <bp-asm.h>.
8704 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8705 FIXME comments.
8706 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8707 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8708 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8709 <bp-asm.h>.
8710 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8711 comment.
8712 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8713 and <bp-asm.h>.
8714 (strncmp): Don't use BP_SYM,
8715 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8716 <bp-asm.h>.
8717 (__mpn_sub_n): Don't use BP_SYM.
8718 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8719 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8720 and <bp-asm.h>.
8721 (__mpn_submul_1): Don't use BP_SYM.
8722 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8724 <bp-sym.h> and <bp-asm.h>.
8725 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8727 <bp-sym.h> and <bp-asm.h>.
8728 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8729 comment.
8730
8d19fe64
SP
87312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8732
8733 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8734 Use ZK to minimize writes to Z.
8735 (sub_magnitudes): Simplify code a bit.
8736 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8737 Use ZK to minimize writes to Z.
8738 (sub_magnitudes): Simplify code a bit.
8739
85bd816a
RM
87402013-02-27 Roland McGrath <roland@hack.frob.com>
8741
8742 * csu/gmon-start.c: Add special exception to license text.
8743
b5977bf2
RH
87442013-02-27 Richard Henderson <rth@redhat.com>
8745
8746 * scripts/config.guess: Update from config.git.
8747 * scripts/config.sub: Likewise.
8748
11d6e2f2
SP
87492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8750
09c14ed2
SP
8751 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8752
a688864e
SP
8753 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8754
6295157a
SP
8755 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8756
b8de2202
SP
8757 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8758
11d6e2f2
SP
8759 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8760
7e80ddb8
RM
87612013-02-26 Roland McGrath <roland@hack.frob.com>
8762
8763 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8764 [$(build-shared = yes].
7e80ddb8 8765
7da6d9ed
SP
87662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8767
45f05884
SP
8768 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8769 (__mul): Reduce iterations for calculating mantissa.
8770
2236d359
SP
8771 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8772 MPTWO.
8773 (__mpranred): Likewise.
8774
7da6d9ed
SP
8775 [BZ #15160]
8776 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8777 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8778
b7688c42
PE
87792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8780
8781 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8782 Define __attribute__.
8783
53a5c423
SP
87842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
8786 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8787 unused.
8788 * posix/regex_internal.h (__attribute): Remove.
8789 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8790 (re_string_context_at): Likewise.
8791 (bitset_not): Use __attribute__ and mark function as possibly
8792 unused.
8793 (bitset_merge): Likewise.
8794 (bitset_mask): Likewise.
8795 (re_string_char_size_at): Likewise.
8796 (re_string_wchar_at): Likewise.
8797 (re_string_elem_size_at): Likewise.
8798
60f5a8b5
SP
87992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8800
2a983a2e
SP
8801 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8802 code.
8803 (cc32): Likewise.
8804
e69804d1
SP
8805 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8806 (__acr): Likewise.
8807 (__cpy): Likewise.
8808 (norm): Likewise.
8809 (denorm): Likewise.
8810 (__dbl_mp): Likewise.
8811 (add_magnitudes): Likewise.
8812 (sub_magnitudes): Likewise.
8813 (__mul): Likewise.
8814 (__inv): Likewise.
8815
2f22a1e8
SP
8816 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8817 style.
8818
8930ddc7
SP
8819 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8820 style.
8821
dc60cb11
SP
8822 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8823 code.
8824
60f5a8b5
SP
8825 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8826 up changes with default code.
8827 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8828 Likewise.
8829
b4d1fd33
AM
88302013-02-24 Allan McRae <allan@archlinux.org>
8831
faf6f8bc
AM
8832 * manual/socket.texi (The Internet Namespace): Order menu items
8833 to match that in the file.
8834
b4d1fd33
AM
8835 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8836 node listing of the info page menu.
8837
2366713d
JM
88382013-02-21 Joseph Myers <joseph@codesourcery.com>
8839
8840 [BZ #13550]
8841 * sysdeps/i386/bp-asm.h: Remove file.
8842 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8843 (PARMS): Do not use macros from bp-asm.h.
8844 (S1): Likewise.
8845 (S2): Likewise.
8846 (SIZE): Likewise.
8847 (__mpn_add_n): Do not use BP_SYM
8848 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8849 "bp-asm.h".
8850 (PARMS): Do not use macros from bp-asm.h.
8851 (S1): Likewise.
8852 (SIZE): Likewise.
8853 (__mpn_addmul_1): Do not use BP_SYM
8854 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8855 "bp-asm.h".
8856 (PARMS): Do not use macros from bp-asm.h.
8857 (SIGMSK): Likewise.
8858 (_setjmp): Likewise. Do not use BP_SYM.
8859 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8860 "bp-asm.h".
8861 (PARMS): Do not use macros from bp-asm.h.
8862 (SIGMSK): Likewise.
8863 (setjmp): Likewise. Do not use BP_SYM.
8864 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8865 "bp-asm.h".
8866 (PARMS): Do not use macros from bp-asm.h.
8867 (__frexp): Do not use BP_SYM.
8868 (frexp): Likewise.
8869 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8870 "bp-asm.h".
8871 (PARMS): Do not use macros from bp-asm.h.
8872 (__frexpf): Do not use BP_SYM.
8873 (frexpf): Likewise.
8874 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8875 "bp-asm.h".
8876 (PARMS): Do not use macros from bp-asm.h.
8877 (__frexpl): Do not use BP_SYM.
8878 (frexpl): Likewise.
8879 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8880 "bp-asm.h".
8881 (PARMS): Do not use macros from bp-asm.h.
8882 (__remquo): Do not use BP_SYM.
8883 (remquo): Likewise.
8884 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8885 "bp-asm.h".
8886 (PARMS): Do not use macros from bp-asm.h.
8887 (__remquof): Do not use BP_SYM.
8888 (remquof): Likewise.
8889 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8890 "bp-asm.h".
8891 (PARMS): Do not use macros from bp-asm.h.
8892 (__remquol): Do not use BP_SYM.
8893 (remquol): Likewise.
8894 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8895 "bp-asm.h".
8896 (PARMS): Do not use macros from bp-asm.h.
8897 (DEST): Likewise.
8898 (SRC): Likewise.
8899 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8900 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8901 "bp-asm.h".
8902 (PARMS): Do not use macros from bp-asm.h.
8903 (strlen): Do not use BP_SYM.
8904 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8905 "bp-asm.h".
8906 (PARMS): Do not use macros from bp-asm.h.
8907 (S1): Likewise.
8908 (S2): Likewise.
8909 (SIZE): Likewise.
8910 (__mpn_add_n): Do not use BP_SYM.
8911 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8912 "bp-asm.h".
8913 (PARMS): Do not use macros from bp-asm.h.
8914 (S1): Likewise.
8915 (SIZE): Likewise.
8916 (__mpn_addmul_1): Do not use BP_SYM.
8917 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8918 weak_alias.
8919 (bzero): Likewise.
8920 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8921 "bp-asm.h".
8922 (PARMS): Do not use macros from bp-asm.h.
8923 (S): Likewise.
8924 (SIZE): Likewise.
8925 (__mpn_lshift): Do not use BP_SYM.
8926 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8927 "bp-asm.h".
8928 (PARMS): Do not use macros from bp-asm.h.
8929 (DEST): Likewise.
8930 (SRC): Likewise.
8931 (LEN): Likewise.
8932 (memcpy): Likewise. Do not use BP_SYM.
8933 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8934 libc_hidden_def and weak_alias.
8935 (mempcpy): Do not use BP_SYM in weak_alias.
8936 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8937 "bp-asm.h".
8938 (PARMS): Do not use macros from bp-asm.h.
8939 (DEST): Likewise.
8940 (LEN): Likewise.
8941 [!BZERO_P] (CHR): Likewise.
8942 (memset): Likewise. Do not use BP_SYM.
8943 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8944 "bp-asm.h".
8945 (PARMS): Do not use macros from bp-asm.h.
8946 (S1): Likewise.
8947 (SIZE): Likewise.
8948 (__mpn_mul_1): Do not use BP_SYM.
8949 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8950 "bp-asm.h".
8951 (PARMS): Do not use macros from bp-asm.h.
8952 (S): Likewise.
8953 (SIZE): Likewise.
8954 (__mpn_rshift): Do not use BP_SYM.
8955 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8956 "bp-asm.h".
8957 (PARMS): Do not use macros from bp-asm.h.
8958 (STR): Likewise.
8959 (CHR): Likewise.
8960 (strchr): Likewise. Do not use BP_SYM.
8961 (index): Do not use BP_SYM in weak_alias.
8962 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8963 "bp-asm.h".
8964 (PARMS): Do not use macros from bp-asm.h.
8965 (DEST): Likewise.
8966 (SRC): Likewise.
8967 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8968 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8969 "bp-asm.h".
8970 (PARMS): Do not use macros from bp-asm.h.
8971 (strlen): Do not use BP_SYM.
8972 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8973 "bp-asm.h".
8974 (PARMS): Do not use macros from bp-asm.h.
8975 (S1): Likewise.
8976 (S2): Likewise.
8977 (SIZE): Likewise.
8978 (__mpn_sub_n): Do not use BP_SYM.
8979 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8980 "bp-asm.h".
8981 (PARMS): Do not use macros from bp-asm.h.
8982 (S1): Likewise.
8983 (SIZE): Likewise.
8984 (__mpn_submul_1): Do not use BP_SYM.
8985 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8986 "bp-asm.h".
8987 (PARMS): Do not use macros from bp-asm.h.
8988 (S1): Likewise.
8989 (S2): Likewise.
8990 (SIZE): Likewise.
8991 (__mpn_add_n): Do not use BP_SYM.
8992 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8993 weak_alias.
8994 (bzero): Likewise.
8995 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8996 "bp-asm.h".
8997 (PARMS): Do not use macros from bp-asm.h.
8998 (BLK2): Likewise.
8999 (LEN): Likewise.
9000 (memcmp): Do not use BP_SYM.
9001 (bcmp): Do not use BP_SYM in weak_alias.
9002 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
9003 "bp-asm.h".
9004 (PARMS): Do not use macros from bp-asm.h.
9005 (DEST): Likewise.
9006 (SRC): Likewise.
9007 (LEN): Likewise.
9008 (memcpy): Likewise. Do not use BP_SYM.
9009 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
9010 "bp-asm.h".
9011 (PARMS): Do not use macros from bp-asm.h.
9012 (DEST): Likewise.
9013 (SRC): Likewise.
9014 (LEN): Likewise.
9015 (memmove): Likewise. Do not use BP_SYM.
9016 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
9017 "bp-asm.h".
9018 (PARMS): Do not use macros from bp-asm.h.
9019 (DEST): Likewise.
9020 (SRC): Likewise.
9021 (LEN): Likewise.
9022 (__mempcpy): Likewise. Do not use BP_SYM.
9023 (mempcpy): Do not use BP_SYM in weak_alias.
9024 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
9025 "bp-asm.h".
9026 (PARMS): Do not use macros from bp-asm.h.
9027 (DEST): Likewise.
9028 (LEN): Likewise.
9029 [!BZERO_P] (CHR): Likewise.
9030 (memset): Likewise. Do not use BP_SYM.
9031 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
9032 "bp-asm.h".
9033 (PARMS): Do not use macros from bp-asm.h.
9034 (STR2): Likewise.
9035 (strcmp): Do not use BP_SYM.
9036 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
9037 "bp-asm.h".
9038 (PARMS): Do not use macros from bp-asm.h.
9039 (STR): Likewise.
9040 (DELIM): Likewise.
9041 [USE_AS_STRTOK_R] (SAVE): Likewise.
9042 (FUNCTION): Likewise. Do not use BP_SYM.
9043 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
9044 aliases.
9045 (strtok_r): Likewise.
9046 (__GI___strtok_r): Likewise.
9047 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9048 (PARMS): Do not use macros from bp-asm.h.
9049 (S): Likewise.
9050 (SIZE): Likewise.
9051 (__mpn_lshift): Do not use BP_SYM.
9052 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9053 (PARMS): Do not use macros from bp-asm.h.
9054 (STR): Likewise.
9055 (CHR): Likewise.
9056 (__memchr): Do not use BP_SYM.
9057 (memchr): Do not use BP_SYM in weak_alias.
9058 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9059 (PARMS): Do not use macros from bp-asm.h.
9060 (BLK2): Likewise.
9061 (LEN): Likewise.
9062 (memcmp): Do not use BP_SYM.
9063 (bcmp): Do not use BP_SYM in weak_alias.
9064 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
9065 (PARMS): Do not use macros from bp-asm.h.
9066 (S1): Likewise.
9067 (SIZE): Likewise.
9068 (__mpn_mul_1): Do not use BP_SYM.
9069 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
9070 "bp-asm.h".
9071 (PARMS): Do not use macros from bp-asm.h.
9072 (STR): Likewise.
9073 (CHR): Likewise.
9074 (__rawmemchr): Do not use BP_SYM.
9075 (rawmemchr): Do not use BP_SYM in weak_alias.
9076 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
9077 (PARMS): Do not use macros from bp-asm.h.
9078 (S): Likewise.
9079 (SIZE): Likewise.
9080 (__mpn_rshift): Do not use BP_SYM.
9081 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
9082 (PARMS): Do not use macros from bp-asm.h.
9083 (SIGMSK): Likewise.
9084 (__sigsetjmp): Likewise. Do not use BP_SYM.
9085 * sysdeps/i386/start.S: Do not include "bp-sym.h".
9086 (_start): Do not use BP_SYM.
9087 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
9088 (PARMS): Do not use macros from bp-asm.h.
9089 (DEST): Likewise.
9090 (SRC): Likewise.
9091 (__stpcpy): Likewise. Do not use BP_SYM.
9092 (stpcpy): Do not use BP_SYM in weak_alias.
9093 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
9094 "bp-asm.h".
9095 (PARMS): Do not use macros from bp-asm.h.
9096 (DEST): Likewise.
9097 (SRC): Likewise.
9098 (LEN): Likewise.
9099 (__stpncpy): Likewise. Do not use BP_SYM.
9100 (stpncpy): Do not use BP_SYM in weak_alias.
9101 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
9102 (PARMS): Do not use macros from bp-asm.h.
9103 (STR): Likewise.
9104 (CHR): Likewise.
9105 (strchr): Likewise. Do not use BP_SYM.
9106 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
9107 "bp-asm.h".
9108 (PARMS): Do not use macros from bp-asm.h.
9109 (STR): Likewise.
9110 (CHR): Likewise.
9111 (__strchrnul): Likewise. Do not use BP_SYM.
9112 (strchrnul): Do not use BP_SYM in weak_alias.
9113 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
9114 "bp-asm.h".
9115 (PARMS): Do not use macros from bp-asm.h.
9116 (STOP): Likewise.
9117 (strcspn): Do not use BP_SYM.
9118 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
9119 "bp-asm.h".
9120 (PARMS): Do not use macros from bp-asm.h.
9121 (STR): Likewise.
9122 (STOP): Likewise.
9123 (strpbrk): Likewise. Do not use BP_SYM.
9124 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
9125 "bp-asm.h".
9126 (PARMS): Do not use macros from bp-asm.h.
9127 (STR): Likewise.
9128 (CHR): Likewise.
9129 (strrchr): Likewise. Do not use BP_SYM.
9130 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
9131 (PARMS): Do not use macros from bp-asm.h.
9132 (SKIP): Likewise.
9133 (strspn): Do not use BP_SYM.
9134 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
9135 (PARMS): Do not use macros from bp-asm.h.
9136 (STR): Likewise.
9137 (DELIM): Likewise.
9138 (SAVE): Likewise.
9139 (FUNCTION): Likewise. Do not use BP_SYM.
9140 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
9141 aliases.
9142 (strtok_r): Likewise.
9143 (__GI___strtok_r): Likewise.
9144 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
9145 (PARMS): Do not use macros from bp-asm.h.
9146 (S1): Likewise.
9147 (S2): Likewise.
9148 (SIZE): Likewise.
9149 (__mpn_sub_n): Do not use BP_SYM.
9150 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
9151 "bp-asm.h".
9152 (PARMS): Do not use macros from bp-asm.h.
9153 (S1): Likewise.
9154 (SIZE): Likewise.
9155 (__mpn_submul_1): Do not use BP_SYM.
9156 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
9157 <bp-sym.h>.
9158 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
9159 and <bp-asm.h>.
9160 (PARMS): Do not use macros from bp-asm.h.
9161 (FLAGS): Likewise.
9162 (PTID): Likewise.
9163 (TLS): Likewise.
9164 (CTID): Likewise.
9165 (__clone): Do not use BP_SYM.
9166 (clone): Do not use BP_SYM in weak_alias.
9167 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
9168 and <bp-asm.h>.
9169 (PARMS): Do not use macros from bp-asm.h.
9170 (LEN): Likewise.
9171 (__mmap64): Do not use BP_SYM.
9172 (mmap64): Do not use BP_SYM in weak_alias.
9173 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
9174 <bp-sym.h> and <bp-asm.h>.
9175 (PARMS): Do not use macros from bp-asm.h.
9176 (__posix_fadvise64_l64): Do not use BP_SYM.
9177 * sysdeps/unix/sysv/linux/i386/semtimedop.S
9178 (PARMS): Do not use macros from bp-asm.h.
9179 (NSOPS): Likewise.
9180 (semtimedop): Do not use BP_SYM.
9181 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
9182 and <bp-asm.h>.
9183
582a3cff
AM
91842013-02-21 Allan McRae <allan@archlinux.org>
9185
9186 * manual/message.texi (Charset conversion in gettext):
9187 Move @end statement to beginning of line.
9188
bab8a695
SP
91892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
80945231
SP
9191 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
9192 static.
9193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
9194 Likewise.
9195
bab8a695
SP
9196 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
9197 (denorm): Likewise.
9198 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
9199 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
9200
e21d7aa7
AK
92012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9202
9203 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
9204 tail-call to the resolved function if pltexit isn't needed.
9205
4c7a4263
SP
92062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9207
9208 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
9209 or Y being zero as being unlikely.
9210 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9211 Likewise.
9212
41f49342
CD
92132013-02-20 Carlos O'Donell <carlos@redhat.com>
9214
9215 * manual/nss.texi (System Databases and Name Service Switch):
9216 Remove frobnicate @pxref.
9217
50022a93
TS
92182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9219
9220 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9221 __attribute__ ((unused)) to __attribute__ ((__unused__)).
9222
08cbd996
PM
92232013-02-20 Petr Machata <pmachata@redhat.com>
9224
9225 * elf/elf.h (R_ARM_TARGET1): New macro.
9226 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
9227 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
9228 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
9229 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
9230 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
9231 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
9232 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
9233 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
9234 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
9235 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
9236 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
9237 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
9238 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
9239 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
9240 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
9241 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
9242 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
9243 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
9244 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
9245 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
9246 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
9247 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
9248 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
9249 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
9250 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
9251 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
9252 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
9253 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
9254 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
9255 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
9256 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
9257 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
9258 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
9259 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
9260 (R_ARM_THM_GOT_BREL12): Likewise.
9261 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
9262 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
9263 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
9264 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
9265 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
9266 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
9267 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
9268 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
9269 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
9270
c7b275d6
TS
92712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
9272
9273 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
9274 __attribute_used__ to __attribute__ ((unused)).
9275
20cd7fb3
SP
92762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
9278 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
9279 powerpc mpa.c.
9280 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
9281 comment formatting.
9282 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
9283
92945b52
JM
92842013-02-19 Joseph Myers <joseph@codesourcery.com>
9285
9286 [BZ #13550]
9287 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9288 Remove macro.
9289 (ENTER): Remove both macro definitions.
9290 (LEAVE): Likewise.
9291 (CHECK_BOUNDS_LOW): Likewise.
9292 (CHECK_BOUNDS_HIGH): Likewise.
9293 (CHECK_BOUNDS_BOTH): Likewise.
9294 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9295 (RETURN_BOUNDED_POINTER): Likewise.
9296 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9297 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9298 (POP_ERRNO_LOCATION_RETURN): Likewise.
9299 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9300 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9301 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9302 macros.
9303 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9304 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9305 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9306 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9307 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9308 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9309 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9310 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9311 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9312 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9313 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9314 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9315 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9316 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9317 removed macros.
9318 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9319 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9320 macros.
9321 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9322 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9323 * sysdeps/i386/i586/memset.S (memset): Likewise.
9324 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9325 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9326 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9327 macros.
9328 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9329 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9330 Change uses of L(2) to L(out).
9331 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9332 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9333 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9334 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9335 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9336 removed macros.
9337 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9338 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9339 macros.
9340 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9341 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9342 (RETURN): Do not use macro LEAVE.
9343 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9344 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9345 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9346 * sysdeps/i386/i686/memset.S (memset): Likewise.
9347 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9348 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9349 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9350 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9351 Likewise.
9352 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9353 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9354 L(1_2) and L(1_3) into L(1).
9355 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9356 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9357 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9358 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9359 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9360 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9361 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9362 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9363 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9364 macros.
9365 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9366 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9367 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9368 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9369 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9370 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9371 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9372 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9373 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9374 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9375 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9376 * sysdeps/i386/strspn.S (strspn): Likewise.
9377 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9378 conditional code.
9379 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9380 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9381 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9382 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9383 L(1_3) into L(1_1).
9384 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9385 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9386 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9387 macros.
9388 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9389
2389741a
JJ
93902013-02-19 Jakub Jelinek <jakub@redhat.com>
9391
9392 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9393 macro.
9394
2016b3cd
SP
93952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9396
e4f22324
SP
9397 * math/atest-exp.c (exp_mpn): Remove ROUND.
9398 * math/atest-exp2.c (exp_mpn): Likewise.
9399 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9400
2016b3cd
SP
9401 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9402 * stdlib/tst-tls-atexit-lib.c: Likewise.
9403 * stdlib/tst-tls-atexit.c: Likewise.
9404
4be9b544
MF
94052013-02-18 Mike Frysinger <vapier@gentoo.org>
9406
9407 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9408 and __attribute_alloc_size__.
9409
2f62b9ee
MF
94102013-02-18 Mike Frysinger <vapier@gentoo.org>
9411
9412 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9413 __attribute_alloc_size__.
9414 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9415 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9416
6ff444c4
MF
94172013-02-18 Mike Frysinger <vapier@gentoo.org>
9418
9419 * include/programs/xmalloc.h: New file.
9420 * catgets/gencat.c: Include it.
9421 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9422 * elf/pldd.c: Likewise.
9423 * iconv/iconv_charmap.c: Likewise.
9424 * iconv/iconvconfig.c: Likewise.
9425 * iconv/strtab.c: Likewise.
9426 * locale/programs/locale.c: Likewise.
9427 * locale/programs/localedef.h: Likewise.
9428 * locale/programs/simple-hash.c: Likewise.
9429 * nscd/nscd.h: Likewise.
9430 * nss/makedb.c: Likewise.
9431 * sysdeps/generic/ldconfig.h: Likewise.
9432
be179c8a
SP
94332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9434
ba384f6e
SP
9435 * Versions.def: Add GLIBC_2.18.
9436 * include/link.h (struct link_map): New member l_tls_dtor_count.
9437 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9438 (__call_tls_dtors): Likewise.
9439 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9440 __cxa_thread_atexit_impl.
9441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9442 Likewise.
9443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9444 Likewise.
9445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9446 Likewise.
9447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9448 Likewise.
9449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9451 Likewise.
9452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9453 Likewise.
9454 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9456 Likewise.
9457 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9458 (tests): Add test case tst-tls-atexit.
9459 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9460 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9461 (GLIBC_PRIVATE): Add __call_tls_dtors.
9462 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9463 for libstdc++.
9464 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9465 * stdlib/tst-tls-atexit.c: New test case.
9466 * stdlib/tst-tls-atexit-lib.c: New test case.
9467
ffaa74cf 9468 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9469
be179c8a
SP
9470 * elf/Versions (ld): Add _dl_find_dso_for_object.
9471 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9472 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9473 (dl_open_worker): Use _dl_find_dso_for_object.
9474 * elf/dl-sym.c (do_sym): Likewise.
9475 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9476
f78b5caa
AK
94772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9478
9479 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9480 Syntactic changes only.
9481 (_dl_runtime_profile): Do a tail-call to the resolved function.
9482
29691210
JM
94832013-02-17 Joseph Myers <joseph@codesourcery.com>
9484
9485 [BZ #13550]
9486 * sysdeps/x86_64/bp-asm.h: Remove file.
9487 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9488 <bp-sym.h> and <bp-asm.h>.
9489 (__clone): Do not use BP_SYM.
9490 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9491 <bp-sym.h> and <bp-asm.h>.
9492 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9493 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9494 "bp-asm.h".
9495 (_setjmp): Do not use BP_SYM.
9496 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9497 "bp-asm.h".
9498 (setjmp): Do not use BP_SYM.
9499 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9500 libc_hidden_def.
9501 (mempcpy): Do not use BP_SYM in weak_alias.
9502 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9503 "bp-asm.h".
9504 (strchr): Do not use BP_SYM.
9505 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9506 "bp-asm.h".
9507 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9508 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9509 (_start): Do not use BP_SYM.
9510 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9511 "bp-asm.h".
9512 (strcat): Do not use BP_SYM.
9513 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9514 "bp-asm.h".
9515 (STRCMP): Do not use BP_SYM.
9516 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9517 "bp-asm.h".
9518 (STRCPY): Do not use BP_SYM.
9519 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9520 "bp-asm.h".
9521 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9522 "bp-asm.h".
9523 (FUNCTION): Do not use BP_SYM.
9524 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9525 weak_alias.
9526 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9527
f238fd19
AJ
95282013-02-17 Andreas Jaeger <aj@suse.de>
9529
9530 * time/Versions: Sort entries.
9531 * string/Versions: Likewise.
9532 * resolv/Versions: Likewise.
9533 * posix/Versions: Likewise.
9534 * iconv/Versions: Likewise.
9535 * elf/Versions: Likewise.
9536 * wcsmbs/Versions: Likewise.
9537
bd07f23c 95382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9539
22af19f9
SP
9540 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9541 loop termination condition.
9542
4709fe76
SP
9543 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9544 variable to calculate EZ.
9545 (__sqr): Likewise.
2d0e0f29
SP
9546
9547 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9548 the lower precision input.
9549
daaa7713
JM
95502013-02-15 Joseph Myers <joseph@codesourcery.com>
9551
9552 [BZ #13550]
9553 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9554 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9555 (run-via-rtld-prefix): Do not handle %-bp tests.
9556 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9557 (all-object-suffixes): Remove .ob.
9558 (bppfx): Remove variable.
9559 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9560 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9561 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9562 [$(build-bounded) = yes] (libtype.ob): Likewise.
9563 * Makerules (elide-routines.ob): Remove variable.
9564 (do-tests-clean): Do not handle *-bp.out.
9565 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9566 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9567 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9568 (tests): Do not include $(tests-bp.out).
9569 (xtests): Do not include $(xtests-bp.out).
9570 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9571 [$(build-bounded) = yes] ($(addprefix
9572 $(objpfx),$(binaries-bounded))): Remove rule.
9573 ($(objpfx)%-bp.out): Remove rule.
9574 * config.make.in (build-bounded): Remove variable.
9575 * crypt/Makefile [$(build-bounded) = yes]
9576 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9577 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9578 append to variable.
9579 [$(build-bounded) = yes] (install-lib): Likewise.
9580 [$(build-bounded) = yes] (generated): Likewise.
9581 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9582 Remove rule.
9583 * intl/Makefile [$(build-bounded) = yes]
9584 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9585 * math/Makefile [$(build-bounded) = yes]
9586 ($(tests:%=$(objpfx)%-bp): Likewise.
9587 * misc/Makefile [$(build-bounded) = yes]
9588 ($(objpfx)tst-tsearch-bp): Likewise.
9589 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9590 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9591 Remove dependency.
9592 * string/Makefile (o-objects.ob): Remove variable.
9593 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9594 (CFLAGS-.ob): Remove variable.
9595 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9596 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9597 both definitions of variable.
9598 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9599 (ASFLAGS-.ob): Remove variable.
9600
e97ed6dd
JM
96012013-02-14 Joseph Myers <joseph@codesourcery.com>
9602
2bdd4ca6
JM
9603 [BZ #13550]
9604 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9605 Remove __BOUNDED_POINTERS__ from condition.
9606 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9607 * string/bits/string2.h [!__NO_STRING_INLINES &&
9608 !__BOUNDED_POINTERS__]: Likewise.
9609 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9610 Likewise.
9611 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9612 Remove conditional code.
9613 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9614 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9615 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9616 condition.
9617
e97ed6dd
JM
9618 [BZ #13550]
9619 * csu/libc-start.c: Do not include <bp-sym.h>.
9620 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9621 * elf/dl-open.c: Do not include <bp-sym.h>.
9622 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9623 * math/fegetenv.c: Do not include <bp-sym.h>.
9624 (fegetenv): Do not use BP_SYM in versioned symbols.
9625 * nptl/sysdeps/pthread/bits/libc-lockP.h
9626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9627 <bp-sym.h>.
9628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9629 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9631 (__pthread_mutex_destroy): Likewise.
9632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9633 (__pthread_mutex_lock): Likewise.
9634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9635 (__pthread_mutex_trylock): Likewise.
9636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9637 (__pthread_mutex_unlock): Likewise.
9638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9639 (__pthread_mutexattr_init): Likewise.
9640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9641 (__pthread_mutexattr_destroy): Likewise.
9642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9643 (__pthread_mutexattr_settype): Likewise.
9644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9645 (__pthread_rwlock_init): Likewise.
9646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9647 (__pthread_rwlock_destroy): Likewise.
9648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9649 (__pthread_rwlock_rdlock): Likewise.
9650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9651 (__pthread_rwlock_tryrdlock): Likewise.
9652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9653 (__pthread_rwlock_wrlock): Likewise.
9654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9655 (__pthread_rwlock_trywrlock): Likewise.
9656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9657 (__pthread_rwlock_unlock): Likewise.
9658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9659 (__pthread_key_create): Likewise.
9660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9661 (__pthread_setspecific): Likewise.
9662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9663 (__pthread_getspecific): Likewise.
9664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9665 Likewise.
9666 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9667 (_pthread_cleanup_push_defer): Likewise.
9668 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9669 (_pthread_cleanup_pop_restore): Likewise.
9670 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9671 (pthread_setcancelstate): Likewise.
9672 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9673 <bp-sym.h>.
9674 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9675 (memchr): Do not use BP_SYM in weak_alias.
9676 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9677 (fegetenv): Do not use BP_SYM in versioned symbols.
9678 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9679 (fesetenv): Do not use BP_SYM in versioned symbols.
9680 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9681 (feupdateenv): Do not use BP_SYM in versioned symbols.
9682 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9683 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9684 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9685 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9686 (open64): Do not use BP_SYM in weak_alias.
9687 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9688 (fegetenv): Do not use BP_SYM in versioned symbols.
9689 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9690 (fesetenv): Do not use BP_SYM in versioned symbols.
9691 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9692 (feupdateenv): Do not use BP_SYM in versioned symbols.
9693 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9694 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9695 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9696 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9697 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9698 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9699 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9700 <bp-sym.h>.
9701 (__libc_start_main): Do not use BP_SYM.
9702
d6752ccd
SP
97032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9704
cb57ce60
SP
9705 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9706 redundant return line.
9707 (norm): Likewise.
9708 (denorm): Likewise.
9709 (dbl_mp): Likewise.
9710 (sub_magnitudes): Likewise.
9711 (__add): Likewise.
9712 (__sub): Likewise.
9713 (__mul): Likewise.
9714 (__inv): Likewise.
9715 (__dvd): Likewise.
9716 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9717 (norm): Likewise.
9718 (denorm): Likewise.
9719 (dbl_mp): Likewise.
9720 (sub_magnitudes): Likewise.
9721 (__add): Likewise.
9722 (__sub): Likewise.
9723 (__mul): Likewise.
9724 (__inv): Likewise.
9725 (__dvd): Likewise.
9726
f414520d
SP
9727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9728 instead of __mul.
9729 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9730 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9731 (cc32): Likewise.
9732
d6752ccd
SP
9733 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9734 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9735 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9736 of __mul for squares.
9737 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9738 function
9739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9740 Likewise.
9741 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9742 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9743
70d9946a
JM
97442013-02-13 Joseph Myers <joseph@codesourcery.com>
9745
9746 [BZ #13550]
9747 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9748 code.
9749 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9750 prototype or function definition. Rename ubp_* variables and
9751 parameters. Remove argv definitions conditional on
9752 [__BOUNDED_POINTERS__].
9753 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9754 * elf/dl-runtime.c (_dl_fixup): Likewise.
9755 * include/set-hooks.h (RUN_HOOK): Likewise.
9756 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9757 definition.
9758 * string/strcpy.c (strcpy): Do not use __unbounded.
9759 * sysdeps/generic/frame.h (struct layout): Likewise.
9760 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9761 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9762 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9763 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9764 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9765 (__backtrace): Likewise.
9766 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9767 use __ptrvalue.
9768 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9769 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9770 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9771 Likewise.
9772 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9773 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9774 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9775 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9776 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9777 Do not use __unbounded.
9778 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9779 Rename __unboundedrlimits parameter to rlimits in prototype.
9780 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9781 Do not use __unbounded.
9782 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9783 not use __ptrvalue.
9784 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9785 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9786 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9787 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9788 __ptrvalue or __unbounded.
9789 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9790 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9791 use __unbounded.
9792 (__new_msgctl): Do not use __ptrvalue.
9793 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9794 __unbounded.
9795 (__libc_msgrcv): Do not use __ptrvalue.
9796 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9797 startup_info): Do not use __unbounded.
9798 (__libc_start_main): Likewise. Rename ubp_* variables and
9799 parameters. Remove argv definitions conditional on
9800 [__BOUNDED_POINTERS__].
9801 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9802 __ptrvalue.
9803 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9804 use __unbounded.
9805 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9806 or __ptrvalue.
9807 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9808 use __unbounded.
9809 (__new_shmctl): Do not use __ptrvalue.
9810 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9811 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9812 Likewise.
9813 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9814 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9815 (__libc_sigaction): Likewise.
9816 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9817 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9818 Likewise.
9819 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9820
cc7834d6
OB
98212013-02-13 Ondřej Bílka <neleai@seznam.cz>
9822
ffb1ec7b 9823 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9824
9825 * string/mempcpy.c: Implement by calling memcpy.
9826
bdf02814
SP
98272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9828
c2af38aa
SP
9829 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9830
4e92d59e
SP
9831 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9832 evaluation.
9833
909279a5
SP
9834 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9835 values in the mantissa.
9836
bdf02814
SP
9837 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9838 minimize writes to Z.
9839 (sub_magnitudes): Simplify code a bit.
9840
cd525923
RM
98412013-02-12 Roland McGrath <roland@hack.frob.com>
9842
9843 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9844 from the message. The linker prefixes all warnings with that already.
9845
7e2f0d2d
AS
98462013-02-12 Andreas Schwab <schwab@suse.de>
9847
a445af0b
AS
9848 [BZ #15078]
9849 * posix/regexec.c (extend_buffers): Add parameter min_len.
9850 (check_matching): Pass minimum needed length.
9851 (clean_state_log_if_needed): Likewise.
9852 (get_subexp): Likewise.
9853 * posix/Makefile (tests): Add bug-regex34.
9854 (bug-regex34-ENV): Define.
9855 * posix/bug-regex34.c: New file.
9856
7e2f0d2d
AS
9857 [BZ #11561]
9858 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9859 elements compare against the byte sequence of it, not its name.
9860 * posix/Makefile (tests): Add bug-regex35.
9861 (bug-regex35-ENV): Define.
9862 * posix/bug-regex35.c: New file.
9863
a175b684
TV
98642013-02-11 Tom de Vries <tom@codesourcery.com>
9865
9866 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9867 comment.
9868 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9869 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9870 (CHECK_EOL): Add undef.
9871
310998fe 98722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9873
9874 * bits/stdlib-bsearch.h: New file.
9875 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9876 * stdlib/stdlib.h: Likewise.
41eda41d 9877
8ded91fb
RM
98782013-02-11 Roland McGrath <roland@hack.frob.com>
9879
9880 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9881 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9882 declaration.
9883 * manual/search.texi (Array Search Function): Add missing const in
9884 lfind prototype.
9885 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9886 declaration to use rlim_t.
9887 (Basic Scheduling Functions): Remove erroneous const from
9888 sched_getparam prototype. Remove erroneous * from
9889 sched_get_priority_max and sched_get_priority_min prototypes.
9890 (Resource Usage): Fix summary @comment on vtimes to refer to
9891 sys/vtimes.h rather than vtimes.h.
9892 Add missing *s in vtimes prototype.
9893 (Limits on Resources): Fix ulimit prototype to return long int.
9894 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9895 prototypes to use long int rather than double.
9896 (BSD Random): Fix initstate and setstate to use char *, not void *.
9897 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9898 prototype to make second argument 'struct aiocb64 *const[]'.
9899 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9900 (Status of AIO Operations): Remove erroneous const in aio_return and
9901 aio_return64 prototypes.
9902 (Synchronizing I/O): Fix sync prototype to return void.
9903 * manual/startup.texi (Suboptions): Remove an erroneous const in
9904 getsubopt prototype.
9905 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9906 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9907 use size_t rather than int.
9908 (Scanning All Users): Likewise for getpwent_r.
9909 (Setting Groups): Add missing const to setgroups prototype.
9910 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9911 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9912 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9913 'const void *' rather than 'const char *'.
9914 (Host Address Functions): Likewise for inet_ntop.
9915 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9916 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9917 ssize_t for return value.
9918 (Sending Data): Likewise for send, sendto, sendmsg.
9919 (Socket Option Functions): Add a missing const in setsockopt prototype.
9920 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9921 use wchar_t for the argument.
9922 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9923 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9924 take no arguments.
9925 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9926 double/float/long double for second argument.
9927 Fix return types of significand, significandf, significandl.
9928 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9929 argument in fchmod prototype.
9930 (File Owner): Use uid_t and gid_t in fchown prototype.
9931 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9932 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9933 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9934 use 'const struct dirent **' as argument types to CMP function pointer
9935 argument.
9936 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9937 (File Times): Fix summary magic @comment for struct utimbuf and utime
9938 to refer to utime.h, not time.h.
9939 * manual/string.texi (Argz Functions): Add missing const in
9940 argz_extract and argz_next prototypes.
9941 (Finding Tokens in a String): Likewise for basename.
9942 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9943 (Copying and Concatenation): Fix typo in wmemmove prototype.
9944 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9945 (Signal Stack): Remove erroneous const in sigstack prototype.
9946 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9947 prototype.
9948 (Simple Calendar Time): Likewise for stime.
9949 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9950 prototype.
9951 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9952 say sys/sysctl.h instead.
9953 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9954 and vsyslog prototypes.
9955
fe77fe6d
TV
99562013-02-11 Tom de Vries <tom@codesourcery.com>
9957
9958 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9959 Remove.
9960
3a09b620
RM
99612013-02-11 Roland McGrath <roland@hack.frob.com>
9962
9963 * misc/sys/mman.h: Fix typo in mremap comment.
9964
550a0b89
RM
99652013-02-08 Roland McGrath <roland@hack.frob.com>
9966
9967 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9968 the '\0' terminator.
9969
a2da1673
JM
99702013-02-08 Joseph Myers <joseph@codesourcery.com>
9971
9972 [BZ #13550]
9973 * debug/segfault.c: Don't include <bp-checks.h>.
9974 * sysdeps/generic/bp-checks.h: Remove file.
9975 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9976 (__GETDENTS): Don't use CHECK_N.
9977 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9978 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9979 (__getgroups): Don't use CHECK_N.
9980 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9981 (setgroups): Don't use CHECK_N.
9982 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9983 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9984 (__libc_msgrcv): Don't use CHECK_N.
9985 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9986 (__libc_msgsnd): Don't use CHECK_N.
9987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9988 <bp-checks.h>.
9989 (__libc_pread): Don't use CHECK_N.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9991 include <bp-checks.h>.
9992 (__libc_pread64): Don't use CHECK_N.
9993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9994 include <bp-checks.h>.
9995 (__libc_pwrite): Don't use CHECK_N.
9996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9997 include <bp-checks.h>.
9998 (__libc_pwrite64): Don't use CHECK_N.
9999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
10000 <bp-checks.h>.
10001 (__libc_pread): Don't use CHECK_N.
10002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
10003 include <bp-checks.h>.
10004 (__libc_pread64): Don't use CHECK_N.
10005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
10006 include <bp-checks.h>.
10007 (__libc_pwrite): Don't use CHECK_N.
10008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
10009 include <bp-checks.h>.
10010 (__libc_pwrite64): Don't use CHECK_N.
10011 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
10012 (do_pread): Don't use CHECK_N.
10013 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
10014 (do_pread64): Don't use CHECK_N.
10015 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
10016 (do_pwrite): Don't use CHECK_N.
10017 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
10018 (do_pwrite64): Don't use CHECK_N.
10019 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
10020 (__libc_readv): Don't use CHECK_N.
10021 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
10022 (semop): Don't use CHECK_N.
10023 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
10024 <bp-checks.h>.
10025 (semtimedop): Don't use CHECK_N.
10026 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
10027 (__libc_pread): Don't use CHECK_N.
10028 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
10029 <bp-checks.h>.
10030 (__libc_pread64): Don't use CHECK_N.
10031 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
10032 <bp-checks.h>.
10033 (__libc_pwrite): Don't use CHECK_N.
10034 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
10035 <bp-checks.h>.
10036 (__libc_pwrite64): Don't use CHECK_N.
10037 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
10038 <bp-checks.h>.
10039 (__libc_msgrcv): Don't use CHECK_N.
10040 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
10041 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
10042 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
10043 (__libc_writev): Don't use CHECK_N.
10044
b84660a8
RM
100452013-02-08 Roland McGrath <roland@hack.frob.com>
10046
7f3e75f8
RM
10047 * string/strcpy.c: Removed unused variable.
10048
b84660a8
RM
10049 * Makeconfig (+sysdep-includes): Define with := rather than =.
10050 Use an existing include/ subdir of each sysdeps dir before it.
10051
471514d3
CD
100522013-02-08 Carlos O'Donell <carlos@redhat.com>
10053
10054 * nscd/connection.c (register_traced_file): Comment function.
10055 [HAVE_INOTIFY] (union __inev): Define.
10056 [HAVE_INOTIFY] (inotify_check_files): New function.
10057 [HAVE_INOTIFY] (clear_db_cache): Likewise.
10058 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
10059 clear_db_cache.
10060 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
10061
b2d3c3be
CD
100622013-02-08 Carlos O'Donell <carlos@redhat.com>
10063
10064 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
10065 loaded if not already and that a failure is permanent.
10066
b39949d2
CD
100672013-02-08 Carlos O'Donell <carlos@redhat.com>
10068
ddacd1db 10069 [BZ #15006]
b39949d2
CD
10070 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
10071 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
10072
b2c9eff4
JM
100732013-02-08 Joseph Myers <joseph@codesourcery.com>
10074
f3aae3f3
JM
10075 [BZ #13550]
10076 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
10077 (CHECK_1_NULL_OK): Likewise.
10078 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
10079 (__fxstat): Do not use CHECK_1.
10080 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
10081 <bp-checks.h>.
10082 (___fxstat64): Do not use CHECK_1.
10083 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10084 <bp-checks.h>.
10085 (__fxstatat): Do not use CHECK_1.
10086 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10087 <bp-checks.h>.
10088 (__fxstatat64): Do not use CHECK_1.
10089 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
10090 <bp-checks.h>.
10091 (__fxstat): Do not use CHECK_1.
10092 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10093 <bp-checks.h>.
10094 (__fxstatat): Do not use CHECK_1.
10095 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
10096 <bp-checks.h>.
10097 (__getresgid): Do not use CHECK_1.
10098 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
10099 <bp-checks.h>.
10100 (__getresuid): Do not use CHECK_1.
10101 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
10102 <bp-checks.h>.
10103 (__lxstat): Do not use CHECK_1.
10104 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
10105 <bp-checks.h>.
10106 (__old_msgctl): Do not use CHECK_1.
10107 (__new_msgctl): Likewise.
10108 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
10109 <bp-checks.h>.
10110 (__new_setrlimit): Do not use CHECK_1.
10111 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
10112 <bp-checks.h>.
10113 (__old_shmctl): Do not use CHECK_1.
10114 (__new_shmctl): Likewise.
10115 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
10116 <bp-checks.h>.
10117 (__xstat): Do not use CHECK_1.
10118 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
10119 (__lxstat): Do not use CHECK_1.
10120 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
10121 <bp-checks.h>.
10122 (___lxstat64): Do not use CHECK_1.
10123 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
10124 (__old_msgctl): Do not use CHECK_1.
10125 (__new_msgctl): Likewise.
10126 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
10127 <bp-checks.h>.
10128 (__gettimeofday): Do not use CHECK_1.
10129 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
10130 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
10132 <bp-checks.h>.
10133 (__gettimeofday): Do not use CHECK_1.
10134 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
10135 (__old_shmctl): Do not use CHECK_1_NULL_OK.
10136 (__new_shmctl): Do not use CHECK_1.
10137 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
10138 <bp-checks.h>.
10139 (do_sigtimedwait): Do not use CHECK_1.
10140 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
10141 <bp-checks.h>.
10142 (do_sigwaitinfo): Do not use CHECK_1.
10143 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
10144 <bp-checks.h>.
10145 (msgctl): Do not use CHECK_1.
10146 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
10147 <bp-checks.h>.
10148 (shmctl): Do not use CHECK_1.
10149 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
10150 (ustat): Do not use CHECK_1.
10151 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
10152 <bp-checks.h>.
10153 (__fxstat): Do not use CHECK_1.
10154 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10155 <bp-checks.h>.
10156 (__fxstatat): Do not use CHECK_1.
10157 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
10158 <bp-checks.h>.
10159 (__lxstat): Do not use CHECK_1.
10160 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
10161 <bp-checks.h>.
10162 (__xstat): Do not use CHECK_1.
10163 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
10164 (__xstat): Do not use CHECK_1.
10165 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
10166 (___xstat64): Do not use CHECK_1.
10167
b2c9eff4
JM
10168 [BZ #13550]
10169 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
10170 definitions.
10171 (CHECK_BOUNDS_HIGH): Likewise.
10172 * string/strcpy.c: Do not include <bp-checks.h>.
10173 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
10174
f1d70dad
RM
101752013-02-07 Roland McGrath <roland@hack.frob.com>
10176
10177 * nscd/nscd-client.h (__nscd_drop_map_ref):
10178 Add __attribute__ ((unused)).
10179 * nis/nss-nisplus.h (niserr2nss): Likewise.
10180
10181 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
10182 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
10183
10184 * csu/libc-tls.c (init_static_tls, init_slotinfo):
10185 Remove inline keyword.
10186 * include/rounding-mode.h (round_away): Likewise.
10187 * libio/wfileops.c (adjust_wide_data): Likewise.
10188 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
10189 (__m128i_strloadu_tolower): Likewise.
10190 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
10191 (__m128i_strloadu_tolower): Likewise.
10192 * time/mktime.c (ydhms_diff): Likewise.
10193 * locale/elem-hash.h (elem_hash): Likewise.
10194 * locale/setlocale.c (setdata): Likewise.
10195 * posix/regex_internal.h (re_string_char_size_at): Likewise.
10196 (re_string_wchar_at): Likewise.
10197 (bitset_not, bitset_merge, bitset_mask): Likewise.
10198 [!(__GNUC__ > 3)] (inline): Remove macro.
10199 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
10200 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
10201 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
10202 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
10203 * string/memcmp.c (memcmp_bytes): Likewise.
10204 * locale/programs/locarchive.c (compute_hashval): Likewise.
10205 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
10206 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
10207 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
10208 * nss/getent.c (print_rpc, print_protocols): Likewise.
10209 (print_passwd, print_group, print_aliases): Likewise.
10210 * nis/nss-nisplus.h (niserr2nss): Likewise.
10211 * nscd/connections.c (restart_p): Likewise.
10212 Change return type to bool.
10213
eab55bfb
RM
102142013-02-05 Roland McGrath <roland@hack.frob.com>
10215
7bd642f5
RM
10216 * Makeconfig (all-Depend-files): Add existing
10217 $(sorted-subdirs:=/Depend) files.
10218 (all-subdirs): Remove nss.
10219 * sysdeps/unix/inet/Subdirs: Add it here instead.
10220 * hesiod/Depend: New file.
10221
573c29b2
RM
10222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
10223 instead of calling alloca.
10224
b2e25af0
RM
10225 * io/lseek.c (__lseek): Rename to __libc_lseek.
10226 Define __lseek as an alias.
10227
eab55bfb
RM
10228 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
10229
9a0d1941
CD
102302013-02-04 Carlos O'Donell <carlos@redhat.com>
10231
10232 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
10233 else clause and remove check for non-standard endianness.
10234
b83bbec4
DM
102352013-02-04 David S. Miller <davem@davemloft.net>
10236
10237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10238
6277fdab
JM
102392013-02-04 Joseph Myers <joseph@codesourcery.com>
10240
10241 [BZ #13550]
10242 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
10243 (__ubp_memchr): Remove prototype.
10244 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
10245 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10246 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
10247 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
10248 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
10249 Remove alias.
10250 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
10251 (__ubp_memchr): Likewise.
10252 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
10253 (__ubp_memchr): Likewise.
10254 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
10255 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
10256 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
10257 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
10258 CHECK_STRING.
10259 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
10260 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
10261 (__getcwd): Do not use CHECK_STRING.
10262 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
10263 <bp-checks.h>.
10264 (__real_chown): Do not use CHECK_STRING.
10265 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
10266 <bp-checks.h>.
10267 (fchownat): Do not use CHECK_STRING.
10268 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
10269 CHECK_STRING.
10270 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
10271 <bp-checks.h>.
10272 (__lchown): Do not use CHECK_STRING.
10273 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10274 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10275 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10276 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
10278 include <bp-checks.h>.
10279 (truncate64): Do not use CHECK_STRING.
10280 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
10281 <bp-checks.h>.
10282 (__real_chown): Do not use CHECK_STRING.
10283 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
10284 <bp-checks.h>.
10285 (__lchown): Do not use CHECK_STRING.
10286 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10287 <bp-checks.h>.
10288 (__chown): Do not use CHECK_STRING.
10289 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10290 <bp-checks.h>.
10291 (truncate64): Do not use CHECK_STRING.
10292 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10293 Likewise.
10294 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10295 (__xmknod): Do not use CHECK_STRING.
10296 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10297 <bp-checks.h>.
10298 (__xmknodat): Do not use CHECK_STRING.
10299 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10300 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10301
903ae060
AS
103022013-02-04 Andreas Schwab <schwab@suse.de>
10303
10304 [BZ #14142]
10305 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10306 * include/netdb.h: Likewise for h_errno.
10307 * elf/tst-stackguard1.c: Include <tls.h>.
10308
542f9466
JK
103092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10310
10311 * elf/link.h (struct link_map): Extend the l_addr comment.
10312 * include/link.h (struct link_map): Likewise.
10313
e782a927
JM
103142013-02-01 Joseph Myers <joseph@codesourcery.com>
10315
10316 [BZ #13550]
10317 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10318 (BOUNDED_1): Remove macro.
10319 * debug/backtrace.c: Don't include <bp-checks.h>.
10320 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10321 (__backtrace): Likewise.
10322 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10323 <bp-checks.h>.
10324 (__backtrace): Don't use BOUNDED_1.
10325 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10326 <bp-checks.h>.
10327 (__backtrace): Don't use BOUNDED_1.
10328 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10329 (__backtrace): Don't use BOUNDED_1.
10330 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10331 (shmat): Don't use BOUNDED_N.
10332
8cf28c5e
JM
103332013-01-31 Joseph Myers <joseph@codesourcery.com>
10334
3a7ac8a0
JM
10335 [BZ #13550]
10336 * sysdeps/generic/bp-start.h: Remove file.
10337 * csu/libc-start.c: Don't include <bp-start.h>.
10338 (LIBC_START_MAIN): Set up __environ directly instead of using
10339 INIT_ARGV_and_ENVIRON.
10340 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10341 <bp-start.h>.
10342
f3499f95
JM
10343 [BZ #13550]
10344 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10345 definitions.
10346 (CHECK_FCNTL): Likewise.
10347 (CHECK_N_PAGES): Likewise.
10348
32a45bea
JM
10349 [BZ #13550]
10350 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10351 definitions.
10352 (CHECK_SIGSET_NULL_OK): Likewise.
10353 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10354 <bp-checks.h>.
10355 (sigpending): Don't use CHECK_SIGSET.
10356 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10357 <bp-checks.h>.
10358 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10359 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10360 <bp-checks.h>.
10361 (do_sigsuspend): Don't use CHECK_SIGSET.
10362 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10363 use CHECK_SIGSET.
10364 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10365 (do_sigwait): Don't use CHECK_SIGSET.
10366 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10367 use CHECK_SIGSET.
10368 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10369 include <bp-checks.h>.
10370 (sigpending): Don't use CHECK_SIGSET.
10371 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10372 include <bp-checks.h>.
10373 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10374 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10375 <bp-checks.h>.
10376 (sigpending): Don't use CHECK_SIGSET.
10377 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10378 <bp-checks.h>.
10379 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10380
2e8a5c8c
JM
10381 [BZ #13550]
10382 * sysdeps/generic/bp-semctl.h: Remove file.
10383 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10384 <bp-checks.h> and <bp-semctl.h>.
10385 (__old_semctl): Don't use CHECK_SEMCTL.
10386 (__new_semctl): Likewise.
10387 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10388 and <bp-semctl.h>.
10389 (__old_semctl): Don't use CHECK_SEMCTL.
10390 (__new_semctl): Likewise.
10391 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10392 <bp-checks.h> and <bp-semctl.h>.
10393 (__old_semctl): Don't use CHECK_SEMCTL.
10394 (__new_semctl): Likewise.
10395 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10396 <bp-checks.h> and <bp-semctl.h>.
10397 (semctl): Don't use CHECK_SEMCTL.
10398
c2d54929
JM
10399 [BZ #13550]
10400 * Makerules (elide-bp-thunks): Remove variable.
10401 (elide-routines.oS): Don't use $(elide-bp-thunks).
10402 (elide-routines.os): Likewise.
10403 (elide-routines.o): Likewise.
10404 (elide-routines.op): Likewise.
10405 (elide-routines.og): Likewise.
10406 (objects): Don't use $(bp-thunks).
10407 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10408 include.
10409 (common-generated): Do not add s-proto-bp.d.
10410 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10411 (int): Likewise.
10412 (typ): Likewise.
10413 Do not generate makefile rules for bounded-pointer thunks.
10414 * sysdeps/generic/bp-thunks.h: Remove file.
10415 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10416 * sysdeps/unix/s-proto-bp.S: Likewise.
10417
8cf28c5e
JM
10418 [BZ #15062]
10419 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10420 parts of result separately when argument is not close to line from
10421 -i to i and one part of argument is small.
10422 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10423 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10424 * math/libm-test.inc (cacos_test): Add more tests.
10425 (casin_test): Likewise.
10426 (casinh_test): Likewise.
10427 * sysdeps/i386/fpu/libm-test-ulps: Update.
10428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10429
c4e33b8d
DM
104302013-01-31 David S. Miller <davem@davemloft.net>
10431
10432 * po/de.po: Update from translation team.
10433
3b60b421
MK
104342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10435
10436 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10437
bb931195
TS
104382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10439
b5a5da23
TS
10440 * configure.in (_AC_PROG_CC_C89): New definition.
10441 * configure: Regenerate.
10442
bb931195
TS
10443 * configure.in (AC_PROG_CPP): New definition.
10444 * configure: Regenerate.
10445
8c53a12c
JM
104462013-01-23 Joseph Myers <joseph@codesourcery.com>
10447
10448 * debug/tst-backtrace.h: New file.
10449 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10450 (ret): Remove variable.
10451 (x): Likewise.
10452 (FAIL): Remove macro.
10453 (NO_INLINE): Likewise.
10454 (fn1): Use match function instead of strstr.
10455 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10456 (ret): Remove variable.
10457 (x): Likewise.
10458 (FAIL): Remove macro.
10459 (NO_INLINE): Likewise.
10460 (fn): Use match function instead of strstr.
10461 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10462 (ret): Remove variable.
10463 (x): Likewise.
10464 (FAIL): Remove macro.
10465 (NO_INLINE): Likewise.
10466 (handle_signal): Use match function instead of strstr.
10467 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10468 (ret): Remove variable.
10469 (x): Likewise.
10470 (FAIL): Remove macro.
10471 (NO_INLINE): Likewise.
10472 (handle_signal): Use match function instead of strstr.
10473
4858fa2a
RM
104742013-01-23 Roland McGrath <roland@hack.frob.com>
10475
10476 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10477
bae8e7f5
DM
104782013-01-23 David S. Miller <davem@davemloft.net>
10479
10480 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10481 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10482 argument of CAS if possible.
10483 * sysdeps/sparc/sparc64/bits/atomic.h
10484 (__arch_compare_and_exchange_val_32_acq): Likewise.
10485 (__arch_compare_and_exchange_val_64_acq): Likewise.
10486
9cbbc4ae
PT
104872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10488
10489 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10490 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10491 Include <limits.h>.
67b3f58c 10492 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10493
5655a0b5
AC
104942013-01-23 Adam Conrad <adconrad@0c3.net>
10495
10496 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10497 (LDFLAGS-tst-array5): Likewise.
10498
052aff95
JM
104992013-01-23 Joseph Myers <joseph@codesourcery.com>
10500
10501 [BZ #15036]
10502 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10503 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10504 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10505 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10506
7c1e01aa
DM
105072013-01-21 David S. Miller <davem@davemloft.net>
10508
10509 * sysdeps/sparc/backtrace.c: New file.
10510 * sysdeps/sparc/sparc32/backtrace.h: New file.
10511 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10512 * sysdeps/sparc/sparc64/backtrace.h: New file.
10513 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10514 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10515 -funwind-tables.
10516
ab087e0a
AS
105172013-01-21 Andreas Schwab <schwab@suse.de>
10518
10519 [BZ #15020]
10520 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10521 closed its stdout.
10522
ed689c2f
AS
105232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10524
10525 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10526 "mpa2.h".
10527 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10528
31d470ac
JM
105292013-01-18 Joseph Myers <joseph@codesourcery.com>
10530 Mark Mitchell <mark@codesourcery.com>
10531 Tom de Vries <tom@codesourcery.com>
10532 Paul Pluzhnikov <ppluzhnikov@google.com>
10533
10534 * debug/tst-backtrace2.c: New file.
10535 * debug/tst-backtrace3.c: Likewise.
10536 * debug/tst-backtrace4.c: Likewise.
10537 * debug/tst-backtrace5.c: Likewise.
10538 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10539 (CFLAGS-tst-backtrace3.c): Likewise.
10540 (CFLAGS-tst-backtrace4.c): Likewise.
10541 (CFLAGS-tst-backtrace5.c): Likewise.
10542 (LDFLAGS-tst-backtrace2): Likewise.
10543 (LDFLAGS-tst-backtrace3): Likewise.
10544 (LDFLAGS-tst-backtrace4): Likewise.
10545 (LDFLAGS-tst-backtrace5): Likewise.
10546 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10547 tst-backtrace4 and tst-backtrace5.
10548
90567f30 105492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10550 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10551
10552 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10553 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10555 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10557 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10558 "+r" and remove output regs list as redundant. Add explicit inline
10559 asm to specify register of return val to work around compiler codegen
10560 bug. Remove (int) cast on return value. Add return type parameter to
10561 use in macro so that this macro does not truncate return value for
10562 64-bit values.
10563 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10564 pass to INTERNAL_VSYSCALL_NCS.
10565 (INLINE_VSYSCALL): Add 'long int' as return type to
10566 INTERNAL_VSYSCALL_NCS macro invocation.
10567 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10568 INTERNAL_VSYSCALL_NCS macro invocation.
10569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10570
d3b9ea61
SP
105712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10572
0b57daeb
SP
10573 [BZ #14496]
10574 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10575 Fix application of SIMD FP exception mask.
10576
caa99d06
SP
10577 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10578 mp_no from a power of two.
10579 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10580 __mpexp_twomm1. Use __pow_mp.
10581
d3b9ea61
SP
10582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10583 multiplication.
10584
1dbaee3c
DM
105852013-01-17 David S. Miller <davem@davemloft.net>
10586
10587 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10588
728d7b43
JM
105892013-01-17 Joseph Myers <joseph@codesourcery.com>
10590
10591 [BZ #15023]
10592 * include/complex.h: Condition contents on [!_COMPLEX_H].
10593 (__kernel_casinhf): New prototype.
10594 (__kernel_casinh): Likewise.
10595 (__kernel_casinhl): Likewise.
10596 * math/Makefile (libm_calls): Add k_casinh.
10597 * math/k_casinh.c: New file.
10598 * math/k_casinhf.c: Likewise.
10599 * math/k_casinhl.c: Likewise.
10600 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10601 finite nonzero arguments.
10602 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10603 finite nonzero arguments.
10604 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10605 finite nonzero arguments.
10606 * math/s_casinh.c: Do not include <float.h>.
10607 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10608 * math/s_casinhf.c: Do not include <float.h>.
10609 (__casinhf): Move code for finite nonzero arguments to
10610 k_casinhf.c.
10611 * math/s_casinhl.c: Do not include <float.h>.
10612 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10613 redefine.
10614 (__casinhl): Move code for finite nonzero arguments to
10615 k_casinhl.c.
10616 * math/libm-test.inc (cacos_test): Add more tests.
10617 * sysdeps/i386/fpu/libm-test-ulps: Update.
10618 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10619
2a26ef3a
PT
106202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10621
10622 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10623 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10624 [!HAVE_MREMAP]: Remove [defined linux] case.
10625 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10626
a897655d
SP
106272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10628
10629 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10630
881ebe89 106312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10632
10633 * elf/elf.h (R_386_SIZE32): New relocation.
10634 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10635 R_386_SIZE32.
10636 (elf_machine_rela): Likewise.
10637 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10638 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10639
59981e9b
JM
106402013-01-17 Joseph Myers <joseph@codesourcery.com>
10641
10642 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10643 (FP_FAST_FMA): Do not define.
10644 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10645 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10646 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10647 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10648 !_SOFT_FLOAT]: Likewise.
10649 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10650 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10651 value.
10652 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10653 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10654 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10655 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10656 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10657 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10658 file.
10659
cfa8054f
AS
106602013-01-16 Andreas Schwab <schwab@suse.de>
10661
10662 [BZ #14327]
10663 * include/stdlib.h (__mktemp): Add declaration.
10664 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10665 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10666
dd930cc5
SP
106672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10668
881ebe89
SP
10669 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10670 definitions.
10671 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10672 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10673 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10674 definitions here.
10675 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10676 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10677 definitions.
10678 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10679 and ONE.
10680 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10681 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10682 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10683 definitions.
10684 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10685 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10686 definitions.
10687 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10688
dd930cc5
SP
10689 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10690
c19a9f89
DM
106912013-01-15 David S. Miller <davem@davemloft.net>
10692
1aa61767
DM
10693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10694 trunc{,f} to libm-sysdep_routes.
10695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10697 file.
10698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10700 file.
10701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10702 file.
10703 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10704 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10705 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10706 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10707 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10708 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10709 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10710 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10711
c42d5e98
DM
10712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10713 nearbyint{,f} to libm-sysdep_routes.
10714 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10716 New file.
10717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10718 file.
10719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10720 New file.
10721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10722 file.
10723 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10724 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10725 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10726 file.
10727 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10728 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10729 file.
10730 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10731 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10732 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10733
c19a9f89
DM
10734 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10735 libc_feholdexcept and libc_fesetenv.
10736
357679d2
MF
107372013-01-15 Mike Frysinger <vapier@gentoo.org>
10738
10739 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10740
65a82e3d
DM
107412013-01-14 David S. Miller <davem@davemloft.net>
10742
8b954ab9
DM
10743 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10744 (SPARC_ASM_VIS2_IFUNC): Likewise.
10745 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10747 use of 'siam' instruction.
10748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10749 Likewise.
10750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10751 Likewise.
10752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10753 Likewise.
10754 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10755 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10756 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10757 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10759 file.
10760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10761 file.
10762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10763 file.
10764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10765 file.
10766 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10768 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10771 new VIS2 routines.
10772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10775 Likewise.
10776 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10777 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10781 routines to libm-sysdep_routines.
10782 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10783
65a82e3d
DM
10784 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10785 fdim/fdimf to libm-sysdep_routines.
10786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10787 file.
10788 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10790 file.
10791 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10792 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10793 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10794 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10795 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10796 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10797 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10798
e34ab705
SP
107992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10800
2a91b573
SP
10801 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10802 to optimize copies.
10803
1066a534
SP
10804 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10807
e34ab705
SP
10808 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10809 local variable MPTWO.
10810 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10811 Likewise.
10812
aba5e596
MF
108132013-01-13 Mike Frysinger <vapier@gentoo.org>
10814
10815 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10816 GLOB_NOESCAPE.
10817
e557e9e5
MF
108182013-01-13 Mike Frysinger <vapier@gentoo.org>
10819
10820 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10821
0428cec9
MF
108222013-01-13 Mike Frysinger <vapier@gentoo.org>
10823
10824 * manual/pattern.texi (glob_t): Document gl_flags.
10825 (glob64_t): Likewise.
10826
8794a964
DM
108272013-01-11 David S. Miller <davem@davemloft.net>
10828
66438c3f
RM
10829 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10830 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10831 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10832 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10833 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10834 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10835 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10836 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10837 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10838 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10839 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10840 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10841 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10842
4ae4244d
DM
10843 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10844 sparc V9 rather than using V8 code.
10845 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10846 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10847
8794a964
DM
10848 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10849 Move to...
10850 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10851 Here.
10852
6270516e
RM
108532013-01-11 Roland McGrath <roland@hack.frob.com>
10854
10855 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10856 not in the main loop.
10857 * configure: Regenerated.
10858
6a57d931
JM
108592013-01-11 Joseph Myers <joseph@codesourcery.com>
10860
10861 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10862 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10863 to just #else.
10864 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10865 [!__GLIBC_HAVE_LONG_LONG] case.
10866 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10867 condition to just #else.
10868 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10869 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10870 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10871 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10872 unconditional.
10873 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10874 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10875 #elif condition to just #else.
10876 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10877 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10878 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10879 #elif condition to just #else.
10880
0e8529e9
SE
108812013-01-11 Steve Ellcey <sellcey@mips.com>
10882
10883 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10884 (EF_MIPS_ARCH_64): Fix value.
10885 (EF_MIPS_ARCH_32R2): New.
10886 (EF_MIPS_ARCH_64R2): New.
10887
740b3dbe
L
108882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10889
10890 * Makeconfig (+link-pie-before-libc): New.
10891 (+link-pie-after-libc): Likewise.
10892 (+link-pie-tests): Likewise.
10893 (+link-pie): Rewritten.
10894 (link-before-libc): Remove $(config-LDFLAGS).
10895 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10896 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10897 (config-LDFLAGS): Renamed to ...
10898 (rtld-LDFLAGS): This.
10899 (rtld-tests-LDFLAGS): New macro.
10900 (link-libc-rpath-link): Likewise.
10901 (link-libc-tests-rpath-link): Likewise.
10902 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10903 (link-libc): Prepand $(link-libc-rpath-link).
10904 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10905 (test-program-prefix): New macro.
10906 (test-via-rtld-prefix): Likewise.
10907 (test-program-cmd): Likewise.
10908 (host-test-program-cmd): Likewise.
10909 * Makefile ($(common-objpfx)testrun.sh): Replace
10910 $(run-program-prefix) with $(test-program-prefix).
10911 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10912 $(rtld-LDFLAGS).
10913 ($(common-objpfx)shlib.lds): Likewise.
10914 (build-module-helper): Likewise.
10915 ($(common-objpfx)format.lds): Likewise.
10916 * Rules (binaries-pie-tests): New.
10917 (binaries-pie-notests): Likewise.
10918 (binaries-pie): Rewritten.
10919 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10920 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10921 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10922 (make-test-out): Replace $(host-built-program-cmd) with
10923 $(host-test-program-cmd).
10924 * config.make.in (build-hardcoded-path-in-tests): New variable.
10925 * configure.in (--enable-hardcoded-path-in-tests): New configure
10926 option.
10927 (hardcoded_path_in_tests): New AC_SUBST.
10928 * configure: Regenerated.
10929 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10930 $(built-program-cmd) with $(test-program-cmd).
10931 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10932 (test_program_cmd): This.
10933 * elf/Makefile ($(objpfx)order.out): Run test with
10934 $(test-program-prefix).
10935 ($(objpfx)order2.out): Likewise.
10936 ($(objpfx)tst-initorder.out): Likewise.
10937 ($(objpfx)tst-initorder2.out): Likewise.
10938 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10939 $(test-program-cmd).
10940 ($(objpfx)tst-array1-static.out): Likewise.
10941 ($(objpfx)tst-array2.out): Likewise.
10942 ($(objpfx)tst-array3.out): Likewise.
10943 ($(objpfx)tst-array4.out): Likewise.
10944 ($(objpfx)tst-array5.out): Likewise.
10945 ($(objpfx)tst-array5-static.out): Likewise.
10946 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10947 $(test-program-cmd).
10948 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10949 $(run-program-prefix) with $(test-program-prefix).
10950 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10951 (test_program_prefix): This.
10952 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10953 $(run-program-prefix) with $(test-program-prefix).
10954 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10955 (test_program_prefix): This.
10956 * iconvdata/tst-tables.sh: Likewise.
10957 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10958 $(run-program-prefix) with $(test-program-prefix).
10959 ($(objpfx)tst-translit.out): Likewise.
10960 ($(objpfx)tst-gettext2.out): Likewise.
10961 ($(objpfx)tst-gettext4.out): Likewise.
10962 ($(objpfx)tst-gettext6.out): Likewise.
10963 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10964 (test_program_prefix): This.
10965 * intl/tst-gettext2.sh: Likewise.
10966 * intl/tst-gettext4.sh Likewise.
10967 * intl/tst-gettext6.sh: Likewise.
10968 * intl/tst-translit.sh: Likewise.
10969 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10970 with $(test-program-cmd).
10971 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10972 $(run-program-prefix) with $(test-program-prefix).
10973 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10974 (test_program_prefix): This.
10975 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10976 $(run-program-prefix) with $(test-program-prefix).
10977 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10978 (test_program_prefix): This.
10979 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10980 * posix/Makefile ($(objpfx)globtest.out): Replace
10981 $(run-via-rtld-prefix) and $(test-wrapper) with
10982 $(test-program-prefix) and $(test-via-rtld-prefix).
10983 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10984 $(test-program-prefix).
10985 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10986 $(host-test-program-cmd).
10987 (tst-spawn-ARGS): Likewise.
10988 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10989 $(test-program-prefix).
10990 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10991 (test_via_rtld_prefix): This.
10992 (test_wrapper): Renamed to ...
10993 (test_program_prefix): This.
10994 (run_program_prefix): Replaced by test_program_prefix.
10995 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10996 (test_program_prefix): This.
10997 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10998 with $(host-test-program-cmd).
10999 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
11000 $(run-program-prefix) with $(test-program-prefix).
11001 ($(objpfx)tst-printf.out): Likewise.
11002 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
11003 $(test-program-cmd).
11004 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
11005 (test_program_prefix): This.
11006 * stdio-common/tst-unbputc.sh: Likewise.
11007 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
11008 $(run-program-prefix) with $(test-program-prefix).
11009 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
11010 (test_program_prefix): This.
11011 * string/Makefile ($(objpfx)tst-svc.out): Replace
11012 $(built-program-cmd) with $(test-program-cmd).
11013
c6fe55cf
AJ
110142013-01-11 Andreas Jaeger <aj@suse.de>
11015
11016 [BZ #15003]
11017 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
11018 value. Sync with Linux 3.7.
11019
9e6919c8
DM
110202013-01-10 David S. Miller <davem@davemloft.net>
11021
11022 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
11023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11025
1c9f1a02
RM
110262013-01-10 Roland McGrath <roland@hack.frob.com>
11027
11028 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
11029 never set.
11030 * configure: Regenerated.
11031
b9de2dde
DM
110322013-01-10 David S. Miller <davem@davemloft.net>
11033
11034 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
11035 sparc V9 rather than using V8 code.
11036 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
11037 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
11038
e7f68ef4
RM
110392013-01-10 Roland McGrath <roland@hack.frob.com>
11040
11041 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
11042 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
11043 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
11044 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
11045 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
11046 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
11047 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
11048 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
11049 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
11050 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
11051 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
11052 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
11053 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
11054 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
11055 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
11056 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
11057 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
11058 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
11059 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
11060 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
11061 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
11062 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
11063 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
11064 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
11065 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
11066 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
11067 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
11068
5a47cc9c
DM
110692013-01-10 David S. Miller <davem@davemloft.net>
11070
11071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11072
4cf8f209
L
110732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * posix/Makefile (tests-static): New variable.
11076 (tests): Add $(tests-static).
11077 (tst-exec-static-ARGS): New variable.
11078 (tst-spawn-static-ARGS): Likewise.
11079 * posix/tst-exec-static.c: New file.
11080 * posix/tst-spawn-static.c: Likewise.
11081 * posix/tst-exec.c: Support run directly.
11082 * posix/tst-spawn.c: Likewise.
11083
fed0faa1
JM
110842013-01-10 Joseph Myers <joseph@codesourcery.com>
11085
828beb13
JM
11086 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
11087 long.
11088 * math/bits/mathcalls.h (llrint): Likewise.
11089 (llround): Likewise.
11090 * stdlib/stdlib.h (struct drand48_data): Likewise.
11091 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
11092 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
11093 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
11094 Likewise.
11095 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
11096 Likewise.
11097 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
11098 (elf_greg_t): Likewise.
11099 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
11100 (__jmp_buf): Likewise.
11101 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
11102 definitions.
11103 (llrint): Likewise, for all definitions.
11104 (llrintl): Likewise.
11105
fed0faa1
JM
11106 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
11107 Remove [__GNUC__] condition.
11108 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
11109 condition to just [__USE_ISOC99].
11110 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
11111
1a20cb20
L
111122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
11113
11114 [BZ #14200]
11115 * sysdeps/unix/sysv/linux/x86/bits/environments.h
11116 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
11117 defined.
11118 (_POSIX_V6_ILP32_OFF32): Likewise.
11119 (_XBS5_ILP32_OFF32): Likewise.
11120 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
11121 (__ILP32_OFFBIG_LDFLAGS): Likewise.
11122
751b85f7
SP
111232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11124
7490eb81
SP
11125 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
11126
751b85f7
SP
11127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
11128 doubles __mpexp_twomm1. Adjust usage.
11129 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
11130 Remove.
11131
988197f0
AS
111322013-01-10 Andreas Schwab <schwab@suse.de>
11133
11134 [BZ #14964]
11135 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
11136 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
11137
e83d7298
DM
111382013-01-09 David S. Miller <davem@davemloft.net>
11139
034ed64b 11140 [BZ #15003]
e83d7298
DM
11141 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
11142 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
11143 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
11144 TCP_FASTOPEN): Define.
11145 (tcp_repair_opt): New structure.
11146 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
11147 enum values.
11148 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
11149 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
11150 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
11151 (tcp_cookie_transactions): New structure.
11152
d5e0b9bd
AB
111532013-01-09 Anton Blanchard <anton@samba.org>
11154
11155 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
11156 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
11157 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
11158 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
11159
0c07e3ea
JM
111602013-01-09 Joseph Myers <joseph@codesourcery.com>
11161
11162 * include/features.h (__USE_ANSI): Remove.
11163
232f7002
RM
111642013-01-09 Roland McGrath <roland@hack.frob.com>
11165
ad98e30c
RM
11166 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
11167
232f7002
RM
11168 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
11169
950c99ca
SP
111702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
11171
b5792741
SP
11172 * sysdeps/s390/fpu/libm-test-ulps: Update.
11173
47cf2278
SP
11174 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11175
950c99ca
SP
11176 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
11177 (__acr): Likewise.
11178 (__cpy): Likewise.
11179 (norm): Likewise.
11180 (denorm): Likewise.
11181 (__mp_dbl): Likewise.
11182 (__dbl_mp): Likewise.
11183 (add_magnitudes): Likewise.
11184 (sub_magnitudes): Likewise.
11185 (__add): Likewise.
11186 (__sub): Likewise.
11187 (__mul): Likewise.
11188 (__inv): Likewise.
11189 (__dvd): Likewise.
11190 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
11191 (__acr): Likewise.
11192 (__cpy): Likewise.
11193 (norm): Likewise.
11194 (denorm): Likewise.
11195 (__mp_dbl): Likewise.
11196 (__dbl_mp): Likewise.
11197 (add_magnitudes): Likewise.
11198 (sub_magnitudes): Likewise.
11199 (__add): Likewise.
11200 (__sub): Likewise.
11201 (__mul): Likewise.
11202 (__inv): Likewise.
11203 (__dvd): Likewise.
11204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
11205 (__acr): Likewise.
11206 (__cpy): Likewise.
11207 (norm): Likewise.
11208 (denorm): Likewise.
11209 (__mp_dbl): Likewise.
11210 (__dbl_mp): Likewise.
11211 (add_magnitudes): Likewise.
11212 (sub_magnitudes): Likewise.
11213 (__add): Likewise.
11214 (__sub): Likewise.
11215 (__mul): Likewise.
11216 (__inv): Likewise.
11217 (__dvd): Likewise.
11218
eede9df9
JM
112192013-01-08 Joseph Myers <joseph@codesourcery.com>
11220
11221 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
11222 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
11223 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
11224 2 && __USE_EXTERN_INLINES]: Likewise.
11225
c40ea3d9
AJ
112262013-01-08 Andreas Jaeger <aj@suse.de>
11227
11228 [BZ# 14985]
11229 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
11230 Remove.
11231 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11232 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
11233
2ccdea26
AB
112342013-01-07 Anton Blanchard <anton@samba.org>
11235
11236 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
11237 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
11238 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
11239 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
11240 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11241 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
11242 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
11243 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11244 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11245 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11246 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11247 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11248 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
11249 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11250 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11253 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11254 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11255 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11256 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11257 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
11258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11259 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11260 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
11261 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11262 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
11263 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
11264 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
11265 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
11266 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11267 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11268 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11269 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11270 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11271 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11273 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
11274 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
11275 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
11276 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
11277 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11278 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11279
a9708fed
JM
112802013-01-07 Joseph Myers <joseph@codesourcery.com>
11281
375607b9
JM
11282 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
11283 (__MALLOC_PMT): Likewise.
11284 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11285 [__GNUC__], only on [_LIBC].
11286 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11287 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11288 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11289 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11290 forward declaration.
11291 (realloc_hook_ini): Likewise.
11292 (memalign_hook_ini): Likewise.
11293 (__libc_memalign): Do not use __MALLOC_PMT in variable
11294 declaration.
11295 (__libc_valloc): Likewise.
11296 (__libc_pvalloc): Likewise.
11297 (__libc_calloc): Likewise.
11298 (__posix_memalign): Likewise.
11299
a9708fed
JM
11300 [BZ #14996]
11301 * math/s_casinh.c: Include <float.h>.
11302 (__casinh): Do not do computation with squaring and square root
11303 for large arguments.
11304 * math/s_casinhf.c: Include <float.h>.
11305 (__casinhf): Do not do computation with squaring and square root
11306 for large arguments.
11307 * math/s_casinhl.c: Include <float.h>.
11308 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11309 (__casinhl): Do not do computation with squaring and square root
11310 for large arguments.
11311 * math/libm-test.inc (casin_test): Add more tests.
11312 (casinh_test): Likewise.
11313 * sysdeps/i386/fpu/libm-test-ulps: Update.
11314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11315
afec409a
L
113162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11317
11318 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11319 (__x86_64_raw_data_cache_size): Likewise.
11320 (__x86_64_data_cache_size_half): Likewise.
11321 (__x86_64_raw_data_cache_size_half): Likewise.
11322 (__x86_64_shared_cache_size): Likewise.
11323 (__x86_64_raw_shared_cache_size): Likewise.
11324 (__x86_64_shared_cache_size_half): Likewise.
11325 (__x86_64_raw_shared_cache_size_half): Likewise.
11326 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11327 to ...
11328 (__x86_data_cache_size): This.
11329 (__x86_64_raw_data_cache_size): Renamed to ...
11330 (__x86_raw_data_cache_size): This.
11331 (__x86_64_data_cache_size_half): Renamed to ...
11332 (__x86_data_cache_size_half): This.
11333 (__x86_64_raw_data_cache_size_half): Renamed to ...
11334 (__x86_raw_data_cache_size_half): This.
11335 (__x86_64_shared_cache_size): Renamed to ...
11336 (__x86_shared_cache_size): This.
11337 (__x86_64_raw_shared_cache_size): Renamed to ...
11338 (__x86_raw_shared_cache_size): This.
11339 (__x86_64_shared_cache_size_half): Renamed to ...
11340 (__x86_shared_cache_size_half): This.
11341 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11342 (__x86_raw_shared_cache_size_half): This.
11343 * sysdeps/x86_64/memcpy.S: Updated.
11344 * sysdeps/x86_64/memset.S: Likewise.
11345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11346 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11347 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11348
0b3986d0
DM
113492013-01-04 David S. Miller <davem@davemloft.net>
11350
11351 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11352
e47686e9
AS
113532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11354
d643bac1
AS
11355 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11356 1 to avoid redefinition warning.
11357 (__USE_GNU): Don't define.
11358 (init_signaling_nan): Protoize.
11359
e47686e9
AS
11360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11361
b18decba
SP
113622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11363
fffb407f
SP
11364 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11365 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11366 (__cpymn): Likewise.
11367 (norm): Remove commented code.
11368 (denorm): Likewise.
11369 (__mp_dbl): Likewise.
11370 (__inv): Likewise.
11371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11372 (__cpymn): Likewise.
11373 (norm): Remove commented code.
11374 (denorm): Likewise.
11375 (__mp_dbl): Likewise.
11376 (__inv): Likewise.
11377
b18decba
SP
11378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11379 mp_no value for 1.0 and 2.0.
11380 (norm): Use RADIXI instead of radixi.d.
11381 (denorm): Likewise.
11382 (__mul): Use 0.0 instead of zero.d.
11383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11384 mp_no value for 1.0 and 2.0.
11385 (norm): Use RADIXI instead of radixi.d.
11386 (denorm): Likewise.
11387 (__mul): Use 0.0 instead of zero.d.
11388
cdc1c96f
JM
113892013-01-04 Joseph Myers <joseph@codesourcery.com>
11390
11391 [BZ #14994]
11392 * math/s_casinh.c (__casinh): Reduce finite argument to first
11393 quadrant then set signs of results at the end.
11394 * math/s_casinhf.c (__casinhf): Likewise.
11395 * math/s_casinhl.c (__casinhl): Likewise.
11396 * math/libm-test.inc (casin_test): Add more tests.
11397 (casinh_test): Likewise.
11398 * sysdeps/i386/fpu/libm-test-ulps: Update.
11399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11400
302913e1
SP
114012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11402
6420d207
SP
11403 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11404
a9e48ab4
SP
11405 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11406
b7837264
SP
11407 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11408 declarations.
11409 (denorm): Likewise.
11410 (__mp_dbl): Likewise.
11411 (__inv): Likewise.
11412
f8af25d2
SP
11413 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11414 and adjust the header comment.
11415
302913e1
SP
11416 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11417 variable name from declaration.
11418
5d7dd1ca
L
114192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11420
11421 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11422 Initialize COMMON_CPUID_INDEX_7 element.
11423 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11424 (CPUID_RTM): Likewise.
11425 (HAS_RTM): Likewise.
11426 (COMMON_CPUID_INDEX_7): New enum.
11427
2f5f40f4
AS
114282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11429
11430 [BZ #14981]
11431 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11432 size is zero, record memory as freed.
11433
4056f4a0
AJ
114342013-01-03 Andreas Jaeger <aj@suse.de>
11435
11436 * po/ia.po: Add new Interlingua translation.
11437
ab15736f 114382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11439
11440 * locale/programs/localedef.c: Fix description of '--posix' flag.
11441
568035b7
JM
114422013-01-02 Joseph Myers <joseph@codesourcery.com>
11443
e6898b8d
JM
11444 * NEWS: Update dates in second copyright notice.
11445 * README: Update copyright dates in example.
11446 * manual/libc.texinfo: Update copyright dates.
11447 * scripts/test-installation.pl: Update copyright date in --version
11448 output.
11449
0e2f9562
JM
11450 * hurd/ctty-input.c: Fix copyright notice formatting.
11451 * hurd/ctty-output.c: Likewise.
11452 * hurd/dtable.c: Likewise.
11453 * hurd/hurd-raise.c: Likewise.
11454 * hurd/hurdprio.c: Likewise.
11455 * hurd/msgportdemux.c: Likewise.
11456 * misc/sys/file.h: Likewise.
11457 * misc/sys/ioctl.h: Likewise.
11458 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11459 * sysdeps/mach/hurd/chdir.c: Likewise.
11460 * sysdeps/mach/hurd/fchdir.c: Likewise.
11461 * sysdeps/mach/hurd/rename.c: Likewise.
11462 * sysdeps/mach/hurd/rmdir.c: Likewise.
11463 * sysdeps/mach/hurd/seekdir.c: Likewise.
11464 * sysdeps/mach/hurd/setsid.c: Likewise.
11465 * sysdeps/posix/wait3.c: Likewise.
11466
568035b7
JM
11467 * All files with FSF copyright notices: Update copyright dates
11468 using scripts/update-copyrights.
11469 * intl/plural.c: Regenerated.
11470 * locale/programs/charmap-kw.h: Likewise.
11471 * locale/programs/locfile-kw.h: Likewise.
11472
da08f647
SP
114732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11474
0f5477af
SP
11475 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11476 four values.
11477
44e0d4c2
SP
11478 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11479 calculation loop and add branch prediction.
11480
4d55b4e5
SP
11481 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11482 check access beyond bounds of m1np.
11483
da08f647
SP
11484 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11485 MPTWO.
11486 (__inv): Remove local variable MPTWO to use the global
11487 constant.
11488 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11489 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11490 variable MPTWO.
11491 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11492 MP3HALFS static const.
11493
8e051029
DM
114942013-01-01 David S. Miller <davem@davemloft.net>
11495
11496 * po/ca.po: Update from translation team.
11497
f4cf5f2d
JM
114982013-01-01 Joseph Myers <joseph@codesourcery.com>
11499
11500 * scripts/update-copyrights: New file.
11501 * Makeconfig: Reformat copyright notice.
11502 * ctype/ctype.h: Likewise.
11503 * debug/swprintf_chk.c: Likewise.
11504 * elf/dl-cache.c: Likewise.
11505 * elf/dl-debug.c: Likewise.
11506 * elf/dl-object.c: Likewise.
11507 * grp/initgroups.c: Likewise.
11508 * hurd/Makefile: Likewise.
11509 * hurd/hurd/signal.h: Likewise.
11510 * hurd/hurdfault.c: Likewise.
11511 * hurd/hurdioctl.c: Likewise.
11512 * hurd/hurdlookup.c: Likewise.
11513 * hurd/intr-msg.c: Likewise.
11514 * iconv/gconv_open.c: Likewise.
11515 * libio/swprintf.c: Likewise.
11516 * locale/lc-ctype.c: Likewise.
11517 * locale/nl_langinfo.c: Likewise.
11518 * mach/Machrules: Likewise.
11519 * mach/Makefile: Likewise.
11520 * malloc/obstack.h: Likewise.
11521 * manual/Makefile: Likewise.
11522 * manual/tsort.awk: Likewise.
11523 * misc/bits/stab.def: Likewise.
11524 * nis/nis_print_group_entry.c: Likewise.
11525 * nis/nis_table.c: Likewise.
11526 * nis/nss_compat/compat-pwd.c: Likewise.
11527 * nis/nss_compat/compat-spwd.c: Likewise.
11528 * po/Makefile: Likewise.
11529 * posix/fnmatch.c: Likewise.
11530 * posix/regex.h: Likewise.
11531 * resolv/Makefile: Likewise.
11532 * resolv/nss_dns/dns-network.c: Likewise.
11533 * resolv/res_hconf.c: Likewise.
11534 * scripts/gen-sorted.awk: Likewise.
11535 * soft-fp/soft-fp.h: Likewise.
11536 * stdio-common/printf.h: Likewise.
11537 * stdlib/monetary.h: Likewise.
11538 * stdlib/random.c: Likewise.
11539 * stdlib/random_r.c: Likewise.
11540 * sysdeps/generic/Makefile: Likewise.
11541 * sysdeps/gnu/Makefile: Likewise.
11542 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11543 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11544 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11545 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11548 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11549 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11550 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11551 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11552 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11553 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11554 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11555 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11556 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11557 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11558 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11559 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11560 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11562 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11563 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11564 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11565 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11566 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11567 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11568 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11569 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11570 * sysdeps/mach/hurd/errnos.awk: Likewise.
11571 * sysdeps/mach/hurd/fork.c: Likewise.
11572 * sysdeps/mach/hurd/getcwd.c: Likewise.
11573 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11574 * sysdeps/mach/hurd/mmap.c: Likewise.
11575 * sysdeps/mach/hurd/utimes.c: Likewise.
11576 * sysdeps/mach/hurd/xmknod.c: Likewise.
11577 * sysdeps/posix/profil.c: Likewise.
11578 * sysdeps/posix/readdir_r.c: Likewise.
11579 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11580 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11581 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11582 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11583 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11584 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11585 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11586 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11588 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11589 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11590 * sysdeps/pthread/lio_listio.c: Likewise.
11591 * sysdeps/sparc/dl-procinfo.h: Likewise.
11592 * sysdeps/unix/i386/sysdep.S: Likewise.
11593 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11594 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11595 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11596 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11598 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11599 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11600 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11601 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11602 * sysdeps/wordsize-32/divdi3.c: Likewise.
11603 * time/sys/time.h: Likewise.
11604 * wcsmbs/Makefile: Likewise.
11605
0549fbba
DM
116062013-01-01 David S. Miller <davem@davemloft.net>
11607
a141f1a7
DM
11608 * po/fr.po: Update from translation team.
11609
0549fbba
DM
11610 * catgets/gencat.c: Update copyright year.
11611 * csu/version.c: Likewise.
11612 * debug/catchsegv.sh: Likewise.
11613 * debug/pcprofiledump.c: Likewise.
11614 * debug/xtrace.sh: Likewise.
11615 * elf/ldconfig.c: Likewise.
11616 * elf/ldd.bash.in: Likewise.
11617 * elf/pldd.c: Likewise.
11618 * elf/sotruss.ksh: Likewise.
11619 * elf/sprof.c: Likewise.
11620 * iconv/iconv_prog.c: Likewise.
11621 * iconv/iconvconfig.c: Likewise.
11622 * locale/programs/locale.c: Likewise.
11623 * locale/programs/localedef.c: Likewise.
11624 * login/programs/pt_chown.c: Likewise.
11625 * malloc/memusage.sh: Likewise.
11626 * malloc/memusagestat.c: Likewise.
11627 * malloc/mtrace.pl: Likewise.
11628 * nscd/nscd.c: Likewise.
11629 * nss/getent.c: Likewise.
11630 * nss/makedb.c: Likewise.
11631 * posix/getconf.c: Likewise.
11632
18ea052c
SP
116332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11634
11635 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11636 numbers.
11637
9c89fca6
MF
116382012-12-30 Mike Frysinger <vapier@gentoo.org>
11639
11640 * math/bits/mathcalls.h (modf): Use __nonnull.
11641
085ec079
SP
116422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11643
11644 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11645 (split): Use macro CN instead of the bare value.
11646 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11647 could be used.
11648 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11649 instead of the bare value.
11650 (power1): Likewise.
11651
6d9f97e1
SP
116522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11653
d63f73be
SP
11654 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11655 __ATAN_TWOM.
11656 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11657
6d9f97e1
SP
11658 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11659 their values.
11660 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11661 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11662 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11663 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11664
4c4febf5
AJ
116652012-12-28 Andreas Jaeger <aj@suse.de>
11666
af5843ef
AJ
11667 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11668 values are from Linux 3.7.
11669
4c4febf5
AJ
11670 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11671 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11672
99136f82
SP
116732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11674
2f216c3c 11675 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11676 TRUE case.
11677
99136f82
SP
11678 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11679 (norm): Likewise.
11680 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11681 variables with preprocessor constants.
11682 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11683 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11684 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11685
7fffbdff
BH
116862012-12-27 Bruno Haible <bruno@clisp.org>
11687
11688 [BZ #14317]
11689 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11690 only if needed.
11691
b76eb5f0
SP
116922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11693
31a7fe5c
SP
11694 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11695 and use variable directly.
11696 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11697
b76eb5f0
SP
11698 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11699 MPONE.
11700 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11701 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11702 variable MPONE.
11703 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11704 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11705 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11706 include directive. Remove local variable MPONE.
11707 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11708 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11709 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11710
2c8bfe7d
DM
117112012-12-25 David S. Miller <davem@davemloft.net>
11712
11713 * version.h (RELEASE): Set to "development".
11714 (VERSION): Set to "2.17.90".
11715 * NEWS: Add 2.18 section.
11716
147d03b0
DM
117172012-12-21 David S. Miller <davem@davemloft.net>
11718
11719 * po/hr.po: Update from translation team.
11720
a8ebb2b9
AK
117212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11722
11723 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11724
95b4f1b6
SE
117252012-12-19 Steve Ellcey <sellcey@mips.com>
11726
b2d94007 11727 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11728
cedb2a90
MS
117292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11730
11731 * manual/contrib.texi (Contributors): Spelling correction.
11732
bbf527d6
DM
117332012-12-15 David S. Miller <davem@davemloft.net>
11734
11735 * po/ru.po: Update from translation team.
11736
bc38c906
DM
117372012-12-13 David S. Miller <davem@davemloft.net>
11738
85429b1a
DM
11739 * NEWS: Mention IFUNC testsuite enhancements.
11740
d283e353
DM
11741 * po/pl.po: Update from translation team.
11742 * po/bg.po: Likewise.
11743
bc38c906
DM
11744 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11745 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11746
a181b0d7
DM
117472012-12-11 David S. Miller <davem@davemloft.net>
11748
4641d57e
DM
11749 * po/sv.po: Update from translation team.
11750
f7bc6495
DM
11751 * po/vi.po: Update from translation team.
11752
6fc9048f
DM
11753 * po/cs.po: Update from translation team.
11754
a181b0d7
DM
11755 * po/de.po: Update from translation team.
11756 * po/eo.po: Likewise.
11757 * po/nl.po: Likewise.
11758
f70bfe80
SP
117592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11760
3c8b4190
SP
11761 [BZ #14246]
11762 * manual/argp.texi (Argp Helper Functions): Move node to follow
11763 Argp Parsing State.
11764
f70bfe80
SP
11765 [BZ #14872]
11766 * manual/conf.texi (Limits on File System Capacity): Mention if
11767 terminating null is included in the max size.
11768
188f0adf
AJ
117692012-12-10 Andreas Jaeger <aj@suse.de>
11770
11771 * po/cs.po: Update from translation team.
11772
56e7d3ad
SP
117732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11774
11775 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11776 void pointer and cast to uintptr_t.
11777 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11778 path.
11779 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11780 * sysdeps/s390/s390-64/memset.S: Likewise.
11781
76f2d2ea 117822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11783
11784 [BZ #14833]
11785 * menual/message.texi (Message Translation): Fix typos.
11786 (Helper programs for gettext): Likewise.
11787
67cbf9a2
AS
117882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11789
11790 [BZ #14898]
11791 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11792 Change to -1.
11793
682d0e9a
DM
117942012-12-07 David S. Miller <davem@davemloft.net>
11795
11796 * po/libc.pot: Update.
11797
573cd484
RH
117982012-12-07 Richard Henderson <rth@redhat.com>
11799
7e9da188 11800 [BZ #10114]
573cd484
RH
11801 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11802 normal/normal case to before the switch.
11803 (_FP_DIV): Likewise.
11804
e933a943
MF
118052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11806 Mike Frysinger <vapier@gentoo.org>
11807
11808 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11809 check for __NR_fadvise64_64.
11810
82123268
CM
118112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11812
11813 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11814 0, not just to plain "0" as a statement.
11815 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11816 with cw.
11817
d9814526
JM
118182012-12-06 Joseph Myers <joseph@codesourcery.com>
11819
11820 * NEWS: Use sourceware.org in Bugzilla URL.
11821
7728c574
SP
118222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11823
f16946dd
SP
11824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11825 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11826
5704bbcb
SP
11827 * stdio-common/tst-put-error.c (do_test): Add newline to the
11828 padded test to ensure flush.
11829
17aa0516
JL
118302012-12-05 Jeff Law <law@redhat.com>
11831
11832 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11833
363313b5
JM
118342012-12-05 Joseph Myers <joseph@codesourcery.com>
11835
effbd42a
JM
11836 * README: Don't refer to ports add-on as distributed separately.
11837 Mention AArch64 in list of systems supported in the ports add-on.
11838
87600365
JM
11839 * LICENSES: Add more non-FSF copyright and license notices.
11840
a0d7066a
JM
11841 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11842 ((unused)).
11843
66ca5a5b
JM
11844 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11845
363313b5
JM
11846 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11847 10000 as width of padded output.
11848
b37984ad
JM
118492012-12-04 Joseph Myers <joseph@codesourcery.com>
11850
9003570a
JM
11851 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11852
b37984ad
JM
11853 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11854 variable LX with __attribute__ ((unused)).
11855 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11856 Likewise.
11857 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11859 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11860 with __attribute__ ((unused)).
11861
c8df52ec
DM
118622012-12-04 David S. Miller <davem@abraco.davemloft.net>
11863
11864 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11865
b3b099af
JM
118662012-12-04 Joseph Myers <joseph@codesourcery.com>
11867
c33aa6e3
JM
11868 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11869 (CFLAGS-nldbl-acos.c): New variable.
11870 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11871 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11872 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11873 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11874 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11875 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11876 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11877 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11878 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11879 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11880 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11881 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11882 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11883 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11884 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11885 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11886 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11887 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11888 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11889 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11890 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11891 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11892 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11893 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11894 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11895 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11896 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11897 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11898 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11899 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11900 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11901 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11902 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11903 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11904 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11905 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11906 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11907 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11908 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11909 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11910 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11911 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11912 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11913 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11914 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11915 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11916 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11917 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11918 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11919 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11920 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11921 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11922 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11923 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11924 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11925 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11926 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11927 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11928 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11929 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11930 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11931 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11932 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11933 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11934 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11935 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11936 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11937 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11938 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11939 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11940 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11941 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11942 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11943 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11944 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11945 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11946 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11947 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11948 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11949 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11950 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11951 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11952 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11953 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11954 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11955 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11956 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11957 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11958 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11959 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11960 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11961 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11962 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11963 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11964 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11965 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11966 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11967
20f0018d
JM
11968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11969 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11970
b3b099af
JM
11971 [BZ #14914]
11972 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11973 whole low double instead of just low 47 bits when splitting values
11974 into two parts.
11975
029264d1
AM
119762012-12-03 Allan McRae <allan@archlinux.org>
11977
11978 * manual/stdio.texi (Predefined Printf Handlers): Remove
11979 @hsep and @vsep usage.
11980
c9d6789e
MF
119812012-12-03 Mike Frysinger <vapier@gentoo.org>
11982
11983 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11984 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11985
4b7634a5
JL
119862012-12-03 Jeff Law <law@redhat.com>
11987
11988 * time/sys/time.h (settimeofday): Do not mark TV argument
11989 as __nonnull.
11990
eb6cbd24
MF
119912012-12-01 Mike Frysinger <vapier@gentoo.org>
11992
11993 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11994 when currently writing and seek to current position when not.
11995 * libio/Makefile (tests): Remove bug-fclose1.
11996 * libio/bug-fclose1.c: Delete.
11997
f638872a
JM
119982012-12-01 Joseph Myers <joseph@codesourcery.com>
11999
12000 * manual/arith.texi (feenableexcept): Fix typo.
12001 (fedisableexcept): Likewise.
12002
48085d14
RM
120032012-11-30 Roland McGrath <roland@hack.frob.com>
12004
12005 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
12006 second, differently-typed declaration, rather than a cast.
12007
1a538b9f
SP
120082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
12009
12010 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
12011 * include/rpc/svc.h: ... here.
12012
d07f2ff1 120132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
12014
12015 [BZ #13013]
12016 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
12017 depending n and resplen2 to catch cases where answer
12018 equals answerp2.
12019
c93ec1f0
CD
120202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
12021
12022 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
12023 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
12024
37db69de
MF
120252012-11-29 Mike Frysinger <vapier@gentoo.org>
12026
12027 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
12028
e10c4e4f
RM
120292012-11-29 Roland McGrath <roland@hack.frob.com>
12030
12031 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
12032
2af1b328
JL
120332012-11-28 Jeff Law <law@redhat.com>
12034
12035 [BZ #13761]
12036 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
12037 dataset_temporary. Track alloca usage into alloca_used.
12038 If dataset is large allocate and release it via malloc/free.
12039
111db5b1
FW
120402012-06-04 Florian Weimer <fweimer@redhat.com>
12041
f06cc227 12042 [BZ #14197]
111db5b1
FW
12043 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
12044
dd694abd
DM
120452012-11-28 David S. Miller <davem@davemloft.net>
12046
12047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12048
9984dd01
JM
120492012-11-28 Joseph Myers <joseph@codesourcery.com>
12050
12051 [BZ #14803]
12052 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
12053 of pi/2 rounded to nearest to 64 bits.
12054 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
12055 nearest to 64 bits.
12056 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
12057 bits.
12058
14bc93a9
JL
120592012-11-28 Jeff Law <law@redhat.com>
12060 Martin Osvald <mosvald@redhat.com>
12061
12062 [BZ #14889]
12063 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
12064 * sunrpc/svc.c: Include time.h.
12065 (__svc_accept_failed): New function.
12066 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
12067 any reason other than EINTR, call __svc_accept_failed.
12068 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
12069 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
12070
e3c6aa3a
AS
120712012-11-28 Andreas Schwab <schwab@suse.de>
12072
12073 * scripts/abilist.awk: Also handle indirect functions in .opd
12074 section.
12075
1bead169
JM
120762012-11-28 Joseph Myers <joseph@codesourcery.com>
12077
12078 [BZ #13881]
12079 * sysdeps/x86/fpu/powl_helper.c: New file.
12080 * sysdeps/x86/fpu/Makefile: Likewise.
12081 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
12082 (p3): New object.
12083 (__ieee754_powl): Use __powl_helper for finite arguments except
12084 integer exponents below 8.
12085 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
12086 (p3): New object.
12087 (__ieee754_powl): Use __powl_helper for finite arguments except
12088 integer exponents below 8.
12089 * math/libm-test.inc (pow_test): Add more tests and enable some
12090 previously disabled tests.
12091 * sysdeps/i386/fpu/libm-test-ulps: Update.
12092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12093
0817d63d
SP
120942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12095 Carlos O'Donell <carlos_odonell@mentor.com>
12096
12097 * nss/makedb.c (is_prime): Assert that input is odd and greater
12098 than 4. Note that fact in a comment too.
12099 (next_prime): Add 4 to input.
12100
de2fd463
SP
121012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12102
12103 [BZ #11741]
12104 * libio/Makefile (tests): Add test case tst-fwrite-error.
12105 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
12106 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
12107 * libio/tst-fwrite-error.c: New test case.
12108
c515fb51
L
121092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
12110
12111 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
12112 before casting to void *.
12113 * include/libc-internal.h (__pointer_type): New macro.
12114 (__integer_if_pointer_type_sub): Likewise.
12115 (__integer_if_pointer_type): Likewise.
12116 (cast_to_integer): Likewise.
12117 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
12118 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
12119 before casting to atomic64_t.
12120 (atomic_exchange_acq): Likewise.
12121 (__arch_exchange_and_add_body): Likewise.
12122 (__arch_add_body): Likewise.
12123 (atomic_add_negative): Likewise.
12124 (atomic_add_zero): Likewise.
12125
4cf77aa9
JM
121262012-11-26 Joseph Myers <joseph@codesourcery.com>
12127
12128 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
12129 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
12130 (add_fdes): Likewise.
12131 (linear_search_fdes): Likewise.
12132 (binary_search_unencoded_fdes): Likewise.
12133
d260b3b4
AS
121342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
12135
12136 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
12137
67060746
AC
121382012-11-24 Adam Conrad <adconrad@0c3.net>
12139
12140 * configure.in: Autodetect C++ header directories.
12141 * configure: Regenerated.
12142
800938a1
MF
121432012-11-23 Mike Frysinger <vapier@gentoo.org>
12144
12145 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
12146
4e6e34e6
AS
121472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
12148
12149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12150
7c7feb47
JM
121512012-11-22 Joseph Myers <joseph@codesourcery.com>
12152
7184dcdf
JM
12153 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
12154 LDBL_MANT_DIG == 106]: Disable some tests.
12155 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12156 Likewise.
12157 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
12158 Likewise.
12159
0a42601f
JM
12160 [BZ #14871]
12161 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
12162 input for small inputs. Return +/- pi/2 for large inputs.
12163 * math/libm-test.inc (atan_test): Add more tests.
12164
79c9b9fe
JM
12165 * sysdeps/generic/unwind-dw2-fde-glibc.c
12166 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
12167 __attribute__ ((unused)).
12168
c60d3bf2
JM
12169 [BZ #14645]
12170 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
12171 x * y if x and y are nonzero and z is zero.
12172
ef1e0867
JM
12173 [BZ #14811]
12174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
12175 nonzero exponents with absolute value below 0x1p-117 to +/-
12176 0x1p-117.
12177
1468ded3
JM
12178 [BZ #14869]
12179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
12180 up arguments below 2**-450, not just those below 2**-500.
12181 * math/libm-test.inc (hypot_test): Add another test.
12182
8e27e3cc
JM
12183 [BZ #14868]
12184 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12185 Return a+b for ratio over 2**120, not 2**60.
12186 * math/libm-test.inc (hypot_test): Add another test.
12187
c9c0279b
JM
12188 * math/libm-test.inc (clog_test): Use
12189 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
12190 (clog10_test): Likewise.
12191
7c7feb47
JM
12192 [BZ #6778]
12193 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
12194
fff1530e
AS
121952012-11-22 Andreas Schwab <schwab@suse.de>
12196
12197 * sysdeps/i386/fpu/libm-test-ulps: Update.
12198
94558d30
PT
121992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
12200
12201 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
12202 printf output with newline.
12203
7e1be741
L
122042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
12205
6bfea974
L
12206 [BZ #14865]
12207 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
12208 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
12209 -z nodlopen, -z initfirst and -z execstack support.
12210 * configure: Regenerated.
12211
7e1be741
L
12212 * elf/elf.h (DF_1_NODIRECT): New macro.
12213 (DF_1_IGNMULDEF): Likewise.
12214 (DF_1_NOKSYMS): Likewise.
12215 (DF_1_NOHDR): Likewise.
12216 (DF_1_EDITED): Likewise.
12217 (DF_1_NORELOC): Likewise.
12218 (DF_1_SYMINTPOSE): Likewise.
12219 (DF_1_GLOBAUDIT): Likewise.
12220 (DF_1_SINGLETON): Likewise.
12221 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
12222 DT_1_SUPPORTED_MASK bits.
12223 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
12224
105ce2ce
CD
122252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
12226
12227 * sysdeps/unix/make-syscalls.sh: Document prefixes.
12228
123be9de
TS
122292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
12230
d072f3f7
TS
12231 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
12232 macro.
12233
123be9de
TS
12234 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
12235 (sendmmsg): Move declarations...
12236 * socket/sys/socket.h: ... here.
12237 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
12238 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
12239 include it from...
12240 * socket/recvmmsg.c: ... this new file.
12241 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
12242 (sendmmsg): Rename to __sendmmsg, create weak alias and make
12243 definition of __sendmmsg hidden.
12244 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
12245 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
12246 Move ENOSYS stub into and include it from...
12247 * socket/sendmmsg.c: ... this new file.
12248 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
12249 (sysdep_routines): Move recvmmsg and sendmmsg...
12250 * socket/Makefile (routines): ... here.
12251 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
12252 (GLIBC_PRIVATE): Add __sendmmsg.
12253 * include/sys/socket.h (__sendmmsg): Add declarations.
12254 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
12255 sendmmsg.
12256
cf9a5d18
JM
122572012-11-20 Joseph Myers <joseph@codesourcery.com>
12258
12259 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
12260 variable I1 with __attribute__ ((unused)).
12261 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
12262
ecd4caf9
JM
122632012-11-19 Joseph Myers <joseph@codesourcery.com>
12264
be14d48f
JM
12265 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
12266 DUMMY variables with __attribute__ ((unused)).
12267
ecd4caf9
JM
12268 * bits/byteswap.h: Include <bits/types.h>.
12269 (__bswap_64): Use __uint64_t instead of unsigned long long int.
12270
986cab95
PT
122712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12272
12273 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
12274 string_t. Do not manually set errno.
12275 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
12276 length with __strnlen. Make sure to both set errno and return it on
12277 failure.
12278
6d33cc9d
DM
122792012-11-19 David S. Miller <davem@davemloft.net>
12280
12281 With help from Joseph Myers.
12282 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
12283 very large arguments properly.
12284 * math/libm-test.inc (atan_test): New tests.
12285 (atan2_test): New tests.
12286 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12288
ee663277
JM
122892012-11-19 Joseph Myers <joseph@codesourcery.com>
12290
877f2d8e
JM
12291 [BZ #14856]
12292 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12293 Define to 3.
12294
116fc08a
JM
12295 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12296 [POSIX] (EADDRNOTAVAIL): Likewise.
12297 [POSIX] (EAFNOSUPPORT): Likewise.
12298 [POSIX] (EALREADY): Likewise.
12299 [POSIX] (ECONNABORTED): Likewise.
12300 [POSIX] (ECONNREFUSED): Likewise.
12301 [POSIX] (ECONNRESET): Likewise.
12302 [POSIX] (EDESTADDRREQ): Likewise.
12303 [POSIX] (EDQUOT): Likewise.
12304 [POSIX] (EHOSTUNREACH): Likewise.
12305 [POSIX] (EIDRM): Likewise.
12306 [POSIX] (EISCONN): Likewise.
12307 [POSIX] (ELOOP): Likewise.
12308 [POSIX] (EMULTIHOP): Likewise.
12309 [POSIX] (ENETDOWN): Likewise.
12310 [POSIX] (ENETUNREACH): Likewise.
12311 [POSIX] (ENOBUFS): Likewise.
12312 [POSIX] (ENODATA): Likewise.
12313 [POSIX] (ENOLINK): Likewise.
12314 [POSIX] (ENOMSG): Likewise.
12315 [POSIX] (ENOPROTOOPT): Likewise.
12316 [POSIX] (ENOSR): Likewise.
12317 [POSIX] (ENOSTR): Likewise.
12318 [POSIX] (ENOTCONN): Likewise.
12319 [POSIX] (ENOTSOCK): Likewise.
12320 [POSIX] (EOPNOTSUPP): Likewise.
12321 [POSIX] (EOVERFLOW): Likewise.
12322 [POSIX] (EPROTO): Likewise.
12323 [POSIX] (EPROTONOSUPPORT): Likewise.
12324 [POSIX] (EPROTOTYPE): Likewise.
12325 [POSIX] (ESTALE): Likewise.
12326 [POSIX] (ETIME): Likewise.
12327 [POSIX] (ETXTBSY): Likewise.
12328 [POSIX] (EWOULDBLOCK): Likewise.
12329 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12330 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12331 [POSIX] (SEEK_CUR): Likewise.
12332 [POSIX] (SEEK_END): Likewise.
12333 [POSIX || UNIX98] (mode_t): Do not require.
12334 [POSIX] (off_t): Likewise.
12335 [POSIX] (pid_t): Likewise.
12336 [POSIX] (sys/stat.h): Do not allow header.
12337 [POSIX] (unistd.h): Likewise.
12338 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12339 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12340 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12341 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12342 require.
12343 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12344 sigevent): Specify elements.
12345 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12346 entry.
12347 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12348 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12349
a483863f
JM
12350 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12351 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12352 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12353 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12354 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12355 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12356 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12357 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12358 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12359 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12360 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12361 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12362 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12364 Likewise.
12365 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12366 Likewise.
12367 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12368 Likewise.
12369 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12370 Likewise.
12371 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12372 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12373 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12374 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12375 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12376 Specify lower bound on value.
12377 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12378 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12379 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12380 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12381 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12382 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12383 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12384 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12385 value.
12386 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12387 as optional.
12388 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12389 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12390 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12391 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12392 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12393 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12394 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12395 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12396 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12397 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12398 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12399 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12400 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12401 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12402 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12403 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12404 entry.
12405 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12406 optional.
12407 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12408 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12409 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12410 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12411 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12412 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12413 Likewise.
12414 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12415 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12416 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12417 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12418 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12419 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12420 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12421 as optional.
12422 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12423 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12424 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12425 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12426 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12427 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12428 specify as optional.
12429 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12430 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12431 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12432 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12433 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12434 [XPG3] (NL_LANGMAX): Likewise.
12435 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12436 [POSIX || XPG3] (NL_NMAX): Likewise.
12437 [POSIX || XPG3] (NL_SETMAX): Likewise.
12438 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12439 [XPG3] (NZERO): Likewise.
12440 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12441 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12442 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12443 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12444 (REG_ERANGE): Expect.
12445 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12446 optional-constant.
12447 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12448 Use (void) in prototype.
12449 [POSIX] (*_t): Allow.
12450 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12451 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12452 (WRDE_BADVAL): Expect.
12453
5ba924e3
JM
12454 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12455 expect.
12456 [XPG3 || XPG4] (O_RSYNC): Likewise.
12457 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12458 Likewise.
12459 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12460 [XPG3 || XPG4] (sigqueue): Likewise.
12461 [XPG3 || XPG4] (sigtimedwait): Likewise.
12462 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12463 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12464 [XPG3 || XPG4] (vsnprintf): Likewise.
12465 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12466 Likewise.
12467 [XPG3 || XPG4] (blksize_t): Likewise.
12468 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12469 Likewise.
12470 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12471 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12472 [XPG3 || XPG4] (struct itimerspec): Likewise.
12473 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12474 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12475 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12476 [XPG3 || XPG4] (clockid_t): Likewise.
12477 [XPG3 || XPG4] (timer_t): Likewise.
12478 [XPG3 || XPG4] (clock_getres): Likewise.
12479 [XPG3 || XPG4] (clock_gettime): Likewise.
12480 [XPG3 || XPG4] (clock_settime): Likewise.
12481 [XPG3 || XPG4] (nanosleep): Likewise.
12482 [XPG3 || XPG4] (timer_create): Likewise.
12483 [XPG3 || XPG4] (timer_delete): Likewise.
12484 [XPG3 || XPG4] (timer_gettime): Likewise.
12485 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12486 [XPG3 || XPG4] (timer_settime): Likewise.
12487 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12488 [XPG3 || XPG4] (getlogin_r): Likewise.
12489 [XPG3 || XPG4] (pread): Likewise.
12490 [XPG3 || XPG4] (pthread_atfork): Likewise.
12491 [XPG3 || XPG4] (pwrite): Likewise.
12492
ee663277
JM
12493 [BZ #14835]
12494 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12495 <bits/siginfo.h>.
12496
942caa16
PT
124972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12498
e19af380
PT
12499 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12500 finalizing MALLSTREAM.
12501
942caa16
PT
12502 * sysdeps/mach/hurd/syncfs.c: New file.
12503
cfde9b46
SP
125042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12505
12506 [BZ #14719]
12507 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12508 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12509 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12510 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12511 (_nss_dns_gethostbyname4_r): Likewise.
12512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12513 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12514
f6da27e5
PH
125152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12516
12517 [BZ #13763]
12518 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12519
6665d4a2
SM
125202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12521
1f51ee92
SM
12522 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12523 * elf/cache.c (print_entry): Print ",AArch64" for
12524 FLAG_AARCH64_LIB64
12525
6665d4a2
SM
12526 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12527 * elf/cache.c (print_entry): Print ",hard-float" for
12528 FLAG_ARM_LIBHF.
12529
05b227bd
DM
125302012-11-18 David S. Miller <davem@davemloft.net>
12531
12532 With help from Joseph Myers.
12533 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12534 cutoff to 2**-13.
12535 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12536 cutoff to 2**-25.
12537 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12538 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12539 small.
12540 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12541 * math/libm-test.inc (y0_test): New tests.
12542 (y1_test): New tests.
12543 * sysdeps/i386/fpu/libm-test-ulps: Update.
12544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12546
786b0b67
AS
125472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12548
12549 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12550 64-bit targets.
12551 * configure: Regenerated.
12552
8e18b86d
DM
125532012-11-17 David S. Miller <davem@davemloft.net>
12554
12555 [BZ #14811]
12556 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12557 nonzero exponents with absolute value below 0x1p-128 to +/-
12558 0x1p-128.
12559
531f1ae0
JM
125602012-11-17 Joseph Myers <joseph@codesourcery.com>
12561
12df29e2
JM
12562 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12563
150dc1a0
JM
12564 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12565
531f1ae0
JM
12566 * posix/getconf-speclist.c: New file.
12567 * posix/posix-envs.def: Likewise.
12568 * posix/confstr.c (START_ENV_GROUP): New macro.
12569 (END_ENV_GROUP): Likewise.
12570 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12571 (KNOWN_PRESENT_ENV_STRING): Likewise.
12572 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12573 (UNKNOWN_ENVIRONMENT): Likewise.
12574 (confstr): Include posix-envs.def instead of handling
12575 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12576 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12577 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12578 (END_ENV_GROUP): Likewise.
12579 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12580 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12581 (UNKNOWN_ENVIRONMENT): Likewise.
12582 (__sysconf): Include posix-envs.def instead of handling associated
12583 cases directly here.
12584 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12585 preprocessing getconf-speclist.c rather than running getconf or
12586 generating empty file.
12587
a93f9cbc
PT
125882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12589
12590 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12591
d64d9f87
AL
125922012-11-16 Andrej Lajovic <natrij@gmail.com>
12593
12594 [BZ #14672]
12595 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12596
447885eb
DM
125972012-11-16 David S. Miller <davem@davemloft.net>
12598
12599 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12600 smaller than LDBL_EPSILON/2.0L, just return xm1.
12601
bcbf9830
L
126022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12603
12604 * elf/tst-array1.c (init): Set constructor priority to 1000.
12605 (fini): Set destructor priority to 1000.
12606 * elf/tst-array2dep.c: Likewise.
12607
2b766585
SP
126082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12609
12610 [BZ #11741]
12611 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12612 (_IO_new_file_xsputn): Also return EOF if none of the input
12613 data was written when overflow failed.
12614 * libio/iopadn.c (_IO_padn): Likewise.
12615 * libio/iowpadn.c (_IO_wpadn): Likewise.
12616 * stdio-common/tst-put-error.c: Add copyright notice.
12617 (do_test): Add case for printing padded string.
12618 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12619 _IO_padn returned error.
12620 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12621 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12622 return EOF.
12623
b1848fde
SP
126242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12625
12626 * libio/libioP.h: Add comment note that the references to C++
12627 bits are now obsolete.
12628
2fd89785
MS
126292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12630
12631 * math/libm-test.inc (check_complex): Use asprintf.
12632
e3ea5409
JM
126332012-11-14 Joseph Myers <joseph@codesourcery.com>
12634
12635 * debug/pcprofiledump.c (print_version): Update copyright year.
12636 * malloc/memusagestat.c (print_version): Likewise.
12637
2e64d265
L
126382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12639
12640 [BZ #14831]
12641 * elf/Makefile (tests): Add tst-audit8.
12642 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12643 ($(objpfx)tst-audit8.out): New target.
12644 (tst-audit8-ENV): New variable.
12645 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12646 audit if l_reloc_result is NULL.
12647 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12648 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12649 * elf/tst-audit8.c: New file.
12650
c485e4d2
MS
126512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12652
12653 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12654 * misc/Makefile (CFLAGS-select.c): Define.
12655 * posix/Makefile (CFLAGS-pause.c): Define.
12656
3a0d900a
DM
126572012-11-13 David S. Miller <davem@davemloft.net>
12658
12659 * crypt/Makefile: Move test targets after toplevel Rules
12660 inclusion. Grab any necessary sysdep routines when linking.
12661 * crypt/md5.c (md5_process_block): Remove define, we will always
12662 name it __md5_process_block.
12663 (md5_finish_ctx): Update md5_process_block call.
12664 (md5_stream): Likewise.
12665 (md5_process_bytes): Likewise.
12666 (md5_process_block): Rename to __md5_process_block and move to ...
12667 * crypt/md5-block.c: ... here.
12668 * crypt/sha256.c (sha256_process_block): Move to ...
12669 * crypt/sha256-block.c: ... here.
12670 * crypt/sha512.c (sha512_process_block): Move to ...
12671 * crypt/sha512-block.c: ... here.
12672 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12673 path.
12674 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12675 * sysdeps/sparc/sparc64/multiarch/Makefile
12676 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12677 crypt subdir.
12678 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12679 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12680 multiarch changes.
12681 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12682 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12683 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12684 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12685 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12686 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12687 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12688 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12689 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12690 file.
12691 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12692 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12693 file.
12694 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12695
8ca89318
JM
126962012-11-13 Joseph Myers <joseph@codesourcery.com>
12697
e27d476a
JM
12698 * timezone/tzselect.ksh: Update from tzcode git revision
12699 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12700 * timezone/zdump.c: Likewise.
12701 * timezone/zic.c: Likewise.
12702 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12703 in TZVERSION setting, not $(PKGVERSION).
12704 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12705 REPORT_BUGS_TO settings.
12706
8ca89318
JM
12707 [BZ #14838]
12708 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12709 macro.
12710
47594329
MS
127112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12712
12713 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12714 detection to immediately after _FP_ROUND().
12715 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12716 bits are 0.
12717
640ac3f1
DM
127182012-11-11 David S. Miller <davem@davemloft.net>
12719
12720 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12721 inttypes.h
12722 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12723 __close rather than their public counterparts.
12724
3d2577bb
JM
127252012-11-10 Joseph Myers <joseph@codesourcery.com>
12726
12727 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12728 file.
12729 [UNIX98] (sem_timedwait): Do not expect.
12730 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12731 [XPG4 || UNIX98] (sockatmark): Do not expect.
12732 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12733 (clock_getcpuclockid): Do not expect.
12734 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12735 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12736 Do not expect.
12737 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12738 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12739 [UNIX98] (vwscanf): Likewise.
12740 [UNIX98] (vswscanf): Likewise.
12741
fb1ae1ee
JM
127422012-11-09 Joseph Myers <joseph@codesourcery.com>
12743
9ec6f8bd
JM
12744 * timezone/version.h: Remove file.
12745 * timezone/README: Do not refer to version.h.
12746 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12747 $(objpfx)version.h.
12748 ($(objpfx)zdump.o): Likewise.
c3f81911 12749 ($(objpfx)version.h): New target.
9ec6f8bd 12750
0aa8f8a1
JM
12751 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12752 2012i.
12753 * timezone/README: Don't mention modification to tzselect.ksh.
12754 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12755 work on unmodified tzselect.ksh. Substitute version numbers in
12756 tzselect.ksh.
12757
4e87147f
JM
12758 * Makefile (format-me): Remove.
12759 (INSTALL): Adjust indentation. Use commands directly instead of
12760 using $(format-me).
12761
8b748aed
JM
12762 * aclocal.m4 (ACX_PKGVERSION): New macro.
12763 (ACX_BUGURL): Likewise.
12764 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12765 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12766 (REPORT_BUGS_TO): Likewise.
12767 * configure: Regenerated.
12768 * config.h.in (PKGVERSION): New macro.
12769 (REPORT_BUGS_TO): Likewise.
12770 * config.make.in (PKGVERSION): New variable.
12771 (PKGVERSION_TEXI): Likewise.
12772 (REPORT_BUGS_TO): Likewise.
12773 (REPORT_BUGS_TEXI): Likewise.
12774 * Makefile (format-me): Use -I$(common-objpfx)manual.
12775 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12776 ($(common-objpfx)manual/%): New target.
12777 (manual/%): Remove target.
12778 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12779 (print_version): Use PKGVERSION.
12780 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12781 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12782 and REPORT_BUGS_TO.
12783 ($(objpfx)xtrace): Likewise.
12784 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12785 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12786 (print_version): Use PKGVERSION.
12787 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12788 (do_version): Use PKGVERSION.
12789 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12790 REPORT_BUGS_TO.
12791 (common-ldd-rewrite): Likewise.
12792 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12793 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12794 (print_version): Use PKGVERSION.
12795 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12796 * elf/pldd.c (argp_program_bug_address): Remove variable.
12797 (more_help): New function.
12798 (argp): Use more_help.
12799 (print_version): Use PKGVERSION.
12800 * elf/sln.c (main): Use PKGVERSION.
12801 (usage): Use REPORT_BUGS_TO.
12802 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12803 (top level): Use PKGVERSION.
12804 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12805 (print_version): Use PKGVERSION.
12806 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12807 (print_version): Use PKGVERSION.
12808 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12809 (print_version): Use PKGVERSION.
12810 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12811 (print_version): Use PKGVERSION.
12812 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12813 (print_version): Use PKGVERSION.
12814 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12815 (print_version): Use PKGVERSION.
12816 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12817 and BUGURL.
12818 ($(objpfx)memusage): Likewise.
12819 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12820 (do_version): Use PKGVERSION.
12821 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12822 (print_version): Use PKGVERSION.
12823 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12824 ($PKGVERSION): New variable.
12825 ($REPORT_BUGS_TO): Likewise.
12826 (usage): Use $REPORT_BUGS_TO.
12827 (top level): Use $PKGVERSION.
12828 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12829 ($(objpfx)pkgvers.texi): New rule.
12830 ($(objpfx)stamp-pkgvers): Likewise.
12831 * manual/install.texi: Include pkgvers.texi.
12832 (--with-pkgversion): Document new configure option.
12833 (--with-bugurl): Likewise.
12834 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12835 than necessarily for this particular distribution. Use
12836 REPORT_BUGS_TO for where to report bugs.
12837 * INSTALL: Regenerated.
12838 * manual/libc.texinfo: Include pkgvers.texi.
12839 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12840 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12841 (print_version): Use PKGVERSION.
12842 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12843 (print_version): Use PKGVERSION.
12844 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12845 (print_version): Use PKGVERSION.
12846 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12847 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12848 macro.
12849 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12850 (print_version): Use PKGVERSION.
12851 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12852 (print_version): Use PKGVERSION.
12853 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12854 and PKGVERSION.
12855
92e4b6a9
JM
12856 * timezone/checktab.awk: Update from tzcode 2012i.
12857 * timezone/ialloc.c: Likewise.
12858 * timezone/private.h: Likewise.
12859 * timezone/scheck.c: Likewise.
12860 * timezone/tzfile.h: Likewise.
12861 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12862 (TZVERSION): Hardcode tzcode version number.
12863 * timezone/zdump.c: Update from tzcode 2012i.
12864 * timezone/zic.c: Likewise.
12865 * timezone/version.h: New file.
12866 * timezone/README: Describe version.h. Update upstream location.
12867
9bde902c
JM
12868 [BZ #14824]
12869 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12870 (mktemp): Enable declaration.
12871 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12873 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12875 Likewise.
12876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12877 Likewise.
12878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12879 Likewise.
12880 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12881 Likewise.
12882 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12883 Likewise.
12884 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12885 Likewise.
12886
fb1ae1ee
JM
12887 [BZ #14821]
12888 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12889 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12890 for copies of such integer values.
12891 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12892 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12893
2c1adbcb
AJ
128942012-11-09 Andreas Jaeger <aj@suse.de>
12895
12896 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12897 definitions and declarations that are provided by
12898 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12899
d0f8457e
AK
129002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12901
3a235abb 12902 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12903 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12904 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12905 definition.
12906
57241e26
MS
129072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12908
12909 * elf/elf.h: Update comment before AArch64 relocations.
12910
60e8270d
DM
129112012-11-07 David S. Miller <davem@davemloft.net>
12912
12913 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12914 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12915 (__start_context): Declare.
12916 (__makecontext_ret): Delete.
12917 (__makecontext): Hook up __start_context instead of
12918 __makecontext_ret.
12919 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12920 (sysdep_routines): Add __start_context when in stdlib.
12921
0fbb0fbc
JM
129222012-11-07 Joseph Myers <joseph@codesourcery.com>
12923
12924 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12925 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12926 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12927 hardcoded "nm".
12928 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12929 (READELF): New variable. Use it instead of hardcoded "readelf".
12930
eb48db7e
L
129312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12932
12933 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12934 * sysdeps/x86/Makefile: Here.
12935 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12936 * sysdeps/x86/tst-xmmymm.sh: This.
12937
05bcf62a
JM
129382012-11-07 Joseph Myers <joseph@codesourcery.com>
12939
c4b6cf53
JM
12940 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12941 expectations.
12942 [UNIX98] (pthread_barrier_t): Do not expect.
12943 [UNIX98] (pthread_barrierattr_t): Likewise.
12944 [UNIX98] (pthread_spinlock_t): Likewise.
12945 [UNIX98] (pthread_barrier_destroy): Likewise.
12946 [UNIX98] (pthread_barrier_init): Likewise.
12947 [UNIX98] (pthread_barrier_wait): Likewise.
12948 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12949 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12950 [UNIX98] (pthread_barrierattr_init): Likewise.
12951 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12952 [UNIX98] (pthread_getcpuclockid): Likewise.
12953 [UNIX98] (pthread_mutex_timedlock): Likewise.
12954 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12955 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12956 [UNIX98] (pthread_sigmask): Likewise.
12957 [UNIX98] (pthread_spin_destroy): Likewise.
12958 [UNIX98] (pthread_spin_init): Likewise.
12959 [UNIX98] (pthread_spin_lock): Likewise.
12960 [UNIX98] (pthread_spin_trylock): Likewise.
12961 [UNIX98] (pthread_spin_unlock): Likewise.
12962 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12963 Do not expect.
12964 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12965 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12966 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12967 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12968 [XPG3 || XPG4] (pthread_key_t): Likewise.
12969 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12970 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12971 [XPG3 || XPG4] (pthread_once_t): Likewise.
12972 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12973 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12974 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12975 [XPG3 || XPG4] (pthread_t): Likewise.
12976
cbe6e120
JM
12977 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12978 not expect.
12979 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12980
1b126443
JM
12981 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12982 Change function return type to int.
12983
b961a573
JM
12984 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12985 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12986 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12987 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12988 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12989 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12990 [!POSIX] (posix_madvise): Likewise.
12991 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12992 && !UNIX98].
12993 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12994 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12995 (mode_t): Likewise.
12996 (posix_mem_offset): Likewise.
12997 (posix_typed_mem_get_info): Likewise.
12998 (posix_typed_mem_open): Likewise.
12999
9e188909
JM
13000 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
13001 Change condition to [XOPEN2K8].
13002
05bcf62a
JM
13003 * conform/conformtest.pl: Preprocess allow-header data with -x c
13004 instead of from stdin.
13005 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
13006 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
13007 [C99-based standards] (cerfc): Likewise.
13008 [C99-based standards] (cexp2): Likewise.
13009 [C99-based standards] (cexpm1): Likewise.
13010 [C99-based standards] (clog10): Likewise.
13011 [C99-based standards] (clog1p): Likewise.
13012 [C99-based standards] (clog2): Likewise.
13013 [C99-based standards] (clgamma): Likewise.
13014 [C99-based standards] (ctgamma): Likewise.
13015 [C99-based standards] (cerff): Likewise.
13016 [C99-based standards] (cerfcf): Likewise.
13017 [C99-based standards] (cexp2f): Likewise.
13018 [C99-based standards] (cexpm1f): Likewise.
13019 [C99-based standards] (clog10f): Likewise.
13020 [C99-based standards] (clog1pf): Likewise.
13021 [C99-based standards] (clog2f): Likewise.
13022 [C99-based standards] (clgammaf): Likewise.
13023 [C99-based standards] (ctgammaf): Likewise.
13024 [C99-based standards] (cerfl): Likewise.
13025 [C99-based standards] (cerfcl): Likewise.
13026 [C99-based standards] (cexp2l): Likewise.
13027 [C99-based standards] (cexpm1l): Likewise.
13028 [C99-based standards] (clog10l): Likewise.
13029 [C99-based standards] (clog1pl): Likewise.
13030 [C99-based standards] (clog2l): Likewise.
13031 [C99-based standards] (clgammal): Likewise.
13032 [C99-based standards] (ctgammal): Likewise.
13033 * conform/data/inttypes.h-data [C99-based standards]: Include
13034 stdint.h-data. Remove all expectations for stdint.h contents.
13035 [C99-based standards] (PRI*): Do not allow.
13036 [C99-based standards] (SCN*): Likewise.
13037 [C99-based standards] (*_t): Likewise.
13038 [C99-based-standards] (PRId8): Expect macro.
13039 [C99-based-standards] (PRIi8): Likewise.
13040 [C99-based-standards] (PRIo8): Likewise.
13041 [C99-based-standards] (PRIu8): Likewise.
13042 [C99-based-standards] (PRIx8): Likewise.
13043 [C99-based-standards] (PRIX8): Likewise.
13044 [C99-based-standards] (SCNd8): Likewise.
13045 [C99-based-standards] (SCNi8): Likewise.
13046 [C99-based-standards] (SCNo8): Likewise.
13047 [C99-based-standards] (SCNu8): Likewise.
13048 [C99-based-standards] (SCNx8): Likewise.
13049 [C99-based-standards] (PRIdLEAST8): Likewise.
13050 [C99-based-standards] (PRIiLEAST8): Likewise.
13051 [C99-based-standards] (PRIoLEAST8): Likewise.
13052 [C99-based-standards] (PRIuLEAST8): Likewise.
13053 [C99-based-standards] (PRIxLEAST8): Likewise.
13054 [C99-based-standards] (PRIXLEAST8): Likewise.
13055 [C99-based-standards] (SCNdLEAST8): Likewise.
13056 [C99-based-standards] (SCNiLEAST8): Likewise.
13057 [C99-based-standards] (SCNoLEAST8): Likewise.
13058 [C99-based-standards] (SCNuLEAST8): Likewise.
13059 [C99-based-standards] (SCNxLEAST8): Likewise.
13060 [C99-based-standards] (PRIdFAST8): Likewise.
13061 [C99-based-standards] (PRIiFAST8): Likewise.
13062 [C99-based-standards] (PRIoFAST8): Likewise.
13063 [C99-based-standards] (PRIuFAST8): Likewise.
13064 [C99-based-standards] (PRIxFAST8): Likewise.
13065 [C99-based-standards] (PRIXFAST8): Likewise.
13066 [C99-based-standards] (SCNdFAST8): Likewise.
13067 [C99-based-standards] (SCNiFAST8): Likewise.
13068 [C99-based-standards] (SCNoFAST8): Likewise.
13069 [C99-based-standards] (SCNuFAST8): Likewise.
13070 [C99-based-standards] (SCNxFAST8): Likewise.
13071 [C99-based-standards] (PRId16): Likewise.
13072 [C99-based-standards] (PRIi16): Likewise.
13073 [C99-based-standards] (PRIo16): Likewise.
13074 [C99-based-standards] (PRIu16): Likewise.
13075 [C99-based-standards] (PRIx16): Likewise.
13076 [C99-based-standards] (PRIX16): Likewise.
13077 [C99-based-standards] (SCNd16): Likewise.
13078 [C99-based-standards] (SCNi16): Likewise.
13079 [C99-based-standards] (SCNo16): Likewise.
13080 [C99-based-standards] (SCNu16): Likewise.
13081 [C99-based-standards] (SCNx16): Likewise.
13082 [C99-based-standards] (PRIdLEAST16): Likewise.
13083 [C99-based-standards] (PRIiLEAST16): Likewise.
13084 [C99-based-standards] (PRIoLEAST16): Likewise.
13085 [C99-based-standards] (PRIuLEAST16): Likewise.
13086 [C99-based-standards] (PRIxLEAST16): Likewise.
13087 [C99-based-standards] (PRIXLEAST16): Likewise.
13088 [C99-based-standards] (SCNdLEAST16): Likewise.
13089 [C99-based-standards] (SCNiLEAST16): Likewise.
13090 [C99-based-standards] (SCNoLEAST16): Likewise.
13091 [C99-based-standards] (SCNuLEAST16): Likewise.
13092 [C99-based-standards] (SCNxLEAST16): Likewise.
13093 [C99-based-standards] (PRIdFAST16): Likewise.
13094 [C99-based-standards] (PRIiFAST16): Likewise.
13095 [C99-based-standards] (PRIoFAST16): Likewise.
13096 [C99-based-standards] (PRIuFAST16): Likewise.
13097 [C99-based-standards] (PRIxFAST16): Likewise.
13098 [C99-based-standards] (PRIXFAST16): Likewise.
13099 [C99-based-standards] (SCNdFAST16): Likewise.
13100 [C99-based-standards] (SCNiFAST16): Likewise.
13101 [C99-based-standards] (SCNoFAST16): Likewise.
13102 [C99-based-standards] (SCNuFAST16): Likewise.
13103 [C99-based-standards] (SCNxFAST16): Likewise.
13104 [C99-based-standards] (PRId32): Likewise.
13105 [C99-based-standards] (PRIi32): Likewise.
13106 [C99-based-standards] (PRIo32): Likewise.
13107 [C99-based-standards] (PRIu32): Likewise.
13108 [C99-based-standards] (PRIx32): Likewise.
13109 [C99-based-standards] (PRIX32): Likewise.
13110 [C99-based-standards] (SCNd32): Likewise.
13111 [C99-based-standards] (SCNi32): Likewise.
13112 [C99-based-standards] (SCNo32): Likewise.
13113 [C99-based-standards] (SCNu32): Likewise.
13114 [C99-based-standards] (SCNx32): Likewise.
13115 [C99-based-standards] (PRIdLEAST32): Likewise.
13116 [C99-based-standards] (PRIiLEAST32): Likewise.
13117 [C99-based-standards] (PRIoLEAST32): Likewise.
13118 [C99-based-standards] (PRIuLEAST32): Likewise.
13119 [C99-based-standards] (PRIxLEAST32): Likewise.
13120 [C99-based-standards] (PRIXLEAST32): Likewise.
13121 [C99-based-standards] (SCNdLEAST32): Likewise.
13122 [C99-based-standards] (SCNiLEAST32): Likewise.
13123 [C99-based-standards] (SCNoLEAST32): Likewise.
13124 [C99-based-standards] (SCNuLEAST32): Likewise.
13125 [C99-based-standards] (SCNxLEAST32): Likewise.
13126 [C99-based-standards] (PRIdFAST32): Likewise.
13127 [C99-based-standards] (PRIiFAST32): Likewise.
13128 [C99-based-standards] (PRIoFAST32): Likewise.
13129 [C99-based-standards] (PRIuFAST32): Likewise.
13130 [C99-based-standards] (PRIxFAST32): Likewise.
13131 [C99-based-standards] (PRIXFAST32): Likewise.
13132 [C99-based-standards] (SCNdFAST32): Likewise.
13133 [C99-based-standards] (SCNiFAST32): Likewise.
13134 [C99-based-standards] (SCNoFAST32): Likewise.
13135 [C99-based-standards] (SCNuFAST32): Likewise.
13136 [C99-based-standards] (SCNxFAST32): Likewise.
13137 [C99-based-standards] (PRId64): Likewise.
13138 [C99-based-standards] (PRIi64): Likewise.
13139 [C99-based-standards] (PRIo64): Likewise.
13140 [C99-based-standards] (PRIu64): Likewise.
13141 [C99-based-standards] (PRIx64): Likewise.
13142 [C99-based-standards] (PRIX64): Likewise.
13143 [C99-based-standards] (SCNd64): Likewise.
13144 [C99-based-standards] (SCNi64): Likewise.
13145 [C99-based-standards] (SCNo64): Likewise.
13146 [C99-based-standards] (SCNu64): Likewise.
13147 [C99-based-standards] (SCNx64): Likewise.
13148 [C99-based-standards] (PRIdLEAST64): Likewise.
13149 [C99-based-standards] (PRIiLEAST64): Likewise.
13150 [C99-based-standards] (PRIoLEAST64): Likewise.
13151 [C99-based-standards] (PRIuLEAST64): Likewise.
13152 [C99-based-standards] (PRIxLEAST64): Likewise.
13153 [C99-based-standards] (PRIXLEAST64): Likewise.
13154 [C99-based-standards] (SCNdLEAST64): Likewise.
13155 [C99-based-standards] (SCNiLEAST64): Likewise.
13156 [C99-based-standards] (SCNoLEAST64): Likewise.
13157 [C99-based-standards] (SCNuLEAST64): Likewise.
13158 [C99-based-standards] (SCNxLEAST64): Likewise.
13159 [C99-based-standards] (PRIdFAST64): Likewise.
13160 [C99-based-standards] (PRIiFAST64): Likewise.
13161 [C99-based-standards] (PRIoFAST64): Likewise.
13162 [C99-based-standards] (PRIuFAST64): Likewise.
13163 [C99-based-standards] (PRIxFAST64): Likewise.
13164 [C99-based-standards] (PRIXFAST64): Likewise.
13165 [C99-based-standards] (SCNdFAST64): Likewise.
13166 [C99-based-standards] (SCNiFAST64): Likewise.
13167 [C99-based-standards] (SCNoFAST64): Likewise.
13168 [C99-based-standards] (SCNuFAST64): Likewise.
13169 [C99-based-standards] (SCNxFAST64): Likewise.
13170 [C99-based-standards] (PRIdMAX): Likewise.
13171 [C99-based-standards] (PRIiMAX): Likewise.
13172 [C99-based-standards] (PRIoMAX): Likewise.
13173 [C99-based-standards] (PRIuMAX): Likewise.
13174 [C99-based-standards] (PRIxMAX): Likewise.
13175 [C99-based-standards] (PRIXMAX): Likewise.
13176 [C99-based-standards] (SCNdMAX): Likewise.
13177 [C99-based-standards] (SCNiMAX): Likewise.
13178 [C99-based-standards] (SCNoMAX): Likewise.
13179 [C99-based-standards] (SCNuMAX): Likewise.
13180 [C99-based-standards] (SCNxMAX): Likewise.
13181 [C99-based-standards] (PRIdPTR): Likewise.
13182 [C99-based-standards] (PRIiPTR): Likewise.
13183 [C99-based-standards] (PRIoPTR): Likewise.
13184 [C99-based-standards] (PRIuPTR): Likewise.
13185 [C99-based-standards] (PRIxPTR): Likewise.
13186 [C99-based-standards] (PRIXPTR): Likewise.
13187 [C99-based-standards] (SCNdPTR): Likewise.
13188 [C99-based-standards] (SCNiPTR): Likewise.
13189 [C99-based-standards] (SCNoPTR): Likewise.
13190 [C99-based-standards] (SCNuPTR): Likewise.
13191 [C99-based-standards] (SCNxPTR): Likewise.
13192 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
13193 allow.
13194 * conform/data/stdint.h-data: Update comments to clarify
13195 requirements.
13196 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
13197 type.
13198 [C99-based standards] (INT8_MAX): Likewise.
13199 [C99-based standards] (INT16_MIN): Likewise.
13200 [C99-based standards] (INT16_MAX): Likewise.
13201 [C99-based standards] (INT32_MIN): Likewise.
13202 [C99-based standards] (INT32_MAX): Likewise.
13203 [C99-based standards] (INT64_MIN): Likewise.
13204 [C99-based standards] (INT64_MAX): Likewise.
13205 [C99-based standards] (UINT8_MAX): Likewise.
13206 [C99-based standards] (UINT16_MAX): Likewise.
13207 [C99-based standards] (UINT32_MAX): Likewise.
13208 [C99-based standards] (UINT64_MAX): Likewise.
13209 [C99-based standards] (INT_LEAST8_MIN): Likewise.
13210 [C99-based standards] (INT_LEAST8_MAX): Likewise.
13211 [C99-based standards] (INT_LEAST16_MIN): Likewise.
13212 [C99-based standards] (INT_LEAST16_MAX): Likewise.
13213 [C99-based standards] (INT_LEAST32_MIN): Likewise.
13214 [C99-based standards] (INT_LEAST32_MAX): Likewise.
13215 [C99-based standards] (INT_LEAST64_MIN): Likewise.
13216 [C99-based standards] (INT_LEAST64_MAX): Likewise.
13217 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
13218 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
13219 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
13220 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
13221 [C99-based standards] (INT_FAST8_MIN): Likewise.
13222 [C99-based standards] (INT_FAST8_MAX): Likewise.
13223 [C99-based standards] (INT_FAST16_MIN): Likewise.
13224 [C99-based standards] (INT_FAST16_MAX): Likewise.
13225 [C99-based standards] (INT_FAST32_MIN): Likewise.
13226 [C99-based standards] (INT_FAST32_MAX): Likewise.
13227 [C99-based standards] (INT_FAST64_MIN): Likewise.
13228 [C99-based standards] (INT_FAST64_MAX): Likewise.
13229 [C99-based standards] (UINT_FAST8_MAX): Likewise.
13230 [C99-based standards] (UINT_FAST16_MAX): Likewise.
13231 [C99-based standards] (UINT_FAST32_MAX): Likewise.
13232 [C99-based standards] (UINT_FAST64_MAX): Likewise.
13233 [C99-based standards] (INTPTR_MIN): Likewise.
13234 [C99-based standards] (INTPTR_MAX): Likewise.
13235 [C99-based standards] (UINTPTR_MAX): Likewise.
13236 [C99-based standards] (INTMAX_MIN): Likewise.
13237 [C99-based standards] (INTMAX_MAX): Likewise.
13238 [C99-based standards] (UINTMAX_MAX): Likewise.
13239 [C99-based standards] (PTRDIFF_MIN): Likewise.
13240 [C99-based standards] (PTRDIFF_MAX): Likewise.
13241 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
13242 [C99-based standards] (SIZE_MAX): Likewise.
13243 [C99-based standards] (WCHAR_MAX): Likewise.
13244 [C99-based standards] (WINT_MAX): Likewise.
13245 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
13246 constraint on value.
13247 [C99-based standards] (WCHAR_MIN): Likewise.
13248 [C99-based standards] (WINT_MIN): Likewise.
13249 [C99-based standards] (*_t): Allow.
13250 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
13251 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
13252 Include math.h-data and complex.h-data. Remove all expectations
13253 of math.h and complex.h contents.
13254 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
13255 at end of line.
13256 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
13257 (struct tm): Expect tag.
13258 [C99-based-standards] (wcstof): Expect function.
13259 [C99-based-standards] (wcstold): Likewise.
13260 [C99-based-standards] (wcstoll): Likewise.
13261 [C99-based-standards] (wcstoull): Likewise.
13262 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
13263 macro-int-constant. Specify type.
13264 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
13265 constraint on value.
13266 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13267 Specify type.
13268 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
13269 Specify value.
13270 [ISO C standards]: Do not allow headers.
13271 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
13272 wcs[abcdefghijklmnopqrstuvwxyz]*.
13273 [ISO C standards] (*_t): Do not allow.
13274 * conform/data/wctype.h-data [C99-based standards] (iswblank):
13275 Expect function.
13276 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
13277 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
13278 Specify type.
13279 [ISO C standards]: Do not allow headers.
13280 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
13281 is[abcdefghijklmnopqrstuvwxyz]*.
13282 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
13283 to[abcdefghijklmnopqrstuvwxyz]*.
13284 [ISO C standards] (*_t): Do not allow.
13285 * conform/data/stdalign.h-data: New file.
13286 * conform/data/stdbool.h-data: Likewise.
13287 * conform/data/stdnoreturn.h-data: Likewise.
13288
7514feb8
RM
132892012-11-07 Roland McGrath <roland@hack.frob.com>
13290
13291 [BZ #14815]
13292 * manual/filesys.texi (Directory Entries): Typo fix.
13293 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13294
19b2ecfc
MS
132952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13296
13297 * elf/elf.h (EM_AARCH64): New macro.
13298 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13299 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13300 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13301 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13302 (R_AARCH64_TLSDESC): Likewise.
13303 (NT_ARM_TLS): Likewise.
13304 (NT_ARM_HW_BREAK): Likewise.
13305 (NT_ARM_HW_WATCH): Likewise.
13306
60e235ee
JM
133072012-11-07 Joseph Myers <joseph@codesourcery.com>
13308
13309 [BZ #14811]
13310 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13311 (__ieee754_powl): Saturate nonzero exponents with absolute value
13312 below 0x1p-79 to +/- 0x1p-79.
13313 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13314 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13315 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13316 nonzero exponents with absolute value below 0x1p-32 to +/-
13317 0x1p-32.
13318 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13319 (__ieee754_powl): Saturate nonzero exponents with absolute value
13320 below 0x1p-79 to +/- 0x1p-79.
13321 * math/libm-test.inc (pow_test): Add more tests.
13322
0ab234b7
AK
133232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13324
13325 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13326 _dl_s390_cap_flags with kernel. Increase string length.
13327 (_dl_s390_platforms): Add z196 and zEC12.
13328
45832f74
JM
133292012-11-07 Joseph Myers <joseph@codesourcery.com>
13330
13331 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13332 Change XOPEN21K to XOPEN2K.
13333
19218757
MK
133342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13335
13336 * string/memmove.c: Use memcpy when possible.
13337
c5f45721
AJ
133382012-11-06 Andreas Jaeger <aj@suse.de>
13339
13340 * po/eo.po: Update from translation team.
13341
82477c28
JM
133422012-11-06 Joseph Myers <joseph@codesourcery.com>
13343
13344 [BZ #14793]
13345 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13346 exponent and small x and y exponents, scale x or y up. Increase
13347 by 2 the exponent used in scaling up.
13348 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13349 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13350 * math/libm-test.inc (fma_test): Add more tests.
13351 (fma_test_towardzero): Likewise.
13352 (fma_test_downward): Likewise.
13353 (fma_test_upward): Likewise.
13354
99252c8c
JM
133552012-11-05 Joseph Myers <joseph@codesourcery.com>
13356
acfa885f
JM
13357 [BZ #14805]
13358 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13359 fenv_t *.
13360
99252c8c
JM
13361 [BZ #14801]
13362 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13363 namespace for names of struct fields.
13364 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13365 fenv_t fields.
13366 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13367 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13368
d6d98dea
ST
133692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13370
13371 [BZ #3665]
13372 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13373
e10bb107
TS
133742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13375
13376 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13377 PTR_DEMANGLE.
13378
13379 [BZ #5246]
13380 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13381 PTR_DEMANGLE.
13382
a0c2940d
JM
133832012-11-04 Joseph Myers <joseph@codesourcery.com>
13384
13385 [BZ #14797]
13386 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13387 definitely overflow as x * y not x * y + z.
13388 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13389 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13390 * math/libm-test.inc (fma_test): Add more tests.
13391 (fma_test_towardzero): Likewise.
13392 (fma_test_downward): Likewise.
13393 (fma_test_upward): Likewise.
13394
b830319d
TS
133952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13396
13397 [BZ #157]
13398
13399 * include/stub-tag.h: Remove file.
13400 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13401 '#include' of it.
13402 * manual/maint.texi (Porting): Don't reference it.
13403 * Makerules ($(objpfx)stubs): Likewise.
13404 * dirent/closedir.c: Don't include <stub-tag.h>.
13405 * dirent/dirfd.c: Likewise.
13406 * dirent/fdopendir.c: Likewise.
13407 * dirent/getdents.c: Likewise.
13408 * dirent/getdents64.c: Likewise.
13409 * dirent/opendir.c: Likewise.
13410 * dirent/readdir.c: Likewise.
13411 * dirent/readdir64.c: Likewise.
13412 * dirent/readdir64_r.c: Likewise.
13413 * dirent/readdir_r.c: Likewise.
13414 * dirent/rewinddir.c: Likewise.
13415 * dirent/seekdir.c: Likewise.
13416 * dirent/telldir.c: Likewise.
13417 * gmon/profil.c: Likewise.
13418 * grp/setgroups.c: Likewise.
13419 * inet/if_index.c: Likewise.
13420 * io/access.c: Likewise.
13421 * io/chdir.c: Likewise.
13422 * io/chmod.c: Likewise.
13423 * io/chown.c: Likewise.
13424 * io/close.c: Likewise.
13425 * io/dup.c: Likewise.
13426 * io/dup2.c: Likewise.
13427 * io/dup3.c: Likewise.
13428 * io/euidaccess.c: Likewise.
13429 * io/faccessat.c: Likewise.
13430 * io/fchdir.c: Likewise.
13431 * io/fchmod.c: Likewise.
13432 * io/fchmodat.c: Likewise.
13433 * io/fchown.c: Likewise.
13434 * io/fchownat.c: Likewise.
13435 * io/fcntl.c: Likewise.
13436 * io/flock.c: Likewise.
13437 * io/fstatfs.c: Likewise.
13438 * io/fstatfs64.c: Likewise.
13439 * io/fstatvfs.c: Likewise.
13440 * io/fstatvfs64.c: Likewise.
13441 * io/futimens.c: Likewise.
13442 * io/fxstat.c: Likewise.
13443 * io/fxstat64.c: Likewise.
13444 * io/fxstatat.c: Likewise.
13445 * io/fxstatat64.c: Likewise.
13446 * io/getcwd.c: Likewise.
13447 * io/isatty.c: Likewise.
13448 * io/lchmod.c: Likewise.
13449 * io/lchown.c: Likewise.
13450 * io/link.c: Likewise.
13451 * io/linkat.c: Likewise.
13452 * io/lseek.c: Likewise.
13453 * io/lseek64.c: Likewise.
13454 * io/lxstat64.c: Likewise.
13455 * io/mkdir.c: Likewise.
13456 * io/mkdirat.c: Likewise.
13457 * io/mkfifo.c: Likewise.
13458 * io/mkfifoat.c: Likewise.
13459 * io/open.c: Likewise.
13460 * io/open64.c: Likewise.
13461 * io/openat.c: Likewise.
13462 * io/openat64.c: Likewise.
13463 * io/pipe.c: Likewise.
13464 * io/pipe2.c: Likewise.
13465 * io/poll.c: Likewise.
13466 * io/posix_fadvise.c: Likewise.
13467 * io/posix_fadvise64.c: Likewise.
13468 * io/posix_fallocate.c: Likewise.
13469 * io/posix_fallocate64.c: Likewise.
13470 * io/read.c: Likewise.
13471 * io/readlink.c: Likewise.
13472 * io/readlinkat.c: Likewise.
13473 * io/rmdir.c: Likewise.
13474 * io/sendfile.c: Likewise.
13475 * io/sendfile64.c: Likewise.
13476 * io/statfs.c: Likewise.
13477 * io/statfs64.c: Likewise.
13478 * io/statvfs.c: Likewise.
13479 * io/statvfs64.c: Likewise.
13480 * io/symlink.c: Likewise.
13481 * io/symlinkat.c: Likewise.
13482 * io/ttyname.c: Likewise.
13483 * io/ttyname_r.c: Likewise.
13484 * io/umask.c: Likewise.
13485 * io/unlink.c: Likewise.
13486 * io/unlinkat.c: Likewise.
13487 * io/utime.c: Likewise.
13488 * io/utimensat.c: Likewise.
13489 * io/write.c: Likewise.
13490 * io/xmknod.c: Likewise.
13491 * io/xmknodat.c: Likewise.
13492 * io/xstat.c: Likewise.
13493 * io/xstat64.c: Likewise.
13494 * login/getpt.c: Likewise.
13495 * login/grantpt.c: Likewise.
13496 * login/unlockpt.c: Likewise.
13497 * math/e_acoshl.c: Likewise.
13498 * math/e_acosl.c: Likewise.
13499 * math/e_asinl.c: Likewise.
13500 * math/e_atan2l.c: Likewise.
13501 * math/e_atanhl.c: Likewise.
13502 * math/e_coshl.c: Likewise.
13503 * math/e_expl.c: Likewise.
13504 * math/e_fmodl.c: Likewise.
13505 * math/e_gammal_r.c: Likewise.
13506 * math/e_hypotl.c: Likewise.
13507 * math/e_j0l.c: Likewise.
13508 * math/e_j1l.c: Likewise.
13509 * math/e_jnl.c: Likewise.
13510 * math/e_lgammal_r.c: Likewise.
13511 * math/e_log10l.c: Likewise.
13512 * math/e_log2l.c: Likewise.
13513 * math/e_logl.c: Likewise.
13514 * math/e_powl.c: Likewise.
13515 * math/e_rem_pio2l.c: Likewise.
13516 * math/e_sinhl.c: Likewise.
13517 * math/e_sqrtl.c: Likewise.
13518 * math/fclrexcpt.c: Likewise.
13519 * math/fedisblxcpt.c: Likewise.
13520 * math/feenablxcpt.c: Likewise.
13521 * math/fegetenv.c: Likewise.
13522 * math/fegetexcept.c: Likewise.
13523 * math/fegetround.c: Likewise.
13524 * math/feholdexcpt.c: Likewise.
13525 * math/fesetenv.c: Likewise.
13526 * math/fesetround.c: Likewise.
13527 * math/feupdateenv.c: Likewise.
13528 * math/fgetexcptflg.c: Likewise.
13529 * math/fraiseexcpt.c: Likewise.
13530 * math/fsetexcptflg.c: Likewise.
13531 * math/ftestexcept.c: Likewise.
13532 * math/k_cosl.c: Likewise.
13533 * math/k_rem_pio2l.c: Likewise.
13534 * math/k_sinl.c: Likewise.
13535 * math/k_tanl.c: Likewise.
13536 * math/s_asinhl.c: Likewise.
13537 * math/s_atanl.c: Likewise.
13538 * math/s_cbrtl.c: Likewise.
13539 * math/s_erfl.c: Likewise.
13540 * math/s_expm1l.c: Likewise.
13541 * math/s_log1pl.c: Likewise.
13542 * math/s_tanhl.c: Likewise.
13543 * misc/acct.c: Likewise.
13544 * misc/brk.c: Likewise.
13545 * misc/chflags.c: Likewise.
13546 * misc/chroot.c: Likewise.
13547 * misc/fchflags.c: Likewise.
13548 * misc/fgetxattr.c: Likewise.
13549 * misc/flistxattr.c: Likewise.
13550 * misc/fremovexattr.c: Likewise.
13551 * misc/fsetxattr.c: Likewise.
13552 * misc/fsync.c: Likewise.
13553 * misc/ftruncate.c: Likewise.
13554 * misc/futimes.c: Likewise.
13555 * misc/futimesat.c: Likewise.
13556 * misc/getdomain.c: Likewise.
13557 * misc/getdtsz.c: Likewise.
13558 * misc/gethostid.c: Likewise.
13559 * misc/gethostname.c: Likewise.
13560 * misc/getloadavg.c: Likewise.
13561 * misc/getpagesize.c: Likewise.
13562 * misc/getsysstats.c: Likewise.
13563 * misc/getxattr.c: Likewise.
13564 * misc/gtty.c: Likewise.
13565 * misc/ioctl.c: Likewise.
13566 * misc/lgetxattr.c: Likewise.
13567 * misc/listxattr.c: Likewise.
13568 * misc/llistxattr.c: Likewise.
13569 * misc/lremovexattr.c: Likewise.
13570 * misc/lsetxattr.c: Likewise.
13571 * misc/lutimes.c: Likewise.
13572 * misc/madvise.c: Likewise.
13573 * misc/mincore.c: Likewise.
13574 * misc/mlock.c: Likewise.
13575 * misc/mlockall.c: Likewise.
13576 * misc/mmap.c: Likewise.
13577 * misc/mprotect.c: Likewise.
13578 * misc/msync.c: Likewise.
13579 * misc/munlock.c: Likewise.
13580 * misc/munlockall.c: Likewise.
13581 * misc/munmap.c: Likewise.
13582 * misc/preadv.c: Likewise.
13583 * misc/preadv64.c: Likewise.
13584 * misc/ptrace.c: Likewise.
13585 * misc/pwritev.c: Likewise.
13586 * misc/pwritev64.c: Likewise.
13587 * misc/readv.c: Likewise.
13588 * misc/reboot.c: Likewise.
13589 * misc/remap_file_pages.c: Likewise.
13590 * misc/removexattr.c: Likewise.
13591 * misc/revoke.c: Likewise.
13592 * misc/select.c: Likewise.
13593 * misc/setdomain.c: Likewise.
13594 * misc/setegid.c: Likewise.
13595 * misc/seteuid.c: Likewise.
13596 * misc/sethostid.c: Likewise.
13597 * misc/sethostname.c: Likewise.
13598 * misc/setregid.c: Likewise.
13599 * misc/setreuid.c: Likewise.
13600 * misc/setxattr.c: Likewise.
13601 * misc/sstk.c: Likewise.
13602 * misc/stty.c: Likewise.
13603 * misc/swapoff.c: Likewise.
13604 * misc/swapon.c: Likewise.
13605 * misc/sync.c: Likewise.
13606 * misc/syncfs.c: Likewise.
13607 * misc/syscall.c: Likewise.
13608 * misc/truncate.c: Likewise.
13609 * misc/ualarm.c: Likewise.
13610 * misc/usleep.c: Likewise.
13611 * misc/ustat.c: Likewise.
13612 * misc/utimes.c: Likewise.
13613 * misc/vhangup.c: Likewise.
13614 * misc/writev.c: Likewise.
13615 * posix/_exit.c: Likewise.
13616 * posix/alarm.c: Likewise.
13617 * posix/execve.c: Likewise.
13618 * posix/fexecve.c: Likewise.
13619 * posix/fork.c: Likewise.
13620 * posix/fpathconf.c: Likewise.
13621 * posix/getaddrinfo.c: Likewise.
13622 * posix/getegid.c: Likewise.
13623 * posix/geteuid.c: Likewise.
13624 * posix/getgid.c: Likewise.
13625 * posix/getgroups.c: Likewise.
13626 * posix/getlogin.c: Likewise.
13627 * posix/getlogin_r.c: Likewise.
13628 * posix/getpgid.c: Likewise.
13629 * posix/getpid.c: Likewise.
13630 * posix/getppid.c: Likewise.
13631 * posix/getresgid.c: Likewise.
13632 * posix/getresuid.c: Likewise.
13633 * posix/getsid.c: Likewise.
13634 * posix/getuid.c: Likewise.
13635 * posix/glob64.c: Likewise.
13636 * posix/nanosleep.c: Likewise.
13637 * posix/pathconf.c: Likewise.
13638 * posix/pause.c: Likewise.
13639 * posix/posix_madvise.c: Likewise.
13640 * posix/pread.c: Likewise.
13641 * posix/pread64.c: Likewise.
13642 * posix/pwrite.c: Likewise.
13643 * posix/pwrite64.c: Likewise.
13644 * posix/sched_getaffinity.c: Likewise.
13645 * posix/sched_getp.c: Likewise.
13646 * posix/sched_gets.c: Likewise.
13647 * posix/sched_primax.c: Likewise.
13648 * posix/sched_primin.c: Likewise.
13649 * posix/sched_rr_gi.c: Likewise.
13650 * posix/sched_setaffinity.c: Likewise.
13651 * posix/sched_setp.c: Likewise.
13652 * posix/sched_sets.c: Likewise.
13653 * posix/sched_yield.c: Likewise.
13654 * posix/setgid.c: Likewise.
13655 * posix/setlogin.c: Likewise.
13656 * posix/setpgid.c: Likewise.
13657 * posix/setresgid.c: Likewise.
13658 * posix/setresuid.c: Likewise.
13659 * posix/setsid.c: Likewise.
13660 * posix/setuid.c: Likewise.
13661 * posix/sleep.c: Likewise.
13662 * posix/spawni.c: Likewise.
13663 * posix/sysconf.c: Likewise.
13664 * posix/times.c: Likewise.
13665 * posix/wait.c: Likewise.
13666 * posix/wait3.c: Likewise.
13667 * posix/wait4.c: Likewise.
13668 * posix/waitpid.c: Likewise.
13669 * resolv/gai_sigqueue.c: Likewise.
13670 * resource/getpriority.c: Likewise.
13671 * resource/getrlimit.c: Likewise.
13672 * resource/getrusage.c: Likewise.
13673 * resource/nice.c: Likewise.
13674 * resource/setpriority.c: Likewise.
13675 * resource/setrlimit.c: Likewise.
13676 * resource/ulimit.c: Likewise.
13677 * rt/aio_cancel.c: Likewise.
13678 * rt/aio_fsync.c: Likewise.
13679 * rt/aio_read.c: Likewise.
13680 * rt/aio_sigqueue.c: Likewise.
13681 * rt/aio_suspend.c: Likewise.
13682 * rt/aio_write.c: Likewise.
13683 * rt/clock_getres.c: Likewise.
13684 * rt/clock_gettime.c: Likewise.
13685 * rt/clock_nanosleep.c: Likewise.
13686 * rt/clock_settime.c: Likewise.
13687 * rt/lio_listio.c: Likewise.
13688 * rt/mq_close.c: Likewise.
13689 * rt/mq_getattr.c: Likewise.
13690 * rt/mq_notify.c: Likewise.
13691 * rt/mq_open.c: Likewise.
13692 * rt/mq_receive.c: Likewise.
13693 * rt/mq_send.c: Likewise.
13694 * rt/mq_setattr.c: Likewise.
13695 * rt/mq_timedreceive.c: Likewise.
13696 * rt/mq_timedsend.c: Likewise.
13697 * rt/mq_unlink.c: Likewise.
13698 * rt/shm_open.c: Likewise.
13699 * rt/shm_unlink.c: Likewise.
13700 * rt/timer_create.c: Likewise.
13701 * rt/timer_delete.c: Likewise.
13702 * rt/timer_getoverr.c: Likewise.
13703 * rt/timer_gettime.c: Likewise.
13704 * rt/timer_settime.c: Likewise.
13705 * setjmp/__longjmp.c: Likewise.
13706 * setjmp/setjmp.c: Likewise.
13707 * signal/kill.c: Likewise.
13708 * signal/killpg.c: Likewise.
13709 * signal/raise.c: Likewise.
13710 * signal/sigaction.c: Likewise.
13711 * signal/sigaltstack.c: Likewise.
13712 * signal/sigblock.c: Likewise.
13713 * signal/sigignore.c: Likewise.
13714 * signal/sigintr.c: Likewise.
13715 * signal/signal.c: Likewise.
13716 * signal/sigpause.c: Likewise.
13717 * signal/sigpending.c: Likewise.
13718 * signal/sigqueue.c: Likewise.
13719 * signal/sigreturn.c: Likewise.
13720 * signal/sigset.c: Likewise.
13721 * signal/sigsetmask.c: Likewise.
13722 * signal/sigstack.c: Likewise.
13723 * signal/sigsuspend.c: Likewise.
13724 * signal/sigtimedwait.c: Likewise.
13725 * signal/sigvec.c: Likewise.
13726 * signal/sigwait.c: Likewise.
13727 * signal/sigwaitinfo.c: Likewise.
13728 * signal/sysv_signal.c: Likewise.
13729 * socket/accept.c: Likewise.
13730 * socket/accept4.c: Likewise.
13731 * socket/bind.c: Likewise.
13732 * socket/connect.c: Likewise.
13733 * socket/getpeername.c: Likewise.
13734 * socket/getsockname.c: Likewise.
13735 * socket/getsockopt.c: Likewise.
13736 * socket/isfdtype.c: Likewise.
13737 * socket/listen.c: Likewise.
13738 * socket/recv.c: Likewise.
13739 * socket/recvfrom.c: Likewise.
13740 * socket/recvmsg.c: Likewise.
13741 * socket/send.c: Likewise.
13742 * socket/sendmsg.c: Likewise.
13743 * socket/sendto.c: Likewise.
13744 * socket/setsockopt.c: Likewise.
13745 * socket/shutdown.c: Likewise.
13746 * socket/sockatmark.c: Likewise.
13747 * socket/socket.c: Likewise.
13748 * socket/socketpair.c: Likewise.
13749 * stdio-common/ctermid.c: Likewise.
13750 * stdio-common/cuserid.c: Likewise.
13751 * stdio-common/remove.c: Likewise.
13752 * stdio-common/rename.c: Likewise.
13753 * stdio-common/renameat.c: Likewise.
13754 * stdio-common/tempname.c: Likewise.
13755 * stdlib/getcontext.c: Likewise.
13756 * stdlib/makecontext.c: Likewise.
13757 * stdlib/setcontext.c: Likewise.
13758 * stdlib/swapcontext.c: Likewise.
13759 * stdlib/system.c: Likewise.
13760 * streams/fattach.c: Likewise.
13761 * streams/fdetach.c: Likewise.
13762 * streams/getmsg.c: Likewise.
13763 * streams/getpmsg.c: Likewise.
13764 * streams/putmsg.c: Likewise.
13765 * streams/putpmsg.c: Likewise.
13766 * sysdeps/unix/bsd/getpt.c: Likewise.
13767 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13768 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13769 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13771 Likewise.
13772 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13773 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13774 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13775 * sysvipc/msgctl.c: Likewise.
13776 * sysvipc/msgget.c: Likewise.
13777 * sysvipc/msgrcv.c: Likewise.
13778 * sysvipc/msgsnd.c: Likewise.
13779 * sysvipc/semctl.c: Likewise.
13780 * sysvipc/semget.c: Likewise.
13781 * sysvipc/semop.c: Likewise.
13782 * sysvipc/semtimedop.c: Likewise.
13783 * sysvipc/shmat.c: Likewise.
13784 * sysvipc/shmctl.c: Likewise.
13785 * sysvipc/shmdt.c: Likewise.
13786 * sysvipc/shmget.c: Likewise.
13787 * termios/tcdrain.c: Likewise.
13788 * termios/tcflow.c: Likewise.
13789 * termios/tcflush.c: Likewise.
13790 * termios/tcgetattr.c: Likewise.
13791 * termios/tcgetpgrp.c: Likewise.
13792 * termios/tcsendbrk.c: Likewise.
13793 * termios/tcsetattr.c: Likewise.
13794 * termios/tcsetpgrp.c: Likewise.
13795 * time/adjtime.c: Likewise.
13796 * time/clock.c: Likewise.
13797 * time/getitimer.c: Likewise.
13798 * time/gettimeofday.c: Likewise.
13799 * time/setitimer.c: Likewise.
13800 * time/settimeofday.c: Likewise.
13801 * time/stime.c: Likewise.
13802 * time/time.c: Likewise.
13803
138042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13805
a20492cf
PT
13806 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13807 /usr/old/bin.
13808
72e182e3
PT
13809 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13810 instead of spaces.
13811 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13812
fbeafede
JM
138132012-11-03 Joseph Myers <joseph@codesourcery.com>
13814
5b5b04d6
JM
13815 [BZ #14796]
13816 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13817 FE_TONEAREST before applying Dekker multiplication and Knuth
13818 addition. Clear inexact exceptions and check for exact zero
13819 results afterwards.
13820 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13821 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13822 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13823 * math/libm-test.inc (fma_test): Add more tests.
13824 (fma_test_towardzero): Likewise.
13825 (fma_test_downward): Likewise.
13826 (fma_test_upward): Likewise.
13827 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13828 function.
13829 (libc_fesetround): New macro.
13830 (libc_fesetroundf): Likewise.
13831 (libc_fesetroundl): Likewise.
13832 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13833 function.
13834 (libc_fesetround_387): Likewise.
13835 (libc_fesetroundf): New macro.
13836 (libc_fesetround): Likewise.
13837 (libc_fesetroundl): Likewise.
13838 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13839 function.
13840 (libc_fesetroundf): New macro.
13841 (libc_fesetround): Likewise.
13842 (libc_fesetroundl): Likewise.
13843 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13844 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13845 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13846 libm_hidden_ver.
13847 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13848 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13849 libm_hidden_def.
13850 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13851 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13852 libm_hidden_ver.
13853 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13854 libm_hidden_def.
13855
fbeafede
JM
13856 [BZ #3439]
13857 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13858 integer constant usable in #if and use that to give value to enum
13859 constant.
13860 (FE_DIVBYZERO): Likewise.
13861 (FE_UNDERFLOW): Likewise.
13862 (FE_OVERFLOW): Likewise.
13863 (FE_INVALID): Likewise.
13864 (FE_INVALID_SNAN): Likewise.
13865 (FE_INVALID_ISI): Likewise.
13866 (FE_INVALID_IDI): Likewise.
13867 (FE_INVALID_ZDZ): Likewise.
13868 (FE_INVALID_IMZ): Likewise.
13869 (FE_INVALID_COMPARE): Likewise.
13870 (FE_INVALID_SOFTWARE): Likewise.
13871 (FE_INVALID_SQRT): Likewise.
13872 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13873 (FE_TONEAREST): Likewise.
13874 (FE_TOWARDZERO): Likewise.
13875 (FE_UPWARD): Likewise.
13876 (FE_DOWNWARD): Likewise.
13877 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13878 (FE_DIVBYZERO): Likewise.
13879 (FE_OVERFLOW): Likewise.
13880 (FE_UNDERFLOW): Likewise.
13881 (FE_INEXACT): Likewise.
13882 (FE_TONEAREST): Likewise.
13883 (FE_DOWNWARD): Likewise.
13884 (FE_UPWARD): Likewise.
13885 (FE_TOWARDZERO): Likewise.
13886 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13887 (FE_UNDERFLOW): Likewise.
13888 (FE_OVERFLOW): Likewise.
13889 (FE_DIVBYZERO): Likewise.
13890 (FE_INVALID): Likewise.
13891 (FE_TONEAREST): Likewise.
13892 (FE_TOWARDZERO): Likewise.
13893 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13894 (FE_OVERFLOW): Likewise.
13895 (FE_UNDERFLOW): Likewise.
13896 (FE_DIVBYZERO): Likewise.
13897 (FE_INEXACT): Likewise.
13898 (FE_TONEAREST): Likewise.
13899 (FE_TOWARDZERO): Likewise.
13900 (FE_UPWARD): Likewise.
13901 (FE_DOWNWARD): Likewise.
13902 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13903 (FE_DIVBYZERO): Likewise.
13904 (FE_OVERFLOW): Likewise.
13905 (FE_UNDERFLOW): Likewise.
13906 (FE_INEXACT): Likewise.
13907 (FE_TONEAREST): Likewise.
13908 (FE_DOWNWARD): Likewise.
13909 (FE_UPWARD): Likewise.
13910 (FE_TOWARDZERO): Likewise.
13911
105ca950
CM
139122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13913
13914 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13915
a542b389
AS
139162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13917
13918 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13919 commands. Quote $PWD.
13920 (blacklist_exports): Don't use remove_newlines. Replace "declare
13921 -x" by "export".
13922 (remove_newlines): Remove.
13923
f62c8abc
L
139242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13925
13926 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13927 * stdlib/stdlib.h (atof): Moved to ...
13928 * include/bits/stdlib-float.h: Here. New file.
13929 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13930 * stdlib/bits/stdlib-float.h: New file.
13931 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13932 -mno-sse -mno-mmx.
13933 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13934 <xmmintrin.h>.
13935
0155d5b2
JM
139362012-11-02 Joseph Myers <joseph@codesourcery.com>
13937
a68d0680
JM
13938 * conform/conformtest.pl (@headers): Add fenv.h.
13939 * conform/data/fenv.h-data: New file.
13940 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13941 include of <math/fenv.h>.
13942
caf7f573
JM
13943 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13944 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13945 && !UNIX98]. Enables tests for XOPEN2K8.
13946 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13947 POSIX2008]: Likewise.
13948
6c073ad6
JM
13949 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13950 (struct rusage): Do not expect type or its members.
13951
0155d5b2
JM
13952 [BZ #3439]
13953 * math/math.h (FP_NAN): Define macro to integer constant usable in
13954 #if and use that to give value to enum constant.
13955 (FP_INFINITE): Likewise.
13956 (FP_ZERO): Likewise.
13957 (FP_SUBNORMAL): Likewise.
13958 (FP_NORMAL): Likewise.
13959
b5dcacb4
AS
139602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13961
13962 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13963 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13964 arguments.
13965
f7934be8
RM
139662012-11-02 Roland McGrath <roland@hack.frob.com>
13967
13968 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13969 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13970 autoconf-time if not.
13971 * configure.in: Remove AC_PREREQ.
13972
d7d08bde
TMQMF
139732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13974
13975 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13976 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13977 of the internal implementation.
13978
dcdae19a
JM
139792012-11-02 Joseph Myers <joseph@codesourcery.com>
13980
13981 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13982 except include of <misc/sys/syslog.h>.
13983
d6cffd3e
AS
139842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13985
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13987 function returns with a NULL context exit with zero.
13988
b3563932
TMQMF
139892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13990
13991 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13992
b288a93d
L
139932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13996 (run_program_cmd): This.
13997 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13998 (tst_langinfo): New variable. Use it.
13999
a2421a68
SAS
140002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
14001
14002 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
14003 floating point opcodes.
14004
6f796e1b
TS
140052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14006
7402596b
TS
14007 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
14008 variable.
14009
d0d4f868
TS
14010 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
14011
6f796e1b
TS
14012 * sysdeps/mach/hurd/powerpc: Remove directory.
14013 * sysdeps/mach/powerpc: Likewise.
14014
4da224a2
AS
140152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
14016
14017 * scripts/check-local-headers.sh: Ignore c++ headers.
14018
341dd673
TS
140192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14020
14021 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
14022 __libc_cleanup_region_start argument.
14023
473611b2
JM
140242012-11-01 Joseph Myers <joseph@codesourcery.com>
14025
14026 [BZ #14784]
14027 [BZ #14785]
14028 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
14029 x * y using scaling, not as x * y + z.
14030 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14031 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14032 * math/libm-test.inc (fma_test): Add more tests.
14033 (fma_test_towardzero): Likewise.
14034 (fma_test_downward): Likewise.
14035 (fma_test_upward): Likewise.
14036
4078da3d
TS
140372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
14038
14039 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
14040
903252aa
JM
140412012-10-31 Joseph Myers <joseph@codesourcery.com>
14042
14043 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
14044 New variable.
14045
cbc818d0
TS
140462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
14047
14048 * rt/tst-shm.c (worker): Correct checking for mmap failure.
14049
5a03cb1e
AS
140502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14051
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14053 Fix sort order.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14055 Likewise.
14056
90aff2ff
TMQMF
140572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14058
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14060 Fix the order of the list for glibc 2.17.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14062 Likewise.
14063
1818fcb7
AS
140642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
14065
14066 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14067
ef82f4da
JM
140682012-10-31 Joseph Myers <joseph@codesourcery.com>
14069
16a0e2ec
JM
14070 [BZ #14610]
14071 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
14072 for low part of x being zero before using __atanl (y).
14073 * math/libm-test.inc (atan2_test): Add another test.
14074
0eb69512
JM
14075 * manual/install.texi (Configuring and compiling): Document
14076 general use of test-wrapper and test-wrapper-env.
14077 * INSTALL: Regenerated.
14078
ef82f4da
JM
14079 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
14080 (__fma): Do not extract and scale down low bits on after-rounding
14081 systems when result rounded to normal precision would have normal
14082 exponent.
14083 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
14084 (__fmal): Do not extract and scale down low bits on after-rounding
14085 systems when result rounded to normal precision would have normal
14086 exponent.
14087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
14088 (__fmal): Do not extract and scale down low bits on after-rounding
14089 systems when result rounded to normal precision would have normal
14090 exponent.
14091 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
14092 macro.
14093 (fma_test): Add more tests.
14094 (fma_test_towardzero): Likewise.
14095 (fma_test_downward): Likewise.
14096 (fma_test_upward): Likewise.
14097
954ef0d9
L
140982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
14099
14100 * sysdeps/i386/tininess.h: Renamed to ...
14101 * sysdeps/x86/tininess.h: This.
14102 * sysdeps/x86_64/tininess.h: Removed.
14103
df61ffb2
JM
141042012-10-30 Joseph Myers <joseph@codesourcery.com>
14105
14106 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
14107 input. Use $(build-program-cmd).
14108 ($(objpfx)tst-array1-static.out): Likewise.
14109 ($(objpfx)tst-array2.out): Likewise.
14110 ($(objpfx)tst-array3.out): Likewise.
14111 ($(objpfx)tst-array4.out): Likewise.
14112 ($(objpfx)tst-array5.out): Likewise.
14113 ($(objpfx)tst-array5-static.out): Likewise.
14114
01767843
CM
141152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
14116
47cc1490
CM
14117 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
14118 if defined.
14119
01767843
CM
14120 * nss/nsswitch.h (nss_interface_function): Provide new
14121 macro for use with NSS functions.
14122 * grp/initgroups.c: Use new macro.
14123 * nss/getXXbyYY.c: Likewise.
14124 * nss/getXXbyYY_r.c: Likewise.
14125 * nss/getXXent.c: Likewise.
14126 * nss/getXXent_r.c: Likewise.
14127 * sysdeps/posix/getaddrinfo.c: Likewise.
14128
8321aa97
AJ
141292012-10-30 Andreas Jaeger <aj@suse.de>
14130
14131 * po/ru.po: Update Russion translation from translation project.
14132
2a27fd6d
JM
141332012-10-30 Joseph Myers <joseph@codesourcery.com>
14134
8627a232
JM
14135 [BZ #14152]
14136 [BZ #14783]
14137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
14138 result and shift together with sticky bit instead of replicating
14139 round-to-nearest rounding.
14140 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14141 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14142 * math/libm-test.inc (fma_test): Add more tests. Do not permit
14143 missing underflow exceptions.
14144 (fma_test_towardzero): Add more tests.
14145 (fma_test_downward): Likewise.
14146 (fma_test_upward): Likewise.
14147
2a27fd6d
JM
14148 [BZ #14047]
14149 * sysdeps/generic/tininess.h: New file.
14150 * sysdeps/i386/tininess.h: Likewise.
14151 * sysdeps/sh/tininess.h: Likewise.
14152 * sysdeps/x86_64/tininess.h: Likewise.
14153 * stdlib/tst-strtod-underflow.c: Likewise.
14154 * stdlib/tst-tininess.c: Likewise.
14155 * stdlib/strtod_l.c: Include <tininess.h>.
14156 (round_and_return): Do not set errno for exact underflow cases.
14157 Force an underflow exception when setting errno for underflow.
14158 Determine underflow based on rounding to normal precision if
14159 TININESS_AFTER_ROUNDING.
14160 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
14161 ERANGE for exact underflow cases.
14162 * stdlib/Makefile (tests): Add tst-tininess and
14163 tst-strtod-underflow.
14164 ($(objpfx)tst-tininess): Use $(link-libm).
14165 ($(objpfx)tst-strtod-underflow): Likewise.
14166
e7170363
AJ
141672012-10-30 Andreas Jaeger <aj@suse.de>
14168
e5088dc6
AJ
14169 [BZ#14767]
14170 * elf/Makefile (tests): Remove conditional for have-initfini-array
14171 since this is now always required and the variable does not exist
14172 anymore.
14173 (tests-static): Likewise.
14174 (modules-names): Likewise.
14175
e7170363 14176 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
14177
14178 * elf/tst-array1.c (fini_array): Make writeable so that it can be
14179 merged with constructor/destructor.
14180 (init_array): Likewise.
14181 * elf/tst-array2dep.c (fini_array): Likewise.
14182 (init_array): Likewise.
14183
60457d8a
MF
141842012-10-29 Mike Frysinger <vapier@gentoo.org>
14185
14186 * manual/message.texi: Delete @cartouche tags.
14187
8bece752
PT
141882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
14189
94ce799f
PT
14190 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
14191 EOPNOTSUPP.
14192 * sysdeps/mach/hurd/fsync.c: Likewise.
14193
8bece752
PT
14194 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
14195 [_POSIX_REALTIME_SIGNALS]: Change condition to
14196 [_POSIX_REALTIME_SIGNALS > 0].
14197
86ebe6b1
AJ
141982012-10-27 Andreas Jaeger <aj@suse.de>
14199
14200 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
14201 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
14202 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
14203 [__WORDSIZE != 64]: Likewise.
14204
54399c08
L
142052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
14206
14207 * iconvdata/tst-table.sh: Remove ${SHELL}.
14208 * iconvdata/tst-tables.sh: Likewise.
14209
e2211bed
DM
142102012-10-25 David S. Miller <davem@davemloft.net>
14211
14212 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14213 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
14214 of strtoull.
14215
f303f97c
DM
14216 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
14217 ifunc-impl-list.c
14218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14219 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
14220 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
14221 file.
14222
1e9d84cd
RM
142232012-10-25 Roland McGrath <roland@hack.frob.com>
14224
14225 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14226 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
14227 __getdirentries.
14228
df381762
JM
142292012-10-25 Joseph Myers <joseph@codesourcery.com>
14230 Jim Blandy <jimb@codesourcery.com>
14231
14232 * scripts/cross-test-ssh.sh: New file.
14233 * manual/install.texi (Configuring and compiling): Document use of
14234 cross-test-ssh.sh.
14235 * INSTALL: Regenerated.
14236
bff64913
PT
142372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
14238
14239 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
14240 EOPNOTSUPP.
14241
25fe8932
JM
142422012-10-25 Joseph Myers <joseph@codesourcery.com>
14243
14244 * Makeconfig (run-program-prefix): Fix comment.
14245
cc1290d0
JM
142462012-10-24 Joseph Myers <joseph@codesourcery.com>
14247 Jim Blandy <jimb@codesourcery.com>
14248
14249 * Makeconfig (test-wrapper): New variable,
14250 (test-wrapper-env): Likewise.
14251 [$(cross-compiling) = yes && $(test-wrapper) != ""]
14252 (run-built-tests): Define to yes.
14253 (run-program-prefix): Use $(test-wrapper).
14254 (built-program-cmd): Likewise.
14255 * Rules (make-test-out): Use $(test-wrapper-env) and
14256 $(host-built-program-cmd).
14257 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
14258 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
14259 tst-pathopt.sh.
14260 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
14261 $(test-wrapper-env) to tst-rtld-load-self.sh.
14262 ($(objpfx)order2.out): Use $(test-wrapper).
14263 ($(objpfx)tst-initorder.out): Likewise.
14264 ($(objpfx)tst-initorder2.out): Likewise.
14265 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
14266 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
14267 (test_wrapper_env): New variable. Use it to run ld.so.
14268 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
14269 Use it to run ld.so.
14270 (test_wrapper_env): Likewise.
14271 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
14272 $(test-wrapper) to run-iconv-test.sh.
14273 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
14274 (ICONV): Use $test_wrapper.
14275 * posix/Makefile ($(objpfx)globtest.out): Pass
14276 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
14277 globtest.sh, not $(run-program-prefix).
14278 * posix/globtest.sh (run_via_rtld_prefix): New variable.
14279 (test_wrapper): Likewise.
14280 (test_wrapper_env): Likewise. Use it to run globtest with HOME
14281 set together with run_via_rtld_prefix.
14282 (run_program_prefix): Define in terms of test_wrapper and
14283 run_via_rtld_prefix.
14284
6e6249d0
RM
142852012-10-24 Roland McGrath <roland@hack.frob.com>
14286
14287 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14288 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14289 Targets removed.
14290
14291 [BZ #14743]
14292 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14293 Declare __clock_getres, __clock_gettime, __clock_settime,
14294 __clock_nanosleep, and __clock_getcpuclockid.
14295 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14296 Remove librt_hidden_def (clock_gettime).
14297 * sysdeps/unix/clock_gettime.c: Likewise.
14298 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14299 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14300 * rt/clock_getres.c: Define __clock_getres as an alias.
14301 * sysdeps/posix/clock_getres.c: Likewise.
14302 * rt/clock_settime.c: Define __clock_settime as an alias.
14303 * sysdeps/unix/clock_settime.c: Likewise.
14304 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14305 * sysdeps/unix/clock_nanosleep.c: Likewise.
14306 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14307 * rt/clock-compat.c: New file.
14308 * rt/Makefile (librt-routines): Add clock-compat and move
14309 $(clock-routines) to ...
14310 (routines): ... here, new variable.
14311 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14312 Don't add get_clockfreq here.
14313 * rt/Versions (libc: GLIBC_2.17): New version set.
14314 Add clock_* symbols here.
14315 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14316 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14317 (GLIBC_2.17): Add clock_* symbols.
14318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14319 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14320 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14322 Likewise.
14323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14324 Likewise.
14325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14327 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14329 * NEWS: Mention the move.
14330
14331 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14332 Use __open, __read, __close rather than their public counterparts.
14333 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14334 (__get_clockfreq_via_cpuinfo): Likewise.
14335 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14336 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14337
14338 * config.h.in (HAVE_IFUNC): New #undef.
14339 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14340 was successful.
14341 * configure: Regenerated.
14342
0cae3f4b
MF
143432012-10-24 Mike Frysinger <vapier@gentoo.org>
14344
14345 * configure.in: Move READELF check to start of file.
14346 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14347 libc_cv_asm_gnu_indirect_function in the process.
14348 * configure: Regenerated.
14349
8175a253
MF
143502012-10-24 Mike Frysinger <vapier@gentoo.org>
14351
14352 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14353 send the output to /dev/null.
14354 (libc_cv_cc_with_libunwind): Likewise.
14355 (libc_cv_as_noexecstack): Likewise.
14356 * configure: Regenerate.
14357
0708a7d1
JM
143582012-10-24 Joseph Myers <joseph@codesourcery.com>
14359
10b40d85
JM
14360 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14361
0708a7d1
JM
14362 * posix/globtest.sh (TMPDIR): Do not set.
14363 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14364 (testout): Likewise.
14365
9fddec1a
AJ
143662012-10-24 Andreas Jaeger <aj@suse.de>
14367
3a8db22f
AJ
14368 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14369 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14370 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14371 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14372 posix_fadvise64, posix_fallocate64.
14373
9fddec1a
AJ
14374 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14375 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14376 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14377 Likewise.
14378 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14379 Likewise.
14380 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14381
14382 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14383 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14384 <bits/fcntl-linux.h>.
14385 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14386
14387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14388 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14389 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14390 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14391 [__WORDSIZE != 64]: Likewise.
14392
ebfd1bbd
JM
143932012-10-23 Joseph Myers <joseph@codesourcery.com>
14394
03ac099f
JM
14395 * Makeconfig (run-built-tests): New variable.
14396 * Rules [$(cross-compiling) = yes]: Change condition to
14397 [$(run-built-tests) = no].
14398 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14399 to [$(run-built-tests) = yes].
14400 * elf/Makefile [$(cross-compiling) = no]: Likewise
14401 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14402 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14403 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14404 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14405 * io/Makefile [$(cross-compiling) = no]: Likewise.
14406 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14407 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14408 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14409 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14410 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14411 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14412 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14413 * string/Makefile [$(cross-compiling) = no]: Likewise.
14414
ebfd1bbd
JM
14415 * posix/Makefile ($(objpfx)globtest.out): Pass
14416 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14417 $(rtld-installed-name).
14418 * posix/globtest.sh (elf_objpfx): Remove variable.
14419 (rtld_installed_name): Likewise.
14420 (library_path): Likewise.
14421 (run_program_prefix): New variable. Use for running globtest
14422 binary.
14423
166bca24
JB
144242012-10-23 Jim Blandy <jimb@codesourcery.com>
14425 Joseph Myers <joseph@codesourcery.com>
14426
14427 * Makeconfig (host-built-program-cmd): New variable.
14428 * elf/Makefile (tst-stackguard1-ARGS): Use
14429 $(host-built-program-cmd).
14430 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14431 (tst-spawn-ARGS): Likewise.
14432 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14433
88866099
JM
144342012-10-23 Joseph Myers <joseph@codesourcery.com>
14435 Jim Blandy <jimb@codesourcery.com>
14436
14437 * Makeconfig (run-via-rtld-prefix): New variable.
14438 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14439 (built-program-cmd): Likewise.
14440
b4b4c296
AJ
144412012-10-22 Andreas Jaeger <aj@suse.de>
14442
14443 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14444 __O_RSYNC if it exists, otherwise to O_SYNC.
14445
6fb54a22
JB
144462012-10-22 Jim Blandy <jimb@codesourcery.com>
14447 Joseph Myers <joseph@codesourcery.com>
14448
14449 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14450 /dev/null.
14451 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14452 from /dev/null
14453 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14454 /dev/null.
14455
481b90b9
AJ
144562012-10-22 Andreas Jaeger <aj@suse.de>
14457
2a0e2669
AJ
14458 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14459 Define always.
14460 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14461
76e38f9a
AJ
14462 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14463 bits/fcntl-linux.h.
14464
7cd37b43
AJ
14465 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14466 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14467
481b90b9
AJ
14468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14469 to __O_LARGEFILE.
14470 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14471 to __O_LARGEFILE.
14472
aba75984
JB
144732012-10-21 Jim Blandy <jimb@codesourcery.com>
14474 Joseph Myers <joseph@codesourcery.com>
14475
14476 * config.make.in (NM): New variable.
14477
88d4247f
AJ
144782012-10-21 Andreas Jaeger <aj@suse.de>
14479
14480 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14481 definitions and declarations that are provided by
14482 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14483
f2eed205
L
144842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14485
14486 [BZ #14683]
14487 * elf/Makefile (tests-static): Add tst-leaks1-static.
14488 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14489 ($(objpfx)tst-leaks1-static): New rule.
14490 ($(objpfx)tst-leaks1-static-mem): Likewise.
14491 (tst-leaks1-static-ENV): New macro.
14492 * elf/dl-open.c (dl_open_worker): Check the main application
14493 only if SHARED is defined.
14494 * elf/tst-leaks1-static.c: New file.
14495
335e6931
AJ
144962012-10-20 Andreas Jaeger <aj@suse.de>
14497
14498 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14499 generic values for Linux.
14500 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14501 and declarations that are provided by <bits/fcntl-linux.h> and
14502 include <bits/fcntl-linux.h>.
14503 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14504 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14505
ac5c94d3
RM
145062012-10-20 Roland McGrath <roland@hack.frob.com>
14507
14508 * io/fcntl.h: Move include of <bits/types.h> to the top and
14509 include it unconditionally.
14510
de54b33a
L
145112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14512
228cfb01
L
14513 * wcsmbs/Makefile (tests-ifunc): New variable.
14514 (tests): Add $(tests-ifunc).
14515 * wcsmbs/test-wcschr-ifunc.c: New file.
14516 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14517 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14518 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14519 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14520 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14521
69f07e5f
L
14522 * string/Makefile (tests-ifunc): New variable.
14523 (tests): Add $(tests-ifunc).
14524 * string/test-memccpy.c (TEST_NAME): New macro.
14525 * string/test-memchr.c (TEST_NAME): Likewise.
14526 * string/test-memcmp.c (TEST_NAME): Likewise.
14527 * string/test-memcpy.c (TEST_NAME): Likewise.
14528 * string/test-memmem.c (TEST_NAME): Likewise.
14529 * string/test-memmove.c (TEST_NAME): Likewise.
14530 * string/test-memset.c (TEST_NAME): Likewise.
14531 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14532 * string/test-stpcpy.c (TEST_NAME): Likewise.
14533 * string/test-stpncpy.c (TEST_NAME): Likewise.
14534 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14535 * string/test-strcasestr.c (TEST_NAME): Likewise.
14536 * string/test-strcat.c (TEST_NAME): Likewise.
14537 * string/test-strchr.c (TEST_NAME): Likewise.
14538 * string/test-strcmp.c(TEST_NAME): Likewise.
14539 * string/test-strcpy.c (TEST_NAME): Likewise.
14540 * string/test-strcspn.c (TEST_NAME): Likewise.
14541 * string/test-strlen.c (TEST_NAME): Likewise.
14542 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14543 * string/test-strncmp.c (TEST_NAME): Likewise.
14544 * string/test-strncpy.c (TEST_NAME): Likewise.
14545 * string/test-strnlen.c (TEST_NAME): Likewise.
14546 * string/test-strpbrk.c (TEST_NAME): Likewise.
14547 * string/test-strrchr.c (TEST_NAME): Likewise.
14548 * string/test-strspn.c (TEST_NAME): Likewise.
14549 * string/test-strstr.c (TEST_NAME): Likewise.
14550 * string/test-bcopy-ifunc.c: New file.
14551 * string/test-bzero-ifunc.c: Likewise.
14552 * string/test-memccpy-ifunc.c: Likewise.
14553 * string/test-memchr-ifunc.c: Likewise.
14554 * string/test-memcmp-ifunc.c: Likewise.
14555 * string/test-memcpy-ifunc.c: Likewise.
14556 * string/test-memmem-ifunc.c: Likewise.
14557 * string/test-memmove-ifunc.c: Likewise.
14558 * string/test-mempcpy-ifunc.c: Likewise.
14559 * string/test-memset-ifunc.c: Likewise.
14560 * string/test-rawmemchr-ifunc.c: Likewise.
14561 * string/test-stpcpy-ifunc.c: Likewise.
14562 * string/test-stpncpy-ifunc.c: Likewise.
14563 * string/test-strcasecmp-ifunc.c: Likewise.
14564 * string/test-strcasestr-ifunc.c: Likewise.
14565 * string/test-strcat-ifunc.c: Likewise.
14566 * string/test-strchr-ifunc.c: Likewise.
14567 * string/test-strchrnul-ifunc.c: Likewise.
14568 * string/test-strcmp-ifunc.c: Likewise.
14569 * string/test-strcpy-ifunc.c: Likewise.
14570 * string/test-strcspn-ifunc.c: Likewise.
14571 * string/test-strlen-ifunc.c: Likewise.
14572 * string/test-strncasecmp-ifunc.c: Likewise.
14573 * string/test-strncat-ifunc.c: Likewise.
14574 * string/test-strncmp-ifunc.c: Likewise.
14575 * string/test-strncpy-ifunc.c: Likewise.
14576 * string/test-strnlen-ifunc.c: Likewise.
14577 * string/test-strpbrk-ifunc.c: Likewise.
14578 * string/test-strrchr-ifunc.c: Likewise.
14579 * string/test-strspn-ifunc.c: Likewise.
14580 * string/test-strstr-ifunc.c: Likewise.
14581
de54b33a
L
14582 * debug/Makefile (tests-ifunc): New variable.
14583 (tests): Add $(tests-ifunc).
14584 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14585 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14586 * debug/test-stpcpy_chk-ifunc.c: New file.
14587 * debug/test-strcpy_chk-ifunc.c: Likewise.
14588
88481c16
SP
145892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14590
14591 [BZ #13601]
14592 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14593 header is not read in.
14594
135948bd
JM
145952012-10-19 Joseph Myers <joseph@codesourcery.com>
14596
89f1c388
JM
14597 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14598 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14599 directly. Pass built executable to script as
14600 $(built-program-cmd).
14601 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14602 $testprogram without using LD_LIBRARY_PATH and $ldso.
14603
e40a0d21
JM
14604 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14605 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14606 $(rtld-installed-name).
14607 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14608 (rtld_installed_name): Likewise.
14609 (library_path): Likewise.
14610 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14611 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14612 $(run-program-prefix) to tst-tables.sh.
14613 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14614 it to run tst-table-from and tst-table-to.
14615 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14616 Pass it to tst-table.sh.
14617 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14618 $(run-program-prefix) to tst-gettext.sh.
14619 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14620 tst-translit.sh.
14621 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14622 tst-gettext2.sh.
14623 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14624 to run tst-gettext.
14625 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14626 to run tst-gettext2.
14627 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14628 to run tst-translit.
14629 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14630 $(run-program-prefix) to tst-mtrace.sh.
14631 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14632 to run tst-mtrace.
14633 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14634 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14635 $(rtld-installed-name).
14636 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14637 (rtld_installed_name): Likewise.
14638 (run_program_prefix): New variable. Use it to run wordexp-test.
14639
728e272a
JM
14640 * Makeconfig (ARCH): Remove all definitions.
14641 (machine): Likewise.
14642 [ARCH]: Remove conditional code.
14643 [!objdir]: Give error.
14644 [!objdir] (objpfx): Remove.
14645 [!objdir] (common-objpfx): Likewise.
14646 [!objdir] (common-objdir): Likewise.
14647 * configure.in (config_makefile): Remove. Hardcode Makefile in
14648 AC_CONFIG_FILES call.
14649 * configure: Regenerated.
14650
d528cdcf
JM
14651 [BZ #13888]
14652 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14653 or TMPDIR.
14654 (testout): Likewise.
14655
135948bd
JM
14656 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14657 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14658 $(rtld-installed-name).
14659 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14660 (rtld_installed_name): Likwise.
14661 (runit): Remove function.
14662 (run_getconf): New variable, Use it for running getconf binary.
14663
38c78296
L
146642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14665
14666 [BZ #14716]
14667 * string/test-memmem.c (check_result): New function.
14668 (do_one_test): Use it.
14669 (check1): New function.
14670 (test_main): Use it.
14671
d077f65f
MT
146722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14673
14674 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14675
ced52c71
JM
146762012-10-18 Joseph Myers <joseph@codesourcery.com>
14677
14678 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14679 (_G_LSEEK64): Likewise.
14680 (_G_MMAP64): Likewise.
14681 (_G_FSTAT64): Likewise.
14682 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14683 (_G_LSEEK64): Likewise.
14684 (_G_MMAP64): Likewise.
14685 (_G_FSTAT64): Likewise.
14686 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14687 unconditional. Call __mmap64 directly.
14688 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14689 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14690 __lseek64 directly.
14691 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14692 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14693 __mmap64 directly.
14694 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14695 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14696 __lseek64 directly.
14697 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14698 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14699 __lseek64 directly.
14700 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14701 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14702 __lseek64 directly.
14703 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14704 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14705 __fxstat64 directly.
14706 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14707 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14708 unconditional.
14709 (freopen64) [!_G_OPEN64]: Remove conditional code.
14710 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14711 unconditional.
14712 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14713 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14714 unconditional.
14715 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14716 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14717 unconditional.
14718 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14719 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14720 unconditional.
14721 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14722 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14723 unconditional.
14724 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14725 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14726 unconditional.
14727 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14728 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14729 unconditional.
14730 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14731
b741de23
SP
147322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14733
14734 [BZ #12140]
14735 * manual/memory.texi (Malloc Tunable Parameters): Add note
14736 about free list pointers overwriting some perturb bytes.
14737 Wording suggested by Roland McGrath.
14738
f9b9d9c9
JM
147392012-10-17 Joseph Myers <joseph@codesourcery.com>
14740
14741 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14742 (lgamma_test): Likewise.
14743 (tgamma_test): Likewise.
14744
172a631a
FW
147452012-10-16 Florian Weimer <fweimer@redhat.com>
14746
14747 [BZ #14700]
14748 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14749 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14750
e9f37252
MK
147512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14752
14753 * NEWS: Mention BZ #14716.
14754 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14755 when removing AVAILABLE1_USES_J macro.
14756
d394eb74
L
147572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14758
14759 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14760 (__bswap_64): __uint64_t for unsigned 64-bit int.
14761
ca38dc17
AS
147622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14763
14764 * include/string.h (memmem): Declare libc hidden alias.
14765 * string/memmem.c (memmem): Define libc hidden alias.
14766 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14767 __read, __close instead of open, read, close.
14768
9a387d1f
L
147692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14770
ac49ecaf
L
14771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14772 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14773 global and hidden.
14774 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14775 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14776 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14777 Likewise.
14778 (__rawmemchr_sse2): Likewise.
14779 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14780 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14781 (__strchr_sse2): Likewise.
14782 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14783 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14784 (__strcasecmp_sse2): Likewise.
14785 (__strncasecmp_sse2): Likewise.
14786 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14787 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14788 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14789 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14790 (__strrchr_sse2): Likewise.
14791 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14792 ifunc-impl-list.c.
14793 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14794 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14795 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14796 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14797 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14798 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14799 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14800 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14801 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14802 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14803 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14804 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14805 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14806 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14807 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14808 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14809 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14810 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14811 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14812 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14813 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14814 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14815 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14816 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14817 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14818 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14819 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14820 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14821 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14822 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14823
b090e8ea
L
14824 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14825 global and hidden.
14826 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14827 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14828 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14829 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14830 Likewise.
14831 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14832 Likewise.
14833 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14834 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14835 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14836 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14837 ifunc-impl-list.c.
14838 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14839 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14840 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14841 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14842 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14843 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14844 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14845 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14846 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14847 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14848 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14849 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14850 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14851 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14852 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14853 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14854 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14855 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14856 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14857 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14858 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14859 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14860 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14861 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14862 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14863 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14864 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14865 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14866 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14867 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14868 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14869 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14870 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14871 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14872 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14873 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14874 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14875 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14876 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14877 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14878 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14879
11dd4af6
L
14880 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14881 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14882 * include/ifunc-impl-list.h: New file.
14883 * misc/ifunc-impl-list.c: Likewise.
14884 * misc/Makefile (routines): Add ifunc-impl-list.
14885 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14886 * string/test-string.h: Include <ifunc-impl-list.h>.
14887 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14888 impl_array): New variables.
14889 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14890 are defined.
14891 (test_init): Call __libc_ifunc_impl_list to initialize
14892 func_list if TEST_IFUNC and TEST_NAME are defined.
14893
9a387d1f
L
14894 * string/Makefile (strop-tests): Add bcopy and bzero.
14895 * string/test-bcopy.c: New file.
14896 * string/test-bzero.c: Likewise.
14897 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14898 defined.
14899 * string/test-memset.c: Support bzero test if TEST_BZERO is
14900 defined.
14901 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14902 __libc_memmove.
14903 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14904 __libc_memset.
14905 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14906 of memset.
14907
472371b9
JM
149082012-10-10 Joseph Myers <joseph@codesourcery.com>
14909
1e4a9536
JM
14910 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14911 * configure: Regenerated.
14912
d173d12e
JM
14913 * Makeconfig (+link-static-before-libc): Don't include
14914 $(link-static-libc).
14915
472371b9
JM
14916 * libio/libio.h (_IO_pos_t): Remove.
14917
89a3ad0b
AO
149182012-10-10 Alexandre Oliva <aoliva@redhat.com>
14919
14920 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14921 McGrath.
14922
e7451425
AO
149232012-10-10 Alexandre Oliva <aoliva@redhat.com>
14924
14925 * crypt/crypt-entry.c: Include fips-private.h.
14926 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14927 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14928 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14929 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14930
4ba74a35
AO
149312012-10-10 Alexandre Oliva <aoliva@redhat.com>
14932
14933 * crypt/crypt-private.h: Include stdbool.h.
14934 (_ufc_setup_salt_r): Return bool.
14935 * crypt/crypt-entry.c: Include errno.h.
14936 (__crypt_r): Return NULL with EINVAL for bad salt.
14937 * crypt/crypt_util.c (bad_for_salt): New.
14938 (_ufc_setup_salt_r): Check that salt is long enough and within
14939 the specified alphabet.
14940 * crypt/badsalttest.c: New file.
14941 * crypt/Makefile (tests): Add it.
14942 ($(objpfx)badsalttest): New.
14943
f96f1242
MK
149442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14945
14946 * NEWS: Add entry for BZ #14602.
14947
0e8e0c1c
JM
149482012-10-09 Joseph Myers <joseph@codesourcery.com>
14949
14950 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14951 type-generic.
14952 * math/libm-test.inc: Update comment listing what functions and
14953 macros are tested.
14954 (isgreater_test): New function.
14955 (isgreaterequal_test): Likewise.
14956 (isless_test): Likewise.
14957 (islessequal_test): Likewise.
14958 (islessgreater_test): Likewise.
14959 (isunordered_test): Likewise.
14960 (main): Call the new functions.
14961
273edc5e
RM
149622012-10-09 Roland McGrath <roland@hack.frob.com>
14963
b8493de0
RM
14964 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14965 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14966 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14967 * sysdeps/i386/configure: Regenerated.
14968 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14969 * sysdeps/mach/configure: Regenerated.
14970 * sysdeps/mach/hurd/configure: Regenerated.
14971 * sysdeps/powerpc/configure: Regenerated.
14972 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14973 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14974 * sysdeps/s390/s390-32/configure: Regenerated.
14975 * sysdeps/s390/s390-64/configure: Regenerated.
14976 * sysdeps/sh/configure: Regenerated.
14977 * sysdeps/sparc/configure: Regenerated.
14978 * sysdeps/unix/sysv/linux/configure: Regenerated.
14979 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14980 * sysdeps/x86_64/configure: Regenerated.
14981
273edc5e
RM
14982 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14983 defined. Don't check if MAP is NULL.
14984
c8450f70
JM
149852012-10-09 Joseph Myers <joseph@codesourcery.com>
14986
14987 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14988 (_G_stat64): Likewise.
14989 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14990 (_G_stat64): Likewise.
14991 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14992 instead of struct _G_stat64.
14993 * libio/fileops.c (mmap_remap_check): Likewise.
14994 (decide_maybe_mmap): Likewise.
14995 (_IO_new_file_seekoff): Likewise.
14996 (_IO_file_stat): Likewise.
14997 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14998 _G_off64_t.
14999 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
15000 instead of struct _G_stat64.
15001 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15002
57e605ba
MK
150032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
15004
15005 [BZ #14602]
15006 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15007 Replace with ...
15008 (CHECK_EOL): New macro.
15009 (two_way_short_needle): Check beginning of haystack for EOL. Use
15010 CHECK_EOL.
15011 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15012 Replace with CHECK_EOL.
15013 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
15014 Replace with CHECK_EOL.
15015
ef1bb361
JM
150162012-10-08 Joseph Myers <joseph@codesourcery.com>
15017
15018 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
15019 type-generic.
15020 * math/libm-test.inc: Update comment listing what functions and
15021 macros are tested.
15022 (finite_test): New function.
15023 (isinf_test): Likewise.
15024 (isnan_test): Likewise.
15025 (fpclassify_test): Test subnormal input.
15026 (isfinite_test): Likewise.
15027 (isnormal_test): Likewise.
15028 (main): Call the new functions.
15029
55f11534
JN
150302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
15031
15032 [BZ #14660]
15033 * Makerules (%.dynsym): Force C locale when running
15034 $(OBJDUMP) --dynamic-syms.
15035
1ab29350
AS
150362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
15037
15038 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
15039 <stdint.h>.
15040
f1ecb7ef
DM
150412012-10-06 David S. Miller <davem@davemloft.net>
15042
15043 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
15044 upper 32-bits of the length value in %o2 since we use branch-on-register
15045 tests which consider the entire 64-bit register.
15046
5d41d91a
L
150472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
15048
15049 * string/test-strstr.c (check2): Add a test for page boundary.
15050
3baddb72
DM
150512012-10-05 David S. Miller <davem@davemloft.net>
15052
15053 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
15054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
15055 file.
15056 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15057 sysdep_routines.
15058 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15059 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
15060 and bzero when HWCAP_SPARC_CRYPTO is present.
15061
9cee5585
L
150622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
15063
d7e0dab9
L
15064 [BZ #14602]
15065 * string/test-strstr.c (check2): New function.
15066 (test_main): Call check2.
15067
03759f47
L
15068 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
15069 and bug-strchr1.
15070 * string/bug-strcasestr1.c (do_test): Moved to ...
15071 * string/test-strcasestr.c (check1): Here. New function.
15072 (do_one_test): Break out result checking code into ...
15073 (check_result): This. New function.
15074 (do_one_test): Call check_result.
15075 (test_main): Call check1.
15076 * string/bug-strchr1.c (do_test): Moved to ...
15077 * string/test-strchr.c (check1): Here. New function.
15078 (do_one_test): Break out result checking code into ...
15079 (check_result): This. New function.
15080 (do_one_test): Call check_result.
15081 (test_main): Call check1.
15082 * string/bug-strstr1.c (main): Moved to ...
046f153e 15083 * string/test-strstr.c (check1): Here. New function.
03759f47
L
15084 (do_one_test): Break out result checking code into ...
15085 (check_result): This. New function.
15086 (do_one_test): Call check_result.
15087 (test_main): Call check1.
15088 * string/bug-strcasestr1.c: Removed.
15089 * string/bug-strchr1.c: Likewise.
15090 * string/bug-strstr1.c: Likewise.
15091
53cea63e
L
15092 * elf/Makefile (dl-routines): Add hwcaps.
15093 * elf/dl-support.c (_dl_important_hwcaps): Removed.
15094 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
15095 (_dl_important_hwcaps): Moved to ...
15096 * elf/dl-hwcaps.c: Here. New file.
15097 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
15098
9cee5585 15099 [BZ #14557]
bb859b06
L
15100 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
15101 if IS_IN_rtld isn't defined.
15102
9cee5585
L
15103 * elf/dl-support.c (_dl_sysinfo_map): New.
15104 Include "get-dynamic-info.h" and "setup-vdso.h".
15105 (_dl_non_dynamic_init): Call setup_vdso.
15106 * elf/dynamic-link.h: Don't include <assert.h>.
15107 (elf_get_dynamic_info): Moved to ...
15108 * elf/get-dynamic-info.h: Here. New file.
15109 * elf/dynamic-link.h: Include "get-dynamic-info.h".
15110 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
15111 * elf/setup-vdso.h: Here. New file.
15112 * elf/rtld.c: Include "setup-vdso.h".
15113 (dl_main): Call setup_vdso.
15114
23c31b76
JM
151152012-10-05 Joseph Myers <joseph@codesourcery.com>
15116
28234b07
JM
15117 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
15118 creal in comment listing functions tested. List finite, isinf,
15119 isnan, isless, islessequal, isgreater, isgreaterequal,
15120 islessgreater, isunordered, lgamma_r and pow10 as functions and
15121 macros not tested. Mention which functions not tested are aliases
15122 for other functions. Fix typo. Note that signs of NaNs are not
15123 tested.
15124
23c31b76
JM
15125 * scripts/config.guess: Update from config.git.
15126 * scripts/config.sub: Likewise.
15127
9043e228
RM
151282012-10-04 Roland McGrath <roland@hack.frob.com>
15129
15130 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
15131 * misc/madvise.c (madvise): Renamed to __madvise.
15132 Make madvise a weak alias.
15133 * include/sys/mman.h: Declare __madvise.
15134 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
15135 * sysdeps/unix/syscalls.list
15136 (madvise): Make __madvise the strong name, and madvise a weak alias.
15137 * sysdeps/unix/sysv/linux/syscalls.list
15138 (madvise, mmap): Remove redundant entries.
15139 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
15140 * malloc/malloc.c (mtrim): Likewise.
15141 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
15142
f57f8055
RM
151432012-10-03 Roland McGrath <roland@hack.frob.com>
15144
15145 * sysdeps/mach/hurd/dl-cache.c: File removed.
15146 * config.h.in (USE_LDCONFIG): New #undef.
15147 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
15148 * configure: Regenerated.
15149 * elf/Makefile (dl-routines): Add dl-cache only under
15150 [$(use-ldconfig) = yes].
15151 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
15152 cache on [USE_LDCONFIG].
15153 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
15154 [USE_LDCONFIG].
15155 * elf/rtld.c (dl_main): Likewise.
15156
5bb0c10a
PT
151572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
15158
15159 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
15160 _SC_LEVEL4_CACHE_LINESIZE.
15161
010188c6
RM
151622012-10-03 Roland McGrath <roland@hack.frob.com>
15163
15164 * sysdeps/unix/bsd/confstr.h: File removed.
15165
b6c5ec07
AO
151662012-10-02 Alexandre Oliva <aoliva@redhat.com>
15167
15168 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
15169 sys/sdt-config.h.
15170
408223d4
RM
151712012-10-02 Roland McGrath <roland@hack.frob.com>
15172
15173 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
15174 Make 'mapoff' field ElfW(Off) rather than off_t.
15175
bb9510dc
DL
151762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
15177
fc997c6e
DL
15178 * nscd/Makefile: Remove nscd-cflags and all its users.
15179 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
15180 (CFLAGS-nonlib): Add compiler flags for nscd modules.
15181
bb9510dc
DL
15182 [BZ #10631]
15183 * malloc.c (malloc_printerr): Clarify error message.
15184
05699367
L
151852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
15186
15187 [BZ #14648]
15188 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15189 Set bit_FMA_Usable if FMA is supported.
15190 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
15191 macro.
15192 (bit_FMA4_Usable): Updated.
15193 (index_FMA_Usable): New macro.
15194 (CPUID_FMA): Likewise
15195 (HAS_FMA): Defined with bit_FMA_Usable.
15196
51367701
RM
151972012-10-01 Roland McGrath <roland@hack.frob.com>
15198
15199 * bits/types.h (__swblk_t): Type removed.
15200 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
15201 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
15202 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
15203 (__SWBLK_T_TYPE): Likewise.
15204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
15205 (__SWBLK_T_TYPE): Likewise.
15206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
15207 (__SWBLK_T_TYPE): Likewise.
15208 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
15209 (__SWBLK_T_TYPE): Likewise.
15210
4d57bf63 152112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 15212 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
15213
15214 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
15215 (xdr_mapname): Use YPMAXMAP as maxsize.
15216 (xdr_peername): Use YPMAXPEER as maxsize.
15217 (xdr_keydat): Use YPAXRECORD as maxsize.
15218 (xdr_valdat): Use YPMAXRECORD as maxsize.
15219
93c65d43
RM
152202012-10-01 Roland McGrath <roland@hack.frob.com>
15221
497a03d6
RM
15222 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
15223
93c65d43
RM
15224 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
15225 * csu/init-first.c: ... here.
15226 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
15227 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
15228 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
15229 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
15230 * sysdeps/i386/init-first.c: File removed.
15231 * sysdeps/sh/init-first.c: File removed.
15232
bec749fd
JM
152332012-10-01 Joseph Myers <joseph@codesourcery.com>
15234
15235 [BZ #14645]
15236 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
15237 if x * y might underflow to zero and z is zero.
15238 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15239 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15240 * math/libm-test.inc (min_subnorm_value): New variable.
15241 (fma_test): Add more tests.
15242 (fma_test_towardzero): Likewise.
15243 (fma_test_downward): Likewise
15244 (fma_test_upward): Likewise.
15245 (initialize): Set min_subnorm_value.
15246
8ec5b013
JM
152472012-09-29 Joseph Myers <joseph@codesourcery.com>
15248
15249 [BZ #14638]
15250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
15251 0 + 0.
15252 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
15253 mode for addition resulting in exact zero.
15254 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
15255 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
15256 exact 0 + 0.
15257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15258 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15259 * math/libm-test.inc (fma_test): Add more tests.
15260 (fma_test_towardzero): New function.
15261 (fma_test_downward): Likewise.
15262 (fma_test_upward): Likewise.
15263 (main): Call the new functions.
15264
b1fa802e
DM
152652012-09-28 David S. Miller <davem@davemloft.net>
15266
15267 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
15268
d3b9fd9e
RM
152692012-09-28 Roland McGrath <roland@hack.frob.com>
15270
ea4d37b3
RM
15271 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
15272 instead of SIGALRM.
15273
ac51c949
RM
15274 * sysdeps/gnu/_G_config.h: Moved to ...
15275 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
15276 * sysdeps/mach/hurd/_G_config.h: Moved to ...
15277 * sysdeps/generic/_G_config.h: ... here.
15278
28c195f7
RM
15279 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
15280
848917f9
RM
15281 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
15282
6bacf05b
RM
15283 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
15284 Conditionalize target on [libnss_test1.so-version].
15285
91363dbb
RM
15286 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15287
cc87f7d8
RM
15288 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15289 (elfobjdir): Move out of conditionals.
15290
b1c608fe
RM
15291 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15292 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15293 (__nss_lookup_function): Conditionalize label remove_from_tree on
15294 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15295
1d9a6d96
DM
152962012-09-28 David S. Miller <davem@davemloft.net>
15297
15298 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15299 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15300 file.
15301 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15302 sysdep_routines.
15303 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15305 when HWCAP_SPARC_CRYPTO is present.
15306
72581615
PT
153072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15308
15309 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15310
715a900c
JL
153112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15312
15313 [BZ #6530]
15314 * stdio-common/vfprintf.c (process_string_arg): Revert
15315 2000-07-22 change.
15316
153172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15318
15319 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15320 for testcase.
15321 * stdio-common/tst-sprintf.c: Include <locale.h>
15322 (main): Test sprintf's handling of incomplete multibyte
15323 characters.
15324
9bac1d86
L
153252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15326
15327 * elf/dl-runtime.c (VERSYMIDX): Removed.
15328 * elf/dl-version.c (VERSYMIDX): Likewise.
15329 * elf/do-rel.h (VERSYMIDX): Likewise.
15330 (VALIDX): Likewise.
15331 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15332 * elf/rtld.c (VALIDX): Likewise.
15333 (ADDRIDX): Likewise.
9bac1d86
L
15334 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15335 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15336 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15337 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15338 (VALIDX): Likewise.
15339 (ADDRIDX): Likewise.
9bac1d86 15340
b31606c0
PT
153412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15342
15343 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15344
11541177
JL
153452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15346
15347 [BZ #11438]
15348 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15349 to global scope.
15350 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15351 addresses are in the same scope as 192.0.2/24.
15352 * posix/gai.conf: Document new scope table defaults.
15353
adb26fae
SP
153542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15355
15356 [BZ #5298]
15357 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15358 for ftell. Compute offsets from write pointers instead.
15359 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15360
4573c6b0
SP
153612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15362
15363 [BZ #14543]
15364 * libio/Makefile (tests): New test case tst-fseek.
15365 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15366 combination works in wide mode.
15367 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15368 state when the external buffer state changes.
15369
aa9bbfe6
DM
153702012-09-27 David S. Miller <davem@davemloft.net>
15371
15372 [BZ #14376]
15373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15374 pass reloc->r_addend in as the 'high' argument to
15375 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15376
784421e7
DM
15377 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15378
c39bc8b8
PT
153792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15380
15381 * rt/tst-aio2.c: Include <pthread.h>.
15382 * rt/tst-aio3.c: Likewise.
15383
1ccc2399
SE
153842012-09-27 Steve Ellcey <sellcey@mips.com>
15385
15386 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15387
31ed4153
L
153882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15389
25f5f885
L
15390 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15391 contents on [SHARED].
31ed4153 15392
b7bfe116
MP
153932012-09-26 Marek Polacek <polacek@redhat.com>
15394
15395 [BZ #14530]
15396 [BZ #13741]
15397 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15398 for C++ and GCC <4.3 as well as for non GCC compilers.
15399
43c4edba
MT
154002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15401
15402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15403
6a1bf82f
RM
154042012-09-25 Roland McGrath <roland@hack.frob.com>
15405
15406 * Makefile.in (all, install): Declare with .PHONY.
15407 Reported by Michael Hope <michael.hope@linaro.org>.
15408
8ad11b9a
TMQMF
154092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15410
15411 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15412 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15413 system header.
15414 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15415 Likewise.
15416 (sydep_routines): Add the new and the internal functions.
15417 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15418 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15420 (GLIBC_2.17): Add the new function.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15422 (GLIBC_2.17): Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15424 (GLIBC_2.17): Likewise.
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15426 (GLIBC_2.17): Likewise.
15427 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15428
7e2fca8d
AM
154292012-09-25 Alan Modra <amodra@gmail.com>
15430
15431 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15432 Add release barrier before setting once_control to say
15433 initialisation is done. Add hints on lwarx. Use macro in
15434 place of isync.
15435 (clear_once_control): Add release barrier.
15436
b87c4b24
JM
154372012-09-25 Joseph Myers <joseph@codesourcery.com>
15438
d032e0d2
JM
15439 [BZ #13629]
15440 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15441 specially.
15442 * math/s_clog10.c (__clog10): Likewise.
15443 * math/s_clog10f.c (__clog10f): Likewise.
15444 * math/s_clog10l.c (__clog10l): Likewise.
15445 * math/s_clogf.c (__clogf): Likewise.
15446 * math/s_clogl.c (__clogl): Likewise.
15447 * math/Makefile (libm-calls): Add x2y2m1.
15448 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15449 (__x2y2m1): Likewise.
15450 (__x2y2m1l): Likewise.
15451 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15452 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15453 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15454 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15455 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15456 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15457 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15458 * sysdeps/i386/fpu/libm-test-ulps: Update.
15459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15460
b87c4b24
JM
15461 [BZ #14621]
15462 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15463 int as type of variable DEPTH.
15464 (glob): Use size_t instead of int as type of variables NEWCOUNT
15465 and OLD_PATHC.
15466
6d3bf199
LD
154672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15468
22bf5c17
LD
15469 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15470 Add s_sincosf-sse2.
15471 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15472 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15473 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15474 macros for using routine as __sincosf_ia32.
15475 Use macro for function declaration and weak_alias.
15476 * sysdeps/i386/fpu/libm-test-ulps: Update.
15477
15478 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15479 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15480
15481 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15482 subnormal argument.
15483 * math/s_cexpf.c (__cexpf): Likewise.
15484 * math/s_csinf.c (__csinf): Likewise.
15485 * math/s_csinhf.c (__csinhf): Likewise.
15486 * math/s_ctanf.c (__ctanf): Likewise.
15487 * math/s_ctanhf.c (__ctanhf): Likewise.
15488 * math/s_ccosh.c (__ccoshf): Likewise.
15489 * math/s_cexp.c (__cexpl): Likewise.
15490 * math/s_csin.c (__csin): Likewise.
15491 * math/s_csinh.c (__csinh): Likewise.
15492 * math/s_ctan.c (__ctan): Likewise.
15493 * math/s_ctanh.c (ctanh): Likewise.
15494 * math/s_ccoshl.c (__ccoshl): Likewise.
15495 * math/s_cexpl.c (__cexpl): Likewise.
15496 * math/s_csinl.c (__csinl): Likewise.
15497 * math/s_csinhl.c (__csinhl): Likewise.
15498 * math/s_ctanl.c (__ctanl): Likewise.
15499 * math/s_ctanhl.c (__ctanhl): Likewise.
15500
203e5603
JM
155012012-09-25 Joseph Myers <joseph@codesourcery.com>
15502
15503 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15504 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15505 (_IO_off_t): Define to __off_t, not _G_off_t.
15506 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15507 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15508 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15509 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15510 type of __dummy and __dummy2 fields.
15511 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15512 (_G_ssize_t): Likewise.
15513 (_G_off_t): Likewise.
15514 (_G_pid_t): Likewise.
15515 (_G_uid_t): Likewise.
15516 (_G_wchar_t): Likewise.
15517 (_G_wint_t): Likewise.
15518 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15519 (_G_ssize_t): Likewise.
15520 (_G_off_t): Likewise.
15521 (_G_pid_t): Likewise.
15522 (_G_uid_t): Likewise.
15523 (_G_wchar_t): Likewise.
15524 (_G_wint_t): Likewise.
15525 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15526 (_G_ssize_t): Likewise.
15527 (_G_off_t): Likewise.
15528 (_G_pid_t): Likewise.
15529 (_G_uid_t): Likewise.
15530 (_G_wchar_t): Likewise.
15531 (_G_wint_t): Likewise.
15532
9fab36eb
SP
155332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15534
15535 * malloc/arena.c: Include malloc-sysdep.h.
15536 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15537 is sufficient to shrink the heap or an unmap is needed.
15538 * sysdeps/generic/malloc-sysdep.h: New file. Define
15539 new function check_may_shrink_heap.
15540 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15541 new function check_may_shrink_heap.
15542
2b4f00d1
SP
155432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15544
15545 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15546 comments.
15547
9a9028b1
DL
155482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15549
57c69bef
DL
15550 * catgets/test-gencat.sh: Add "set -e".
15551 * elf/tst-pathopt.sh: Likewise.
15552 * grp/tst_fgetgrent.sh: Likewise.
15553 * iconvdata/run-iconv-test.sh: Likewise.
15554 * intl/tst-gettext.sh: Likewise.
15555 * intl/tst-gettext2.sh: Likewise.
15556 * intl/tst-gettext4.sh: Likewise.
15557 * intl/tst-gettext6.sh: Likewise.
15558 * intl/tst-translit.sh: Likewise.
15559 * io/ftwtest-sh: Likewise.
15560 * libio/test-freopen.sh: Likewise.
15561 * malloc/tst-mtrace.sh: Likewise.
15562 * posix/globtest.sh: Likewise.
15563 * posix/tst-getconf.sh: Likewise.
15564 * posix/wordexp-tst.sh: Likewise.
15565 * stdio-common/tst-printf.sh: Likewise.
15566 * stdio-common/tst-unbputc.sh: Likewise.
15567 * stdlib/tst-fmtmsg.sh: Likewise.
15568 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15569 * catgets/Makefile: Do not specify -e option when running
15570 testsuite shell scripts.
15571 * elf/Makefile: Likewise.
15572 * grp/Makefile: Likewise.
15573 * iconvdata/Makefile: Likewise.
15574 * intl/Makefile: Likewise.
15575 * io/Makefile: Likewise.
15576 * libio/Makefile: Likewise.
15577 * malloc/Makefile: Likewise.
15578 * posix/Makefile: Likewise.
15579 * stdio-common/Makefile: Likewise.
15580 * stdlib/Makefile: Likewise.
15581 * sysdeps/x86_64/Makefile: Likewise.
15582
9a9028b1
DL
15583 * io/ftwtest-sh: Add copyright header.
15584 * posix/globtest.sh: Likewise.
15585 * posix/tst-getconf.sh: Likewise.
15586 * posix/wordexp-tst.sh: Likewise.
15587 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15588
ced6f16e
L
155892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15590
94b32c39
L
15591 [BZ #13679]
15592 * Makeconfig (+link): Defined as $(+link-static) if
15593 $(build-shared) isn't yes.
15594 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15595 isn't yes.
15596 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15597
189e935b
L
15598 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15599
ced6f16e
L
15600 [BZ #14562]
15601 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15602 new chunk size with MALLOC_ALIGN_MASK.
15603
a9f8e53a
JM
156042012-09-24 Joseph Myers <joseph@codesourcery.com>
15605
15606 [BZ #5044]
15607 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15608 <rounding-mode.h>.
15609 (__printf_fphex): Determine rounding using get_rounding_mode and
15610 round_away.
15611 * stdio-common/tst-printf-round.c (struct hex_test): New
15612 structure.
15613 (hex_tests): New variable.
15614 (test_hex_in_one_mode): New function.
15615 (do_test): Also run tests for hex float output.
15616
43153109
JM
156172012-09-21 Joseph Myers <joseph@codesourcery.com>
15618
15619 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15620 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15621 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15622 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15623 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15624 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15625 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15626 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15627
8a26625d
JM
156282012-09-20 Joseph Myers <joseph@codesourcery.com>
15629
15630 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15631 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15632 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15633 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15634
f3fd569c
DL
156352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15636
15637 [BZ #14579]
15638 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15639 mode only.
15640 * elf/tst-rtld-load-self.sh: New test.
15641 * elf/Makefile: Run it.
15642
63bbedd4
JM
156432012-09-18 Joseph Myers <joseph@codesourcery.com>
15644
15645 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15646 (tst-writev-ENV): Remove.
15647 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15648
626f8b6a
CM
156492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15650
15651 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15652
b7aaa4d6
JM
156532012-09-17 Joseph Myers <joseph@codesourcery.com>
15654
15655 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15656 unconditional.
15657 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15658 Likewise.
15659 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15660 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15661 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15662 Likewise.
15663
65513990
L
156642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15665
15666 [BZ #14587]
15667 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15668 * config.make.in (have-cpp-asm-debuginfo): Removed.
15669 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15670 * configure: Regenerated.
15671
784761be
JM
156722012-09-14 Joseph Myers <joseph@codesourcery.com>
15673
15674 [BZ #5044]
15675 * stdio-common/printf_fp.c: Include <stdbool.h> and
15676 <rounding-mode.h>.
15677 (___printf_fp): Determine rounding using get_rounding_mode and
15678 round_away.
15679 * stdio-common/tst-printf-round.c: New file.
15680 * stdio-common/Makefile (tests): Add tst-printf-round.
15681 (link-libm): New variable.
15682 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15683
9503345f
L
156842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15685
15686 [BZ #14576]
15687 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15688 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15689 Likewise.
15690 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15691 Likewise.
15692
ad35fc00
JM
156932012-09-13 Joseph Myers <joseph@codesourcery.com>
15694
15695 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15696 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15697 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15698 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15699
6c9b0f68
JM
157002012-09-12 Joseph Myers <joseph@codesourcery.com>
15701
15702 [BZ #14518]
15703 * include/rounding-mode.h: New file.
15704 * sysdeps/generic/get-rounding-mode.h: Likewise.
15705 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15706 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15707 (MAX_VALUE): New macro.
15708 (MIN_VALUE): Likewise.
15709 (overflow_value): New function.
15710 (underflow_value): Likewise.
15711 (round_and_return): Use overflow_value and underflow_value to
15712 determine return values in overflow and underflow cases. Use
15713 round_away to determine rounding depending on rounding mode.
15714 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15715 determine return values in overflow and underflow cases.
15716 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15717 (struct test_results): New structure.
15718 (struct test): Use struct test_results to store expected results
15719 for all rounding modes.
15720 (TEST): Include expected results for all rounding modes.
15721 (test_in_one_mode): New function.
15722 (do_test): Use test_in_one_mode to compute and check results.
15723 Check results for all rounding modes.
15724 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15725 $(link-libm).
15726
19fcedd5
AM
157272012-12-09 Allan McRae <allan@archlinux.org>
15728
1e9d84cd 15729 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15730
8bbfd2f1
JM
157312012-09-11 Joseph Myers <joseph@codesourcery.com>
15732
15733 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15734 (_G_int32_t): Likewise.
15735 (_G_uint16_t): Likewise.
15736 (_G_uint32_t): Likewise.
15737 (_G_HAVE_BOOL): Likewise.
15738 (_G_HAVE_ATEXIT): Likewise.
15739 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15740 (_G_HAVE_IO_FILE_OPEN): Likewise.
15741 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15742 (_G_int32_t): Likewise.
15743 (_G_uint16_t): Likewise.
15744 (_G_uint32_t): Likewise.
15745 (_G_HAVE_BOOL): Likewise.
15746 (_G_HAVE_ATEXIT): Likewise.
15747 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15748 (_G_HAVE_IO_FILE_OPEN): Likewise.
15749 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15750 (_G_int32_t): Likewise.
15751 (_G_uint16_t): Likewise.
15752 (_G_uint32_t): Likewise.
15753 (_G_HAVE_BOOL): Likewise.
15754 (_G_HAVE_ATEXIT): Likewise.
15755 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15756 (_G_HAVE_IO_FILE_OPEN): Likewise.
15757
b1dc5912
L
157582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15759
15760 * csu/libc-tls.c: Update copyright years.
15761
0e886ef9
JM
157622012-09-10 Joseph Myers <joseph@codesourcery.com>
15763
28361c5e
JM
15764 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15765 [!_G_USING_THUNKS]: Remove conditional code.
15766 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15767 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15768
0e886ef9
JM
15769 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15770 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15771 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15772 (_G_VTABLE_LABEL_PREFIX): Likewise.
15773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15774 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15775 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15776 (_G_VTABLE_LABEL_PREFIX): Likewise.
15777 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15778 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15779 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15780 (_G_VTABLE_LABEL_PREFIX): Likewise.
15781 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15782
bcba7aa2
L
157832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15784
15785 * libio/Makefile: Include ../Makeconfig before tests.
15786 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15787 only if $(build-shared) is yes.
15788
06585ee8
L
15789 * iconv/gconv_db.c: Update copyright years.
15790
80ccd52c
LD
157912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15792
15793 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15794 unwind info if defined PIC. Fix special cases description.
15795 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15796
15797 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15798 DP_HI_MASK entry.
15799 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15800
691bc9c1
L
158012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15802
3d9b46b3
L
15803 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15804
de2139a9
L
15805 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15806 is NULL.
15807
5ca78dd0
L
15808 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15809 (LDLIBS-tst-chk4): This.
15810 (LDFLAGS-tst-chk5): Renamed to ...
15811 (LDLIBS-tst-chk5): This.
15812 (LDFLAGS-tst-chk6): Renamed to ...
15813 (LDLIBS-tst-chk6): This.
15814 (LDFLAGS-tst-lfschk4): Renamed to ...
15815 (LDLIBS-tst-lfschk4): This.
15816 (LDFLAGS-tst-lfschk5): Renamed to ...
15817 (LDLIBS-tst-lfschk5): This.
15818 (LDFLAGS-tst-lfschk6): Renamed to ...
15819 (LDLIBS-tst-lfschk6): This.
15820
691bc9c1
L
15821 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15822 on $(common-objpfx)soversions.mk.
15823
65cafb1c
JM
158242012-09-07 Joseph Myers <joseph@codesourcery.com>
15825
15826 [BZ #10014]
15827 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15828 example host name.
15829
c78ab094
SP
158302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15831
15832 * malloc/arena.c (arena_get_retry): New function that gets
15833 another arena for the caller to try its request on.
15834 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15835 current arena cannot fulfill the request.
15836 (__libc_memalign): Likewise.
15837 (__libc_memalign): Likewise.
15838 (__libc_pvalloc): Likewise.
15839 (__libc_calloc): Likewise.
15840
01f49f59
JT
158412012-09-05 John Tobey <john.tobey@gmail.com>
15842
15843 [BZ #13542]
15844 * manual/arith.texi (Operations on Complex): Fix description
15845 of carg branch cut.
15846
4c23fed5
JM
158472012-09-06 Joseph Myers <joseph@codesourcery.com>
15848
1d3c8572
JM
15849 [BZ #10014]
15850 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15851 host name.
15852
4c23fed5
JM
15853 [BZ #10038]
15854 * manual/memory.texi (Memory): Make order of menu items match
15855 order of sections.
15856
04570aaa
L
158572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15858
15859 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15860 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15861 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15862
b80af2f4
L
158632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15864
15865 * csu/libc-tls.c (static_dtv): Renamed to ...
15866 (_dl_static_dtv): This. Make it global.
15867 (_dl_initial_dtv): Removed.
15868 (__libc_setup_tls): Updated.
15869 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15870 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15871 DL_INITIAL_DTV.
15872
2abe9f15
PM
158732012-09-06 Petr Machata <pmachata@redhat.com>
15874
15875 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15876 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15877 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15878 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15879
0948c3af
L
158802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15881
15882 [BZ #14545]
15883 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15884 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15885 freeing dtv[-1].
15886
a5055ad1
L
158872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15888
15889 [BZ #14544]
15890 * Makeconfig (link-static-before-libc): Replace $(+prector)
15891 with $(+prectorT).
15892 (link-static-after-libc): Replace $(+postctor) with
15893 $(+postctorT).
15894 (link-bounded): Replace $(+prector)/$(+postctor) with
15895 $(+prectorT)/$(+postctorT).
15896 (+prectorT): New macro.
15897 (+postctorT): Likewise.
15898
ed8c2ecd
JM
158992012-09-06 Joseph Myers <joseph@codesourcery.com>
15900
15901 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15902 (round_str): Handle values above the maximum for IBM long double
15903 as inexact.
15904 * stdlib/tst-strtod-round.c (tests): Regenerated.
15905
14c996c8
AK
159062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15907
15908 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15909 assembler flag.
15910 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15911 zarch_nohighgprs around the zarch optimized routines.
15912 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15913 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15914 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15915 for zarch.
15916
430d6ce6
DM
159172012-09-05 David S. Miller <davem@davemloft.net>
15918
15919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15920
ff04dda4
DM
15921 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15922 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15923 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15924 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15925 entries.
15926
24d4e01b
AO
159272012-09-05 Alexandre Oliva <aoliva@redhat.com>
15928
15929 * malloc/arena.c: Fold copyright years.
15930 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15931
61d58174
AO
159322012-09-05 Alexandre Oliva <aoliva@redhat.com>
15933
15934 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15935
20196a5e
AO
159362012-09-05 Alexandre Oliva <aoliva@redhat.com>
15937
15938 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15939
5c447383
AO
159402012-09-05 Alexandre Oliva <aoliva@redhat.com>
15941
15942 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15943 change internal state upon failure.
15944
fad64255
AO
159452012-09-05 Alexandre Oliva <aoliva@redhat.com>
15946
15947 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15948 * malloc/memusage.c (mmap): Likewise.
15949 (mmap64, mremap): Likewise. Adjust name in comment.
15950
1ffb8c90
SP
159512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15952
15953 * libio/fileops.c: Fix typos in comments.
15954 * libio/oldfileops.c: Likewise.
15955 * libio/wfileops.c: Likewise.
15956
6ef9cc37
SP
159572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15958
15959 [BZ #1349]
15960 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15961 (tst-malloc-usable-ENV): Set environment for test case.
15962 * malloc/hooks.c (malloc_check_get_size): New function to get
15963 requested size.
15964 * malloc/malloc.c (musable): Use malloc_check_get_size.
15965 * malloc/tst-malloc-usable.c: New test case.
15966
4d038ae3
AS
159672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15968
15969 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15970
c4e85184
AM
159712012-09-05 Allan McRae <allan@archlinux.org>
15972
b9dafc56 15973 [BZ #13966]
c4e85184
AM
15974 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15975 determine header location.
15976 * configure: Regenerated.
15977
e1343020
AS
159782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15979
15980 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15981 float format.
15982 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15983 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15984 format.
e1343020
AS
15985 (test): Regenerate.
15986
0a9f1987
DM
159872012-09-04 David S. Miller <davem@davemloft.net>
15988
15989 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15990 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15991 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15992
29237804
FW
159932012-09-04 Florian Weimer <fweimer@redhat.com>
15994
15995 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15996 failures.
15997
edb3cb88
FW
15998 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15999
60160d83
JM
160002012-09-04 Joseph Myers <joseph@codesourcery.com>
16001
16002 [BZ #9914]
16003 * libio/iogetdelim.c: Include <limits.h>.
16004 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
16005 + len + 1 would overflow.
16006
bcd6c8dc
AJ
160072012-09-03 Andreas Jaeger <aj@suse.de>
16008
16009 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16010 * sysdeps/i386/fpu/libm-test-ulps: Update.
16011
4ffffbd2
LD
160122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16013
16014 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16015 Add s_sinf-sse2, s_conf-sse2.
16016
16017 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
16018 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
16019 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
16020 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
16021
16022 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
16023 for using routine as __sinf_ia32.
16024 Use macro for function declaration and weak_alias.
16025 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
16026 for using routine as __cosf_ia32.
16027 Use macro for function declaration and weak_alias.
16028
16029 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
16030 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
16031
16032 * sysdeps/x86_64/fpu/s_sinf.S: New file.
16033 * sysdeps/x86_64/fpu/s_cosf.S: New file.
16034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16035
16036 * math/libm-test.inc (cos_test): Add more test cases.
16037 (sin_test): Likewise.
16038 (sincos_test): Likewise.
16039
511fa286
AK
160402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16041
16042 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
16043 (IFUNC_RESOLVE): Make pointers to the specialized implementations
16044 hidden.
16045 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16046
5f30cfec
L
160472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
16048
16049 [BZ #14538]
16050 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
16051 first element of the GOT.
16052 (elf_machine_load_address): Return the difference between
16053 the runtime address of _DYNAMIC and elf_machine_dynamic ().
16054
0786794f
AM
160552012-09-01 Allan McRae <allan@archlinux.org>
16056
5f30cfec
L
16057 [BZ #13412]
16058 * configure.in (AWK): Require gawk version 3.0 or later.
16059 * configure: Regenerated.
0786794f 16060
26889eac
JM
160612012-09-01 Joseph Myers <joseph@codesourcery.com>
16062
16063 * sysdeps/unix/sysv/linux/kernel-features.h
16064 (__ASSUME_POSIX_CPU_TIMERS): Remove.
16065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16066 [__NR_clock_getres]: Make code unconditional.
16067 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
16068 (clock_getcpuclockid): Remove code left unreachable by removal of
16069 conditionals.
16070 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
16071 code unconditional.
16072 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16073 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16074 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
16075 Make code unconditional.
16076 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
16077 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16078 * sysdeps/unix/sysv/linux/clock_settime.c
16079 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
16080 conditional code.
16081 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
16082 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
16083
d22e28b0
L
160842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
16085
16086 [BZ #14476]
16087 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
16088 scripts/test-installation.pl.
16089
16090 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
16091 and $ld_so_version if it is set.
16092
050af9c4
SP
160932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
16094
16095 [BZ #14516]
16096 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
16097 failure if reading from procfs failed.
16098 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
16099
ad845c0b
JM
161002012-08-27 Joseph Myers <joseph@codesourcery.com>
16101
16102 * sysdeps/unix/sysv/linux/kernel-features.h
16103 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
16104 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16105 Remove conditional code.
16106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16107 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
16108 Remove conditional code.
16109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16110 * sysdeps/unix/sysv/linux/i386/fxstat.c
16111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16113 * sysdeps/unix/sysv/linux/i386/fxstatat.c
16114 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16116 * sysdeps/unix/sysv/linux/i386/lxstat.c
16117 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
16118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16119 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
16120 Remove conditional code.
16121 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16122 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
16123 Remove conditional code.
16124 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16125 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
16126 <kernel-features.h>.
16127 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
16128 Remove.
16129 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
16130 Remove conditional code.
16131 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
16132 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
16133 Remove conditional.
16134
5dbf56af
MF
161352012-08-27 Mike Frysinger <vapier@gentoo.org>
16136
16137 [BZ #5400]
16138 * NEWS: Add fixed bug number.
16139
d6e70f43
JM
161402012-08-27 Joseph Myers <joseph@codesourcery.com>
16141
7efb4737
JM
16142 [BZ #14519]
16143 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
16144 underflowing exponent in case of negative sign.
16145 * stdlib/tst-strtod-round-data: Add more tests.
16146 * stdlib/tst-strtod-round.c (tests): Regenerated.
16147
af92131a
JM
16148 [BZ #3479]
16149 * stdlib/strtod_l.c (NDIG): Remove.
16150 (HEXNDIG): Likewise.
16151 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
16152 smallest representable value.
16153 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
16154 lie within an exact representation of 1/2 ulp of the result.
16155 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
16156 unconditionally.
16157 (TENS_P9_IDX): Define unconditionally.
16158 (TENS_P9_SIZE): Likewise.
16159 (TENS_P10_IDX): Likewise.
16160 (TENS_P10_SIZE): Likewise.
16161 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
16162 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
16163 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
16164 entries for 10^2^13 and 10^2^14.
16165 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
16166 (TENS_P13_IDX): Define.
16167 (TENS_P13_SIZE): Likewise.
16168 (TENS_P14_IDX): Likewise.
16169 (TENS_P14_SIZE): Likewise.
16170 (_fpioconst_pow10): Change array size to
16171 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
16172 unconditional.
16173 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
16174 1024]: Add entries for 10^2^13 and 10^2^14.
16175 [LAST_POW10 > _LAST_POW10]: Remove #error.
16176 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
16177 (_fpioconst_pow10): Change array size to
16178 FPIOCONST_POW10_ARRAY_SIZE.
16179 * stdlib/gen-fpioconst.c: New file.
16180 * stdlib/gen-tst-strtod-round.c: Likewise.
16181 * stdlib/tst-strtod-round-data: Likewise.
16182 * stdlib/tst-strtod-round.c: Likewise.
16183 * stdlib/Makefile (tests): Add tst-strtod-round.
16184
d6e70f43
JM
16185 [BZ #14459]
16186 * stdlib/strtod_l.c: Include <stdint.h>.
16187 (NDEBUG): Do not define.
16188 (round_and_return): Change EXPONENT parameter to type intmax_t.
16189 Rearrange calculations to avoid internal overflow possibilities.
16190 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
16191 Rearrange calculations to avoid internal overflow possibilities.
16192 Assert that number fits inside MPNSIZE limbs.
16193 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
16194 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
16195 calculations and add assertions to avoid internal overflow
16196 possibilities. Add casts to avoid signed/unsigned operations.
16197 * stdlib/tst-strtod-overflow.c: New file.
16198 * stdlib/Makefile (tests): Add tst-strtod-overflow.
16199
1f529f7d
MP
162002012-08-25 Marek Polacek <polacek@redhat.com>
16201
16202 * time/time.h: Fix some typos in comments.
16203
59a629f1
RM
162042012-08-23 Roland McGrath <roland@hack.frob.com>
16205
16206 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
16207 * posix/tst-rfc3484-2.c: Likewise.
16208 * posix/tst-rfc3484-3.c: Likewise.
16209
d3bafbc9
SM
162102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
16211
16212 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
16213 (EF_ARM_ABI_FLOAT_HARD): Likewise.
16214
4efcc022
JM
162152012-08-23 Joseph Myers <joseph@codesourcery.com>
16216
16217 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
16218 #include of fxstatat64.c.
16219
3cc3ef96
RM
162202012-08-22 Roland McGrath <roland@hack.frob.com>
16221
f04e2132
RM
16222 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
16223 * shadow/getspent_r.c: Likewise.
16224 * shadow/getspnam.c: Likewise.
16225 * shadow/getspnam_r.c: Likewise.
16226 * gshadow/getsgent.c: Likewise.
16227 * gshadow/getsgent_r.c: Likewise.
16228 * gshadow/getsgnam.c: Likewise.
16229 * gshadow/getsgnam_r.c: Likewise.
16230 * inet/getnetbyad.c: Likewise.
16231 * inet/getnetbyad_r.c: Likewise.
16232 * inet/getnetbynm.c: Likewise.
16233 * inet/getnetbynm_r.c: Likewise.
16234 * inet/getnetent.c: Likewise.
16235 * inet/getnetent_r.c: Likewise.
16236 * inet/getproto.c: Likewise.
16237 * inet/getproto_r.c: Likewise.
16238 * inet/getprtent.c: Likewise.
16239 * inet/getprtent_r.c: Likewise.
16240 * inet/getprtname.c: Likewise.
16241 * inet/getprtname_r.c: Likewise.
16242 * inet/getrpcbyname.c: Likewise.
16243 * inet/getrpcbyname_r.c: Likewise.
16244 * inet/getrpcbynumber.c: Likewise.
16245 * inet/getrpcbynumber_r.c: Likewise.
16246 * inet/getrpcent.c: Likewise.
16247 * inet/getrpcent_r.c: Likewise.
16248 * inet/getaliasent.c: Likewise.
16249 * inet/getaliasent_r.c: Likewise.
16250 * inet/getaliasname.c: Likewise.
16251 * inet/getaliasname_r.c: Likewise.
16252 * nscd/getgrgid_r.c: Likewise.
16253 * nscd/getgrnam_r.c: Likewise.
16254 * nscd/gethstbyad_r.c: Likewise.
16255 * nscd/gethstbynm3_r.c: Likewise.
16256 * nscd/getpwnam_r.c: Likewise.
16257 * nscd/getpwuid_r.c: Likewise.
16258 * nscd/getsrvbynm_r.c: Likewise.
16259 * nscd/getsrvbypt_r.c: Likewise.
16260 * nscd/gai.c: Likewise.
16261
c53d909c
RM
16262 * configure.in (build_nscd): New substituted variable, set
16263 by --disable-build-nscd and defaults to $use_nscd.
16264 * configure: Regenerated.
16265 * config.make.in (build-nscd): New substituted variable.
16266 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
16267 Change conditional to require [$(build-nscd) = yes] as well.
16268 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
16269
3cc3ef96
RM
16270 [BZ# 13696]
16271 * configure.in (use_nscd): New substituted variable, set by
16272 --disable-nscd. If enabled, define USE_NSCD.
16273 * configure: Regenerated.
16274 * config.h.in: Add USE_NSCD.
16275 * config.make.in (use-nscd): New substituted variable.
16276 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
16277 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
16278 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
16279 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
16280 (CFLAGS-getgrnam_r.c): Likewise.
16281 (CFLAGS-initgroups.c): Likewise.
16282 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
16283 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
16284 Variables removed.
16285 * inet/getnetgrent_r.c
16286 (nscd_setnetgrent): New function, broken out of ...
16287 (setnetgrent): ... here. Call it.
16288 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16289 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16290 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16291 * nscd/Makefile (routines, aux): Move definitions after include of
16292 Makeconfig. Conditionalize on [$(use-nscd) != no].
16293 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16294 Conditionalize on [USE_NSCD].
16295 (is_nscd, nscd_init_cb): Likewise.
16296 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16297 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16298 * nss/nss_db/db-init.c: Likewise.
16299 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16300 [USE_NSCD].
16301 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16302 (make_request): Use it.
16303 (cache_valid_p): New function.
16304 (__check_pf): Use it.
16305 * NEWS: Add item for --disable-nscd.
16306
07e51550
DL
163072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16308
16309 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16310 to support sed >= 4.2.1-20-ga9bf076.
16311 * configure: Regenerated.
16312
35a5b08b
RM
163132012-08-22 Roland McGrath <roland@hack.frob.com>
16314
16315 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16316 Conditionalize whole body on [IREL].
16317
8479f23a
JL
163182012-08-22 Jeff Law <law@redhat.com>
16319
16320 [BZ #14505]
16321 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16322 if the family is PF_UNSPEC.
16323
48da0b21
MF
163242012-08-22 Mike Frysinger <vapier@gentoo.org>
16325
16326 * Makerules (lib-version): Rename from V.
16327 (install-lib-nosubdir): Change V to lib-version.
16328
15d0da8c
WS
163292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16330
16331 [BZ #14252]
16332 * powerpc32/power6/wcschr.c: New file.
16333 * powerpc32/power6/wcscpy.c: New file.
16334 * powerpc32/power6/wcsrchr.c: New file.
16335 * powerpc64/power6/wcschr.c: New file.
16336 * powerpc64/power6/wcscpy.c: New file.
16337 * powerpc64/power6/wcsrchr.c: New file.
16338
bcca0895
MK
163392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16340
16341 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16342 (two_way_short_needle): Use it.
5a4aaa33
RM
16343 * string/strstr.c (AVAILABLE1_USES_J): Define.
16344 * string/strcasestr.c: Likewise.
99677e57
MK
16345
16346 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16347 array references.
16348 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16349
400726de
MK
16350 [BZ #11607]
16351 * NEWS: Add an entry.
16352 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16353 define their defaults.
16354 (two_way_short_needle): Detect end-of-string on-the-fly.
16355 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16356 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16357 * string/bug-strcasestr1.c: New test.
16358 * string/Makefile: Run it.
16359
20a71f2c
MK
163602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16361
16362 [BZ #11607]
16363 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16364 the first character.
16365
21ad0558
RM
163662012-08-21 Roland McGrath <roland@hack.frob.com>
16367
16368 * csu/elf-init.c (__libc_csu_irel): Function removed.
16369 * csu/libc-start.c (apply_irel): New function.
16370 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16371
0e1d9911
JM
163722012-08-21 Joseph Myers <joseph@codesourcery.com>
16373
16374 * sysdeps/unix/sysv/linux/kernel-features.h
16375 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16376 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16377 <kernel-features.h>.
16378 [__NR_fadvise64_64]: Make code unconditional.
16379 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16380 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16381 !__NR_fadvise64_64)]: Likewise.
16382 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16383 !__NR_fadvise64_64))]: Likewise.
16384 [__NR_fadvise64]: Make code unconditional.
16385 [!__NR_fadvise64]: Remove conditional code.
16386 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16387 <kernel-features.h>.
16388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16389 unconditional.
16390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16391 conditional code.
16392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16393 not include <kernel-features.h>.
16394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16395 unconditional.
16396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16397 conditional code.
16398 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16399 include <kernel-features.h>.
16400 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16401 unconditional.
16402 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16403 conditional code.
16404
14a50c9d
WS
164052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16406
16407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16408 slight instruction rearrangements per scrollpipe analysis.
16409 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16410
c0f4faf0
RM
164112012-08-20 Roland McGrath <roland@hack.frob.com>
16412
696da859
RM
16413 * manual/syslog.texi (syslog; vsyslog, closelog):
16414 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16415 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16416
c0f4faf0
RM
16417 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16418 DSOCAPS to match condition on defining it.
16419
348363b2
JM
164202012-08-20 Joseph Myers <joseph@codesourcery.com>
16421
a35cbf28
JM
16422 * sysdeps/unix/sysv/linux/kernel-features.h
16423 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16428 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16429 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16431 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16432 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16433
445f7ecd
JM
16434 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16435 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16436
348363b2
JM
16437 * sysdeps/unix/sysv/linux/kernel-features.h
16438 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16439 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16440 unconditional.
16441 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16442 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16443 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16444 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16445 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16446 Make code unconditional.
16447 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16448 (__mmap64) [!__NR_mmap2]: Likewise.
16449 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16450 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16451 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16452 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16453 [__NR_mmap2]: Make code unconditional.
16454 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16455 (__mmap64) [!__NR_mmap2]: Likewise.
16456
bc5bc0e5
AK
164572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16458
16459 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16460
88d506de
AJ
164612012-08-18 Andreas Jaeger <aj@suse.de>
16462
16463 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16464
493387d2
MF
164652012-08-18 Mike Frysinger <vapier@gentoo.org>
16466
16467 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16468 * include/unistd.h (__have_sock_cloexec): Likewise.
16469 (__have_pipe2): Likewise.
16470 (__have_dup3): Likewise.
16471
a277af22
MF
164722012-08-18 Mike Frysinger <vapier@gentoo.org>
16473
16474 [BZ #9685]
16475 * include/unistd.h (__have_pipe2): Change define into an extern int.
16476 (__have_dup3): Likewise.
16477 * socket/have_sock_cloexec.c: Include fcntl.h.
16478 (__have_pipe2): New variable.
16479 (__have_dup3): Likewise.
16480
fdab8fd3
MF
164812012-08-17 Mike Frysinger <vapier@gentoo.org>
16482
16483 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16484
31035e80
MP
164852012-08-17 Marek Polacek <polacek@redhat.com>
16486
16487 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16488 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16489
3bd9e993
RM
164902012-08-17 Roland McGrath <roland@hack.frob.com>
16491
c91c505f
RM
16492 * configure.in: Add AC_SUBST for sysheaders.
16493 * configure: Regenerated.
16494 * config.make.in (sysheaders): New substituted variable.
16495
7c6f9d53
RM
16496 * sysdeps/unix/mkfifo.c: Moved ...
16497 * sysdeps/posix/mkfifo.c: ... here.
16498 * sysdeps/unix/mkfifoat.c: Moved ...
16499 * sysdeps/posix/mkfifoat.c: ... here.
16500
16501 * sysdeps/unix/utime.c: Moved ...
16502 * sysdeps/posix/utime.c: ... here.
16503
16504 * sysdeps/unix/time.c: Moved ...
16505 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16506 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16507 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16508
16509 * sysdeps/unix/nice.c: Moved ...
16510 * sysdeps/posix/nice.c: ... here.
16511
16512 * sysdeps/unix/alarm.c: Moved ...
16513 * sysdeps/posix/alarm.c: ... here.
16514
3bd9e993
RM
16515 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16516
d1f09384
JL
165172012-08-17 Jeff Law <law@redhat.com>
16518
16519 * intl/Makefile (codeset_mo): New variable.
16520 ($(codeset_mo)): New target.
16521 (tst-codeset.out): Depend on that. Remove explicit rule.
16522 (tst-gettext3.out, tst-gettext5.out): Likewise.
16523 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16524 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16525 * intl/tst-codeset.sh: Remove.
16526 * intl/tst-gettext3.sh: Likewise.
16527 * intl/tst-gettext5.sh: Likewise.
16528
2ae1ae5c
RM
165292012-08-17 Roland McGrath <roland@hack.frob.com>
16530
c31fdb83
RM
16531 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16532 * sysdeps/unix/syscalls.list: ... here.
16533
a0844057
RM
16534 * sysdeps/posix/getaddrinfo.c
16535 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16536 (gaiconf_init, gaiconf_reload): Use them.
16537 [!_STATBUF_ST_NSEC]
16538 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16539 Define using time_t rather than struct timespec.
16540
750c1f2a
RM
16541 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16542 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16543 Macros removed.
16544 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16545 [!NO_THREADS].
16546 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16547 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16548 Likewise.
16549
2ae1ae5c
RM
16550 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16551 __libc_cleanup_push argument.
16552
e66a42f5
RM
16553 * bits/param.h: New file.
16554 * misc/sys/param.h: New file.
16555 * include/sys/param.h: New file.
16556 * misc/Makefile (headers): Add bits/param.h.
16557 * sysdeps/generic/sys/param.h: File removed.
16558 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16559 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16560 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16561 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16562
b7c08a66
RM
16563 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16564 last change.
16565
b2e1c562
RM
16566 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16567 [_IO_MTSAFE_IO].
16568 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16569 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16570 New macros.
16571
c75ccd4c
RM
16572 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16573 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16574 rather than -D_IO_MTSAFE_IO conditionally.
16575 * stdio-common/Makefile (CPPFLAGS): Likewise.
16576 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16577 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16578 Use $(libio-mtsafe).
16579 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16580 of -D_IO_MTSAFE_IO.
16581 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16582 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16583 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16584 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16585 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16586 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16587 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16588 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16589 (CFLAGS-fread_u_chk.c): Likewise.
16590 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16591 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16592 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16593 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16594 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16595 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16596 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16597 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16598 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16599
16600 * libio/Makefile: Test [$(libc-reentrant) = yes]
16601 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16602
16603 * Makeconfig
16604 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16605 * sysdeps/pthread/configure: File removed.
16606 * sysdeps/pthread/Makeconfig: New file.
16607 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16608 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16609
d9195db8
GB
166102012-08-16 Gary Benson <gbenson@redhat.com>
16611
16612 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16613 unmapping the first object in a namespace.
16614
86466cd9
RM
166152012-08-16 Roland McGrath <roland@hack.frob.com>
16616
16617 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16618 (__internal_setnetgrent): ... this. Add internal_function to
16619 definition. Add libc_hidden_def.
16620 (setnetgrent): Update caller.
16621 (internal_endnetgrent): Renamed to ...
16622 (__internal_endnetgrent): ... this. Add internal_function to
16623 definition. Add libc_hidden_def.
16624 (endnetgrent): Update caller.
16625 (internal_getnetgrent_r): Renamed to ...
16626 (__internal_getnetgrent_r): ... this. Add internal_function to
16627 definition. Add libc_hidden_def.
16628 (__getnetgrent_r): Update caller.
16629 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16630
c3c8283c
JM
166312012-08-16 Joseph Myers <joseph@codesourcery.com>
16632
16633 * stdlib/longlong.h: Update from GCC.
16634
db1ee0a8
RM
166352012-08-16 Roland McGrath <roland@hack.frob.com>
16636
16637 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16638 on _QL, which is set by umul_ppmm but never used.
16639 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16640 variables, which are set by GMP macros but never used.
16641 * stdio-common/_itowa.c (_itowa): Likewise.
16642 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16643 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16644
30f69637
CD
166452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16646
16647 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16648 struct La_sh_regs is not constant.
16649 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16650 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16651 and struct La_sparc64_regs are not constant.
16652
93a78ac4
JM
166532012-08-16 Joseph Myers <joseph@codesourcery.com>
16654
16655 * sysdeps/unix/sysv/linux/kernel-features.h
16656 (__ASSUME_POSIX_TIMERS): Remove.
16657 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16659 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16660 Make code unconditional.
16661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16662 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16663 Make code unconditional.
16664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16665 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16666 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16667 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16668 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16669 Make code unconditional.
16670 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16671 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16672 (__libc_missing_posix_timers): Remove.
16673
dd924cd7
RM
166742012-08-15 Roland McGrath <roland@hack.frob.com>
16675
4b4f2771
RM
16676 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16677 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16678
601c888b
RM
16679 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16680
176790a7
RM
16681 * elf/dl-sym.c: Include <stdlib.h>.
16682
329bc018
RM
16683 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16684 constants, which avoids warnings in 32-bit builds.
16685
e04e272d
RM
16686 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16687 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16688
952bf94a
RM
16689 * misc/lseek.c: File moved to ...
16690 * io/lseek.c: ... here.
16691
7c99b50a
RM
16692 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16693
dd924cd7
RM
16694 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16695 shifting LEN more than 31 bits at once.
16696
b3f479a8
LD
166972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16698
16699 [BZ #14195]
8c4ae0d4
RM
16700 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16701 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16702 * string/test-strncasecmp.c (check1): Renamed to...
16703 (bz12205): ...this.
16704 (bz14195): Add new testcase for two empty input strings and N > 0.
16705 (test_main): Call new testcase, adapt for renamed function.
16706
9c55864e
AJ
167072012-08-15 Andreas Jaeger <aj@suse.de>
16708
16709 [BZ #14090]
16710 * crypt/md5test2.c: New test, based on test supplied by Serge
16711 Belyshev <belyshev@depni.sinp.msu.ru>.
16712 * crypt/Makefile (xtests): Add md5test-giant..
16713 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16714
02dcb6c5
PE
167152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16716
16717 [BZ #14090]
16718 * crypt/md5.c (md5_process_block): Don't assume the buffer
16719 length is less than 2**32.
16720 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16721 length is less than 2**64.
16722
a3f95dcc
RM
167232012-08-15 Roland McGrath <roland@hack.frob.com>
16724
be75d758
RM
16725 * string/str-two-way.h: Include <sys/param.h>.
16726 (MAX): Macro removed.
16727
7312ca90
RM
16728 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16729 Move #define and #undef of memmove to just before and after
16730 including <string.h>.
16731
9a0a5486
RM
16732 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16733 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16734 and after including <string.h>. Move declarations of
16735 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16736 to before #include "string/memmove.c".
16737
67cc348d
RM
16738 * include/dirent.h: Declare __getdirentries.
16739
a3f95dcc
RM
16740 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16741 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16742
ca98e171
MF
167432012-08-14 Mike Frysinger <vapier@gentoo.org>
16744
16745 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16746 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16747 * sysdeps/i386/configure: Regenerated.
16748 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16749 STABS_CURRENT_FILE, and STABS_FUN.
16750 (END): Remove call to STABS_FUN_END.
16751 (STABS_CURRENT_FILE1): Delete.
16752 (STABS_CURRENT_FILE): Likewise.
16753 (STABS_FUN): Likewise.
16754 (STABS_FUN_END): Likewise.
16755 (STABS_FUN2): Likewise.
16756 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16757 * sysdeps/x86_64/configure: Regenerated.
16758
5908bf46
RM
167592012-08-14 Roland McGrath <roland@hack.frob.com>
16760
16761 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16762 * elf/dl-lookup.c: Likewise.
5908bf46 16763
f2c05b9e
JM
167642012-08-14 Joseph Myers <joseph@codesourcery.com>
16765
16766 * sysdeps/unix/sysv/linux/kernel-features.h
16767 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16768 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16769 unconditionally.
16770 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16771 unconditionally.
16772 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16773 condition on __ASSUME_CLONE_THREAD_FLAGS.
16774
e11f5155
AJ
167752012-08-14 Andreas Jaeger <aj@suse.de>
16776
16777 * sysdeps/i386/fpu/libm-test-ulps: Update.
16778
51a9ba86
MK
167792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16780
2fdd4f78
AJ
16781 * include/atomic.h (atomic_exchange_and_add): Split into ...
16782 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16783 New atomic macros.
51a9ba86 16784
ba6cba9e
MT
167852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16786
16787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16788
42443a47
JL
167892012-08-13 Jeff Law <law@redhat.com>
16790
16791 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16792 null byte in the output string.
16793
121dce05
JM
167942012-08-10 Joseph Myers <joseph@codesourcery.com>
16795
16796 * sysdeps/unix/sysv/linux/kernel-features.h
16797 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16798 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16799 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16801 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16802 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16803 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16804
bf51f568
JL
168052012-08-09 Jeff Law <law@redhat.com>
16806
16807 [BZ #13939]
16808 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16809 When avoid_arena is set, don't retry in the that arena. Pick the
16810 next one, whatever it might be.
16811 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16812 (arena_lock): Pass in new parameter to arena_get2.
16813 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16814 arena_get2.
16815 (__libc_malloc): Unify retrying after main arena failure with
16816 __libc_memalign version.
16817 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16818
f85fa270
L
168192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16820
16821 [BZ #14166]
16822 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16823 to __redirect_strstr.
16824 (__strstr_sse42): Use typeof __redirect_strstr.
16825 (__strstr_ia32): Likewise.
16826 (__libc_strstr): New prototype.
16827 (strstr): Renamed to ...
16828 (__libc_strstr): This.
16829 (strstr): New strong alias of __libc_strstr.
16830 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16831 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16832 __redirect_time.
16833 Include <time.h>.
16834 (__libc_time): New prototype.
16835 (time_ifunc): Replace time with __libc_time.
16836 (time): New strong alias and hidden definition of __libc_time.
16837 (__GI_time): Remove strong alias.
16838 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16839 Include <stddef.h>.
16840 (memmove): Redefined to __redirect_memmove.
16841 (__memmove_sse2): Use typeof __redirect_memmove.
16842 (__memmove_ssse3): Likewise.
16843 (__memmove_ssse3_back): Likewise.
16844 (__libc_memmove): New prototype.
16845 (memmove): Renamed to ...
16846 (__libc_memmove): This.
16847 (memmove): New strong alias of __libc_memmove.
16848
33b4a91e
MS
168492012-08-08 Mark Salter <msalter@redhat.com>
16850
16851 * elf/elf.h
16852 (R_MN10300_TLS_GD): Define.
16853 (R_MN10300_TLS_LD): Likewise.
16854 (R_MN10300_TLS_LDO): Likewise.
16855 (R_MN10300_TLS_GOTIE): Likewise.
16856 (R_MN10300_TLS_IE): Likewise.
16857 (R_MN10300_TLS_LE): Likewise.
16858 (R_MN10300_TLS_DTPMOD): Likewise.
16859 (R_MN10300_TLS_DTPOFF): Likewise.
16860 (R_MN10300_TLS_TPOFF): Likewise.
16861 (R_MN10300_SYM_DIFF): Likewise.
16862 (R_MN10300_ALIGN): Likewise.
16863 (R_MN10300_NUM): Update.
16864
b36137f1
JM
168652012-08-08 Joseph Myers <joseph@codesourcery.com>
16866
16867 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16868 Remove.
16869
cdd915fd
RM
168702012-08-08 Roland McGrath <roland@hack.frob.com>
16871
a2433aac
RM
16872 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16873
cdd915fd
RM
16874 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16875 sysdeps/unix -> sysdeps/posix move.
16876 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16877
bf9b740a
AM
168782012-08-07 Allan McRae <allan@archlinux.org>
16879
16880 [BZ #14303]
16881 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16882 (SUNOS_CPP): Likewise.
16883 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16884 not found.
16885 (open_input): Call CPP using execvp.
16886
93df14ee
JM
168872012-08-07 Joseph Myers <joseph@codesourcery.com>
16888
16889 * sysdeps/unix/sysv/linux/kernel-features.h
16890 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16891 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16892 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16893 (__ASSUME_WAITID_SYSCALL): Likewise.
16894 * sysdeps/unix/sysv/linux/dl-execstack.c
16895 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16896 code unconditional.
16897 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16898 conditional code.
16899 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16900 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16901 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16902 code.
16903 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16904 unconditional.
16905 [__ASSUME_WAITID_SYSCALL]: Likewise.
16906 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16907
d34689de
RM
169082012-08-07 Roland McGrath <roland@hack.frob.com>
16909
a281decc
RM
16910 * sysdeps/unix/closedir.c: Renamed to ...
16911 * sysdeps/posix/closedir.c: ... here.
16912 * sysdeps/unix/dirfd.c: Renamed to ...
16913 * sysdeps/posix/dirfd.c: ... here.
16914 * sysdeps/unix/dirstream.h: Renamed to ...
16915 * sysdeps/posix/dirstream.h: ... here.
16916 * sysdeps/unix/fdopendir.c: Renamed to ...
16917 * sysdeps/posix/fdopendir.c: ... here.
16918 * sysdeps/unix/opendir.c: Renamed to ...
16919 * sysdeps/posix/opendir.c: ... here.
16920 * sysdeps/unix/readdir.c: Renamed to ...
16921 * sysdeps/posix/readdir.c: ... here.
16922 * sysdeps/unix/readdir_r.c: Renamed to ...
16923 * sysdeps/posix/readdir_r.c: ... here.
16924 * sysdeps/unix/rewinddir.c: Renamed to ...
16925 * sysdeps/posix/rewinddir.c: ... here.
16926 * sysdeps/unix/seekdir.c: Renamed to ...
16927 * sysdeps/posix/seekdir.c: ... here.
16928 * sysdeps/unix/telldir.c: Renamed to ...
16929 * sysdeps/posix/telldir.c: ... here.
16930 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16931 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16932 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16933 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16934
22895b47
RM
16935 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16936 * bits/fcntl.h: ... here.
16937
707a53b6
RM
16938 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16939 not 0.
16940 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16941 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16942 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16943 (struct flock): Move l_start, l_len to the beginning.
16944 Use __pid_t for l_pid.
16945 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16946 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16947 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16948 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16949 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16950 [__USE_LARGEFILE64] (struct flock64): New type.
16951 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16952
f0bd3e25
RM
16953 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16954 * bits/dirent.h: ... here.
16955
d34689de
RM
16956 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16957 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16958
6dad2c06
JM
169592012-08-07 Joseph Myers <joseph@codesourcery.com>
16960
16961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16962 Change from 2.6.0 to 2.6.16.
16963 * sysdeps/unix/sysv/linux/configure: Regenerated.
16964 * sysdeps/unix/sysv/linux/kernel-features.h
16965 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16966 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16967 version.
16968 (__ASSUME_UTIMES): Likewise.
16969 (__ASSUME_CLONE_STOPPED): Remove.
16970 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16971 architectures, not kernel version.
16972 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16973 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16974 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16975 (__ASSUME_WAITID_SYSCALL): Likewise.
16976 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16977 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16978 * README: State 2.6.16 as minimum Linux kernel version. Do not
16979 refer to older versions.
16980
03af9520
RM
169812012-08-06 Roland McGrath <roland@hack.frob.com>
16982
8e49df1d
RM
16983 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16984 Define alphasort64 as an alias.
16985 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16986 Define versionsort64 as an alias.
16987 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16988 Define scandir64 as an alias.
16989 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16990 Define scandirat64 as an alias.
16991 * dirent/alphasort64.c (alphasort64):
16992 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16993 * dirent/versionsort64.c: Likewise.
16994 * dirent/scandir64.c: Likewise.
16995 * dirent/scandirat64.c: Likewise.
16996 * sysdeps/wordsize-64/alphasort.c: File removed.
16997 * sysdeps/wordsize-64/alphasort64.c: File removed.
16998 * sysdeps/wordsize-64/scandir.c: File removed.
16999 * sysdeps/wordsize-64/scandir64.c: File removed.
17000 * sysdeps/wordsize-64/scandirat.c: File removed.
17001 * sysdeps/wordsize-64/scandirat64.c: File removed.
17002 * sysdeps/wordsize-64/versionsort.c: File removed.
17003 * sysdeps/wordsize-64/versionsort64.c: File removed.
17004 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
17005 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
17006 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
17007 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
17008 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
17009 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
17010 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
17012
17013 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
17014 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17015 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
17016 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17017 [defined __arch64__ || defined __sparcv9]
17018 (__INO_T_MATCHES_INO64_T): New macro.
17019 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17020 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
17021 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
17022 * sysdeps/unix/sysv/linux/bits/dirent.h
17023 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
17024 (_DIRENT_MATCHES_DIRENT64): New macro.
17025
03af9520
RM
17026 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
17027 Define lockf64 as an alias.
17028 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
17029 Define fseeko64 as an alias.
17030 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
17031 Define ftello64 as an alias.
17032 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
17033 Define _IO_fgetpos64 and fgetpos64 as aliases.
17034 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
17035 Define _IO_fsetpos64 and fsetpos64 as aliases.
17036 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
17037 Conditionalize body on this.
17038 * libio/fseeko64.c: Likewise.
17039 * libio/ftello64.c: Likewise.
17040 * libio/iofgetpos64.c: Likewise.
17041 * libio/iofsetpos64.c: Likewise.
17042 * sysdeps/wordsize-64/lockf.c: File removed.
17043 * sysdeps/wordsize-64/lockf64.c: File removed.
17044 * sysdeps/wordsize-64/fseeko.c: File removed.
17045 * sysdeps/wordsize-64/fseeko64.c: File removed.
17046 * sysdeps/wordsize-64/ftello.c: File removed.
17047 * sysdeps/wordsize-64/ftello64.c: File removed.
17048 * sysdeps/wordsize-64/iofgetpos.c: File removed.
17049 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
17050 * sysdeps/wordsize-64/iofsetpos.c: File removed.
17051 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
17052 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
17053 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
17054 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
17055 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
17056 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
17057 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
17058 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
17059 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
17060 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
17061 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
17062
17063 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17064 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
17065 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
17066 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17067 [defined __arch64__ || defined __sparcv9]
17068 (__OFF_T_MATCHES_OFF64_T): New macro.
17069 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17070 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
17071 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17072 (__OFF_T_MATCHES_OFF64_T): New macro.
17073
c5757acd
L
170742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17075
17076 * stdlib/secure-getenv.c (__secure_getenv): Replace
17077 GLIBC_2_16 with GLIBC_2_17.
17078
3a31811e
L
170792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
17080
17081 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
17082 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17083
faa2bccb
DM
170842012-08-03 David S. Miller <davem@davemloft.net>
17085
17086 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17087
85fe1997
JM
170882012-08-03 Joseph Myers <joseph@codesourcery.com>
17089
17090 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
17091 Remove.
17092 (__ASSUME_CORRECT_SI_PID): Likewise.
17093 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
17094 (__ASSUME_TMPFS_NAME): Likewise.
17095 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
17096 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
17097 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
17098 (HAVE_AUX_SECURE): Make definition unconditional.
17099 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
17100 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
17101
4f75b7a0
RM
171022012-08-03 Roland McGrath <roland@hack.frob.com>
17103
17104 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
17105 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
17106 * sysdeps/mach/hurd/eloop-threshold.h: New file.
17107 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
17108 __eloop_threshold instead of SYMLOOP_MAX.
17109
17110 * sysdeps/generic/eloop-threshold.h: New file.
17111 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
17112 of MAXSYMLINKS.
17113 * elf/chroot_canon.c (chroot_canon): Likewise.
17114
7aab07e4
JM
171152012-08-03 Joseph Myers <joseph@codesourcery.com>
17116
17117 [BZ #13717]
17118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17119 Change to 2.6.0 everywhere.
17120 * sysdeps/unix/sysv/linux/configure: Regenerated.
17121 * sysdeps/unix/sysv/linux/kernel-features.h
17122 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
17123 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
17124 kernel versions.
17125 (__ASSUME_POSIX_TIMERS): Define unconditionally.
17126 (__ASSUME_FUTEX_REQUEUE): Remove.
17127 (__ASSUME_STATFS64): Define unconditionally.
17128 (__ASSUME_AT_SECURE): Likewise.
17129 (__ASSUME_CORRECT_SI_PID): Likewise.
17130 (__ASSUME_TGKILL): Define without depending on kernel version for
17131 i386.
17132 (__ASSUME_UTIMES): Likewise.
17133 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
17134 kernel version.
17135 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
17136 (__ASSUME_TMPFS_NAME): Likewise.
17137 * README: Update reference to Linux kernel versions.
17138
b67e9372
MP
171392012-08-02 Marek Polacek <polacek@redhat.com>
17140
1f529f7d 17141 [BZ# 14150]
b67e9372
MP
17142 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
17143 libc_cv_asm_type_prefix with %.
17144 * configure: Regenerated.
d2441631
RM
17145 * include/libc-symbols.h: Remove comment about
17146 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
17147 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
17148 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
17149 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
17150 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
17151 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
17152 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
17153 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
17154 * elf/tst-unique2mod1.c: Likewise.
17155 * elf/tst-unique1mod2.c: Likewise.
17156 * elf/tst-unique1mod1.c: Likewise.
17157 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
17158 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
17159 Replace ASM_TYPE_DIRECTIVE with .type.
17160 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17161 * sysdeps/i386/sysdep.h: Likewise.
17162 * sysdeps/x86_64/sysdep.h: Likewise.
17163 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
17165 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 17166 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
17167 * sysdeps/powerpc/powerpc32/sysdep.h:
17168 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
17169 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17170 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17171 * sysdeps/i386/fpu/e_powf.S: Likewise.
17172 * sysdeps/i386/fpu/e_expl.S: Likewise.
17173 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
17174 * sysdeps/i386/fpu/e_acosh.S: Likewise.
17175 * sysdeps/i386/fpu/e_pow.S: Likewise.
17176 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
17177 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
17178 * sysdeps/i386/fpu/s_expm1.S: Likewise.
17179 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
17180 * sysdeps/i386/fpu/e_log2.S: Likewise.
17181 * sysdeps/i386/fpu/e_log2l.S: Likewise.
17182 * sysdeps/i386/fpu/e_scalb.S: Likewise.
17183 * sysdeps/i386/fpu/e_powl.S: Likewise.
17184 * sysdeps/i386/fpu/e_log10f.S: Likewise.
17185 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
17186 * sysdeps/i386/fpu/e_logl.S: Likewise.
17187 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
17188 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
17189 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
17190 * sysdeps/i386/fpu/e_log2f.S: Likewise.
17191 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
17192 * sysdeps/i386/fpu/e_log.S: Likewise.
17193 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
17194 * sysdeps/i386/fpu/e_logf.S: Likewise.
17195 * sysdeps/i386/fpu/e_log10l.S: Likewise.
17196 * sysdeps/i386/fpu/e_atanh.S: Likewise.
17197 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
17198 * sysdeps/i386/fpu/e_log10.S: Likewise.
17199 * sysdeps/i386/fpu/s_frexp.S: Likewise.
17200 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
17201 * sysdeps/i386/fpu/s_asinh.S: Likewise.
17202 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
17203 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
17204 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
17205 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
17206 * sysdeps/i386/i686/strtok.S: Likewise.
17207 * sysdeps/i386/i386-mcount.S: Likewise.
17208 * sysdeps/i386/strtok.S: Likewise.
17209 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
17210 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
17211 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
17212 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
17213 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
17214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
17215 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
17216 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
17217 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
17218 * sysdeps/x86_64/_mcount.S: Likewise.
17219 * sysdeps/x86_64/strtok.S: Likewise.
17220 * sysdeps/sh/_mcount.S: Likewise.
17221
2747bf9a
RM
172222012-08-01 Roland McGrath <roland@hack.frob.com>
17223
17224 * libio/iofopen.c: Include <fcntl.h>.
17225 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
17226 (_IO_fopen64, fopen64): Define as aliases.
17227 * libio/iofopen64.c: Include <fcntl.h>.
17228 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
17229 Conditionalize body on this.
17230 * sysdeps/wordsize-64/iofopen.c: File removed.
17231 * sysdeps/wordsize-64/iofopen64.c: File removed.
17232
3fb791b8
MP
172332012-08-01 Marek Polacek <polacek@redhat.com>
17234
17235 * libc/Makeconfig: Use elf in place of binfmt-subdir.
17236 Use dlfcn directly instead of a variable.
17237 (binfmt-subdir): Do not define.
17238 (dlfcn): Likewise.
17239
a9f1039f
JM
172402012-08-01 Joseph Myers <joseph@codesourcery.com>
17241
23bddc06
JM
17242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
17243 Remove all definitions.
17244 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
17245 <kernel-features.h>.
17246 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17247 (miss_F_GETOWN_EX): Remove all definitions.
17248 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
17249 macro definition.
17250 [!__ASSUME_FCNTL64]: Remove conditional code.
17251 [__ASSUME_FCNTL64]: Make code unconditional.
17252 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
17253 <kernel-features.h>.
17254 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
17255 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
17256 (lockf64) [__NR_fcntl64]: Make code unconditional.
17257 (lockf64) [__ASSUME_FCNTL64]: Likewise.
17258
a9f1039f
JM
17259 * sysdeps/unix/sysv/linux/kernel-features.h
17260 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
17261 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
17262 Make code unconditional.
17263 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17264 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
17266 [__NR_vfork]: Make code unconditional.
17267 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17268 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
17270 [__NR_vfork]: Make code unconditional.
17271 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
17272 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
17273
09c0ee5f
RM
172742012-08-01 Roland McGrath <roland@hack.frob.com>
17275
48aec5b9
RM
17276 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
17277 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
17278
cd97c966
RM
17279 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17280 Define mkstemp64 as an alias.
3f55550c
RM
17281 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17282 Define mkstemps64 as an alias.
cd97c966
RM
17283 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17284 Define mkostemp64 as an alias.
b8625cfc
RM
17285 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17286 Define mkostemps64 as an alias.
cd97c966
RM
17287 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17288 Conditionalize body on this.
17289 * misc/mkostemp64.c: Likewise.
b8625cfc 17290 * misc/mkostemps64.c: Likewise.
3f55550c 17291 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17292 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17293 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17294 * sysdeps/wordsize-64/mkostemp.c: File removed.
17295 * sysdeps/wordsize-64/mkstemp.c: File removed.
17296 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17297 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17298 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17299 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17300
09c0ee5f
RM
17301 [BZ #14138]
17302 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17303 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17304 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17305 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17306
17307 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17308 compat_symbol macros from <shlib-compat.h> rather than the underlying
17309 default_symbol_version and symbol_version macros, so that DEFAULT
17310 lines in shlib-versions are respected.
17311 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17312
7e66ee51
FW
173132012-08-01 Florian Weimer <fweimer@redhat.com>
17314
17315 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17316 Declare with warn_unused_result.
17317 (setgid, setregid, setegid, setresgid): Likewise.
17318 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17319 Likewise.
17320 * WUR-REPORT: Remove set*id functions.
17321
d2a54255
PT
173222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17323
17324 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17325
7ecdb005
RM
173262012-07-31 Roland McGrath <roland@hack.frob.com>
17327
b4180a5e 17328 [BZ #10191]
789bd351
RM
17329 * include/sys/socket.h (__libc_accept, __libc_accept4):
17330 Add attribute_hidden.
17331 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17332
40ce302d
RM
17333 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17334 use of PTR_MANGLE.
17335 * inet/getnetgrent_r.c (setup): Likewise.
17336
7ecdb005
RM
17337 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17338
e2eabb2c
DM
173392012-07-31 David S. Miller <davem@davemloft.net>
17340
17341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17342
d0419dbf
JM
173432012-07-31 Joseph Myers <joseph@codesourcery.com>
17344
17345 [BZ #13629]
17346 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17347 value between 1.0 and 2.0 and smaller part has absolute value less
17348 than 1.0.
17349 * math/s_clog10.c (__clog10): Likewise.
17350 * math/s_clog10f.c (__clog10f): Likewise.
17351 * math/s_clog10l.c (__clog10l): Likewise.
17352 * math/s_clogf.c (__clogf): Likewise.
17353 * math/s_clogl.c (__clogl): Likewise.
17354 * math/libm-test.inc (clog_test): Add more tests.
17355 (clog10_test): Likewise.
17356 * sysdeps/i386/fpu/libm-test-ulps: Update.
17357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17358
2bc13872
FW
173592012-07-31 Florian Weimer <fweimer@redhat.com>
17360
17361 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17362 Exit with zero in case no suitable GID is found, and write a
17363 message to standard error.
17364
bea9b193
RM
173652012-07-30 Roland McGrath <roland@hack.frob.com>
17366
17367 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17368 rather than to 1.
17369 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17370 (MAXPATHLEN): Removed.
17371 (NOGROUP, NODEV): New macros.
17372 (setbit, clrbit, isset, isclr): New macros.
17373 (howmany, roundup, powerof2): New macros.
17374 (DEV_BSIZE): New macro.
17375
17376 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17377 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17378
17379 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17380 definition on [!__NO_LONG_DOUBLE_MATH].
17381
17382 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17383 PTR_MANGLE and PTR_DEMANGLE.
17384
17385 * socket/accept4.c (accept4): Rename to __libc_accept4.
17386 Define accept4 as a weak alias.
17387
17388 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17389 on [_DIRENT_HAVE_D_TYPE].
17390 * io/ftw.c (ftw_dir): Likewise.
17391
17392 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17393
17394 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17395
17396 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17397 Use the BSD numbers rather than the arbitrary ones we had.
17398 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17399 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17400 (SIGXCPU, SIGXFSZ): New macros.
17401 (_NSIG): Now 32.
17402
17403 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17404 initializer on [_LIBC_REENTRANT].
17405
17406 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17407 definitions inside [_POSIX_MAPPED_FILES].
17408
17409 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17410
17411 * dirent/opendir.c: Include <fcntl.h>.
17412
17413 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17414 (__libc_getspecific): Likewise.
17415 (__libc_key_create): Likewise.
17416
17417 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17418 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17419 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17420 (tmpfile64): Define as alias.
17421 * sysdeps/wordsize-64/tmpfile.c: File removed.
17422 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17423 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17424 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17425
17426 * stdio-common/vfscanf.c: Include <stdbool.h>.
17427 * nss/makedb.c: Likewise.
17428 * stdio-common/_i18n_number.h: Likewise.
17429 * argp/argp-help.c: Likewise.
17430 * posix/wordexp.c: Likewise.
17431 * sysdeps/posix/spawni.c: Likewise.
17432 * nss/nss_files/files-initgroups.c: Likewise.
17433 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17434 * nss/nss_files/files-initgroups.c: Likewise.
17435 * nss/nss_db/db-netgrp.c: Likewise.
17436 * nss/nss_db/db-initgroups.c: Likewise.
17437 * io/fchmodat.c: Include <sys/stat.h>.
17438
17439 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17440 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17441
17442 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17443 [HAVE_MMAP].
17444
17445 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17446 Add multiple inclusion protection.
17447
e5abc686
DM
174482012-07-27 David S. Miller <davem@davemloft.net>
17449
17450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17451
815e6fa3
GB
174522012-07-27 Gary Benson <gbenson@redhat.com>
17453
17454 [BZ #14298]
17455 * elf/rtld.c: Include <stap-probe.h>.
17456 (dl_main): Added static probes "init_start" and "init_complete".
17457 * elf/dl-load.c: Include <stap-probe.h>.
17458 (lose): Take new parameter "nsid".
17459 Added static probe "map_failed".
17460 (_dl_map_object_from_fd): Pass namespace id to lose.
17461 Added static probe "map_start".
17462 (open_verify): Pass namespace id to lose.
17463 * elf/dl-open.c: Include <stap-probe.h>.
17464 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17465 and "reloc_complete".
17466 * elf/dl-close.c: Include <stap-probe.h>.
17467 (_dl_close_worker): Added static probes "unmap_start" and
17468 "unmap_complete".
17469 * elf/rtld-debugger-interface.txt: New file documenting the above.
17470
9f98c16c
RM
174712012-07-26 Roland McGrath <roland@hack.frob.com>
17472
17473 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17474 rather than a string variable.
17475 * sunrpc/rpc_main.c (h_output): Likewise.
17476 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17477
f3c22df3
PT
174782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17479
17480 * inet/check_native.c: New file.
17481
3129cfc6
JM
174822012-07-26 Joseph Myers <joseph@codesourcery.com>
17483
da865e95
JM
17484 [BZ #13629]
17485 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17486 if larger part has absolute value 1.0.
17487 * math/s_clog10.c (__clog10): Likewise.
17488 * math/s_clog10f.c (__clog10f): Likewise.
17489 * math/s_clog10l.c (__clog10l): Likewise.
17490 * math/s_clogf.c (__clogf): Likewise.
17491 * math/s_clogl.c (__clogl): Likewise.
17492 * math/libm-test.inc (clog_test): Add more tests.
17493 (clog10_test): Likewise.
17494 * sysdeps/i386/fpu/libm-test-ulps: Update.
17495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17496
3129cfc6
JM
17497 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17498 (pltexit): Likewise.
17499 (La_regs): Likewise.
17500 (La_retval): Likewise.
17501 (int_retval): Likewise.
17502 Update #error for removed macros to refer only to definitions in
17503 tst-audit.h.
17504 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17505 macro.
17506 (pltexit): Likewise.
17507 (La_regs): Likewise.
17508 (La_retval): Likewise.
17509 (int_retval): Likewise.
17510 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17511 macro.
17512 (pltexit): Likewise.
17513 (La_regs): Likewise.
17514 (La_retval): Likewise.
17515 (int_retval): Likewise.
17516 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17517 macro.
17518 (pltexit): Likewise.
17519 (La_regs): Likewise.
17520 (La_retval): Likewise.
17521 (int_retval): Likewise.
17522 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17523 macro.
17524 (pltexit): Likewise.
17525 (La_regs): Likewise.
17526 (La_retval): Likewise.
17527 (int_retval): Likewise.
17528 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17529 macro.
17530 (pltexit): Likewise.
17531 (La_regs): Likewise.
17532 (La_retval): Likewise.
17533 (int_retval): Likewise.
17534 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17535 macro.
17536 (pltexit): Likewise.
17537 (La_regs): Likewise.
17538 (La_retval): Likewise.
17539 (int_retval): Likewise.
17540 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17541 macro definitions in tst-audit.h.
17542 * sysdeps/i386/tst-audit.h: New file.
17543 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17544 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17545 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17546 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17547 * sysdeps/sh/tst-audit.h: Likewise.
17548 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17549 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17550 * sysdeps/x86_64/tst-audit.h: Likewise.
17551
bfc07087
AJ
175522012-07-26 Andreas Jaeger <aj@suse.de>
17553
b1b2aaf8
AJ
17554 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17555 ptrace.
17556
17557 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17558 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17559 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17560 PTRACE_O_MASK.
17561 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17562 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17563 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17564
bfc07087
AJ
17565 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17566 value.
17567
17568 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17569 _sigsys.
17570 (si_call_addr, si_syscall, si_arch): Define new macro.
17571 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17572 _sigsys.
17573 (si_call_addr, si_syscall, si_arch): Define new marcro.
17574 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17575 _sigsys.
17576 (si_call_addr, si_syscall, si_arch): Define new macro.
17577 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17578 _sigsys.
17579 (si_call_addr, si_syscall, si_arch): Define new macro.
17580
89b4b02f
JM
175812012-07-25 Joseph Myers <joseph@codesourcery.com>
17582
17583 [BZ #13717]
17584 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17585 Change to 2.4.21 where previously 2.4.1.
17586 * sysdeps/unix/sysv/linux/configure: Regenerated.
17587 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17588 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17589 Linux kernel version.
17590 (__ASSUME_STD_AUXV): Remove.
17591 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17592 kernel version.
17593 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17594 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17595 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17596 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17597 (__ASSUME_NETLINK_SUPPORT): Likewise.
17598 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17599 (__no_netlink_support): Remove conditional definition.
17600 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17601 Remove.
17602 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17603 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17604 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17605 (if_nameindex_ioctl): Remove.
17606 (if_nameindex_netlink): Do not handle __no_netlink_support.
17607 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17608 code.
17609 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17610 Remove conditional code.
17611 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17612 code.
17613 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17614 unconditional.
17615 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17616 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17617 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17618 Remove.
17619 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17620 [!__ASSUME_STD_AUXV]: Remove conditional code.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17622 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17623 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17625 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17626 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17627 code.
17628 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17630 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17631 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17632 conditional code.
17633 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17635 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17636 code.
17637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17638 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17639 conditional code.
17640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17641 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17642 code unconditional.
17643 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17644 conditional code.
17645 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17646 unconditional.
17647 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17648 conditional code.
17649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17650 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17651 unconditional.
17652 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17653 conditional code.
17654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17655 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17656 code unconditional.
17657 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17658 conditional code.
17659 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17660 unconditional.
17661 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17662 conditional code.
17663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17664 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17665 code unconditional.
17666 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17667 conditional code.
17668 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17669 unconditional.
17670 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17671 conditional code.
17672
842a39cd
AS
176732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17674
17675 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17676 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17677 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17678 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17679 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17680 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17681 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17682 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17683 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17684 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17685 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17686 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17687 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17688 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17689 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17690 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17691 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17692 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17693 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17694 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17695 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17696 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17697 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17698
84b3fd84
FW
176992012-07-25 Florian Weimer <fweimer@redhat.com>
17700
17701 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17702 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17703 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17704 Introduce __libc_secure_getenv.
0c7936d5
FW
17705 * stdlib/Versions (2.17): Add secure_getenv
17706 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17707 * stdlib/secure-getenv.c: Rename __secure_getenv to
17708 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17709 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17710 * stdlib/tst-secure-getenv.c: New.
17711 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17712 * manual/startup.texi (Environment Access): Document
17713 secure_getenv.
84b3fd84
FW
17714 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17715 __libc_secure_getenv.
17716 * inet/ruserpass.c (ruserpass): Likewise.
17717 * malloc/mtrace.c (mtrace): Likewise.
17718 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17719 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17720 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17721 * sysdeps/posix/tempname.c: Likewise. Evaluate
17722 HAVE_SECURE_GETENV.
17723 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17724 __secure_getenv to __libc_secure_getenv.
84b3fd84 17725 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17727 Likewise.
17728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17729 Likewise.
17730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17732 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17733 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17737
56e49b71
JM
177382012-07-25 Joseph Myers <joseph@codesourcery.com>
17739
17740 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17741 (struct La_i86_retval): Likewise.
17742 (struct La_x86_64_regs): Likewise.
17743 (struct La_x86_64_retval): Likewise.
17744 (struct La_x32_regs): Likewise.
17745 (struct La_x32_retval): Likewise.
17746 (struct La_ppc32_regs): Likewise.
17747 (struct La_ppc32_retval): Likewise.
17748 (struct La_ppc64_regs): Likewise.
17749 (struct La_ppc64_retval): Likewise.
17750 (struct La_sh_regs): Likewise.
17751 (struct La_sh_retval): Likewise.
17752 (struct La_s390_32_regs): Likewise.
17753 (struct La_s390_32_retval): Likewise.
17754 (struct La_s390_64_regs): Likewise.
17755 (struct La_s390_64_retval): Likewise.
17756 (struct La_sparc32_regs): Likewise.
17757 (struct La_sparc32_retval): Likewise.
17758 (struct La_sparc64_regs): Likewise.
17759 (struct La_sparc64_retval): Likewise.
17760 (struct audit_ifaces): Remove architecture-specific pltenter and
17761 pltexit members.
17762 * sysdeps/i386/ldsodefs.h: New file.
17763 * sysdeps/powerpc/ldsodefs.h: Likewise.
17764 * sysdeps/s390/ldsodefs.h: Likewise.
17765 * sysdeps/sh/ldsodefs.h: Likewise.
17766 * sysdeps/sparc/ldsodefs.h: Likewise.
17767 * sysdeps/x86_64/ldsodefs.h: Likewise.
17768
354691b7
MP
177692012-07-25 Marek Polacek <polacek@redhat.com>
17770
17771 [BZ #6808]
17772 * math/libm-test.inc (yn_test): Add another test.
17773 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17774 to ERANGE when the result is +-Inf.
17775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17776 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17777 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17778 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17779
bf9e2071
JM
177802012-07-24 Joseph Myers <joseph@codesourcery.com>
17781
17782 * conform/data/time.h-data (NULL): Use macro-constant. Require
17783 equal to 0.
17784 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17785 clock_t.
17786 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17787
57633811
TS
177882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17789
17790 * configure.in <sysdeps resolving>: Correct printing
17791 Implies_before.
17792 * configure: Regenerate.
17793
c23c33b0
TS
177942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17795
17796 * math/w_ilogb.c: Include <limits.h>.
17797 * math/w_ilogbl.c: Likewise.
17798
b5982523
JM
177992012-07-20 Joseph Myers <joseph@codesourcery.com>
17800
17801 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17802 va_copy. Document allowing for unavailable va_copy only as
17803 pre-C99 compatibility.
17804 * manual/string.texi (Copying and Concatenation): Use va_copy
17805 instead of __va_copy in concat example.
17806
ac4ea442
PT
178072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17808
17809 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17810 (__sendto): Use create_address_port. Initialize APORT and deallocate
17811 it if not null.
17812
f98eafbd
PT
17813 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17814 with O_NOLINK passed to __file_name_lookup.
17815
898c7aab
PT
17816 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17817 with O_NOLINK passed to __file_name_lookup.
17818
0ced335a
PT
17819 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17820 negative N or less than NGIDS.
17821
b3404dbd
PT
17822 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17823 type to string_t. Set ERANGE as errno and return it if NAME is not big
17824 enough. Use memcpy instead of strncpy.
17825
0f48659e
JM
178262012-07-20 Joseph Myers <joseph@codesourcery.com>
17827
17828 * elf/Makefile (check-data): Remove.
17829 (localplt.data): New vpath directive.
17830 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17831 instead of $(check-data).
17832 * scripts/data/localplt-generic.data: Move to ...
17833 * sysdeps/generic/localplt.data: ... here.
17834 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17835 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17836 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17838 ... here.
17839 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17841 ... here.
17842 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17844 ... here.
17845 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17846 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17847 ... here.
17848 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17849 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17850 ... here.
17851 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17853 ... here.
17854
d37cbdaa
AZ
178552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17856
17857 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17858 PPC32 and PPC64 files.
17859 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17860 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17861
46f85fc2
AK
178622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17863
17864 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17865 __makecontext_ret to ...
17866 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17867 ... here and call exit if uc_link is NULL. New file.
17868 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17869 __makecontext_ret.S.
17870 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17871 __makecontext_ret to ...
17872 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17873 ... here and call exit if uc_link is NULL. New file.
17874 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17875 __makecontext_ret.S.
17876
08f43f9b
AK
178772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17878
17879 * elf/elf.h (R_390_IRELATIVE): New definition.
17880 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17881 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17882 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17883 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17884 (elf_machine_lazy_rel): Likewise.
17885 * sysdeps/s390/dl-irel.h: New file.
17886 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17887 * sysdeps/s390/s390-64/memset.S: New asm code.
17888 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17889 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17890 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17891 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17892 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17893 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17894 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17895 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17896 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17897 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17898 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17899 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17900 * sysdeps/s390/s390-32/memset.S: New asm code.
17901 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17902
3b05db33
MP
179032012-07-17 Marek Polacek <polacek@redhat.com>
17904
17905 [BZ #14349]
17906 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17907 * sysdeps/s390/s390-64/configure.in: Likewise.
17908 * sysdeps/sparc/configure.in: Likewise.
17909 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17910 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17911 * sysdeps/i386/configure.in: Likewise.
17912 * sysdeps/x86_64/configure.in: Likewise.
17913 * sysdeps/sh/configure.in: Likewise.
17914 * sysdeps/s390/s390-32/configure: Regenerated.
17915 * sysdeps/s390/s390-64/configure: Likewise.
17916 * sysdeps/x86_64/configure: Likewise.
17917 * sysdeps/sh/configure: Likewise.
17918 * sysdeps/powerpc/powerpc64/configure: Likewise.
17919 * sysdeps/powerpc/powerpc32/configure: Likewise.
17920 * sysdeps/sparc/configure: Likwise.
17921 * sysdeps/i386/configure: Likewise.
17922
a66877c6
MP
17923 * elf/dl-open.c: Comment fixes.
17924
cfc82fd8
JM
179252012-07-17 Joseph Myers <joseph@codesourcery.com>
17926
bd29910a
JM
17927 * Makefile [CXX] (check-data): Remove.
17928 [CXX] (c++-types.data): New vpath directive.
17929 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17930 vpath. Do not allow for C++ type data being missing.
17931 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17932 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17933 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17934 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17935 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17936 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17937 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17939 ... here.
17940 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17942 ... here.
17943 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17945 ... here.
17946 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17948 ... here.
17949 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17951 ... here.
17952 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17953 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17954 ... here.
17955 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17957 ... here.
17958 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17959 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17960
cfc82fd8
JM
17961 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17962 definitions to architecture-specific files.
17963 (TLS_IE): Likewise.
17964 (TLS_LD): Likewise.
17965 (TLS_GD): Likewise.
17966 * sysdeps/i386/tls-macros.h: New file.
17967 * sysdeps/powerpc/tls-macros.h: Likewise.
17968 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17969 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17970 * sysdeps/sh/tls-macros.h: Likewise.
17971 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17972 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17973 * sysdeps/x86_64/tls-macros.h: Likewise.
17974
f7db3170
TS
179752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17976
07cbfc23
TS
17977 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17978 zero value for regular exit case.
17979
f7db3170
TS
17980 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17981 (__start_context): Preserve zero value for regular exit case.
17982
dc97c227
TS
179832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17984 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17985
17986 * manual/setjmp.texi (setcontext): Clarify normal process
17987 termination when uc_link is the null pointer.
17988 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17989 exit call.
17990
d0cd7d02
AS
179912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17992
17993 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17994 preprocessor. Test for each exception mask separately.
17995
dd318934
AJ
179962012-07-16 Andreas Jaeger <aj@suse.de>
17997
17998 * po/ru.po: Update from translation team.
17999
8048311a
JM
180002012-07-15 Joseph Myers <joseph@codesourcery.com>
18001
18002 * conform/data/string.h-data (NULL): Use macro-constant. Require
18003 equal to 0.
18004 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
18005 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
18006 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
18007 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
18008 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18009
b637d46e
AJ
180102012-07-13 Andreas Jaeger <aj@suse.de>
18011
18012 * po/fr.po: Update from translation team.
18013
541428fe
MP
180142012-07-12 Marek Polacek <polacek@redhat.com>
18015
18016 [BZ #14173]
18017 * math/libm-test.inc (yn_test): Add test for BZ #14173.
18018 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
18019 loop condition.
18020
ec332e94
JM
180212012-07-12 Joseph Myers <joseph@codesourcery.com>
18022
18023 [BZ #13717]
18024 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18025 Change to 2.4.1 where previously 2.4.0.
18026 * sysdeps/unix/sysv/linux/configure: Regenerated.
18027 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
18028 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
18029 version.
18030 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
18031 (__ASSUME_AT_CLKTCK): Remove.
18032 (__ASSUME_AT_PAGESIZE): Likewise.
18033 (__ASSUME_AT_XID): Likewise.
18034 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
18035 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
18036 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
18037 unconditionally.
18038 (HAVE_AUX_PAGESIZE): Likewise.
18039 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
18040 [__ASSUME_AT_CLKTCK]: Make code unconditional.
18041 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
18042
7b6e99be
JB
180432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
18044
18045 [BZ #14307]
18046 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
18047 the temporary buffer used to invoke __gethostbyname2_r,
18048 __gethostbyaddr_r and gethostbyname4_r to make room for struct
18049 host_data / struct gaih_addrtuple.
18050 * resolv/nss_dns/dns-host.c (global scope): Move definition of
18051 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
18052 header file nss/nsswitch.h.
18053 * nss/nsswitch.h (global scope): Add definition of implementation
18054 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
18055 resolv/nss_dns/dns-host.c).
18056
608404eb
AJ
180572012-07-11 Andreas Jaeger <aj@suse.de>
18058
18059 * po/fr.po: Update from translation team.
18060
71220aca
AJ
18061 * po/sv.po: Update from translation team
18062 * po/fr.po: Another update from translation team.
18063
28cfe843
AZ
180642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18065
18066 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
18067 for subnormals or multiply small sinh result by itself.
18068 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18069 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18070
6b90f981
DM
180712012-07-11 David S. Miller <davem@davemloft.net>
18072
18073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18074
c6825772
AS
180752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
18076
18077 [BZ #14347]
18078 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
18079 (INTERNAL_MARK): Shift it here.
18080
7b8e0d49
MP
180812012-07-10 Marek Polacek <polacek@redhat.com>
18082
18083 [BZ #14151]
18084 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
18085 libc_cv_asm_global_directive with .globl.
18086 * configure: Regenerated.
18087 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
18088 with .globl.
18089 * sysdeps/i386/configure: Regenerated.
18090 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
18091 with .globl.
18092 * sysdeps/x86_64/configure: Regenerated.
18093 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
18094 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
18095 * elf/tst-unique2mod2.c: Likewise.
18096 * elf/tst-unique2mod1.c: Likewise.
18097 * elf/tst-unique1mod2.c: Likewise.
18098 * elf/tst-unique1mod1.c: Likewise.
18099 * sysdeps/s390/s390-32/sysdep.h: Likewise.
18100 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18101 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18102 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18103 * sysdeps/mach/sysdep.h: Likewise.
18104 * sysdeps/i386/sysdep.h: Likewise.
18105 * sysdeps/i386/i386-mcount.S: Likewise.
18106 * sysdeps/x86_64/_mcount.S: Likewise.
18107 * sysdeps/x86_64/sysdep.h: Likewise.
18108 * sysdeps/sh/_mcount.S: Likewise.
18109 * sysdeps/sh/sysdep.h: Likewise.
18110 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
18111 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
18112 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
18113 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
18114 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
18115 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
18116 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
18117 * locale/localeinfo.h: Likewise.
18118 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
18119 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
18120
6c55cda3
RM
181212012-07-09 Roland McGrath <roland@hack.frob.com>
18122
18123 [BZ #14336]
18124 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
18125 system".
18126 * manual/message.texi (The Uniforum approach): Likewise.
18127 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
18128 (glibc iconv Implementation): Likewise.
18129
638a572e
JM
181302012-07-09 Joseph Myers <joseph@codesourcery.com>
18131
18132 [BZ #14337]
18133 * math/s_clog.c (__clog): Avoid scaling a value down where that
18134 could result in underflow.
18135 * math/s_clog10.c (__clog10): Likewise.
18136 * math/s_clog10f.c (__clog10f): Likewise.
18137 * math/s_clog10l.c (__clog10l): Likewise.
18138 * math/s_clogf.c (__clogf): Likewise.
18139 * math/s_clogl.c (__clogl): Likewise.
18140 * math/libm-test.inc (clog_test): Add more tests.
18141 (clog10_test): Likewise.
18142 * sysdeps/i386/fpu/libm-test-ulps: Update.
18143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18144
261f4859
AS
181452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
18146
0abaf3e4
AS
18147 [BZ #14283]
18148 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
18149 by 7 not 8 to examine high bit of fractional part.
18150
261f4859
AS
18151 [BZ #14042]
18152 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
18153 for call to __mcount_internal.
18154 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
18155 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
18156 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
18157
f17ac40d
JM
181582012-07-06 Joseph Myers <joseph@codesourcery.com>
18159
9ad63c23
JM
18160 [BZ #14154]
18161 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
18162 approximation for values within 0x1p-13f of an odd multiple of
18163 pi/4.
18164 * math/libm-test.inc (tan_test): Do not allow spurious underflow
18165 exception. Add more tests.
18166 * sysdeps/i386/fpu/libm-test-ulps: Update.
18167
f17ac40d
JM
18168 [BZ #6778]
18169 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
18170 inputs and return -1 for them. Do not check for +Inf in case not
18171 reachable for +Inf.
18172 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18173 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
18174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18175 and return -1 for them. Do not check for +Inf in case not
18176 reachable for +Inf.
18177 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
18178 define.
18179 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
18180 and return -1 for them. Do not check for +Inf in case not
18181 reachable for +Inf.
18182 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
18183 spurious underflow.
18184 * sysdeps/i386/fpu/libm-test-ulps: Update.
18185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18186
fb21f89b
MF
181872012-07-06 Mike Frysinger <vapier@gentoo.org>
18188
18189 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
18190
cdfe2c5e
JM
181912012-07-05 Joseph Myers <joseph@codesourcery.com>
18192
18193 [BZ #14157]
18194 [BZ #14331]
18195 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
18196 could result in spurious underflow. Scale down values above
18197 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
18198 * math/s_csqrtf.c (__csqrtf): Likewise.
18199 * math/s_csqrtl.c (__csqrtl): Likewise.
18200 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
18201 spurious underflow.
18202 * sysdeps/i386/fpu/libm-test-ulps: Update.
18203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18204
70d35b67
AS
182052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
18206
704bc459
AS
18207 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
18208 xopen-msg.sed.
18209 * catgets/xopen-msg.awk: New file.
18210 * catgets/xopen-msg.sed: Removed.
18211
70d35b67
AS
18212 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
18213 po2text.sed.
18214 * intl/po2test.awk: New file.
18215 * intl/po2test.sed: Removed.
18216
ca61cf32
JM
182172012-07-04 Joseph Myers <joseph@codesourcery.com>
18218
18219 [BZ #14328]
18220 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
18221 or multiply small sinh result by itself.
18222 * math/s_ctanf.c (__ctanf): Likewise.
18223 * math/s_ctanh.c (__ctanh): Likewise.
18224 * math/s_ctanhf.c (__ctanhf): Likewise.
18225 * math/s_ctanhl.c (__ctanhl): Likewise.
18226 * math/s_ctanl.c (__ctanl): Likewise.
18227 * math/libm-test.inc (ctan_test_tonearest): New function.
18228 (ctan_test_towardzero): Likewise.
18229 (ctan_test_downward): Likewise.
18230 (ctan_test_upward): Likewise.
18231 (ctanh_test_tonearest): Likewise.
18232 (ctanh_test_towardzero): Likewise.
18233 (ctanh_test_downward): Likewise.
18234 (ctanh_test_upward): Likewise.
18235 (main): Call these new functions.
18236 * sysdeps/i386/fpu/libm-test-ulps: Update.
18237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18238
ca48a46a
MF
182392012-07-03 Mike Frysinger <vapier@gentoo.org>
18240
18241 * .gitignore: Delete /ports entry.
18242
9d63d37d
AJ
182432012-07-03 Andreas Jaeger <aj@suse.de>
18244
18245 * po/bg.po: Update from translation team.
18246 * po/cs.po: Likewise.
18247 * po/de.po: Likewise.
18248 * po/hr.po: Likewise.
18249 * po/nl.pl: Likewise.
18250 * po/pl.po: Likewise.
18251 * po/vi.po: Likewise.
18252
370ca3d2
JM
182532012-07-03 Joseph Myers <joseph@codesourcery.com>
18254
95f5a9a8
JM
18255 * Makeconfig [!+link] (+link-before-libc): New variable.
18256 [!+link] (+link-after-libc): Likewise.
18257 [!+link] (+link-tests): Likewise.
18258 [!+link] (+link): Define in terms of $(+link-before-libc) and
18259 $(+link-after-libc).
18260 [!+link-static] (+link-static-before-libc): New variable.
18261 [!+link-static] (+link-static-after-libc): Likewise.
18262 [!+link-static] (+link-static-tests): Likewise.
18263 [!+link-static] (+link-static): Define in terms of
18264 $(+link-static-before-libc) and $(+link-static-after-libc).
18265 [build-shared] (link-libc-before-gnulib): New variable.
18266 [build-shared] (link-libc-tests): Likewise.
18267 [build-shared] (link-libc): Define in terms of
18268 $(link-libc-before-gnulib).
18269 [!build-shared] (link-libc-tests): New variable.
18270 (link-libc-static-tests): New variable.
18271 [!gnulib] (gnulib-arch): New variable.
18272 [!gnulib] (gnulib-tests): Likewise.
18273 [!gnulib] (static-gnulib-arch): Likewise.
18274 [!gnulib] (static-gnulib-tests): Likewise.
18275 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
18276 Define with "=" instead of ":=".
18277 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
18278 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
18279 * Rules (binaries-all-notests): New variable.
18280 (binaries-all-tests): Likewise.
18281 (binaries-static-notests): Likewise.
18282 (binaries-static-tests): Likewise.
18283 (binaries-all): Define using $(binaries-all-notests) and
18284 $(binaries-all-tests).
18285 (binaries-static): Define using $(binaries-static-notests) and
18286 $(binaries-static-tests).
18287 (binaries-shared-tests): New variable.
18288 (binaries-shared-notests): Likewise.
18289 (binaries-shared): Remove variable.
18290 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18291 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18292 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18293 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18294 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18295 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18296 * elf/Makefile (sln-modules): New variable.
18297 (extra-objs): Add $(sln-modules:=.o).
18298 (ldconfig-modules): Add static-stubs.
18299 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18300 * elf/static-stubs.c: New file.
18301
7a845b2c
JM
18302 [BZ #14283]
18303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18304 by 7 not 8 to examine high bit of fractional part. Use volatile
18305 variables when splitting into final array of floats if
18306 __FLT_EVAL_METHOD__ != 0.
18307 * math/libm-test.inc (cos_test): Add another test.
18308 (sin_test): Likewise.
18309 * sysdeps/i386/fpu/libm-test-ulps: Update.
18310
e2283f38
JM
18311 [BZ #14273]
18312 * math/libm-test.inc (cosh_test): Add more tests.
18313
370ca3d2
JM
18314 * version.h (RELEASE): Set to "development".
18315 (VERSION): Set to "2.16.90".
18316
ee9247c3
CD
183172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18318
18319 * NEWS: Update copyright. Remove last-updated date.
18320 Mention math library bug fixes and timezone data changes.
18321 * README: Mention GNU/Hurd, x32, and HPPA support status.
18322
4648c381
TS
183232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18324
18325 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18326
aac78a43
AJ
183272012-06-27 Andreas Jaeger <aj@suse.de>
18328
18329 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18330
ed3dbfad
AJ
183312012-06-25 Andreas Jaeger <aj@suse.de>
18332
18333 * sysdeps/s390/fpu/libm-test-ulps: Update.
18334
4d0ee855
AS
183352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18336 Thomas Schwinge <thomas@codesourcery.com>
18337
18338 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18339 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18340 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18341 fanotify_mark.
18342
af1bce34
TS
183432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18344
a9fa33ba
TS
18345 * sysdeps/mach/start.c: Remove file.
18346 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18347 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18348 * sysdeps/sh/init-first.c: Likewise.
18349
58f902b8
TS
18350 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18351 registers for frame unwinding purposes, add CFI directives.
18352 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18353 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18354 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18355 Likewise.
18356
1518f58b
TS
18357 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18358 __fortify_fail returning.
18359 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18360
db9b5059
TS
18361 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18362 sysdeps/sh/____longjmp_chk.S.
18363 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18364 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18365 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18366 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18367
967705fe
TS
18368 * sysdeps/sh/abort-instr.h: New file.
18369 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18370 process in case exit returns.
18371
a9def8c4
TS
18372 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18373 initialize the GOT register before use.
18374
2a649725
TS
18375 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18376 calculation of ARGC > 4.
18377
af1bce34
TS
18378 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18379 meaningful names to some local labels.
18380
d230f50a
KK
183812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18382 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18383
18384 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18385 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18386 (__arch_compare_and_exchange_val_16_acq): Likewise.
18387 (__arch_compare_and_exchange_val_32_acq): Likewise.
18388 (atomic_exchange_and_add): Fix gUSA sequence.
18389 (atomic_add): Likewise.
18390 (atomic_add_negative): Likewise.
18391 (atomic_add_zero): Likewise.
18392 (atomic_bit_test_set): Likewise.
18393
0479b305
AS
183942012-06-22 Andreas Schwab <schwab@redhat.com>
18395
18396 [BZ #13579]
18397 * include/link.h (struct link_map): Add l_free_initfini.
18398 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18399 l_initfini.
18400 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18401 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18402 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18403 set.
18404
0e3933b9
CD
184052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18406
18407 * configure.in: Use AC_LANG_SOURCE.
18408 * configure: Regenerate.
18409
4248b1b1
RM
184102012-06-22 Roland McGrath <roland@hack.frob.com>
18411
18412 * configure.in (libc_cv_localstatedir): New substituted variable.
18413 * configure: Regenerated.
18414 * config.make.in (localstatedir): New variable, substituted from
18415 libc_cv_localstatedir.
18416 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18417 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18418 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18419 * sysdeps/gnu/configure: Regenerated.
18420
006dd861
JL
184212012-06-21 Jeff Law <law@redhat.com>
18422
18423 [BZ #14277]
18424 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18425 free. Simplify list management for _LIBC case.
18426
79662d42
JM
184272012-06-21 Joseph Myers <joseph@codesourcery.com>
18428
b7abb4bf
JM
18429 [BZ #14273]
18430 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18431 Clear sign bit of 64-bit integer value before comparing against
18432 overflow value.
18433
79662d42
JM
18434 * sysdeps/mach/configure: Regenerated.
18435
1f150908
L
184362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18437
18438 [BZ #14278]
18439 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18440
28363bbf
JL
184412012-06-21 Jeff Law <law@redhat.com>
18442
18443 [BZ #13882]
18444 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18445 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18446 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18447 * elf/dl-open.c (dl_open_worker): Likewise.
18448
09615db4
CD
184492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18450
18451 * scripts/list-sources.sh: Scan PORTS for translations.
18452 * po/libc.pot: Regenerated.
18453
2174c6dd
AJ
184542012-06-21 Andreas Jaeger <aj@suse.de>
18455
18456 [BZ #12194]
18457 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18458 warning.
18459 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18460 * bits/byteswap-16.h (__bswap_16): Likewise.
18461 * bits/byteswap.h (__bswap_constant_16): Likewise.
18462
3ee947b1
L
184632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18464
18465 [BZ #14117]
a2f34833
L
18466 * sysdeps/i386/fpu_control.h: Removed.
18467 * sysdeps/x86_64/fpu_control.h: Moved to ...
18468 * sysdeps/x86/fpu_control.h: Here.
18469
3ee947b1
L
18470 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18471 (_FPU_SETCW): Likewise.
18472
ed1825f8
L
184732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18474
25f1282a
L
18475 [BZ #14117]
18476 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18477 * sysdeps/x86/fpu/bits/mathinline.h: This.
18478 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18479
ed1825f8
L
18480 [BZ #14050]
18481 [BZ #14117]
18482 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18483 functions if __x86_64__ is defined.
18484
36d54b74
CLT
184852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18486
18487 * string/endian.h: Add !__ASSEMBLER__ condition for including
18488 conversion interfaces.
18489
10285c21
JM
184902012-06-15 Joseph Myers <joseph@codesourcery.com>
18491
18492 [BZ #14241]
18493 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18494 of ABS(x) in calculating zero to negative powers other than odd
18495 integers.
18496 * math/libm-test.inc (pow_test): Add more tests.
18497
06c5abbd
AJ
184982012-06-15 Andreas Jaeger <aj@suse.de>
18499
18500 * manual/contrib.texi (Contributors): Update entry of Liubov
18501 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18502 Machado Filho.
18503
a3aeac40
CH
185042012-06-15 Cyril Hrubis <metan@ucw.cz>
18505
18506 * string/string.h: Add __wur to GNU version of strerror_r.
18507
49bdf4c1
L
185082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18509
18510 [BZ #14229]
18511 * string/Makefile (tests): Add tst-strtok_r.
18512 * string/tst-strtok_r.c: New file.
18513 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18514 RAX_LP/RDX_LP on SAVE_PTR.
18515
834f9b8d
RM
185162012-06-14 Roland McGrath <roland@hack.frob.com>
18517
18518 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18519
75fa1921
JM
185202012-06-14 Joseph Myers <joseph@codesourcery.com>
18521
18522 * libm_test.inc (csqrt_test): Allow more spurious underflow
18523 exceptions.
18524 (j0_test): Likewise.
18525 (j1_test): Likewise.
18526 (y0_test): Likewise.
18527 (y1_test): Likewise.
18528
771766df
CD
185292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18530
18531 * po/Makefile (libc.pot): Use UTF-8 charset.
18532
ceb9e56b
PP
185332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18534
18535 [BZ #14210]
18536 Suppress sign-conversion warning from FD_SET.
18537 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18538 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18539 not unsigned long int.
18540 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18541
ddb28975
L
185422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18543
18544 [BZ #14050]
18545 [BZ #14117]
18546 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18547 __extern_always_inline instead of __extern_inline.
18548 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18549 (__signbit): Likewise.
18550 (__signbitl): Support C++ namespace.
18551 (lrintf): New inline function.
18552 (lrint): Likewise.
18553 (llrintf): Likewise.
18554 (llrint): Likewise.
18555 (fmaxf): Likewise.
18556 (fmax): Likewise.
18557 (fminf): Likewise.
18558 (fmin): Likewise.
18559 (rint): Likewise.
18560 (rintf): Likewise.
18561 (ceil): Likewise.
18562 (ceilf): Likewise.
18563 (floor): Likewise.
18564 (floorf): Likewise.
18565 (nearbyint): Likewise.
18566 (nearbyintf): Likewise.
18567
d7b4fb26
TS
185682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18569
18570 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18571 non-default versions.
18572
eb55f5c2
RM
185732012-06-11 Roland McGrath <roland@hack.frob.com>
18574
18575 [BZ #14218]
18576 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18577
366af02c
TS
185782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18579
99ff6e5c
TS
18580 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18581 (FE_UPWARD, FE_DOWNWARD): Don't define.
18582 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18583 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18584
366af02c
TS
18585 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18586 reading it.
18587 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18588 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18589
793ea851
KK
185902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18591
18592 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18594 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18595 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18596
a728a38f
L
185972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18598
18599 [BZ #14117]
c08010c7
L
18600 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18601 * sysdeps/i386/fpu/Implies: New file.
18602 * sysdeps/x86_64/fpu/Implies: Likewise.
18603 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18604 * sysdeps/x86/fpu/bits/fenv.h: This.
18605
a728a38f
L
18606 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18607 __SSE_MATH__.
18608
6e230d11
SP
186092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18610
18611 [BZ #14134]
18612 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18613 character 0xffff that matches the last element of the
18614 conversion table.
18615
1b671feb
AZ
186162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18617
18618 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18619 fmodl commit.
18620
6043738b
AZ
186212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18622
18623 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18624 values higher than 25.6283.
18625
34ae0b32
AZ
186262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18627
18628 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18629 subnormal exponent extraction and add some __builtin_expect.
18630 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18631 Fix for subnormal mantissa calculation.
18632
1214ec8f
MF
186332012-06-04 Mike Frysinger <vapier@gentoo.org>
18634
18635 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18636 cpu2 is -1 and errno is not ENOSYS.
18637
f3d1f93c
L
186382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18639
18640 [BZ #14117]
0e4a3cd7
L
18641 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18642 * sysdeps/x86/bits/string.h: This.
18643 * sysdeps/x86_64/bits/string.h: Removed.
18644
6704c645
L
18645 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18646 if not compiling for x86-64, but compiling for >= i486.
18647
48495318
L
18648 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18649 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18650
14adcbfc
L
18651 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18652 New macro from Linux kernel 3.4.0.
18653 (FP_XSTATE_MAGIC2): Likewise.
18654 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18655 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18656 (struct _fpx_sw_bytes): New struct.
18657 (struct _xsave_hdr): Likewise.
18658 (struct _ymmh_state): Likewise.
18659 (struct _xstate): Likewise.
18660
68e408ab
L
18661 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18662 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18664 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18665 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18666 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18667
f3d1f93c
L
18668 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18669 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18670 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18671 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18672 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18673 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18674
d9dc34cd
TMQMF
186752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18676
18677 [BZ #13743]
18678 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18679 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18680 (sysdep_headers): Include sys/platform/ppc.h.
18681 * sysdeps/powerpc/test-gettimebase.c: Test for
18682 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18683 * manual/Makefile (appendices): Include platform.texi.
18684 * manual/contrib.texi (Contributors): Update @node pointers.
18685 * manual/maint.texi (Maintenance): Likewise.
18686 (Platform): New node.
18687 * manual/platform.texi: New file. Document the new features.
18688
4af3879c
SP
186892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18690 Jakub Jelinek <jakub@redhat.com>
18691
18692 [BZ #14188]
18693 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18694 where __builtin_expect is unavailable.
18695
2fd6ff13
DM
186962012-06-03 David S. Miller <davem@davemloft.net>
18697
18698 * stdlib/longlong.h: Updated from GCC.
18699
173f7220
AS
187002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18701
18702 [BZ #14042]
18703 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18704 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18705 __mcount_internal.
18706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18707 (GLIBC_2.16): Likewise.
18708
f34a1c6f
L
187092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18710
18711 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18712
88a4576f
JM
187132012-06-01 Joseph Myers <joseph@codesourcery.com>
18714
ea32bcdd
JM
18715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18716 (default-abi): New variable.
18717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18718 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18719 variable.
18720 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18721 Likewise.
18722 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18723 Likewise.
18724 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18725 Likewise.
18726
88a4576f
JM
18727 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18728 definition. Document in comment.
18729
402fe938
DM
187302012-06-01 David S. Miller <davem@davemloft.net>
18731
18732 * stdlib/longlong.h: Updated from GCC.
18733
3553723f
L
187342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 [BZ #14117]
3bd872c4
L
18737 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18738 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18739 sys/debugreg.h sys/io.h here.
18740 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18741 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18742 sys/io.h.
18743 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18744 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18745 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18746 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18747 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18748 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18749
3553723f
L
18750 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18751 Define only if __x86_64__ is defined.
18752
4842e4fe
JM
187532012-06-01 Joseph Myers <joseph@codesourcery.com>
18754
c5bfe3d5
JM
18755 [BZ #14048]
18756 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18757 Use int64_t for variable i.
18758 * math/libm-test.inc (fmod_test): Add more tests.
18759
4842e4fe
JM
18760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18761 z computation is not scheduled after fetestexcept.
18762 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18763 Use math_force_eval instead of asm to ensure calculation scheduled
18764 before exception test.
18765 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18766 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18767
efb73488
AJ
187682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18769
18770 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18771 computation is not scheduled after fetestexcept.
18772
29bcce7c
L
187732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18774
18775 [BZ #14117]
18776 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18777 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18778
73a68f94
AZ
187792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18780
18781 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18782 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18783
67b6df78
L
187842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18785
edf2933a 18786 [BZ #14117]
ebc64a18
L
18787 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18788 <bits/wordsize.h>.
18789 (__WCHAR_MIN): Support __WORDSIZE == 64.
18790 (__WCHAR_MAX): Likewise.
18791
edf2933a
L
18792 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18793 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18794
57c6cf40
L
18795 [BZ #14183]
18796 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18797 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18798
67b6df78 18799 [BZ #14117]
8eb6281e
L
18800 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18801 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18802
aac639f4
L
18803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18804 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18805
67b6df78
L
18806 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18807 Defined to 1 if __x86_64__ isn't defined.
18808 (_STAT_VER_LINUX_OLD): New.
18809 (st_atime): Remove duplicate.
18810 (st_mtime): Likewise.
18811 (st_ctime): Likewise.
18812
1c2cfe81
DM
188132012-05-31 David S. Miller <davem@davemloft.net>
18814
18815 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18816 entries.
18817
5be8418c
AS
188182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18819
e7725326
AS
18820 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18821 gen-libm-test.pl.
18822
5be8418c
AS
18823 [BZ #14132]
18824 * elf/dl-reloc.c: Include <_itoa.h>.
18825 (_dl_reloc_bad_type): Remove use of INTUSE.
18826 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18827 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18828 * stdio-common/psiginfo.c (psiginfo): Likewise.
18829 * stdio-common/psignal.c (psignal): Likewise.
18830 * string/strsignal.c (strsignal): Likewise.
18831 * include/signal.h (_sys_siglist): Declare hidden proto.
18832 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18833 INTVARDEF with libc_hidden_data_def.
18834 * stdio-common/itoa-udigits.c: Likewise.
18835 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18836 (_itoa_lower_digits_internal): Remove declaration.
18837 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18838 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18839 (_sys_sigabbrev_internal): Remove aliases.
18840 (_sys_siglist): Define hidden alias.
18841
507352f1
MT
188422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18843
18844 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18845 bits/sysctl.h.
18846
42bbb1c3
L
188472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18848
18849 [BZ #14117]
6bd784b6
L
18850 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18851 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18852
8bca20f0
L
18853 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18854 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18855 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18856 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18857 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18858 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18859
f9e890a9
L
18860 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18861 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18862 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18863
471101a1
L
18864 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18865 with __addr.
18866 (insw): Likewise.
18867 (insl): Likewise.
18868 (outsb): Likewise.
18869 (outsw): Likewise.
18870 (outsl): Likewise.
18871
6451c862
L
18872 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18873 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18874 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18875
a254b8c9
L
18876 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18877 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18878 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18879 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18880 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18881 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18882
b8dfdd92
L
18883 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18884 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18885
578cd270
L
18886 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18887 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18888
de662f5f
L
18889 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18890 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18891 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18892
25653439
L
18893 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18894 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18895 to ...
18896 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18897
6bad24a0
L
18898 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18899 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18900 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18901
42bbb1c3
L
18902 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18903 for x86-64.
18904 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18905
2d10d547
JM
189062012-05-31 Joseph Myers <joseph@codesourcery.com>
18907
18908 * math/math.h (M_El): Use two more decimal places.
18909 (M_LOG2El): Likewise.
18910 (M_LOG10El): Likewise.
18911 (M_LN2l): Likewise.
18912 (M_LN10l): Likewise.
18913 (M_PIl): Likewise.
18914 (M_PI_2l): Likewise.
18915 (M_PI_4l): Likewise.
18916 (M_1_PIl): Likewise.
18917 (M_2_PIl): Likewise.
18918 (M_2_SQRTPIl): Likewise.
18919 (M_SQRT2l): Likewise.
18920 (M_SQRT1_2l): Likewise.
18921
f230c29b
DM
189222012-05-31 David S. Miller <davem@davemloft.net>
18923
18924 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18925 values between float registers.
18926 * sysdeps/sparc/sparc64/memset.S: Likewise.
18927 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18928
fed806c3
MF
189292012-05-31 Mike Frysinger <vapier@gentoo.org>
18930
18931 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18932 -D_FORTIFY_SOURCE=1.
18933 (CPPFLAGS-tst-longjmp_chk.c): Define.
18934 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18935 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18936 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18937 CFLAGS-tst-wchar-h.c.
18938
30917259
MP
189392012-05-31 Marek Polacek <polacek@redhat.com>
18940
18941 [BZ #14132]
18942 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18943 __endmntent_internal): Remove declaration.
18944 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18945 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18946 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18947
1c58d5dc
DM
189482012-05-30 David S. Miller <davem@davemloft.net>
18949
18950 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18951 (___Q_simulate_exceptions): Use real FP ops rather than writing
18952 into the %fsr.
18953 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18954 Likewise.
18955
7dc00e0d
L
189562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18957
18958 [BZ #14117]
0bd53985
L
18959 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18960 * sysdeps/x86/bits/xtitypes.h: This.
18961
3a257e66
L
18962 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18963 * sysdeps/x86/bits/wordsize.h: This.
18964
62f62904
L
18965 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18966 * sysdeps/x86/bits/huge_vall.h: This.
18967
404fe9d9
L
18968 * sysdeps/i386/bits/select.h: Removed.
18969 * sysdeps/x86_64/bits/select.h: Renamed to ...
18970 * sysdeps/x86/bits/select.h: This.
18971
d48d0446
L
18972 * sysdeps/i386/bits/setjmp.h: Removed.
18973 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18974 * sysdeps/x86/bits/setjmp.h: This.
18975
7dc00e0d
L
18976 * sysdeps/i386/bits/mathdef.h: Removed.
18977 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18978 * sysdeps/x86/bits/mathdef.h: This.
18979
03277f8f
AS
189802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18981
18982 [BZ #14132]
18983 * include/sys/socket.h (__connect_internal)
18984 (__libc_sa_len_internal): Remove declaration.
18985 (__connect, __libc_sa_len): Declare hidden_proto.
18986 (SA_LEN): Remove use of INTUSE.
18987 * socket/connect.c: Add libc_hidden_def.
18988 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18989 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18990 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18991 alias.
18992 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18993 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18994 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18995 of adding _internal alias.
18996
13764867
L
189972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18998
18999 [BZ #14117]
6bd97696
L
19000 * sysdeps/i386/bits/link.h: Removed.
19001 * sysdeps/i386/bits/linkmap.h: Likewise.
19002 * sysdeps/x86_64/bits/link.h: Renamed to ...
19003 * sysdeps/x86/bits/link.h: This.
19004 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
19005 * sysdeps/x86/bits/linkmap.h: This.
19006
f726f0bb
L
19007 * sysdeps/i386/bits/endian.h: Removed.
19008 * sysdeps/x86_64/bits/endian.h: Renamed to ...
19009 * sysdeps/x86/bits/endian.h: This.
19010
13764867
L
19011 * sysdeps/i386/bits/byteswap.h: Removed.
19012 * sysdeps/i386/bits/byteswap-16.h: Likewise.
19013 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
19014 * sysdeps/x86/bits/byteswap.h: This.
19015 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
19016 * sysdeps/x86/bits/byteswap-16.h: This.
19017 * sysdeps/i386/Implies: Add x86.
19018 * sysdeps/x86_64/Implies: Likewise.
19019
ae251b0b
DM
190202012-05-30 David S. Miller <davem@davemloft.net>
19021
19022 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
19023 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
19024 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19025 (FP_TRAPPING_EXCEPTIONS): Define.
19026 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19027 (FP_TRAPPING_EXCEPTIONS): Define.
19028 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
19029 subnormals only when inexact has been signalled or underflow
19030 exceptions are enabled.
19031 (_FP_PACK_CANONICAL): Likewise.
19032
d5c90867
L
190332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 [BZ #14183]
19036 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
19037 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
19038
63f1549e
RH
190392012-05-30 Richard Henderson <rth@twiddle.net>
19040
8d8f2279
RH
19041 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
19042 with #ifndef NOT_IN_libc.
19043
63f1549e
RH
19044 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
19045 marked to avoid plt entry.
19046
0ab0291b
L
190472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
19048
19049 [BZ #14112]
19050 * Makeconfig (default-abi): New macro.
19051 (abi-includes): Likewise.
19052 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
19053 $(abi-$(default-abi)-lib-soname) for soname if defined.
19054 ($(common-objpfx)gnu/lib-names.stmp): Generate from
19055 abi-variants.
19056 * Makefile (installed-stubs): Likewise.
19057 * include/stubs-biarch.h: Removed.
19058 * scripts/lib-names.awk: Only handle one library at a time.
19059 * scripts/soversions.awk: Remove WORDSIZE support.
19060 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
19061 entries.
19062 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
19063 Removed.
19064 (syscall-list-default-condition): Likewise.
19065 (syscall-list-default-condition): Likewise.
19066 (syscall-list-includes): Likewise.
19067 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
19068 syscall-list-* with abi-*. Handle undefined abi-variants.
19069 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
19070 * sysdeps/unix/sysv/linux/i386/Implies: New file.
19071 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
19072 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
19073 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
19074 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
19075 Removed.
19076 (syscall-list-32-options): Likewise.
19077 (syscall-list-32-condition): Likewise.
19078 (syscall-list-64-options): Likewise.
19079 (syscall-list-64-condition): Likewise.
19080 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
19081 macro.
19082 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
19083 Renamed to ...
19084 (abi-*): This.
19085 (abi-64-ld-soname): New macro.
19086 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
19087 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
19088 Renamed to ...
19089 (abi-*): This.
19090 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
19091 * sysdeps/x86_64/x32/shlib-versions: Likewise.
19092
4da0431d
JM
190932012-05-30 Joseph Myers <joseph@codesourcery.com>
19094
3a85279c
JM
19095 * sysdeps/unix/sysv/linux/kernel-features.h
19096 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
19097 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
19098 include <kernel-features.h>.
19099 [!__NR_ftruncate64]: Remove conditional code.
19100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19101 [__NR_ftruncate64]: Make code unconditional.
19102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19103 * sysdeps/unix/sysv/linux/truncate64.c: Do not
19104 include <kernel-features.h>.
19105 [!__NR_ftruncate64]: Remove conditional code.
19106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19107 [__NR_ftruncate64]: Make code unconditional.
19108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
19110 include <kernel-features.h>.
19111 [!__NR_ftruncate64]: Remove conditional code.
19112 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19113 [__NR_ftruncate64]: Make code unconditional.
19114 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
19116 include <kernel-features.h>.
19117 [!__NR_ftruncate64]: Remove conditional code.
19118 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19119 [__NR_ftruncate64]: Make code unconditional.
19120 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
19121
4da0431d
JM
19122 * configure.in (libc_cv_fpie): Weaken to a compile test using
19123 LIBC_TRY_CC_OPTION.
19124 * configure: Regenerated.
19125
11ef492c
AK
191262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19127
19128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
19129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
19130 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19132 Refreshed.
19133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
19134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
19135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
19136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
19137 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
19138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19139 Refreshed.
19140
d66ef399
DM
191412012-05-27 David S. Miller <davem@davemloft.net>
19142
19143 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
19144 (___Q_zero): New.
19145 (__Q_simulate_exceptions): Return void. Change to simulate
19146 exceptions by writing into the %fsr.
19147 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
19148 (__Qp_handle_exceptions): Likewise.
19149 (numbers): Delete.
19150 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
19151 __Qp_handle_exceptions.
19152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
19153 __Qp_handle_exceptions.
19154 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19155 as unused and give dummy FP_RND_NEAREST initializer.
19156 (FP_INHIBIT_RESULTS): Define.
19157 (___Q_simulate_exceptions): Update declaration.
19158 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
19159 formatting.
19160 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
19161 as unused and give dummy FP_RND_NEAREST initializer.
19162 (__Qp_handle_exceptions): Update declaration.
19163 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
19164 formatting.
19165
04fb54b5
TS
191662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
19167
19168 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
19169 the temporary FPU control word.
19170 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
19171 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
19172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
19173 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19174 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19175 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
19176 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
19177 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19178 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
19179 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19180 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19181
3f99608f
KK
191822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19183
19184 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
19185 fields.
19186
65a4de4e
CLT
191872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
19188
19189 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
19190 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
19191 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
19192 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
19193 Likewise.
19194 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
19195 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
19196 Likewise.
19197
15749d40
UD
191982012-05-27 Ulrich Drepper <drepper@gmail.com>
19199
19200 * po/h.po: Update from translation team.
19201
25dbcb27
AS
192022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
19203
3d3f8e55
AS
19204 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
19205
25dbcb27
AS
19206 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
19207 handling of denormals.
19208 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19209 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19210 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
19211 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
19212 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19213 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
19214 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
19215 Likewise.
19216
7ad47a80 192172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
19218
19219 [BZ #14152]
19220 * math/libm-test.inc (fma_test): Don't always expect underflow
19221 exception.
19222
9c6ea9fa
SP
192232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19224
19225 [BZ #12416]
19226 * elf/tst-execstack.c: Include stackinfo.h.
19227 (do_test): Adjust test case to ensure that pthread_getattr_np
19228 behaviour remains the same after marking stack executable.
19229
a8239222
JM
192302012-05-25 Joseph Myers <joseph@codesourcery.com>
19231
19232 * sysdeps/unix/sysv/linux/kernel-features.h
19233 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
19234 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
19235 kernel-features.h.
19236 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19237 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19238 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
19239 kernel-features.h.
19240 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
19241 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
19242
918b5606
L
192432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
19244
19245 * configure.in: Define the default includes to being none.
19246 * configure: Regenerated.
19247
3a097cc7
RM
192482012-05-25 Roland McGrath <roland@hack.frob.com>
19249
8422c9a5
RM
19250 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
19251 * sysdeps/x86_64/setjmp.S: Likewise.
19252 * sysdeps/i386/bsd-setjmp.S: Likewise.
19253 * sysdeps/i386/bsd-_setjmp.S: Likewise.
19254 * sysdeps/i386/setjmp.S: Likewise.
19255 * sysdeps/i386/__longjmp.S: Likewise.
19256 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19257 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
19258
3a097cc7
RM
19259 * include/stap-probe.h: New file.
19260 * configure.in: Handle --enable-systemtap.
19261 * configure: Regenerated.
19262 * config.h.in (USE_STAP_PROBE): New #undef.
19263 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
19264 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
19265 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
19266
21708942
JM
192672012-05-25 Joseph Myers <joseph@codesourcery.com>
19268
19269 [BZ #13717]
19270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
19271 to 2.4.0 where earlier.
19272 * sysdeps/unix/sysv/linux/configure: Regenerated.
19273 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
19282 [__ASSUME_32BITUIDS]: Make code unconditional.
19283 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
19284 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19285 <kernel-features.h>.
19286 [__ASSUME_32BITUIDS]: Make code unconditional.
19287 [!__ASSUME_32BITUIDS]: Remove conditional code.
19288 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19289 <kernel-features.h>.
19290 [__ASSUME_32BITUIDS]: Make code unconditional.
19291 [!__ASSUME_32BITUIDS]: Remove conditional code.
19292 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19293 <kernel-features.h>.
19294 [__ASSUME_32BITUIDS]: Make code unconditional.
19295 [!__ASSUME_32BITUIDS]: Remove conditional code.
19296 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19297 <kernel-features.h>.
19298 [__ASSUME_32BITUIDS]: Make code unconditional.
19299 [!__ASSUME_32BITUIDS]: Remove conditional code.
19300 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19301 <kernel-features.h>.
19302 [__ASSUME_32BITUIDS]: Make code unconditional.
19303 [!__ASSUME_32BITUIDS]: Remove conditional code.
19304 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19305 <kernel-features.h>.
19306 [__ASSUME_32BITUIDS]: Make code unconditional.
19307 [!__ASSUME_32BITUIDS]: Remove conditional code.
19308 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19309 <kernel-features.h>.
19310 [__ASSUME_32BITUIDS]: Make code unconditional.
19311 [!__ASSUME_32BITUIDS]: Remove conditional code.
19312 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19313 <kernel-features.h>.
19314 [__ASSUME_32BITUIDS]: Make code unconditional.
19315 [!__ASSUME_32BITUIDS]: Remove conditional code.
19316 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19317 <kernel-features.h>.
19318 [__ASSUME_32BITUIDS]: Make code unconditional.
19319 [!__ASSUME_32BITUIDS]: Remove conditional code.
19320 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19321 <kernel-features.h>.
19322 [__ASSUME_32BITUIDS]: Make code unconditional.
19323 [!__ASSUME_32BITUIDS]: Remove conditional code.
19324 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19325 <kernel-features.h>.
19326 [__NR_setresgid] (__setresgid): Do not declare.
19327 [__ASSUME_32BITUIDS]: Make code unconditional.
19328 [!__ASSUME_32BITUIDS]: Remove conditional code.
19329 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19330 <kernel-features.h>.
19331 [__NR_setresuid] (__setresuid): Do not declare.
19332 [__ASSUME_32BITUIDS]: Make code unconditional.
19333 [!__ASSUME_32BITUIDS]: Remove conditional code.
19334 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19335 <kernel-features.h>.
19336 [__ASSUME_32BITUIDS]: Make code unconditional.
19337 [!__ASSUME_32BITUIDS]: Remove conditional code.
19338 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19339 <kernel-features.h>.
19340 [__ASSUME_32BITUIDS]: Make code unconditional.
19341 [!__ASSUME_32BITUIDS]: Remove conditional code.
19342 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19343 <kernel-features.h>.
19344 [__ASSUME_32BITUIDS]: Make code unconditional.
19345 [!__ASSUME_32BITUIDS]: Remove conditional code.
19346 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19347 <kernel-features.h>.
19348 [__ASSUME_32BITUIDS]: Make code unconditional.
19349 [!__ASSUME_32BITUIDS]: Remove conditional code.
19350 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19351 <kernel-features.h>.
19352 [__ASSUME_32BITUIDS]: Make code unconditional.
19353 [!__ASSUME_32BITUIDS]: Remove conditional code.
19354 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19355 <kernel-features.h>.
19356 [__ASSUME_32BITUIDS]: Make code unconditional.
19357 [!__ASSUME_32BITUIDS]: Remove conditional code.
19358 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19359 <kernel-features.h>.
19360 [__ASSUME_32BITUIDS]: Make code unconditional.
19361 [!__ASSUME_32BITUIDS]: Remove conditional code.
19362 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19363 <kernel-features.h>.
19364 [__ASSUME_32BITUIDS]: Make code unconditional.
19365 [!__ASSUME_32BITUIDS]: Remove conditional code.
19366 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19367 <kernel-features.h>.
19368 [__ASSUME_32BITUIDS]: Make code unconditional.
19369 [!__ASSUME_32BITUIDS]: Remove conditional code.
19370 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19371 <kernel-features.h>.
19372 [__ASSUME_32BITUIDS]: Make code unconditional.
19373 [!__ASSUME_32BITUIDS]: Remove conditional code.
19374 * sysdeps/unix/sysv/linux/kernel-features.h
19375 (__ASSUME_SETRESUID_SYSCALL): Remove.
19376 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19377 (__ASSUME_32BITUIDS): Likewise.
19378 (__ASSUME_LDT_WORKS): Likewise.
19379 (__ASSUME_O_DIRECTORY): Likewise.
19380 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19381 architecture but not kernel version.
19382 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19383 (__ASSUME_MMAP2_SYSCALL): Likewise.
19384 (__ASSUME_STAT64_SYSCALL): Likewise.
19385 (__ASSUME_IPC64): Likewise.
19386 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19387 <kernel-features.h>.
19388 [__ASSUME_32BITUIDS]: Make code unconditional.
19389 [!__ASSUME_32BITUIDS]: Remove conditional code.
19390 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19391 <kernel-features.h>.
19392 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19393 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19394 132096]: Remove conditional code.
19395 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19396 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19397 <kernel-features.h>.
19398 [__ASSUME_32BITUIDS]: Make code unconditional.
19399 [!__ASSUME_32BITUIDS]: Remove conditional code.
19400 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19401 <kernel-features.h>.
19402 [__ASSUME_32BITUIDS]: Make code unconditional.
19403 [!__ASSUME_32BITUIDS]: Remove conditional code.
19404 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19405 <kernel-features.h>.
19406 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19407 unconditional.
19408 (__setresgid): Do not declare.
19409 [__ASSUME_32BITUIDS]: Make code unconditional.
19410 [!__ASSUME_32BITUIDS]: Remove conditional code.
19411 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19412 <kernel-features.h>.
19413 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19414 unconditional.
19415 (__setresuid): Do not declare.
19416 [__ASSUME_32BITUIDS]: Make code unconditional.
19417 [!__ASSUME_32BITUIDS]: Remove conditional code.
19418 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19419 <kernel-features.h>.
19420 [__ASSUME_32BITUIDS]: Make code unconditional.
19421 [!__ASSUME_32BITUIDS]: Remove conditional code.
19422 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19423 <kernel-features.h>.
19424 [__ASSUME_32BITUIDS]: Make code unconditional.
19425 [!__ASSUME_32BITUIDS]: Remove conditional code.
19426
a386f1cc
RH
194272012-05-25 Richard Henderson <rth@twiddle.net>
19428
19429 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19430 dl_hwcap to ifunc resolver.
19431 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19432 elf_ifunc_invoke.
19433 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19434 dl_hwcap to ifunc resolver.
19435 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19436
b6550497
JM
194372012-05-24 Joseph Myers <joseph@codesourcery.com>
19438
19439 [BZ #14153]
19440 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19441 for |x| <= 2**-26, not 2**-57.
19442 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19443 exception.
19444
b0bc23a1
JL
194452012-05-24 Jeff Law <law@redhat.com>
19446
19447 * stdio-common/Makefile (tests): Add bug25.
19448 * stdio-common/bug25.c: New test.
19449
347c92e9
L
194502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19451
19452 [BZ #13576]
19453 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19454 multiple of MALLOC_ALIGNMENT in size.
19455 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19456
6bcc8b3f
JM
194572012-05-24 Joseph Myers <joseph@codesourcery.com>
19458
19459 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19460 Require >= 256.
19461 (FILENAME_MAX): Use macro-int-constant.
19462 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19463 (_IOFBF): Use macro-int-constant.
19464 (_IOLBF): Likewise.
19465 (_IONBF): Likewise.
19466 (SEEK_CUR): Likewise.
19467 (SEEK_END): Likewise.
19468 (SEEK_SET): Likewise.
19469 (TMP_MAX): Likewise.
19470 (EOF): Use macro-int-constant. Require < 0.
19471 (NULL): Use macro-constant. Require == 0.
19472 (stdin): Require type to be FILE *.
19473 (stdout): Likewise.
19474 (stderr): Likewise.
19475 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19476 macro-int-constant.
19477 (EXIT_SUCCESS): Likewise.
19478 (NULL): Use macro-constant. Require == 0.
19479 (RAND_MAX): Use macro-int-constant.
19480 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19481 [C99-based standards] (strtof): Require function.
19482 [C99-based standards] (strtold): Likewise.
19483 [C99-based standards] (strtoll): Likewise.
19484 [C99-based standards] (strtoull): Likewise.
19485 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19486 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19487 [ISO || ISO99 || ISO11] (math.h): Likewise.
19488 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19489 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19491
d18ea0c5
AS
194922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19493
19494 [BZ #14132]
56d25bb8
AS
19495 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19496 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19497 * intl/dgettext.c (DCGETTEXT): Likewise.
19498 * intl/gettext.c (DCGETTEXT): Likewise.
19499 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19500 * posix/regex_internal.h (gettext): Likewise.
19501 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19502 Remove declaration.
19503 * include/argz.h (__argz_count_internal)
19504 (__argz_stringify_internal): Remove declaration.
19505 (__argz_count, __argz_stringify): Declare hidden proto.
19506 * intl/dcgettext.c: Remove use of INTDEF.
19507 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19508 * string/argz-stringify.c: Likewise.
19509 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19510 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19511 Declare hidden proto.
d18ea0c5
AS
19512 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19513 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19514 Declare hidden proto.
19515 * include/stdio.h (__asprintf_internal): Don't declare.
19516 (__asprintf): Don't define as macro. Declare hidden proto.
19517 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19518 (__fsetlocking): Declare hidden proto.
19519 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19520 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19521 hidden proto.
19522 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19523 (_IO_setlinebuf): Remove use of INTUSE.
19524 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19525 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19526 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19527 Remove declaration.
19528 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19529 (_IO_do_flush): Remove use of INTUSE.
19530 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19531 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19532 (_IO_adjust_column, _IO_least_wmarker)
19533 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19534 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19535 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19536 (_IO_default_doallocate, _IO_wdefault_doallocate)
19537 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19538 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19539 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19540 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19541 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19542 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19543 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19544 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19545 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19546 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19547 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19548 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19549 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19550 proto.
19551 (_IO_flush_all_internal, _IO_adjust_column_internal)
19552 (_IO_default_uflow_internal, _IO_default_finish_internal)
19553 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19554 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19555 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19556 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19557 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19558 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19559 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19560 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19561 (_IO_file_close_internal, _IO_file_close_it_internal)
19562 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19563 (_IO_file_init_internal, _IO_file_attach_internal)
19564 (_IO_file_fopen_internal, _IO_file_read_internal)
19565 (_IO_file_sync_internal, _IO_file_seek_internal)
19566 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19567 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19568 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19569 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19570 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19571 (_IO_list_all_internal, _IO_link_in_internal)
19572 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19573 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19574 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19575 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19576 (_IO_do_write_internal, _IO_padn_internal)
19577 (_IO_getline_info_internal, _IO_getline_internal)
19578 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19579 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19580 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19581 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19582 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19583 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19584 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19585 with libc_hidden_ver, remove use of INTUSE.
19586 * libio/genops.c: Likewise.
19587 * libio/freopen.c: Likewise.
19588 * libio/freopen64.c: Likewise.
19589 * libio/iofclose.c: Likewise.
19590 * libio/iofdopen.c: Likewise.
19591 * libio/iofflush.c: Likewise.
19592 * libio/iofflush_u.c: Likewise.
19593 * libio/iofgets.c: Likewise.
19594 * libio/iofgets_u.c: Likewise.
19595 * libio/iofopen.c: Likewise.
19596 * libio/iofopncook.c: Likewise.
19597 * libio/iofread.c: Likewise.
19598 * libio/iofread_u.c: Likewise.
19599 * libio/ioftell.c: Likewise.
19600 * libio/iofwrite.c: Likewise.
19601 * libio/iogetline.c: Likewise.
19602 * libio/iogets.c: Likewise.
19603 * libio/iogetwline.c: Likewise.
19604 * libio/iopadn.c: Likewise.
19605 * libio/iopopen.c: Likewise.
19606 * libio/ioseekoff.c: Likewise.
19607 * libio/ioseekpos.c: Likewise.
19608 * libio/iosetbuffer.c: Likewise.
19609 * libio/iosetvbuf.c: Likewise.
19610 * libio/ioungetc.c: Likewise.
19611 * libio/ioungetwc.c: Likewise.
19612 * libio/iovdprintf.c: Likewise.
19613 * libio/iovsprintf.c: Likewise.
19614 * libio/iovsscanf.c: Likewise.
19615 * libio/memstream.c: Likewise.
19616 * libio/obprintf.c: Likewise.
19617 * libio/oldfileops.c: Likewise.
19618 * libio/oldiofclose.c: Likewise.
19619 * libio/oldiofdopen.c: Likewise.
19620 * libio/oldiofopen.c: Likewise.
19621 * libio/oldiopopen.c: Likewise.
19622 * libio/oldstdfiles.c: Likewise.
19623 * libio/putc.c: Likewise.
19624 * libio/setbuf.c: Likewise.
19625 * libio/setlinebuf.c: Likewise.
19626 * libio/stdfiles.c: Likewise.
19627 * libio/strops.c: Likewise.
19628 * libio/vasprintf.c: Likewise.
19629 * libio/vscanf.c: Likewise.
19630 * libio/vsnprintf.c: Likewise.
19631 * libio/vswprintf.c: Likewise.
19632 * libio/wfiledoalloc.c: Likewise.
19633 * libio/wfileops.c: Likewise.
19634 * libio/wgenops.c: Likewise.
19635 * libio/wmemstream.c: Likewise.
19636 * libio/wstrops.c: Likewise.
19637 * libio/__fpurge.c: Likewise.
19638 * libio/__fsetlocking.c: Likewise.
19639 * assert/assert.c: Likewise.
19640 * debug/fgets_chk.c: Likewise.
19641 * debug/fgets_u_chk.c: Likewise.
19642 * debug/fread_chk.c: Likewise.
19643 * debug/fread_u_chk.c: Likewise.
19644 * debug/gets_chk.c: Likewise.
19645 * debug/obprintf_chk.c: Likewise.
19646 * debug/vasprintf_chk.c: Likewise.
19647 * debug/vdprintf_chk.c: Likewise.
19648 * debug/vsnprintf_chk.c: Likewise.
19649 * debug/vsprintf_chk.c: Likewise.
19650 * malloc/mtrace.c: Likewise.
19651 * misc/error.c: Likewise.
19652 * misc/syslog.c: Likewise.
19653 * stdio-common/asprintf.c: Likewise.
19654 * stdio-common/fxprintf.c: Likewise.
19655 * stdio-common/getw.c: Likewise.
19656 * stdio-common/isoc99_fscanf.c: Likewise.
19657 * stdio-common/isoc99_scanf.c: Likewise.
19658 * stdio-common/isoc99_vfscanf.c: Likewise.
19659 * stdio-common/isoc99_vscanf.c: Likewise.
19660 * stdio-common/isoc99_vsscanf.c: Likewise.
19661 * stdio-common/printf-prs.c: Likewise.
19662 * stdio-common/printf_fp.c: Likewise.
19663 * stdio-common/printf_fphex.c: Likewise.
19664 * stdio-common/printf_size.c: Likewise.
19665 * stdio-common/putw.c: Likewise.
19666 * stdio-common/scanf.c: Likewise.
19667 * stdio-common/sprintf.c: Likewise.
19668 * stdio-common/tmpfile.c: Likewise.
19669 * stdio-common/vfprintf.c: Likewise.
19670 * stdio-common/vfscanf.c: Likewise.
19671 * stdlib/strfmon_l.c: Likewise.
19672 * sunrpc/openchild.c: Likewise.
19673 * sunrpc/xdr_stdio.c: Likewise.
19674 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19675 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19676
d6c33fda
RM
196772012-05-24 Roland McGrath <roland@hack.frob.com>
19678
c1487492
RM
19679 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19680
19681 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19682 in the third column, to generate for the shared library an IFUNC
19683 that uses _dl_vdso_vsym.
19684 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19685 * Makeconfig (object-suffixes-noshared): New variable.
19686
19687 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19688 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19689 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19690 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19691
d6c33fda
RM
19692 [BZ #14132]
19693 * include/sys/time.h (__gettimeofday): Remove macro.
19694 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19695 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19696 Remove INTDEF.
19697 (__gettimeofday): Add libc_hidden_def.
19698 (gettimeofday): Add libc_hidden_weak.
19699 * sysdeps/mach/gettimeofday.c: Likewise.
19700 * sysdeps/posix/gettimeofday.c: Likewise.
19701 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19702 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19703 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19704 (__gettimeofday_internal): Remove strong_alias.
19705 (__gettimeofday): Add libc_hidden_def.
19706 (gettimeofday): Add libc_hidden_weak.
19707 * sysdeps/unix/syscalls.list (gettimeofday):
19708 Remove __gettimeofday_internal alias.
19709
b5a2bbe6
L
197102012-05-24 Daniel Jacobowitz <drow@false.org>
19711 H.J. Lu <hongjiu.lu@intel.com>
19712
19713 [BZ #12495]
19714 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19715 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19716 (largebin_index_32_big): New.
19717 (largebin_index): Use it for 16-byte alignment.
19718 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19719 correction with front_misalign.
19720
cfba4fda
L
197212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19722
7f907421
L
19723 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19725 Likewise.
19726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19727 Likewise.
19728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19729 Likewise.
19730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19731 Likewise.
19732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19733 Likewise.
19734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19735 Likewise.
19736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19737 Likewise.
19738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19739 Likewise.
19740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19741 Likewise.
19742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19743 Likewise.
19744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19745 Likewise.
19746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19747 Likewise.
19748
cfba4fda
L
19749 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19750 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19751
80bad0cc
JM
197522012-05-24 Joseph Myers <joseph@codesourcery.com>
19753
7a25eb06
JM
19754 [BZ #10846]
19755 [BZ #14036]
19756 * math/libm-test.inc (exp_test): Add test from bug 14036.
19757 (pow_test): Add test from bug 10846.
19758
795405f9
JM
19759 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19760 and other flags.
19761 (special_function): Do not include flags in test name.
19762 (parse_args): Likewise.
19763 * sysdeps/i386/fpu/libm-test-ulps: Update.
19764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19765 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19766 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19768
80bad0cc
JM
19769 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19770 exceptions.
19771 * math/libm-test.inc ("Philosophy"): Update comment about
19772 exception testing.
19773 (UNDERFLOW_EXCEPTION): New macro.
19774 (UNDERFLOW_EXCEPTION_OK): Likewise.
19775 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19776 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19777 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19778 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19779 (INVALID_EXCEPTION_OK): Update value.
19780 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19781 (OVERFLOW_EXCEPTION_OK): Likewise.
19782 (IGNORE_ZERO_INF_SIGN): Likewise.
19783 (test_exceptions): Handle underflow exceptions.
19784 (acos_test): Update for underflow exception expectations.
19785 (cexp_test): Likewise.
19786 (clog_test): Likewise.
19787 (clog10_test): Likewise.
19788 (csqrt_test): Likewise.
19789 (ctan_test): Likewise.
19790 (ctanh_test): Likewise.
19791 (exp_test): Likewise.
19792 (exp10_test): Likewise.
19793 (exp2_test): Likewise.
19794 (expm1_test): Likewise.
19795 (fma_test): Likewise.
19796 (j0_test): Likewise.
19797 (jn_test): Likewise.
19798 (nexttoward_test): Likewise.
19799 (pow_test): Likewise.
19800 (scalbn_test): Likewise.
19801 (scalbln_test): Likewise.
19802 (tan_test): Likewise.
19803 (y1_test): Likewise.
19804 * sysdeps/i386/fpu/libm-test-ulps: Update.
19805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19806
9e0e3d0b
DM
198072012-05-23 David S. Miller <davem@davemloft.net>
19808
19809 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19810 (__libc_sigaction): Remove unused local variables.
19811
ccd0a08f
L
198122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19813
19814 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19815
62bdf9a6
PE
198162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19817
f8591f80
PE
19818 mktime: avoid signed integer overflow
19819 * time/mktime.c (__mktime_internal): Do not mishandle the case
19820 where diff == INT_MIN.
19821
94c7d826
PE
19822 mktime: simplify computation of average
19823 * time/mktime.c (ranged_convert): Use new time_t_avg function
19824 instead of rolling our own (probably-slower) code.
19825
ce73d683
PE
19826 mktime: do not assume signed right shift propagates sign bit
19827 * time/mktime.c (isdst_differ): New static function.
19828 (__mktime_internal): No need to normalize tm_isdst now.
19829 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19830 tm_isdst values.
19831
72a22e59
PE
19832 mktime: merge another wrapv change from gnulib
19833 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19834 from some compilers.
19835
68605433
PE
19836 mktime: remove incorrect attempt at unusual arithmetics
19837 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19838 The code didn't really work on such machines anyway.
19839 (TYPE_MINIMUM): Assume two's complement.
19840 (twos_complement_arithmetic): Verify that long_int and time_t
19841 are two's complement (or unsigned, in the latter case).
19842
03cf7fe3
PE
19843 mktime: check signed shifts on long_int and time_t, too
19844 * time/mktime.c (SHR): Check that shifts work as desired
19845 on the types long_int and time_t too, as SHR is used on
19846 such types.
19847
f04dfbc2
PE
19848 mktime: do not assume 'long' is wide enough
19849 * time/mktime.c (verify): Move decl up.
19850 (long_int): New type.
19851 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19852 to remove assumption in the code that 'long' is wide enough to
19853 store year values. This assumption is not true on x32 and on
19854 some non-glibc platforms.
19855
62bdf9a6
PE
19856 mktime: merge wrapv change from gnulib
19857 * time/mktime.c (WRAPV): New macro.
19858 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19859 (guess_time_tm, __mktime_internal): Do not assume that signed
19860 integer overflow wraps around; modern compilers generate code
19861 where this assumption is no longer valid.
19862
5e292e4f
L
198632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19866 Replace "jmp L(pseudo_end)" with "ret".
19867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19868 Likewise.
19869
8caf8c87
AJ
198702012-05-23 Andreas Jaeger <aj@suse.de>
19871
19872 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19873 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19874
1a09dc56
AJ
198752012-05-23 Andreas Jaeger <aj@suse.de>
19876 Maximilian Attems <max@stro.at>
19877
19878 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19879 New macros.
19880
1c87aba0
L
198812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19882
19883 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19884 code so that pseudo_end is just ret and the stack pointer is
19885 correct also for static library in error case.
19886
40e45bd5
JM
198872012-05-23 Joseph Myers <joseph@codesourcery.com>
19888
c2670533
JM
19889 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19890 move to syscalls.list.
19891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19895
40e45bd5
JM
19896 * manual/install.texi (Running make install): Do not mention Linux
19897 kernel version for which pt_chown is not needed.
19898 (Linux): Do not mention problems with nscd with 2.0 kernels.
19899 * INSTALL: Regenerated.
19900
be08eda5
AJ
199012012-05-23 Andreas Jaeger <aj@suse.de>
19902
19903 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19904 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19905 macro.
19906 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19908 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19910 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19911 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19912 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19913 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19915 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19916 * sysdeps/unix/sysv/linux/bits/in.h
19917 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19918
a6a056bb
RM
199192012-05-22 Roland McGrath <roland@hack.frob.com>
19920
19921 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19922 (PREPARE_VERSION): Just use assert instead, it will be elided
19923 under [NDEBUG] anyway.
19924
c9009328
L
199252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19926
19927 * sysdeps/unix/sysv/linux/Makefile: Include
19928 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19929 (sysdep_routines): Remove sysctl.
c9009328
L
19930 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19931 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19932 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19933 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19934 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19935
73338355
AJ
199362012-05-22 Andreas Jaeger <aj@suse.de>
19937
19938 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19939 that pseudo_end is just ret and the stack pointer is correct also
19940 for static library in error case.
19941
d44638b0
PP
199422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19943
19944 [BZ #14122]
19945 * nss/nsswitch.c (defconfig_entries): New variable.
19946 (__nss_database_lookup): Don't leak defconfig entries.
19947 (nss_parse_service_list): Don't leak on error paths.
19948 (free_database_entries): New function.
19949 (free_defconfig): New function.
19950 (free_mem): Move common code to free_database_entries.
19951
31a39bd8
L
199522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19953
da0331a8
L
19954 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19955 Add arch_prctl.
19956 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19957
31a39bd8
L
19958 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19959 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19961 New macro.
19962 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19963 (INTERNAL_SYSCALL_TYPES): Likewise.
19964 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19965 (LOAD_REGS_TYPES_[1-6]): Likewise.
19966 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19967 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19968
45470df3
AZ
199692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19970
19971 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19972 copysignl for GLIBC_2_0.
19973 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19974 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19975 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19976 logbl for GLIBC_2_0.
19977 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19978 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19979
98a61bcb
L
199802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19981
a4f6e481
L
19982 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19983 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19984
f63d5db6
L
19985 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19986 Use "neg %eax".
19987
98a61bcb
L
19988 * time/mktime.c: Update copyright years.
19989
95770f14
PE
199902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19991
6226efbd
PE
19992 mktime: merge comment-quoting-style change from gnulib
19993 * time/mktime.c: Quote 'like this' in comments.
19994 The GNU coding standards suggest that we no longer quote `like this',
19995 as "`" and "'" are typically rendered asymmetrically nowadays.
19996 The typical gnulib style is to quote 'like this' when quoting
19997 code, and "like this" when quoting English.
19998
b99e4f78
PE
19999 * time/mktime.c (compile-command): Add "-I.".
20000
643e01e6
PE
20001 mktime: merge mktime-internal.h change from gnulib
20002 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
20003
2554247d
PE
20004 mktime: merge time_r change from gnulib
20005 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
20006
826dd0ab
PE
20007 mktime: merge DEBUG change from gnulib
20008 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
20009 case system <time.h> has a #define.
20010
bd83aabe
PE
20011 mktime: merge <sys/types.h> change from gnulib
20012 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
20013 since <time.t> is now guaranteed to define time_t.
20014
95770f14
PE
20015 mktime: merge HAVE_CONFIG_H change from gnulib
20016 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
20017
5e1a27a9
L
200182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
20019
0e44a77e
L
20020 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20021 Use "neg %eax".
20022
5e1a27a9
L
20023 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
20024 __rlim_t cast.
20025 (struct rusage): Use anonymous union to pad each field to
20026 __syscall_slong_t.
20027
46259bec
DM
200282012-05-21 David S. Miller <davem@davemloft.net>
20029
20030 * Makefules (o-iterator): Remove .s cases.
20031 (compile-command.s): Delete.
20032 (COMPILE.s): Delete.
20033 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
20034
59f0c22e
JM
200352012-05-21 Joseph Myers <joseph@codesourcery.com>
20036
20037 * configure.in (libc_cv_predef_stack_protector): Only consider
20038 "foobar" and "__stack_chk_fail" lines in libc_undefs.
20039 * configure: Regenerated.
20040
20c07380
L
200412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20042
bbb3154b
L
20043 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
20044 New macro. Use R*LP on int and pointer.
20045 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
20046 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
20047 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
20048 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
20049
20c07380
L
20050 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
20051 [__WORDSIZE_TIME64_COMPAT32] instead of
20052 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
20053 (struct utmp): Likewise.
20054 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
20055 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
20056 Renamed to ...
20057 (__WORDSIZE_TIME64_COMPAT32): This.
20058 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
20059 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
20060 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
20061 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
20062 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
20063 (__WORDSIZE_TIME64_COMPAT32): New macro.
20064
d8d1017e
AJ
200652012-05-21 Andreas Jaeger <aj@suse.de>
20066
20067 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
20068 only if [SHARED]. Add prototype for __wcschr_ia32.
20069
6c7fb145
RM
200702012-05-21 Roland McGrath <roland@hack.frob.com>
20071
20072 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
20073 of %rbp unmolested in the jmp_buf while mangling the low bits.
20074 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
20075 unmolested high bits of %rbp while demangling the low bits.
20076 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20077
66274218
AJ
200782012-05-21 Andreas Jaeger <aj@suse.de>
20079
07c58f8f
AJ
20080 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
20081 * sunrpc/svc_simple.c: Use it for registerrpc.
20082 * sunrpc/xcrypt.c: Use it for passwd2des.
20083
66274218
AJ
20084 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
20085
61f65140
L
200862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20087
20088 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
20089 Don't define if [__SYSCALL_WORDSIZE != 32].
20090 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
20091 New macro.
20092
5fefb436
AJ
200932012-05-21 Bruno Haible <bruno@clisp.org>
20094 Andreas Jaeger <aj@suse.de>
20095
20096 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
20097 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
20098 inptr and inend for must_buffer_ch.
20099 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
20100 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
20101 * stdio-common/Makefile (tests): Remove bug15.
20102 (bug15-ENV): Remove macro.
20103 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
20104 anymore.
20105
d8e272ab
AJ
201062012-05-19 Andreas Jaeger <aj@suse.de>
20107 Roland McGrath <roland@hack.frob.com>
20108
20109 * manual/contrib.texi: Completely rewritten. It contains now an
20110 alphabetical list of contributors and their contributions.
20111
4a56a162
RH
201122012-05-21 Richard Henderson <rth@twiddle.net>
20113
20114 * misc/getauxval.c (__getauxval): Use unsigned long int.
20115 * misc/sys/auxv.h: Include <sys/cdefs.h>.
20116 (getauxval): Use unsigned long int.
20117
d024d23c
L
201182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
20119
20120 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20121
cbc00a03
RM
201222012-05-21 Roland McGrath <roland@hack.frob.com>
20123
20124 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
20125 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
20126 __alignof__ (long double).
20127
478143fa
AZ
201282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20129
20130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20131
c7683a6d
RH
201322012-05-20 Richard Henderson <rth@twiddle.net>
20133
20134 * misc/getauxval.c: New file.
20135 * misc/sys/auxv.h: New file.
20136 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
20137 (routines): Add getauxval.
20138 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
20139 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
20140 * elf/dl-sysdep.c (_dl_auxv): Remove.
20141 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
20142 * elf/dl-support.c (_dl_auxv): New variable.
20143 (_dl_aux_init): Initialize it.
20144 * manual/startup.texi (Auxiliary Vector): New node.
20145 * sysdeps/generic/bits/hwcap.h: New file.
20146 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
20147 * sysdeps/powerpc/sysdep.h: ... here. Include it.
20148 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
20149 * sysdeps/sparc/sysdep.h: ... here. Include it.
20150 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
20151 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
20152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
20153 Update.
c7683a6d
RH
20154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
20155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
20156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
20157 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
20158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
20160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
20161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
20162
a6f1845d
AZ
201632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20164
20165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20166
cbcbe830
DM
201672012-05-19 David S. Miller <davem@davemloft.net>
20168
20169 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20170
e0b16cc2
JM
201712012-05-19 Joseph Myers <joseph@codesourcery.com>
20172
20173 [BZ #14123]
20174 * math/s_ccosh.c: Include <float.h>
20175 (__ccosh): Avoid internal overflow calculating sinh and cosh
20176 values before multiplying by sin and cos values.
20177 * math/s_ccoshf.c: Likewise.
20178 * math/s_ccoshl.c: Likewise.
20179 * math/s_csin.c: Likewise.
20180 * math/s_csinf.c: Likewise.
20181 * math/s_csinl.c: Likewise.
20182 * math/s_csinh.c: Likewise.
20183 * math/s_csinhf.c: Likewise.
20184 * math/s_csinhl.c: Likewise.
20185 * math/libm-test.inc (ccos_test): Add more tests.
20186 (ccosh_test): Likewise.
20187 (csin_test): Likewise.
20188 (csinh_test): Likewise.
20189 * sysdeps/i386/fpu/libm-test-ulps: Update.
20190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20191
6ad13e08
L
201922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
20193
f66f0ce8
L
20194 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
20195 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20196
6ad13e08
L
20197 * sysdeps/x86_64/x32/_itoa.h: Add comment.
20198
b1d072a7
JM
201992012-05-19 Joseph Myers <joseph@codesourcery.com>
20200
20201 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
20202 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
20203 * sysdeps/powerpc/soft-fp/Versions: Likewise.
20204 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
20205 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
20206 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
20207 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
20208 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
20209 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
20210 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
20211 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
20212 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
20213 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
20214 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
20215 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
20216 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
20217 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
20218 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
20219 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
20220 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
20221 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
20222 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
20223 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
20224 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
20225 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
20226 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
20227 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
20228 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
20229 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
20230 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
20231 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
20232
9eae47cb
AJ
202332012-05-18 Andreas Jaeger <aj@suse.de>
20234
20235 * csu/.gitignore: Delete.
20236
bb07f69f
L
202372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20238
20239 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
20240 (timex): Use __syscall_slong_t.
20241
e6bdb741
AJ
202422012-05-18 Andreas Jaeger <aj@suse.de>
20243 Carlos O'Donell <carlos_odonell@mentor.com>
20244
20245 * manual/install.texi (Configuring and compiling): Update
20246 description about files modified in the source directory.
d6c33fda 20247 * INSTALL: Regenerated.
e6bdb741 20248
1b74487e
L
202492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20250
20251 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
20252 value. Use "or" to set return value to -1.
20253 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
20254 negate return value.
20255
a88b64b9
TMQMF
202562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20257
20258 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
20259 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
20260 failure if the compiler has Graphite support disabled.
20261 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
20262 Likewise.
20263 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
20264 CFLAGS-memmove.c): Likewise.
20265 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
20266 Likewise.
20267
3707636e
L
202682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
20269
610b8622
L
20270 * sysdeps/x86_64/x32/_itoa.h: New file.
20271
7cd195df
L
20272 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
20273 getdents system call only if kernel and user dirents have the
20274 same d_ino and d_off.
20275
94b07d20
L
20276 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
20277 LLONG_MAX != LONG_MAX.
20278 (_itoa_word): Use _ITOA_WORD_TYPE on value.
20279 (_fitoa_word): Likewise.
20280
18298070
L
20281 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
20282 years.
20283 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
20284 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20285 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20286
553c7ea4
L
20287 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20288 include <bits/wordsize.h>. Check __x86_64__ instead of
20289 __WORDSIZE.
20290 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20291 if __x86_64__ is defined. Use anonymous union on fpstate.
20292
3707636e
L
20293 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20294 anonymous union.
20295
b53ef01a
AS
202962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20297
37fb1dc0
AS
20298 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20299 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20300 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20301 Refer to _rtld_local_ro instead of _rtld_global_ro.
20302 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20303 Likewise.
20304 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20305 Likewise.
20306 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20307 Likewise.
20308 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20309 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20310 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20311
b53ef01a
AS
20312 * sysdeps/powerpc/powerpc32/dl-machine.c
20313 (__elf_machine_runtime_setup) [PROF]: Don't reference
20314 _dl_prof_resolve.
20315
7a185db2
AJ
203162012-05-18 Andreas Jaeger <aj@suse.de>
20317
20318 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20319 function only available for GCCs before 3.4 since GCC 3.4
20320 introduced a builtin.
20321 (lrint): Likewise.
20322 (llrintf): Likewise.
20323 (llrint): Likewise.
20324 (fmaxf): Likewise.
20325 (fmax): Likewise.
20326 (fminf): Likewise.
20327 (fmin): Likewise.
20328 (rint): Likewise.
20329 (rintf): Likewise.
20330 (nearbyint): Likewise.
20331 (nearbyintf): Likewise.
20332 (ceil): Likewise.
20333 (ceilf): Likewise.
20334 (floor): Likewise.
20335 (floorf): Likewise.
20336
3e5aef87
L
203372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20338
428bd707
L
20339 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20340 on both fields and cast pointer to __syscall_ulong_t.
20341
3e5aef87
L
20342 * bits/types.h (__fsword_t): New type.
20343 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20344 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20345 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20346 (__FSWORD_T_TYPE): Likewise.
20347 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20348 (__FSWORD_T_TYPE): Likewise.
20349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20350 (__FSWORD_T_TYPE): Likewise.
20351 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20352 (__FSWORD_T_TYPE): Likewise.
20353 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20354 __SWORD_TYPE with __fsword_t.
20355 (statfs64): Likewise.
20356
1ba7c3dc
DM
203572012-05-17 David S. Miller <davem@davemloft.net>
20358
20359 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20360
59910343
AJ
203612012-05-17 Andreas Jaeger <aj@suse.de>
20362
20363 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20364 warning.
20365
2e4c1e9e
L
203662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20367
20368 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20369
de7f5ce7
AJ
203702012-05-17 Andreas Jaeger <aj@suse.de>
20371
20372 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20373 when it is used.
20374
286abc3d
CM
203752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20376
20377 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20378
477cc68e
L
203792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20380
20381 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20382 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20383
1a0994f5
CD
203842012-05-17 Andreas Jaeger <aj@suse.de>
20385 Carlos O'Donell <carlos_odonell@mentor.com>
20386
20387 [BZ #14059]
20388 * sysdeps/x86_64/multiarch/init-arch.h
20389 (bit_YMM_Usable): Rename to...
20390 (bit_AVX_Usable): ... this.
20391 (bit_FMA4_Usable): New macro.
20392 (bit_XMM_state): New macro.
20393 (bit_YMM_state): New macro.
20394 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20395 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20396 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20397 (CPUID_OSXSAVE): New macro.
20398 (CPUID_AVX): New macro.
20399 (CPUID_FMA4): New macro.
20400 (index_YMM_Usable): Rename to...
20401 (index_AVX_Usable): ... this.
20402 (HAS_AVX): Use HAS_ARCH_FEATURE.
20403 (HAS_FMA4): Likewise.
20404 (HAS_YMM_USABLE): Remove.
20405 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20406 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20407 are present.
20408 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20409 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20410 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20411 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20412 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20413
0af797de
CM
204142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20415
20416 * math/libm-test.c: Support platforms without multiple rounding modes.
20417 * math/bug-nextafter.c: Support platforms without FP exceptions.
20418 * math/bug-nexttoward.c: Likewise.
20419 * math/test-fenv.c: Likewise.
20420 * math/test-misc.c: Likewise.
20421 * stdlib/bug-getcontext.c: Likewise.
20422
e39745ff
AJ
204232012-05-17 Andreas Jaeger <aj@suse.de>
20424
20425 * manual/examples/search.c (critter_cmp): Change signature to
20426 avoid warnings.
20427 * manual/string.texi (Collation Functions): Likewise.
20428
48970aba
L
204292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20430
20431 * bits/types.h: Fold copyright years.
20432 * bits/typesizes.h: Likewise.
20433 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20434 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20435 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20436 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20437 * time/time.h: Likewise.
20438
bedee953
PP
204392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20440
20441 [BZ #208]
20442 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20443 in instead of returning them. Return void.
20444 (__libc_mallinfo): Accumulate over all arenas.
20445 (__malloc_stats): Adjust for change in int_mallinfo interface.
20446
61653dfb
RM
204472012-05-16 Roland McGrath <roland@hack.frob.com>
20448
30b99d79
RM
20449 [BZ #10375]
20450 * configure.in (NM): Add AC_CHECK_TOOL for it.
20451 (libc_extra_cflags): New substituted variable.
20452 Check for -fstack-protector being used implicitly.
20453 * configure: Regenerated.
20454 * config.make.in (config-extra-cflags): New variable,
20455 gets @libc_extra_cflags@.
20456 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20457
61653dfb
RM
20458 [BZ #10375]
20459 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20460 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20461 * configure: Regenerated.
20462 * config.make.in (CPPUNDEFS): New substituted variable.
20463 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20464 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20465 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20466
661768bb
L
204672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20468
20469 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20470 (mq_attr): Use __syscall_slong_t.
20471
d4261567
L
204722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20473
20474 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20475 Check __x86_64__ instead of __WORDSIZE.
20476 (_STAT_VER_LINUX): Likewise.
20477 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20478 __syscall_ulong_t and __syscall_slong_t.
20479 (stat64): Likewise.
20480
cf3ff365
L
204812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20482
20483 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20484
76cf3e4d
L
204852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20488
a637753a
L
204892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20490
20491 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20492 __syscall_ulong_t.
20493
d5e05119
L
20494 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20495 include <bits/wordsize.h>. Check __x86_64__ instead of
20496 __WORDSIZE.
20497 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20498 defined.
20499 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20500
f62ee380
L
20501 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20502 include <bits/wordsize.h>. Check __x86_64__ instead of
20503 __WORDSIZE.
20504 (user_regs_struct): Use "__extension__ unsigned long long"
20505 instead of "unsigned long" if __x86_64__ is defined.
20506 (user): Likewise. Pad after pointer field if __ILP32__ is
20507 defined.
20508
4e124ced
JM
205092012-05-16 Joseph Myers <joseph@codesourcery.com>
20510
6a3951a0
JM
20511 * configure.in (makeinfo): Require version 4.5 or later. Allow
20512 versions 5 to 9.
20513 * configure: Regenerated.
20514 * manual/install.texi (texinfo): Increase version requirement to
20515 4.5 or later.
20516 * INSTALL: Regenerated.
20517
4e124ced
JM
20518 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20519
953ca31a
L
205202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20523
617aca05
L
20524 * sysdeps/x86_64/x32/ffs.c: New file.
20525
5762f7ae
L
20526 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20527 __syscall_ulong_t.
20528 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20529 defined. Use __syscall_ulong_t.
20530 (shminfo): Use __syscall_ulong_t.
20531 (shm_info): Likewise.
20532
a26b6856
L
20533 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20534 __syscall_ulong_t.
20535
cb2b9ef7
L
20536 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20537 <bits/wordsize.h>.
20538 (msgqnum_t): Use __syscall_ulong_t.
20539 (msglen_t): Likewise.
20540 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20541 __syscall_ulong_t.
20542
34683bb0
L
20543 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20544 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20545
84a68786
L
20546 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20547
48baa5f1
L
20548 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20549 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20550
180be88b
L
20551 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20552 __syscall_slong_t.
20553
5e90c8ad
L
20554 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20555 include <bits/wordsize.h>. Check __x86_64__ instead of
20556 __WORDSIZE.
20557
23dfb58b
L
20558 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20559 "unsigned long long int" if __x86_64__ is defined.
20560 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20561
ce5d54b0
L
20562 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20563 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20564 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20565
13dc9eac
L
20566 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20567 <stdint.h>.
20568 (GET_PC): Cast to uintptr_t first.
20569 (GET_FRAME): Likewise.
20570 (GET_STACK): Likewise.
20571
a7895d15
L
20572 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20573 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20574 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20575 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20576 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20577 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20578 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20579 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20580 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20581 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20582 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20583 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20584 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20585 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20586 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20587 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20588 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20592 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20598 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20599 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20600 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20601
656416c9
AS
206022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20603
5bd66283
AS
20604 * Makerules (+depfiles): Also collect depfiles from .oS in
20605 $(extra-objs).
20606 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20607 .oS, $(libnldbl-routines)).
20608
656416c9
AS
20609 * Makerules (native-compile-mkdep-flags): Define.
20610 * sunrpc/Makefile (extra-objs): Add $(addprefix
20611 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20612 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20613 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20614 calling $(make-target-directory).
20615
a46f2169
L
206162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20617
20618 * bits/types.h (__snseconds_t): Removed.
20619 * time/time.h (struct timespec): Replace __snseconds_t with
20620 __syscall_slong_t.
20621 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20622 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20623 Likewise.
20624 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20625 (__SNSECONDS_T_TYPE): Likewise.
20626 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20627 (__SNSECONDS_T_TYPE): Likewise.
20628 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20629 (__SNSECONDS_T_TYPE): Likewise.
20630
6af6528b
L
206312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20632
20633 * sysdeps/mach/hurd/bits/typesizes.h
20634 (__SYSCALL_SLONG_TYPE): New macro.
20635 (__SYSCALL_ULONG_TYPE): Likewise.
20636
de986b56
L
206372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20638
20639 * bits/types.h (__syscall_slong_t): New type.
20640 (__syscall_ulong_t): Likewise.
20641
20642 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20643 (__SYSCALL_ULONG_TYPE): Likewise.
20644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20645 (__SYSCALL_SLONG_TYPE): Likewise.
20646 (__SYSCALL_ULONG_TYPE): Likewise.
20647 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20648 (__SYSCALL_SLONG_TYPE): Likewise.
20649 (__SYSCALL_ULONG_TYPE): Likewise.
20650 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20651 (__SYSCALL_SLONG_TYPE): Likewise.
20652 (__SYSCALL_ULONG_TYPE): Likewise.
20653
85736dc7
L
206542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20655
20656 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20657 Add sigaltstack-offsets.sym.
20658 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20659 <sigaltstack-offsets.h>.
20660 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20661 longjmp_msg pointer.
20662 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20663 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20664 signal stack.
20665 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20666
cc03b296
JM
206672012-05-15 Joseph Myers <joseph@codesourcery.com>
20668
a9538892
JM
20669 * elf/stackguard-macros.h: Remove file.
20670 * sysdeps/generic/stackguard-macros.h: New file.
20671 * sysdeps/i386/stackguard-macros.h: Likewise.
20672 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20673 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20674 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20675 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20676 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20677 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20678 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20679 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20680 <elf/stackguard-macros.h>.
20681
cc03b296
JM
20682 [BZ #14109]
20683 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20684 __aligned__ in attribute.
20685 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20686 (gregset_t): Likewise.
20687
93171016
L
206882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20689
20690 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20691 * sysdeps/x86_64/64/Implies-after: Here. New file.
20692 * sysdeps/x86_64/x32/Implies-after: New file.
20693
d86813a0
L
206942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20695
20696 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20697 and access return value for _dl_profile_fixup. Use R10_LP to
20698 load frame size.
20699
2953ec75
L
207002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20701
20702 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20703
3b550e9e
L
207042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20705
20706 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20707 * sysdeps/x86_64/x32/sysdep.h: New file.
20708
eda41706
L
207092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20710
20711 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20712 * sysdeps/x86_64/setjmp.S: Likewise.
20713
9ea01d93
AZ
207142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20715
20716 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20717 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20718 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20719 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20720 remove unused global constant.
20721
02a91938
CM
207222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20723
20724 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20725 include of <not-cancel.h>.
20726
6540185f
RM
207272012-05-15 Roland McGrath <roland@hack.frob.com>
20728
20729 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20730
509072a0
AJ
207312012-05-15 Jeff Law <law@redhat.com>
20732 Andreas Jaeger <aj@suse.de>
20733
20734 [BZ #13594]
20735 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20736 out from...
20737 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20738 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20739 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20740 code changing __hst_map_handle.map.
20741
ba75122d
RM
207422012-05-15 Roland McGrath <roland@hack.frob.com>
20743
20744 * configure.in (sysnames): Look for Implies-before and Implies-after
20745 files.
20746 * configure: Regenerated.
20747
890d8bd8
L
207482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20749
20750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20751 8-byte data alignment with LP_SIZE alignment.
20752
f6ee6623
L
207532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20754
20755 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20756 into R10_LP.
20757
ea2626f6
L
207582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20759
20760 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20761
085f715e
L
207622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20763
20764 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20765 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20766 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20767 Likewise.
20768 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20769
be8498fc
L
207702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20771
20772 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20773 (stackinfo_sub_sp): Likewise.
20774
70bc83b9
L
207752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20778 RAX_LP.
20779
9bc0b730
L
207802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20781
20782 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20783 into R*_LP.
20784
6d2850e7
L
207852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20786
20787 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20788 sizes into R*_LP.
20789
3cb84561
L
207902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20791
20792 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20793
54e2ed81
L
207942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20795
20796 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20797 into R11_LP and load __x86_64_shared_cache_size_half into
20798 R8_LP.
20799
8a17f349
L
208002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20803 R8_LP.
20804
777b1eea
AZ
208052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20806
20807 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20808 logb for POWER7.
20809 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20810 logbf for POWER7.
20811 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20812 logbl for POWER7.
20813 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20814 powerpc32/power7/fpu/s_logb.c via #include.
20815 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20816 powerpc32/power7/fpu/s_logbf.c via #include.
20817 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20818 powerpc32/power7/fpu/s_logbl.c via #include.
20819
d20d4ac2
JM
208202012-05-15 Joseph Myers <joseph@codesourcery.com>
20821
20822 * README.libm: Remove file.
20823
6cdef1ab
L
208242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20825
20826 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20827 count for x32. Use R*_LP and omit operand-size suffix.
20828
0b254d8f
L
208292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20832 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20833 * sysdeps/x86_64/x32/shlib-versions: New file.
20834
ceb809dc
RM
208352012-05-14 Roland McGrath <roland@hack.frob.com>
20836
20837 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20838 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20839 Use _dl_fatal_printf instead.
20840
37f1abd4
JM
208412012-05-14 Joseph Myers <joseph@codesourcery.com>
20842
20843 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20844 set if not set by the user. Do not allow for being unset.
20845 * sysdeps/unix/sysv/linux/configure: Regenerated.
20846
11de3a33
L
208472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20848
20849 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20850 the `q' suffix from lea and replace .quad with ASM_ADDR.
20851
e02f153a
L
208522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20853
20854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20855 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20856 instead of $17.
20857 (PTR_DEMANGLE): Likewise.
20858
520ae0fd
L
208592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20860
20861 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20862 (LP_OP): Likewise.
20863 (ASM_ADDR): Likewise.
20864 (RAX_LP): Likewise.
20865 (RBP_LP): Likewise.
20866 (RBX_LP): Likewise.
20867 (RCX_LP): Likewise.
20868 (RDI_LP): Likewise.
20869 (RSI_LP): Likewise.
20870 (RSP_LP): Likewise.
20871 (R8_LP): Likewise.
20872 (R9_LP): Likewise.
20873 (R10_LP): Likewise.
20874 (R10_LP): Likewise.
20875 (R11_LP): Likewise.
20876 (R12_LP): Likewise.
20877 (R13_LP): Likewise.
20878 (R14_LP): Likewise.
20879 (R15_LP): Likewise.
20880
b985be81
L
208812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20882
20883 * sysdeps/x86_64/x32/dl-machine.h: New file.
20884
6a4888ff
AJ
208852012-05-14 Andreas Jaeger <aj@suse.de>
20886
20887 * manual/Makefile (subdir): Remove export of subdir.
20888 (all): Remove target.
20889 (.PHONY): Remove all from list.
20890 (mkinstalldirs): Remove.
20891 (.PHONY): Remove installdirs from list.
20892 ($(inst_infodir)/libc.info): Use make-target-directory.
20893 (installdirs): Remove.
20894 (subdir_%): Remove.
20895 (glibc-targets): Remove.
20896 (lib): Remove.
20897 (stubs): Remove.
20898 ($(objpfx)stubs ../po/manual.pot): Remove.
20899 ($(objpfx)stamp%): Remove.
20900 (make-target-directory): Remove.
20901 (subdir_install): Remove.
20902 (routines): Remove.
20903 (aux): Remove.
20904 (sources): Remove.
20905 (objects): Remove.
20906 (headers): Remove.
20907
20908 [BZ #13750]
20909 * manual/.gitignore: Remove, it's not needed anymore.
20910 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20911 all files in it.
20912 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20913 directory.
20914 (texis): Renamed to $(objpfx)texis.
20915 (texis-path): New, contains path to generated files.
20916 (chapters.%): Use texis-path for complete path, add extra argument
20917 libc-texinfo.sh.
20918 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20919 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20920 (summary,texi, stamp-summary): Use complete path of
20921 files. Generate files in build dir.
20922 (dir-add.texi): Build in build dir.
20923 (libm-err.texi,stamp-libm-err): Likewise.
20924 (version.texi, stamp-version): Likewise.
20925 (.%c.texi): Likewise.
20926 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20927 (mostlyclean): Remove target.
20928 (realclean): Remove target.
20929 (generated): Add new variable with contents from mostlyclean and
20930 realclean, remove entries duplicated in common-mostlyclean, add
20931 stamp-libm-err and stamp-version.
20932 (generated-dirs): Add libc directory.
20933 ($(inst_infodir)/libc.info): Install files from build dir.
20934
20935 * manual/install.texi (Configuring and compiling): Adjust since
20936 the info files are not part of the tar ball anymore.
20937
7ac77294
AJ
209382012-05-14 Andreas Jaeger <aj@suse.de>
20939
20940 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20941 variable.
20942
ffb7875d
JM
209432012-05-14 Joseph Myers <joseph@codesourcery.com>
20944
20945 [BZ #13717]
20946 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20947 to 2.2.0 where earlier.
20948 * sysdeps/unix/sysv/linux/configure: Regenerated.
20949 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20950 Remove conditional code.
20951 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20952 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20953 Remove conditional code.
20954 [!__NR_lchown]: Likewise.
20955 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20956 [__NR_lchown]: Likewise.
20957 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20958 comment referencing __ASSUME_LCHOWN_SYSCALL.
20959 * sysdeps/unix/sysv/linux/i386/sigaction.c
20960 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20961 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20962 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20963 Remove conditional code.
20964 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20965 (__protocol_available): Remove #if 0 code.
20966 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20967 conditional code.
20968 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20969 * sysdeps/unix/sysv/linux/kernel-features.h
20970 (__ASSUME_GETCWD_SYSCALL): Don't define.
20971 (__ASSUME_REALTIME_SIGNALS): Likewise.
20972 (__ASSUME_PREAD_SYSCALL): Likewise.
20973 (__ASSUME_PWRITE_SYSCALL): Likewise.
20974 (__ASSUME_POLL_SYSCALL): Likewise.
20975 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20976 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20977 non-SPARC.
20978 (__ASSUME_SIOCGIFNAME): Don't define.
20979 (__ASSUME_MSG_NOSIGNAL): Likewise.
20980 (__ASSUME_SENDFILE): Define unconditionally.
20981 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20982 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20983 conditional code.
20984 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20985 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20986 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20987 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20988 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20989 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20990 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20992 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20993 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20995 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20996 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20998 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20999 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
21001 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21002 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
21004 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21005 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
21008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
21010 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21011 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21015 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
21016 Remove conditional code.
21017 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21018 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21019 Remove conditional code.
21020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21021 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
21022 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
21023 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21024 Remove conditional code.
21025 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21026 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
21027 Remove conditional code.
21028 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21029 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
21030 Remove conditional code.
21031 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21032 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
21033 Remove conditional code.
21034 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
21035 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
21036 Remove conditional code.
21037 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21038 * sysdeps/unix/sysv/linux/sh/pwrite64.c
21039 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
21040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
21041 * sysdeps/unix/sysv/linux/sigaction.c
21042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21044 * sysdeps/unix/sysv/linux/sigpending.c
21045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21047 * sysdeps/unix/sysv/linux/sigprocmask.c
21048 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21049 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21050 * sysdeps/unix/sysv/linux/sigsuspend.c
21051 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
21052 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
21053 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21054 (__libc_missing_rt_sigs): Remove.
21055 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
21056 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
21057 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
21058 Remove conditional code.
21059 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
21060 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
21061 return 1.
21062 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
21063 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
21064 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
21065 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
21066
1bfb7291
AJ
210672012-05-14 Andreas Jaeger <aj@suse.de>
21068
caae5a81
AJ
21069 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
21070 it's not used in glibc.
21071 (__coshm1): Likewise.
21072 (__acosh1p): Likewise.
21073 (__sgn): Likewise.
21074
1bfb7291
AJ
21075 * manual/string.texi (Copying and Concatenation): Add missing
21076 variable in concat example.
21077 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
21078
c044d724
L
210792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21080
144c5467 21081 [BZ #14103]
c044d724
L
21082 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
21083 __builtin_clzl with __builtin_clzll.
21084
2523c62b
L
210852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
21086
21087 [BZ #14104]
21088 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
21089 libc_freeres_ptr.
21090
d7bb4c42
LD
210912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21092
21093 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
21094 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
21095 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
21096 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
21097
9dc4e1fb
MF
210982012-05-14 Mike Frysinger <vapier@gentoo.org>
21099
21100 * NEWS: Update ia64 info.
21101
c7df0112
AS
211022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
21103
21104 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
21105 used as bcopy.
21106
dc70356c
TS
211072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
21108
21109 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
21110 * sysdeps/unix/syscalls.list (dup3): Likewise.
21111 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
21112 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
21113
9fb1a21f
L
211142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21115
21116 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
21117 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
21118
4822a2a5
L
211192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
21120
21121 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
21122 thread pointer.
21123 (TLS_IE): Use mov/add instead of movq/addq to load thread
21124 pointer.
21125 (TLS_GD_PREFIX): New.
21126 (TLS_GD): Use it.
21127
842b81d6
DM
211282012-05-11 David S. Miller <davem@davemloft.net>
21129
21130 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
21131 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
21132 (_FPU_SETCW): Likewise.
21133
1cf463cd
L
211342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21135
21136 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
21137 is 32-byte aligned.
21138
60cc4a18
AS
211392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
21140
21141 [BZ #11837]
21142 * iconvdata/gb18030.c: Update tables.
21143 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
21144 characters specially.
21145 (BODY for TO_LOOP): Add encoding of missing ranges.
21146
febb44a4
TS
211472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
21148
21149 [BZ #13673]
21150 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
21151 * sysdeps/mach/hurd/dup3.c: Likewise.
21152 * sysdeps/mach/hurd/readlinkat.c: Likewise.
21153 * sysdeps/powerpc/memmove.c:: Likewise.
21154
0a10fb9e
L
211552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21156
21157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
21158 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
21159
df8a552f
L
211602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21161
21162 * elf/elf.h (R_X86_64_RELATIVE64): New.
21163 (R_X86_64_NUM): Updated.
21164 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
21165 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
21166 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
21167 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
21168 tst-quad1pie tst-quad2pie
21169 (modules-names): Add tst-quadmod1 tst-quadmod2.
21170 ($(objpfx)tst-quad1): New dependency.
21171 ($(objpfx)tst-quad2): Likewise.
21172 ($(objpfx)tst-quad1pie): Likewise.
21173 ($(objpfx)tst-quad2pie): Likewise.
21174 * sysdeps/x86_64/tst-quad1.c: New file.
21175 * sysdeps/x86_64/tst-quad1pie.c: New file.
21176 * sysdeps/x86_64/tst-quad2.c: Likewise.
21177 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
21178 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
21179 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
21180 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
21181 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
21182
f34d6f84
ST
211832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21184
f42d41d1
ST
21185 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
21186 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
21187 * streams/stropts.h (t_scalar_t): Define type.
21188
3c3571fc
ST
21189 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
21190 (_PATH_PRESERVE): Set to "/var/lib".
21191 (_PATH_RWHODIR): Set to "/var/spool/rwho".
21192
61f06bd3
ST
21193 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
21194 instead of int.
21195
918d4d71
ST
21196 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
21197 if __dir_mkfile succeeded.
21198
f34d6f84
ST
21199 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
21200 checking for _hurd_dtablesize. Unlock it right after having
21201 finished _hurd_dtable allocation.
21202
10589b4a
TS
212032012-05-10 Thomas Schwinge <thomas@schwinge.name>
21204
674cdbc7
TS
21205 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
21206 * sysdeps/mach/hurd/configure: Regenerated.
21207 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
21208 special-casing to...
21209 * sysdeps/gnu/configure.in: ... this new file.
21210 * sysdeps/unix/sysv/linux/configure: Regenerated.
21211 * sysdeps/gnu/configure: New generated file.
21212
8e41b99f
TS
21213 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
21214 for Linux: use nsec instead of usec, as well as:
21215 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
21216 members of type struct timespec.
21217 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
21218 New macros.
21219 (struct stat64): Likewise.
21220 (_STATBUF_ST_NSEC): New macro.
21221 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
21222
10589b4a
TS
21223 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
21224 __strtoul_internal rather than strtoul.
21225
63643c85
PT
212262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21227
21228 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
21229 and reject them.
21230
3faebe6a
ST
212312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21232
21233 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
21234 which preserves existing values.
21235 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
21236
c6474b07
PT
212372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21238
21239 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
21240 TIMEOUT values. Return EINVAL for NFDS values either negative or
21241 greater than FD_SETSIZE.
21242
1043890b
ST
212432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21244
21245 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
21246 allocated, call __vm_protect to finish enabling the existing space, and
21247 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
21248 allocate the remainder.
21249
37ed8b9b
PT
212502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21251
21252 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
21253 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
21254
db653660
ST
212552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21256
37ed8b9b
PT
21257 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
21258 sysdeps/mach/hurd/readlink.c.
b29d4053 21259
db653660
ST
21260 * posix/tst-sysconf.c (posix_options): Only use
21261 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
21262 _POSIX_SYNCHRONIZED_IO when they are defined
21263 * sysdeps/mach/hurd/bits/posix_opt.h:
21264 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
21265 (_XOPEN_REALTIME): Undefine macro.
21266 (_XOPEN_REALTIME_THREADS): Undefine macro.
21267 (_XOPEN_SHM): Undefine macro.
21268 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
21269 macro to -1.
21270 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
21271 macro to -1.
21272 (_POSIX_ASYNC_IO): Undefine macro.
21273 (_POSIX_PRIORITIZED_IO): Undefine macro.
21274 (_POSIX_SPIN_LOCKS): Define macro to -1.
21275
ee16e894
ST
21276 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
21277 SA_NODEFER, SA_RESETHAND.
21278 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
21279 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
21280 F_DUPFD_CLOEXEC.
21281
6103ae3b
TS
212822012-05-10 Thomas Schwinge <thomas@schwinge.name>
21283
21284 * elf/Makefile (pldd-modules): Define unconditionally.
21285
80b4e5f3
TS
212862012-05-10 Thomas Schwinge <thomas@schwinge.name>
21287
21288 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21289
edadcbd6
ST
212902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21291
21292 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21293 Return ENOENT when name is empty.
21294 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21295
80694780
TS
212962012-05-10 Thomas Schwinge <thomas@schwinge.name>
21297
1792c087
TS
21298 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21299
80694780
TS
21300 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21301
6b645f0d
ST
213022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21303
80694780
TS
21304 Fix mlock in all cases except non-readable pages.
21305 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21306 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21307
6b645f0d
ST
21308 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21309 (__mkdir): When path is `/', just fail with EEXIST.
21310 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21311
e468f8a3
TS
213122012-05-10 Thomas Schwinge <thomas@schwinge.name>
21313
21314 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21315 <sys/uio.h> (for writev).
21316 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21317 and <sys/param.h> (for MIN).
21318
a4186cff
PT
213192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21320
21321 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21322 REQUESTED_TIME. Properly set the remaining time and return EINTR
21323 if interrupted.
21324
510bbf14
TS
213252012-05-10 Thomas Schwinge <thomas@schwinge.name>
21326
21327 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21328 Depend on against $(link-rpcuserlibs).
21329
5d5722e8
ST
213302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21331
a4186cff
PT
21332 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21333 (__libc_stack_end): Do not use attribute_relro.
21334 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21335 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21336 to libthread-provided value.
a4186cff
PT
21337 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21338 attribute_relro.
5d5722e8 21339
37233df9
TS
213402012-05-10 Thomas Schwinge <thomas@schwinge.name>
21341
be971a2b
TS
21342 [BZ #3748]
21343 * bits/libc-lock.h (__libc_once_get): New macro.
21344 * sysdeps/mach/bits/libc-lock.h: Likewise.
21345 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21346 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21347 instead of using implementation details.
21348
37233df9
TS
21349 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21350 * libio/freopen.c: Likewise.
21351 * libio/freopen64.c: Likewise.
21352 * misc/syslog.c: Likewise.
21353 * nscd/connections.c: Likewise.
21354 * nscd/netgroupcache.c: Likewise.
21355 * sysdeps/posix/getcwd.c: Likewise.
21356
38de94a5
RM
213572012-05-10 Roland McGrath <roland@hack.frob.com>
21358
21359 * math/w_ilogbf.c: Add #include <limits.h>.
21360
67530489
ST
213612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21362
a4186cff 21363 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21364 path instead of returning without unlocking.
21365
67530489
ST
21366 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21367 immediate-write ioctls.
21368 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21369
5aa3a74a
TS
213702012-05-10 Thomas Schwinge <thomas@schwinge.name>
21371
18bad2ae
TS
21372 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21373 __builtin_frame_address instead of making assumptions about the
21374 location of the return address relative to DATA. Force early load of
21375 the return address.
21376 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21377 __builtin_frame_address.
21378
5aa3a74a
TS
21379 dup3 for GNU Hurd.
21380 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21381 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21382 implement dup3 and do some further code clean-ups.
21383 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21384 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21385
ecd0de9a
ST
213862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21387
cd9fa985
ST
21388 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21389
a4186cff
PT
21390 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21391 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21392 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21393 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21394 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21395 d->port.lock.
802ca5a5 21396
a4186cff
PT
21397 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21398 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21399 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21400
bcf55240
TS
214012012-05-10 Thomas Schwinge <thomas@schwinge.name>
21402
6960eb42
TS
21403 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21404 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21405 definitions.
21406
eb43375f
TS
21407 accept4 for GNU Hurd.
21408 * include/sys/socket.h (__libc_accept4): New prototype.
21409 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21410 to implement __libc_accept4.
21411 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21412 __libc_accept4.
21413 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21414
bcf55240
TS
21415 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21416 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21417 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21418 signal-defines.sym.
21419
6178c55b
ST
214202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21421
a4186cff 21422 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21423
6f080c2f
TS
214242012-05-10 Thomas Schwinge <thomas@schwinge.name>
21425
21426 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21427 assertion on O_CLOEXEC flag.
21428 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21429 * hurd/intern-fd.c: Likewise.
21430 * hurd/port2fd.c: Likewise.
21431
bcfe3a54
ST
214322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21433
21434 [BZ #3906]
21435 * bits/in.h (IPV6_PKTINFO): Define new macro.
21436 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21437
89c9aa49
AZ
214382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21439
21440 [BZ #13954]
21441 [BZ #13955]
21442 [BZ #13956]
21443 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21444 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21445 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21446 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21448 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21449 * math/libm-test.inc (logb_test) : Additional logb tests.
21450
021db4be
AJ
214512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21452 Andreas Jaeger <aj@suse.de>
21453
21454 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21455 * configure: Regenerated.
21456 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21457 * config.make.in (link-obsolete-rpc): New substituted variable.
21458 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21459 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21460 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21461 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21462 so that libc.a contains the symbols.
21463 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21464 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21465 * sunrpc/auth_none.c: Likewise.
21466 * sunrpc/auth_unix.c: Likewise.
21467 * sunrpc/authdes_prot.c: Likewise.
21468 * sunrpc/authuxprot.c: Likewise.
21469 * sunrpc/clnt_gen.c: Likewise.
21470 * sunrpc/clnt_perr.c: Likewise.
21471 * sunrpc/clnt_raw.c: Likewise.
21472 * sunrpc/clnt_simp.c: Likewise.
21473 * sunrpc/clnt_tcp.c: Likewise.
21474 * sunrpc/clnt_udp.c: Likewise.
21475 * sunrpc/clnt_unix.c: Likewise.
21476 * sunrpc/des_crypt.c: Likewise.
21477 * sunrpc/des_soft.c: Likewise.
21478 * sunrpc/get_myaddr.c: Likewise.
21479 * sunrpc/key_call.c: Likewise.
21480 * sunrpc/key_prot.c: Likewise.
21481 * sunrpc/netname.c: Likewise.
21482 * sunrpc/pm_getmaps.c: Likewise.
21483 * sunrpc/pm_getport.c: Likewise.
21484 * sunrpc/pmap_clnt.c: Likewise.
21485 * sunrpc/pmap_prot.c: Likewise.
21486 * sunrpc/pmap_prot2.c: Likewise.
21487 * sunrpc/pmap_rmt.c: Likewise.
21488 * sunrpc/publickey.c: Likewise.
21489 * sunrpc/rpc_cmsg.c: Likewise.
21490 * sunrpc/rpc_common.c: Likewise.
21491 * sunrpc/rpc_dtable.c: Likewise.
21492 * sunrpc/rpc_prot.c: Likewise.
21493 * sunrpc/rpc_thread.c: Likewise.
21494 * sunrpc/rtime.c: Likewise.
21495 * sunrpc/svc.c: Likewise.
21496 * sunrpc/svc_auth.c: Likewise.
21497 * sunrpc/svc_raw.c: Likewise.
21498 * sunrpc/svc_run.c: Likewise.
21499 * sunrpc/svc_tcp.c: Likewise.
21500 * sunrpc/svc_udp.c: Likewise.
21501 * sunrpc/svc_unix.c: Likewise.
21502 * sunrpc/svcauth_des.c: Likewise.
21503 * sunrpc/xcrypt.c: Likewise.
21504 * sunrpc/xdr.c: Likewise.
21505 * sunrpc/xdr_array.c: Likewise.
21506 * sunrpc/xdr_float.c: Likewise.
21507 * sunrpc/xdr_intXX_t.c: Likewise.
21508 * sunrpc/xdr_mem.c: Likewise.
21509 * sunrpc/xdr_rec.c: Likewise.
21510 * sunrpc/xdr_ref.c: Likewise.
21511 * sunrpc/xdr_sizeof.c: Likewise.
21512 * sunrpc/xdr_stdio.c: Likewise.
21513
b5c086a2
RM
215142012-05-10 Roland McGrath <roland@hack.frob.com>
21515
21516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21517 change. Update copyright years.
21518
6d74dd09
JM
215192012-05-10 Joseph Myers <joseph@codesourcery.com>
21520
21521 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21522
28e72501
MK
215232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21524 Joseph Myers <joseph@codesourcery.com>
21525 Paul Pluzhnikov <ppluzhnikov@google.com>
21526
21527 [BZ #14012]
21528 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21529 requiring rpcgen.
21530 [cross-compiling] (extra-libs): Likewise.
21531 [cross-compiling] (extra-libs-others): Likewise.
21532 [cross-compiling] (librpcsvc-routines): Likewise.
21533 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21534 [cross-compiling] (omit-deps): Likewise.
21535 (sunrpc-CPPFLAGS): New variable.
21536 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21537 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21538 (cross-rpcgen-objs): New variable.
21539 (extra-objs): Append $(cross-rpcgen-objs).
21540 ($(cross-rpcgen-objs)): New rule.
21541 ($(objpfx)cross-rpcgen): Likewise.
21542 (rpcgen-cmd): Define to use $(built-program-file). Expand
21543 comment.
21544 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21545 ($(objpfx)x%.stmp): Likewise.
21546 * sunrpc/proto.h [IS_IN_build] (_): Define.
21547 [IS_IN_build] (_libc_intl_domainname): Likewise.
21548
c8c59454
L
215492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21550
21551 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21552 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21553 and R_X86_64_TPOFF64.
21554
6f27cd16
JM
215552012-05-10 Joseph Myers <joseph@codesourcery.com>
21556
21557 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21558 sysdeps/unix/sysv/syscalls.list.
21559 (stime): Likewise.
21560 (utime): Likewise.
21561 * sysdeps/unix/sysv/syscalls.list: Remove file.
21562
02467e1c
PE
215632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21564
21565 [BZ #3440]
21566 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21567 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21568 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21569 (__LC_IDENTIFICATION): Make these macros useful in #if
21570 expressions, as required by C99.
21571
da392631
AS
215722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21573
21574 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21575 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21576 after this.
21577
8115f29b
L
215782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * stdlib/longlong.h: Updated from GCC.
21581
bdd74070
AJ
215822012-05-09 Andreas Jaeger <aj@suse.de>
21583
edfe0dbe
AJ
21584 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21585 default is first entry.
21586 (run_mode): Set type.
21587 (main): Remove informal message about syslog.
21588 (options): Fix typo.
21589
bcfe3a54
ST
21590 [BZ #14053]
21591 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21592 to asm.
bcfe3a54
ST
21593 (lrint): Likewise.
21594 (llrintf): Likewise.
21595 (llrint): Likewise.
21596 (rint): Likewise.
21597 (rintf): Likewise.
21598 (nearbyint): Likewise.
21599 (nearbyintf): Likewise.
bdd74070 21600
91d8d69e
AJ
216012012-05-09 Andreas Jaeger <aj@suse.de>
21602 Pedro Alves <palves@redhat.com>
21603
21604 * nscd/nscd.c (run_mode): Use enum.
21605 (main): Cleanup coding style issue.
21606
bb90b80b
AJ
216072012-05-09 Alexandre Oliva <aoliva@redhat.com>
21608 Andreas Jaeger <aj@suse.de>
21609
bcfe3a54
ST
21610 * nscd/nscd.c (go_background): Replaced with...
21611 (run_mode): ... this.
bb90b80b 21612 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21613 (options): Add -F --foreground.
21614 (main): Implement it.
21615 (parse_opt): Parse it.
bb90b80b 21616
1a4b75a1
AJ
216172012-05-09 Andreas Jaeger <aj@suse.de>
21618
21619 [BZ #14083]
21620 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21621 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21622 -Wconversion warning.
21623 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21624 Likewise.
21625
b1cc2472
JM
216262012-05-09 Joseph Myers <joseph@codesourcery.com>
21627
21628 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21629 == 0.
21630 (LC_ALL): Use macro-int-constant.
21631 (LC_COLLATE): Likewise.
21632 (LC_CTYPE): Likewise.
21633 (LC_MESSAGES): Likewise.
21634 (LC_MONETARY): Likewise.
21635 (LC_NUMERIC): Likewise.
21636 (LC_TIME): Likewise.
21637 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21638 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21639 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21640 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21641 Specify type.
21642 [C99-based standards] (float_t): Expect type.
21643 [C99-based standards] (double_t): Expect type.
21644 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21645 type.
21646 [C99-based standards] (HUGE_VALL): Likewise.
21647 [C99-based standards] (INFINITY): Likewise.
21648 [C99-based standards] (NAN): Likewise.
21649 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21650 [C99-based standards] (FP_NAN): Likewise.
21651 [C99-based standards] (FP_NORMAL): Likewise.
21652 [C99-based standards] (FP_SUBNORMAL): Likewise.
21653 [C99-based standards] (FP_ZERO): Likewise.
21654 [C99-based standards] (FP_FAST_FMA): Use
21655 optional-macro-int-constant. Specify type. Require == 1.
21656 [C99-based standards] (FP_FAST_FMAF): Likewise.
21657 [C99-based standards] (FP_FAST_FMAL): Likewise.
21658 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21659 [C99-based standards] (FP_ILOGBNAN): Likewise.
21660 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21661 Specify type.
21662 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21663 [C99-based standards] (math_errhandling): Specify type.
21664 [ISO99 || ISO11] (signgam): Do not allow.
21665 [non-C99-based standards] (copysignf): Do not allow.
21666 [non-C99-based standards] (exp2f): Likewise.
21667 [non-C99-based standards] (log2f): Likewise.
21668 [non-C99-based standards] (modff): Allow.
21669 [non-C99-based standards] (erff): Do not allow.
21670 [non-C99-based standards] (erfcf): Likewise.
21671 [non-C99-based standards] (gammaf): Likewise.
21672 [non-C99-based standards] (hypotf): Likewise.
21673 [non-C99-based standards] (j0f): Likewise.
21674 [non-C99-based standards] (j1f): Likewise.
21675 [non-C99-based standards] (jnf): Likewise.
21676 [non-C99-based standards] (lgammaf): Likewise.
21677 [non-C99-based standards] (tgammaf): Likewise.
21678 [non-C99-based standards] (y0f): Likewise.
21679 [non-C99-based standards] (y1f): Likewise.
21680 [non-C99-based standards] (ynf): Likewise.
21681 [non-C99-based standards] (isnanf): Likewise.
21682 [non-C99-based standards] (acoshf): Likewise.
21683 [non-C99-based standards] (asinhf): Likewise.
21684 [non-C99-based standards] (atanhf): Likewise.
21685 [non-C99-based standards] (cbrtf): Likewise.
21686 [non-C99-based standards] (expm1f): Likewise.
21687 [non-C99-based standards] (ilogbf): Likewise.
21688 [non-C99-based standards] (log1pf): Likewise.
21689 [non-C99-based standards] (logbf): Likewise.
21690 [non-C99-based standards] (nextafterf): Likewise.
21691 [non-C99-based standards] (remainderf): Likewise.
21692 [non-C99-based standards] (rintf): Likewise.
21693 [non-C99-based standards] (scalbf): Likewise.
21694 [non-C99-based standards] (copysignl): Likewise.
21695 [non-C99-based standards] (exp2l): Likewise.
21696 [non-C99-based standards] (log2l): Likewise.
21697 [non-C99-based standards] (modfl): Allow.
21698 [non-C99-based standards] (erfl): Do not allow.
21699 [non-C99-based standards] (erfcl): Likewise.
21700 [non-C99-based standards] (gammal): Likewise.
21701 [non-C99-based standards] (hypotl): Likewise.
21702 [non-C99-based standards] (j0l): Likewise.
21703 [non-C99-based standards] (j1l): Likewise.
21704 [non-C99-based standards] (jnl): Likewise.
21705 [non-C99-based standards] (lgammal): Likewise.
21706 [non-C99-based standards] (tgammal): Likewise.
21707 [non-C99-based standards] (y0l): Likewise.
21708 [non-C99-based standards] (y1l): Likewise.
21709 [non-C99-based standards] (ynl): Likewise.
21710 [non-C99-based standards] (isnanl): Likewise.
21711 [non-C99-based standards] (acoshl): Likewise.
21712 [non-C99-based standards] (asinhl): Likewise.
21713 [non-C99-based standards] (atanhl): Likewise.
21714 [non-C99-based standards] (cbrtl): Likewise.
21715 [non-C99-based standards] (expm1l): Likewise.
21716 [non-C99-based standards] (ilogbl): Likewise.
21717 [non-C99-based standards] (log1pl): Likewise.
21718 [non-C99-based standards] (logbl): Likewise.
21719 [non-C99-based standards] (nextafterl): Likewise.
21720 [non-C99-based standards] (remainderl): Likewise.
21721 [non-C99-based standards] (rintl): Likewise.
21722 [non-C99-based standards] (scalbl): Likewise.
21723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21724 [non-C99-based standards] (FP_*): Do not allow.
21725 [C99-based standards] (FP_*): Change to
21726 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21727 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21728 allow.
21729 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21730 (SIG_ERR): Likewise.
21731 [X/Open-based standards] (SIG_HOLD): Likewise.
21732 (SIG_IGN): Likewise.
21733 (SIGABRT): Use macro-int-constant. Specify type. Require
21734 positive value.
21735 (SIGFPE): Likewise.
21736 (SIGILL): Likewise.
21737 (SIGINT): Likewise.
21738 (SIGSEGV): Likewise.
21739 (SIGTER): Likewise.
21740 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21741 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21742 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21743 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21744 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21745 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21746 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21747 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21748 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21749 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21750 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21751 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21752 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21753 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21754 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21755 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21756 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21757 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21758 [X/Open-based standards] (SIGTRAP): Likewise.
21759 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21760 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21761 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21762 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21763 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21764 allow.
21765
b9f1922d
IW
217662012-05-08 Ian Wienand <ianw@vmware.com>
21767
21768 [BZ #14080]
21769 * time/tzset.c (__tzset_parse_tz): Update default rules for
21770 daylight time changes in the Energy Policy Act of 2005.
21771
1db86e88
AJ
217722012-05-09 Andreas Jaeger <aj@suse.de>
21773
21774 [BZ #13983]
21775 * elf/ldconfig.c (parse_conf): Change string to make clear that
21776 ldconfig only issued a warning if ld.so.conf does not exist.
21777
dee4a4e3
DM
217782012-05-08 David S. Miller <davem@davemloft.net>
21779
ee0db190
DM
21780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21781 movxtod instead of popping the value on the stack.
21782
dee4a4e3
DM
21783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21784
6a43ec98
CD
217852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21786
21787 * config.h.in: Add HAVE_ARM_PCS_VFP.
21788
05c2c961
RMG
217892012-05-08 Roland Mc Grath <roland@hack.frob.com>
21790
bcfe3a54
ST
21791 [BZ #13979]
21792 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21793 checking but the checks are disabled for any reason.
05c2c961 21794
4b30f61a
L
217952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21796
21797 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21798 and ELF64_R_TYPE with ELFW(R_TYPE).
21799
eee2bc67
JM
218002012-05-08 Joseph Myers <joseph@codesourcery.com>
21801
7ea5391a
JM
21802 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21803 (ulimit): Likewise.
21804
eee2bc67
JM
21805 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21806 (settimeofday): Likewise.
21807
abb66a67
MF
218082012-05-08 Mike Frysinger <vapier@gentoo.org>
21809
21810 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21811 a struct th_u2 inside the union, and move tu_block/tu_code into
21812 a new th_u3 union of tu_block/tu_code inside of that. Move
21813 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21814 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21815 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21816 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21817 (th_stuff): Change to th_u1.tu_stuff.
21818 (th_data): Define.
21819 (th_msg): Change to th_u1.th_u2.tu_data.
21820
7f18b530
DM
218212012-05-07 David S. Miller <davem@davemloft.net>
21822
05760585
DM
21823 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21824
7f18b530
DM
21825 [BZ #14074]
21826 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21827 (SETUP_PIC_REG): Use it.
21828 (SETUP_PIC_REG_LEAF): Use it.
21829
495fd99f
JM
218302012-05-07 Joseph Myers <joseph@codesourcery.com>
21831
21832 [BZ #13885]
21833 [BZ #13923]
21834 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21835 USE_AS_EXPM1L.
21836 (EXPL_FINITE): Likewise.
21837 (FLDLOG): Likewise.
21838 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21839 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21840 e_expl.S.
21841 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21842 USE_AS_EXPM1L.
21843 (EXPL_FINITE): Likewise.
21844 (FLDLOG): Likewise.
21845 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21846 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21847 e_expl.S.
21848 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21849 test of -max_value argument for long double.
21850 * sysdeps/i386/fpu/libm-test-ulps: Update.
21851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21852
6693d694
DM
218532012-05-06 David S. Miller <davem@davemloft.net>
21854
21855 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21856 quad soft-float symbols whose references which are compiler
21857 generated.
21858 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21859
6c23e11c
JM
218602012-05-06 Joseph Myers <joseph@codesourcery.com>
21861
d8b82cad
JM
21862 [BZ #13884]
21863 [BZ #13914]
21864 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21865 USE_AS_EXP10L.
21866 (EXPL_FINITE): Likewise.
21867 (FLDLOG): Likewise.
21868 (c0): Likewise.
21869 (c1): Likewise.
21870 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21871 Adjust comments for base varying.
21872 (__expl_finite): Change alias to EXPL_FINITE.
21873 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21874 e_expl.S.
21875 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21876 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21877 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21878 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21879 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21880 USE_AS_EXP10L.
21881 (EXPL_FINITE): Likewise.
21882 (FLDLOG): Likewise.
21883 (c0): Likewise.
21884 (c1): Likewise.
21885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21886 Adjust comments for base varying.
21887 (__expl_finite): Change alias to EXPL_FINITE.
21888 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21889 tests for bugs.
21890 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21891
6c23e11c
JM
21892 [BZ #14064]
21893 * math/libm-test.inc (check_float_internal): Correct ulp
21894 calculation for subnormal expected results.
21895
29ba805c
AJ
218962012-05-06 Andreas Jaeger <aj@suse.de>
21897
21898 * Makeconfig (+math-flags): New, set to -frounding-math.
21899 (+cflags): Add +math-flags so that all of glibc gets compiled with
21900 it.
21901
21902 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21903
7b17aeda
JM
219042012-05-05 Joseph Myers <joseph@codesourcery.com>
21905
5779f134
JM
21906 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21907 Disable one test.
21908
41498f4d
JM
21909 [BZ #13787]
21910 [BZ #13922]
21911 [BZ #14036]
21912 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21913 (__ieee754_expl): Allow for and saturate large arguments.
21914 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21915 (u_threshold): Likewise.
21916 (__exp): Call __ieee754_exp before checking for overflow and
21917 underflow.
21918 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21919 (u_threshold): Likewise.
21920 (__expf): Call __ieee754_expf before checking for overflow and
21921 underflow.
21922 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21923 (u_threshold): Likewise.
21924 (__expl): Call __ieee754_expl before checking for overflow and
21925 underflow.
21926 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21927 (__ieee754_expl): Allow for and saturate large arguments.
21928 * math/libm-test.inc (exp_test): Add another test. Do not allow
21929 missing overflow exception on overflow.
21930 (expm1_test): Do not allow missing overflow exception on overflow.
21931
6698b8bf
JM
21932 * sysdeps/i386/fpu/e_expl.c: Move to ...
21933 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21934 rather than using inline asm.
21935 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21936 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21937 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21938
7b17aeda
JM
21939 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21940 (nice): Likewise.
21941 (poll): Likewise.
21942 (signal): Likewise.
21943 (time): Likewise.
21944 (times): Likewise.
21945
f7c85819
JM
219462012-05-04 Joseph Myers <joseph@codesourcery.com>
21947
21948 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21949 sysdeps/unix/common/syscalls.list.
21950 (fchmod): Likewise.
21951 (fchown): Likewise.
21952 (ftruncate): Likewise.
21953 (getrusage): Likewise.
21954 (gettimeofday): Likewise.
21955 (setpgid): Likewise.
21956 (setregid): Likewise.
21957 (setreuid): Likewise.
21958 (sigaction): Likewise.
21959 (truncate): Likewise.
21960 (vhangup): Likewise.
21961 * sysdeps/unix/common/syscalls.list: Remove file.
21962 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21963 * sysdeps/unix/sysv/linux/Implies: Likewise.
21964
336270d0
L
219652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21966
21967 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21968 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21969 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21970 Moved to ...
21971 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21972 Here.
21973 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21974 to ...
21975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21976 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21977 to ...
21978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21979 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21980 to ...
21981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21982 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21983 to ...
21984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21985 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21986 to ...
21987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21988 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21989 to ...
21990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21991 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21992 to ...
21993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21994 Here.
21995 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21996 to ...
21997 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21998 Here.
21999 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
22000 to ...
22001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
22002 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
22003 Moved to ...
22004 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
22005 Here.
22006 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
22007 to ...
22008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
22009
d128e450
JM
220102012-05-04 Joseph Myers <joseph@codesourcery.com>
22011
fa8ee516
JM
22012 * sysdeps/unix/common/bits/dirent.h: Remove file.
22013 * sysdeps/unix/common/bits/fcntl.h: Likewise.
22014
d128e450
JM
22015 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
22016 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
22017 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
22018 * sysdeps/unix/bsd/isatty.c: Likewise.
22019 * sysdeps/unix/bsd/tcdrain.c: Likewise.
22020 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
22021 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
22022
ff8faaf0 220232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 22024
62881be4 22025 [BZ #13563]
31dc8730
AZ
22026 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
22027 long double comparison inaccuracies.
22028 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22029 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22030
6fef930c
AS
220312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
22032
22033 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
22034 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
22035
8f203e6c
JM
220362012-05-04 Joseph Myers <joseph@codesourcery.com>
22037
22038 [BZ #14049]
22039 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
22040 nonzero digits before rounding a hex value.
22041 * stdlib/tst-strtod.c (tests): Add another test.
22042
5197d9c2
AK
220432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22044
22045 * sysdeps/s390/fpu/libm-test-ulps: Update.
22046
f0c1dedf
AJ
220472012-05-03 Andreas Jaeger <aj@suse.de>
22048
22049 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
22050 does not get optimized out.
22051 (malloc_opt_barrier): New.
22052
a65ef2ae 220532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 22054 Roland McGrath <roland@hack.frob.com>
a65ef2ae 22055
2b942cb7 22056 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 22057 intermediate file deletion.
2b942cb7 22058 (generated): Add .symlist files.
a65ef2ae 22059
54b71e02
JM
220602012-05-03 Joseph Myers <joseph@codesourcery.com>
22061
22062 [BZ #13775]
22063 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
22064 Redirect under this condition.
22065 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22066 [__USE_GNU] (__dprintf_chk): Not under this condition.
22067 [__USE_GNU] (__vdprintf_chk): Likewise.
22068 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
22069 under this condition.
22070 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
22071 [__USE_XOPEN2K8] (dprintf): Define under this condition.
22072 [__USE_XOPEN2K8] (vdprintf): Likewise.
22073 [__USE_GNU] (__dprintf_chk): Not under this condition.
22074 [__USE_GNU] (__vdprintf_chk): Likewise.
22075 [__USE_GNU] (dprintf): Likewise.
22076 [__USE_GNU] (vdprintf): Likewise.
22077
d3dfcc41
RM
220782012-05-03 Roland McGrath <roland@hack.frob.com>
22079
22080 * elf/Makefile (common-generated): Set this instead of generated for
22081 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
22082 $(all-built-dso)-derived lists.
22083
7ac30cc5
AJ
220842012-05-03 Andreas Jaeger <aj@suse.de>
22085
0c51e550
AJ
22086 * sysdeps/i386/fpu/libm-test-ulps: Update.
22087
7ac30cc5
AJ
22088 * FAQ: Removed.
22089 * FAQ.in: Likewise.
22090 * scripts/gen-FAQ.pl: Likewise.
22091 * manual/install.texi (Installation): Point to online location of
22092 FAQ.
22093 * Makefile (files-for-dist): Remove FAQ.
22094 (FAQ): Remove.
22095
d4c2917f
AM
220962012-05-02 Allan McRae <allan@archlinux.org>
22097
22098 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
22099 (LDFLAGS-reldepmod5.so): Likewise.
22100 (LDFLAGS-reldep6mod1.so): Likewise.
22101 (LDFLAGS-reldep6mod4.so): Likewise.
22102 (LDFLAGS-reldep8mod3.so): Likewise.
22103 (LDFLAGS-unload4mod1.so): Likewise.
22104 (LDFLAGS-unload4mod2.so): Likewise.
22105 (LDFLAGS-tst-initorder): Likewise.
22106 (LDFLAGS-tst-initordera2.so): Likewise.
22107 (LDFLAGS-tst-initordera3.so): Likewise.
22108 (LDFLAGS-tst-initordera4.so): Likewise.
22109 (LDFLAGS-tst-initorderb2.so): Likewise.
22110 (LDFLAGS-noload): Likewise.
22111 (LDFLAGS-next): Likewise.
22112 (LDFLAGS-order2mod1.so): Likewise.
22113 (LDFLAGS-order2mod2.so): Likewise.
22114 (LDFLAGS-tst-initorder2): Likewise.
22115 (LDFLAGS-tst-initorder2a.so): Likewise.
22116 (LDFLAGS-tst-initorder2b.so): Likewise.
22117 (LDFLAGS-tst-initorder2c.so): Likewise.
22118 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
22119
d77f993f
DM
221202012-05-02 David S. Miller <davem@davemloft.net>
22121
22122 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22123
171a70b4
PP
221242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
22125
22126 [BZ #14055]
22127 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
22128
0be196ad
AJ
221292012-05-02 Andreas Jaeger <aj@suse.de>
22130
22131 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
22132 since we manipulate rounding mode.
22133 (CPPFLAGS-test-idouble.c): Likewise.
22134 (CPPFLAGS-test-ifloat.c): Likewise.
22135 (CFLAGS-test-ldouble.c): Likewise.
22136 (CFLAGS-test-double.c): Likewise.
22137 (CFLAGS-test-float.c): Likewise.
22138 (CFLAGS-test-misc.c): Likewise.
22139 (CFLAGS-test-test-fenv.c): Likewise.
22140
4f9d04aa
AZ
221412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22142
2b942cb7
RM
22143 [BZ #2550]
22144 [BZ #2570]
22145 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
22146 comparisons to determine direction to adjust input.
4f9d04aa 22147
82a79e7d
RM
221482012-05-01 Roland McGrath <roland@hack.frob.com>
22149
f5a01ca9
RM
22150 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
22151 output to the target.
22152
90fe4186
RM
22153 * scripts/localplt.awk: New file.
22154 * elf/Makefile ($(objpfx)check-localplt): Target removed.
22155 (check-localplt-CFLAGS): Variable removed.
22156 ($(all-built-dso:=.jmprel)): New static pattern rule.
22157 (generated): Add those targets.
22158 (localplt-built-dso): New variable.
22159 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
22160
22161 * elf/check-localplt.c: File removed.
22162
82397ed6
RM
22163 * scripts/check-execstack.awk: New file.
22164 * elf/Makefile ($(objpfx)check-execstack): Target removed.
22165 (check-execstack-CFLAGS): Variable removed.
22166 ($(objpfx)check-execstack.h): Target removed.
22167 ($(objpfx)execstack-default): New target.
22168 (generated): Add that instead of check-execstack.h.
22169 ($(all-built-dso:=.phdr)): New static pattern rule.
22170 (generated): Add those targets.
22171 * elf/check-execstack.c: File removed.
22172
82a79e7d
RM
22173 * scripts/check-textrel.awk: New file.
22174 * elf/Makefile ($(objpfx)check-textrel): Target removed.
22175 (check-textrel-CFLAGS): Variable removed.
22176 (all-built-dso): Use := to define.o
22177 ($(all-built-dso:=.dyn)): New static pattern rule.
22178 (generated): Add those targets.
22179 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
22180 * config.make.in (READELF): New substituted variable.
22181 * elf/check-textrel.c: File removed.
22182
62fde54f 221832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 22184
615605c9
JM
22185 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22186 allow.
22187 * conform/data/ctype.h-data [C99-based standards] (isblank):
22188 Expect function.
22189 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
22190 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
22191 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22192 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
22193 Specify type. Require positive value.
22194 (EILSEQ): Likewise.
22195 (ERANGE): Likewise.
22196 [ISO || POSIX] (EILSEQ): Do not expect.
22197 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
22198 Specify type. Require positive value.
22199 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
22200 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
22201 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
22202 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
22203 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
22204 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
22205 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
22206 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
22207 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
22208 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
22209 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
22210 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
22211 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
22212 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
22213 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
22214 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
22215 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
22216 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
22217 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
22218 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
22219 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
22220 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
22221 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
22222 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
22223 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
22224 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
22225 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
22226 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
22227 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
22228 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
22229 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
22230 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
22231 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
22232 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
22233 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
22234 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
22235 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
22236 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
22237 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
22238 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
22239 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
22240 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
22241 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
22242 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
22243 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
22244 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
22245 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
22246 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
22247 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
22248 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
22249 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
22250 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
22251 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
22252 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
22253 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
22254 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
22255 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
22256 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
22257 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
22258 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
22259 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
22260 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
22261 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
22262 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
22263 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
22264 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
22265 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
22266 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
22267 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
22268 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
22269 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
22270 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
22271 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
22272 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
22273 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
22274 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
22275 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
22276 Require >= 2.
22277 (FLT_ROUNDS): Expect as macro, not constant.
22278 (FLT_MANT_DIG): Use macro-int-constant.
22279 (DBL_MANT_DIG): Likewise.
22280 (LDBL_MANT_DIG): Likewise.
22281 (FLT_DIG): Likewise.
22282 (DBL_DIG): Likewise.
22283 (LDBL_DIG): Likewise.
22284 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22285 (DBL_MIN_EXP): Likewise.
22286 (LDBL_MIN_EXP): Likewise.
22287 (FLT_MAX_EXP): Use macro-int-constant.
22288 (DBL_MAX_EXP): Likewise.
22289 (LDBL_MAX_EXP): Likewise.
22290 (FLT_MAX_10_EXP): Likewise.
22291 (DBL_MAX_10_EXP): Likewise.
22292 (LDBL_MAX_10_EXP): Likewise.
22293 (FLT_MAX): Use macro-constant.
22294 (DBL_MAX): Likewise.
22295 (LDBL_MAX): Likewise.
22296 (FLT_EPSILON): Use macro-constant. Give upper bound.
22297 (DBL_EPSILON): Likewise.
22298 (LDBL_EPSILON): Likewise.
22299 (FLT_MIN): Likewise.
22300 (DBL_MIN): Likewise.
22301 (LDBL_MIN): Likewise.
22302 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22303 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22304 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22305 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22306 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22307 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22308 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22309 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22310 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22311 [ISO11] (FLT_TRUE_MIN): Likewise.
22312 [ISO11] (LDBL_TRUE_MIN): Likewise.
22313 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22314 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22315 (SCHAR_MIN): Use macro-int-constant. Specify type.
22316 (SCHAR_MAX): Likewise.
22317 (UCHAR_MAX): Likewise.
22318 (CHAR_MIN): Likewise.
22319 (CHAR_MAX): Likewise.
22320 (MB_LEN_MAX): Use macro-int-constant.
22321 (SHRT_MIN): Use macro-int-constant. Specify type.
22322 (SHRT_MAX): Likewise.
22323 (USHRT_MAX): Likewise.
22324 (INT_MAX): Likewise.
22325 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22326 bound negative.
22327 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22328 bound with "U".
22329 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22330 bound with "L".
22331 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22332 bound negative. Suffix upper bound with "L".
22333 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22334 bound with "UL".
22335 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22336 Specify type.
22337 [C99-based standards] (LLONG_MAX): Likewise.
22338 [C99-based standards] (ULLONG_MAX): Likewise.
22339 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22340 == 0.
22341 [ISO11] (max_align_t): Require type.
22342 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22343
c9140a62
JM
22344 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22345 from $CFLAGS, without defining away __attribute__ calls.
22346 (checknamespace): Use $CFLAGS_namespace.
22347
9af0bf29
JM
22348 * conform/conformtest.pl (@keywords): Only include C99 keywords
22349 for standards based on C99 or C11.
22350
343222a2
JM
22351 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22352 Disable tests.
22353 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22354 UNIX98]: Likewise.
22355
661f8cf0
JM
22356 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22357 usability of symbols in #if.
22358
ee74b9cb
JM
22359 * conform/conformtest.pl: If macro or constant types start
22360 "promoted:", expect the symbol to be of the following type
22361 promoted by the integer promotions.
62fde54f 22362
aafc49b3
JM
22363 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22364 in one place. Also handle "macro-constant".
22365
fefdf574
JM
22366 * conform/conformtest.pl: Only accept expected macro values with
22367 "==". Parse all "macro" lines in one place.
22368 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22369
f2d922fe
JM
22370 * conform/conformtest.pl: Handle braced types on "constant" lines
22371 instead of handling "typed-constant".
22372 * conform/data/signal.h-data: Use "constant" instead of
22373 "typed-constant".
22374
d22956c9
JM
22375 * conform/conformtest.pl: Handle "optional-" at start of lines in
22376 one place rather than duplicating several cases. Handle each
22377 format of "macro" line with initial "optional-".
22378
028e2e38
JM
22379 * conform/conformtest.pl: Only accept expected constant or
22380 optional-constant values with "==". Parse all "constant" lines in
22381 one place. Parse all "optional-constant" lines in one place.
22382 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22383 * conform/data/fmtmsg.h-data: Likewise.
22384 * conform/data/netinet/in.h-data: Likewise.
22385 * conform/data/tar.h-data: Likewise.
22386 * conform/data/limits.h-data: Use "==" form on "constant" and
22387 "optional-constant" lines.
22388
1b8f2850
JM
22389 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22390 Use -std=c99 for XOPEN2K.
22391 (@knownproblems): Remove.
22392 (newtoken): Don't check %isknown.
22393
a05a144b
JM
22394 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22395 Do not expect macro.
22396 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22397 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22398 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22399 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22400 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22401 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22402 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22403 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22404 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22405 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22406 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22407 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22408 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22409 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22410 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22411 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22412 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22413 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22414 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22415 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22416 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22417 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22418 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22419 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22420 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22421 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22422 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22423 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22424 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22425 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22426 [XPG3] (acosh): Likewise.
22427 [XPG3] (asinh): Likewise.
22428 [XPG3] (atanh): Likewise.
22429 [XPG3] (cbrt): Likewise.
22430 [XPG3] (expm1): Likewise.
22431 [XPG3] (ilogb): Likewise.
22432 [XPG3] (log1p): Likewise.
22433 [XPG3] (logb): Likewise.
22434 [XPG3] (nextafter): Likewise.
22435 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22436 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22437 [XPG3] (remainder): Likewise.
22438 [XPG3] (rint): Likewise.
22439 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22440 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22441 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22442 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22443 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22444 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22445 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22446 [UNIX98 || XOPEN2K] (scalb): Expect.
22447 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22448 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22449 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22450 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22451 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22452 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22453 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22454 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22455 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22456 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22457 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22458 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22459 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22460 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22461 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22462 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22463 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22464 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22465 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22466 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22467 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22468 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22469 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22470 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22471 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22472 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22473 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22474 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22475 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22476 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22477 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22478 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22479 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22480 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22481 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22482 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22483 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22484 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22485 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22486 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22487 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22488 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22489 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22490 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22491 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22492 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22493 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22494 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22495 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22496 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22497 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22498 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22499 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22500 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22501 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22502 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22503 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22504 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22505 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22506 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22507 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22508 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22509 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22510 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22511 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22512 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22513 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22514 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22515 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22516 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22517 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22518 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22519 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22520 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22521 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22522 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22523 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22524 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22525 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22526 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22527 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22528 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22529 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22530 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22531 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22532 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22533 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22534 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22535 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22536 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22537 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22538 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22539 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22540 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22541 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22542 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22543 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22544 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22545 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22546 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22547 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22548 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22549 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22550 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22551 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22552 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22553 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22554 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22555 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22556 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22557 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22558 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22559 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22560 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22561 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22562 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22563 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22564 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22565 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22566 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22567 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22568 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22569 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22570 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22571 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22572 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22573 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22574 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22575 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22576 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22577 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22578 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22579 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22580 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22581 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22582 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22583 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22584
73c5ebe3
JM
22585 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22586 _XOPEN_SOURCE_EXTENDED for XPG4.
22587
39c33b6c
JM
22588 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22589
62fde54f
JM
22590 * Makeconfig (localtime): Remove variable.
22591 (inst_localtime-file): Likewise.
22592
0741d64c
AS
225932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22594
22595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22596 Update.
22597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22598 Update.
22599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22600 Update.
22601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22602 Update.
22603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22604 Update.
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22606 Update.
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22608 Update.
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22610 Update.
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22612 Update.
22613
7cb029ee
JM
226142012-05-01 Joseph Myers <joseph@codesourcery.com>
22615
22616 [BZ #2550]
22617 [BZ #2570]
22618 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22619 comparisons to determine direction to adjust input.
22620 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22621 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22622 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22623 Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22625 Likewise.
22626 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22627 Likewise.
22628 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22629 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22630 Likewise.
22631 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22632 Likewise.
22633 * math/libm-test.inc (nexttoward_test): Add more tests.
22634
412bd966
AS
226352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22636
22637 [BZ #14040]
22638 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22639 in version GLIBC_2.1, not GLIBC_2.0.
22640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22641 Likewise.
22642
9568c0c2
JM
226432012-04-30 Joseph Myers <joseph@codesourcery.com>
22644
adfbc8ac
JM
22645 [BZ #13942]
22646 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22647 (1 - x) * (1 + x).
22648 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22649 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22650 * math/libm-test.inc (acos_test): Add more tests.
22651 (asin_test): Likewise.
22652 * sysdeps/i386/fpu/libm-test-ulps: Update.
22653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22654
5ba3cc69
JM
22655 [BZ #14034]
22656 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22657 of square root.
22658 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22659 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22660 * math/libm-test.inc (acos_test_tonearest): New function.
22661 (acos_test_towardzero): Likewise.
22662 (acos_test_downward): Likewise.
22663 (acos_test_upward): Likewise.
22664 (asin_test_tonearest): Likewise.
22665 (asin_test_towardzero): Likewise.
22666 (asin_test_downward): Likewise.
22667 (asin_test_upward): Likewise.
22668 (main): Call the new functions.
22669 * sysdeps/i386/fpu/libm-test-ulps: Update.
22670 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22671
9568c0c2
JM
22672 [BZ #13884]
22673 [BZ #13924]
22674 * math/e_exp10.c: Include <float.h>.
22675 (__ieee754_exp10): Handle underflow here rather than multiplying
22676 large negative argument by M_LN10.
22677 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22678 of __ieee754_expf.
22679 * math/e_exp10l.c: Include <float.h>.
22680 (__ieee754_exp10l): Handle underflow here rather than multiplying
22681 large negative argument by M_LN10l.
22682 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22683 spurious overflow exception on underflow.
22684
5ac3ea17
MP
226852012-04-29 Marek Polacek <polacek@redhat.com>
22686
22687 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22688 (__fortify_function): New macro.
22689 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22690 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22691 __extern_always_inline.
22692 * libio/bits/stdio2.h: Likewise.
22693 * libio/bits/stdio.h: Likewise.
22694 * string/string.h: Likewise.
22695 * string/bits/string3.h: Likewise.
22696 * include/stdio.h: Likewise.
22697 * stdlib/bits/stdlib.h: Likewise.
22698 * stdlib/stdlib.h: Likewise.
22699 * rt/bits/mqueue2.h: Likewise.
22700 * rt/mqueue.h: Likewise.
22701 * posix/bits/unistd.h: Likewise.
22702 * posix/unistd.h: Likewise.
22703 * io/bits/poll2.h: Likewise.
22704 * io/bits/fcntl2.h: Likewise.
22705 * io/fcntl.h: Likewise.
22706 * io/sys/poll.h: Likewise.
22707 * misc/bits/syslog.h: Likewise.
22708 * misc/bits/syslog-ldbl.h: Likewise.
22709 * misc/sys/syslog.h: Likewise.
22710 * socket/bits/socket2.h: Likewise.
22711 * socket/sys/socket.h: Likewise.
22712 * debug/tst-chk1.c: Likewise.
22713 * wcsmbs/bits/wchar2.h: Likewise.
22714 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22715 * wcsmbs/wchar.h: Likewise.
22716
ecf0ebfb
AJ
227172012-04-29 Andreas Jaeger <aj@suse.de>
22718
22719 * Makerules (tests): Remove enable-check-abi protection.
22720 (check-abi-warn): Remove.
22721 (check-abi-%): Remove check-abi-warn usage.
22722
22723 * configure.in: Remove check-abi configure option.
22724 * configure: Regenerated.
22725 * config.make.in (enable-check-abi): Remove.
22726
6d5c57fa
AS
227272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22728
24c5d07e 22729 [BZ #14033]
ded5180a
AS
22730 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22731 double functions to double *_finite functions.
22732
7e0d315d
AS
22733 [BZ #13941]
22734 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22735 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22736 LDBL_MIN_EXP.
22737 * stdio-common/Makefile (tests): Add tst-sprintf3.
22738 * stdio-common/tst-sprintf3.c: New file.
22739
6d5c57fa
AS
22740 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22741 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22742
0749ff8b
JM
227432012-04-28 Joseph Myers <joseph@codesourcery.com>
22744
22745 * conform/conformtest.pl: Remove duplicate typed-constant
22746 handling.
22747
8dbd5d7b
DM
227482012-04-28 David S. Miller <davem@davemloft.net>
22749
22750 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22751 (check-abi-%): Remove AWK script prerequisite and explicit
22752 abilist directory.
22753 (check-abi): Rewrite to just diff the symlist with the abilist.
22754 (config-tls, config-abi-config): Delete, no longer used.
22755 (update-abi-%): Remove AWK script and explicit abilist directory.
22756 (update-abi): Rewrite to simply compare and conditionally copy the
22757 symlist and the sysdep abilist file. Remove update-abi-config
22758 checks.
22759 * abilist/ld.abilist: Remove.
22760 * abilist/libBrokenLocale.abilist: Remove.
22761 * abilist/libanl.abilist: Remove.
22762 * abilist/libcrypt.abilist: Remove.
22763 * abilist/libdl.abilist: Remove.
22764 * abilist/librt.abilist: Remove.
22765 * abilist/libthread_db.abilist: Remove.
22766 * abilist/libutil.abilist: Remove.
22767 * scripts/extract-abilist.awk: Remove.
22768 * scripts/merge-abilist.awk: Remove.
22769 * sysdeps/generic/libcidn.abilist: New file.
22770 * sysdeps/generic/libnss_compat.abilist: New file.
22771 * sysdeps/generic/libnss_db.abilist: New file.
22772 * sysdeps/generic/libnss_dns.abilist: New file.
22773 * sysdeps/generic/libnss_files.abilist: New file.
22774 * sysdeps/generic/libnss_hesiod.abilist: New file.
22775 * sysdeps/generic/libnss_nis.abilist: New file.
22776 * sysdeps/generic/libnss_nisplus.abilist: New file.
22777 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22778 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22779 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22780 file.
22781 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22782 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22783 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22784 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22785 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22786 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22787 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22788 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22789 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22790 file.
22791 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22792 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22793 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22794 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22795 file.
22796 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22797 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22798 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22799 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22800 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22801 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22802 file.
22803 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22804 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22805 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22806 file.
22807 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22809 New file.
22810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22811 New file.
22812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22813 New file.
22814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22815 New file.
22816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22817 New file.
22818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22819 New file.
22820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22821 New file.
22822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22823 New file.
22824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22825 New file.
22826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22827 New file.
22828 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22829 New file.
22830 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22831 New file.
22832 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22833 New file.
22834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22835 file.
22836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22837 New file.
22838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22839 New file.
22840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22841 file.
22842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22843 New file.
22844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22845 New file.
22846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22847 file.
22848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22849 New file.
22850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22851 New file.
22852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22853 New file.
22854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22855 New file.
22856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22857 New file.
22858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22859 New file.
22860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22862 file.
22863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22864 New file.
22865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22866 file.
22867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22868 file.
22869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22870 file.
22871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22872 file.
22873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22874 file.
22875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22876 New file.
22877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22878 file.
22879 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22880 file.
22881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22882 New file.
22883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22884 file.
22885 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22887 file.
22888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22889 New file.
22890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22891 file.
22892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22893 file.
22894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22895 file.
22896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22897 file.
22898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22899 file.
22900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22901 New file.
22902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22903 file.
22904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22905 file.
22906 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22907 New file.
22908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22909 file.
22910 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22911 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22912 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22913 file.
22914 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22915 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22916 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22917 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22918 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22919 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22920 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22921 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22922 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22923 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22924 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22926 file.
22927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22928 New file.
22929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22930 file.
22931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22932 file.
22933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22934 file.
22935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22936 file.
22937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22938 file.
22939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22940 New file.
22941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22942 New file.
22943 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22944 file.
22945 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22946 New file.
22947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22948 file.
22949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22951 file.
22952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22953 New file.
22954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22955 file.
22956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22957 file.
22958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22959 file.
22960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22961 file.
22962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22963 file.
22964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22965 New file.
22966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22967 New file.
22968 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22969 file.
22970 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22971 New file.
22972 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22973 file.
22974
41d73a1b
JM
229752012-04-28 Joseph Myers <joseph@codesourcery.com>
22976
22977 * conform/conformtest.pl: Fix typo in handling typed-constant from
22978 allow-header.
22979
28aeeda4
JM
229802012-04-27 Joseph Myers <joseph@codesourcery.com>
22981
adae8f5e
JM
22982 * README: Cut down references to pre-2.6 Linux kernels and
22983 Linuxthreads. Update lists of configurations in libc and ports
22984 and sort alphabetically. Say "or newer" with Linux kernel version
22985 requirements.
22986
28aeeda4
JM
22987 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22988
a462cb63
RA
229892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22990
22991 [BZ #887]
22992 * math/libm-test.inc (logb_test_downward): New test to expose
22993 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22994 rounding mode.
22995
6ad3493e
JM
229962012-04-27 Joseph Myers <joseph@codesourcery.com>
22997
22998 [BZ #14027]
22999 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
23000 to be done.
23001 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
23002 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
23003
2ce4f015
JM
230042012-04-26 Joseph Myers <joseph@codesourcery.com>
23005
5aeb141a
JM
23006 * sysdeps/unix/i386/brk.S: Remove file.
23007 * sysdeps/unix/i386/dl-brk.S: Likewise.
23008 * sysdeps/unix/i386/pipe.S: Likewise.
23009 * sysdeps/unix/i386/sigreturn.S: Likewise.
23010 * sysdeps/unix/i386/syscall.S: Likewise.
23011 * sysdeps/unix/i386/vfork.S: Likewise.
23012 * sysdeps/unix/i386/wait.S: Likewise.
23013
7143acae
JM
23014 * sysdeps/unix/common/tcsendbrk.c: Move to ...
23015 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
23016
2ce4f015
JM
23017 * configure.in (arm*-none*): Do not allow without
23018 --enable-hacker-mode.
23019 (netbsd*): Remove case setting base_os.
23020 (386bsd*): Likewise.
23021 (freebsd*): Likewise.
23022 (bsdi*): Likewise.
23023 (osf*): Likewise.
23024 (sunos*): Likewise.
23025 (ultrix*): Likewise.
23026 (newsos*): Likewise.
23027 (dynix*): Likewise.
23028 (*bsd*): Likewise.
23029 (sysv*): Likewise.
23030 (isc*): Likewise.
23031 (esix*): Likewise.
23032 (sco*): Likewise.
23033 (minix*): Likewise.
23034 (irix4*): Likewise.
23035 (irix6*): Likewise.
23036 (solaris[2-9]*): Likewise.
23037 (none): Likewise.
23038 * configure: Regenerated.
23039
0ac229c8
AZ
230402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23041
23042 [BZ #11521]
23043 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
23044 overflow or cancellation in calculating denominator.
23045 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
23046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
23047 down expression to avoid unexpected rounding in newer GCCs.
23048 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
23049
33f244f4
DM
230502012-04-26 David S. Miller <davem@davemloft.net>
23051
23052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
23053 long-double compat symbols.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
23056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
23058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
23060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23067
cfa1f3e8
DM
230682012-04-25 David S. Miller <davem@davemloft.net>
23069
23070 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
23071 HWCAP_* values only after the memory barriers have been defined.
23072 (atomic_full_barrier): Define.
23073 (atomic_read_barrier): Define.
23074 (atomic_write_barrier): Define.
23075
6e236b92
SP
230762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
23077
23078 * shlib-versions: Add libgcc_s version information.
23079 * sysdeps/generic/libgcc_s.h: Remove.
23080 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
23081 libgcc_s.h.
23082 * sysdeps/gnu/unwind-resume.c: Likewise.
23083 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
23084
aab39a09
DM
230852012-04-25 David S. Miller <davem@davemloft.net>
23086
23087 * sysdeps/unix/sparc/brk.S: Delete.
23088 * sysdeps/unix/sparc/dl-brk.S: Delete.
23089 * sysdeps/unix/sparc/pipe.S: Delete.
23090 * sysdeps/unix/sparc/sysdep.S: Delete.
23091 * sysdeps/unix/sparc/sysdep.h: Delete.
23092 * sysdeps/unix/sparc/vfork.S: Delete.
23093 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
23094 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
23095 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
23096 ret_ERRVAL, r0, r1, MOVE): Define.
23097 (JUMPTARGET): Remove.
23098 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
23099 sysdeps/unix/sparc/sysdep.h
23100 (ENTRY, END): Remove.
23101 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23102
a3cc4f48
JM
231032012-04-25 Joseph Myers <joseph@codesourcery.com>
23104
2ed8cda2
JM
23105 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
23106 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
23107 -DIS_IN_build.
23108
35d76d59
JM
23109 * timezone/README: Update upstream location and email address for
23110 tzcode and tzdata.
23111 * timezone/zdump.c: Update from tzcode 2012b.
23112 * timezone/zic.c: Likewise.
23113
a3cc4f48
JM
23114 * configure.in (libc_cv_as_needed): Remove test.
23115 * configure: Regenerated.
23116 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
23117 conditional definition.
23118 [$(have-as-needed) != yes] (no-as-needed): Likewise.
23119 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
23120 * config.make.in (have-as-needed): Remove variable.
23121
ceab42c3
SP
231222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23123 Paul Pluzhnikov <ppluzhnikov@google.com>
23124
23125 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
23126 strings correctly.
23127
3ce2865f
CLT
231282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
23129
23130 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
23131 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
23132 * sysdeps/sh/strlen.S: Likewise.
23133
f37e0d68
JM
231342012-04-24 Joseph Myers <joseph@codesourcery.com>
23135
ae186e9a
JM
23136 * sysdeps/unix/fork.S: Remove file.
23137 * sysdeps/unix/i386/fork.S: Likewise.
23138 * sysdeps/unix/sparc/fork.S: Likewise.
23139
b96914af
JM
23140 * sysdeps/unix/system.c: Remove file.
23141 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
23142
f37e0d68
JM
23143 * sysdeps/unix/getegid.S: Remove file.
23144 * sysdeps/unix/geteuid.S: Likewise.
23145
87ef29ca
RM
231462012-04-24 Roland McGrath <roland@hack.frob.com>
23147
83bcd236
RM
23148 * scripts/check-localplt.awk: New file.
23149 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
23150 of diff.
23151 * scripts/data/localplt-generic.data: Add a comment.
23152
87ef29ca
RM
23153 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
23154 NODE when __dir_mkfile failed.
23155 * sysdeps/mach/hurd/symlinkat.c: Likewise.
23156 Reported by Ludovic Courtès <ludo@gnu.org>.
23157
e5a6e567
AJ
231582012-04-24 Andreas Jaeger <aj@suse.de>
23159
23160 * Makerules (common-clean): Also remove gen-as-const-headers
23161 files.
23162
c1820385
JM
231632012-04-24 Joseph Myers <joseph@codesourcery.com>
23164
23165 * Makerules (native-compile): Do not change working directory for
23166 build. Use $(OUTPUT_OPTION) in command.
23167 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
23168
94e02fc4
AZ
231692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23170
23171 [BZ #13886]
23172 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
23173 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
23174 * math/libm-test.inc (floor_test): Add more tests.
23175 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
23176
3a533ca3
JM
231772012-04-24 Joseph Myers <joseph@codesourcery.com>
23178
940ab4b3
JM
23179 * sysdeps/unix/getdents.c: Remove file.
23180 * sysdeps/unix/sysv/getdents.c: Likewise.
23181 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
23182
90e037bd
JM
23183 * sysdeps/unix/syscalls.list (madvise): Add syscall from
23184 sysdeps/unix/mman/syscalls.list.
23185 (mmap): Likewise.
23186 (mprotect): Likewise.
23187 (msync): Likewise.
23188 (munmap): Likewise.
23189 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
23190 * sysdeps/unix/mman/syscalls.list: Remove.
23191 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
23192
3a533ca3
JM
23193 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
23194 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
23195 * configure: Regenerated.
23196 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
23197 $(libgcc_s_suffix).
23198 * config.make.in (libgcc_s_suffix): Remove variable.
23199
1ad743de
JM
232002012-04-23 Joseph Myers <joseph@codesourcery.com>
23201
4ad451e2
JM
23202 * sysdeps/unix/sysv/gethostname.c: Move to ...
23203 * sysdeps/posix/gethostname.c: ... here.
23204
5e37ce39
JM
23205 * sysdeps/unix/execve.S: Remove file.
23206
1ad743de
JM
23207 * sysdeps/unix/_exit.S: Remove file.
23208
4e681b5b
AJ
232092012-04-23 Andreas Jaeger <aj@suse.de>
23210
23211 [BZ #13739]
23212 * manual/Makefile: Remove make dist support, there's no
23213 need for a stand-alone documentation tar ball.
23214 (TEXI2DVI): Define always, it's not in Makeconfig.
23215 (dist): Removed.
23216 (tar-it): Removed.
23217 (edition): Removed.
23218 (glibc-doc-$(edition).tar): Removed
23219 (%.Z): Removed.
23220 (%.gz): Removed.
23221 (%.uu): Removed.
23222 (ETAGS): Remove, it's in Makeconfig.
23223 (move-if-change): Remove, it's in Makeconfig.
23224
38686a03 232252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
23226
23227 [BZ #13970]
23228 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
23229 (strtod, strtof, strtold, strtol, strtoul, strtoq)
23230 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
23231 (strtod_l, strtof_l, strtold_l): Remove __wur.
23232 It is not necessarily an error to ignore strtol's return value.
23233 One can reliably look at the stored endptr to decide whether
23234 the number had valid syntax.
23235
7c0616fa
AJ
232362012-04-21 Andreas Jaeger <aj@suse.de>
23237
803cb6b7 23238 [BZ #13739]
7c0616fa
AJ
23239 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
23240
b0fe253f
JM
232412012-04-21 Joseph Myers <joseph@codesourcery.com>
23242
23243 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
23244 * sysdeps/unix/sysv/Versions: Remove file.
23245
8280f22d
MT
232462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
23247
23248 [BZ #13927]
23249 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23250
75ce411f 232512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
23252
23253 [BZ #7064]
23254 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
23255 version from __vm86.
23256
097d59fa
JM
232572012-04-20 Joseph Myers <joseph@codesourcery.com>
23258
a90f3bcb
JM
23259 * sysdeps/unix/common/lxstat.c: Remove file.
23260 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
23261
edc7ea78
JM
23262 * sysdeps/unix/sysv/Makefile: Remove file.
23263
cb78c221
JM
23264 * sysdeps/unix/sysv/direct.h: Remove file.
23265
efa6a45f
JM
23266 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
23267 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
23268 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
23269 * sysdeps/unix/sysv/bits/signum.h: Likewise.
23270 * sysdeps/unix/sysv/bits/stat.h: Likewise.
23271 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
23272 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
23273
9c9f2d0c
JM
23274 * sysdeps/unix/sysv/setrlimit.c: Remove file.
23275
4541c83b
JM
23276 * sysdeps/unix/xmknod.c: Remove file.
23277 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
23278
f5d153a0
JM
23279 * sysdeps/unix/sysv/settimeofday.c: Remove file.
23280
aa746595
JM
23281 * sysdeps/unix/sysv/i386/time.S: Remove file.
23282
cce5905e
JM
23283 * sysdeps/unix/fxstat.c: Remove file.
23284 * sysdeps/unix/xstat.c: Likewise.
23285 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23286
37fa3841
JM
23287 * sysdeps/unix/sysv/sigaction.c: Remove file.
23288
ff1962a3
JM
23289 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23290 (sysdep_headers): Remove variable.
23291 [termio.h not in sysdep_headers] (generated): Likewise.
23292 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23293 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23294 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23295 * sysdeps/unix/sysv/tcflow.c: Likewise.
23296 * sysdeps/unix/sysv/tcflush.c: Likewise.
23297 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23298 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23299 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23300 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23301 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23302
e7740d31
JM
23303 * sysdeps/unix/siglist.c: Remove file.
23304
ee06f18b
JM
23305 * sysdeps/unix/getppid.S: Remove file.
23306
097d59fa
JM
23307 * sysdeps/unix/mkdir.c: Remove file.
23308 * sysdeps/unix/rmdir.c: Likewise.
23309
ff3d51ec
AS
233102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23311
23312 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23313 ERR_MAX value.
23314 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23315 errlist-compat value.
23316
50f81fd7
DM
233172012-04-18 David S. Miller <davem@davemloft.net>
23318
23319 * sysdeps/generic/memcopy.h (reg_char): Delete.
23320 * debug/strcat_chk.c: Use char, not reg_char.
23321 * debug/strcpy_chk.c: Likewise.
23322 * debug/strncat_chk.c: Likewise.
23323 * debug/strncpy_chk.c: Likewise.
23324 * string/memchr.c: Likewise.
23325 * string/memrchr.c: Likewise.
23326 * string/rawmemchr.c: Likewise.
23327 * string/strcat.c: Likewise.
23328 * string/strchr.c: Likewise.
23329 * string/strchrnul.c: Likewise.
23330 * string/strcmp.c: Likewise.
23331 * string/strcpy.c: Likewise.
23332 * string/strncat.c: Likewise.
23333 * string/strncmp.c: Likewise.
23334 * string/strncpy.c: Likewise.
23335
8ff41c46
WS
233362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23337
23338 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23339 __builtin_memcopy is called when src and dest ranges are known to not
23340 overlap.
23341
6b652f46
WS
233422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23343
23344 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23345 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23346 fwd_align_merge macro call.
23347 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23348 bwd_align_merge macro call.
23349 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23350
b282631e
WS
233512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23352
23353 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23354 bwd_align_merge macros.
23355 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23356 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23357 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23358
95aa737c
DM
233592012-04-18 David S. Miller <davem@davemloft.net>
23360
23361 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23362
7a99a614
AJ
233632012-04-18 Andreas Jaeger <aj@suse.de>
23364
23365 [BZ# 6794]
23366 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23367 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23368 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23369
23370 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23371 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23372 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23373
23374 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23375 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23376 Adjust for changed ldbl-128 files.
23377
23378 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23379 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23380 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23381
e5270c23
DM
233822012-04-17 David S. Miller <davem@davemloft.net>
23383
23384 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23385
fb5e92c9
AS
233862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23387
23388 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23389 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23390 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23391 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23392 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23393 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23394
76da7265
AZ
233952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23396
23397 [BZ #6794]
23398 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23399 * math/libm-test.inc: Add ilogb errno and exception tests.
23400 * math/w_ilogb.c: New file: ilogb wrapper.
23401 * math/w_ilogbf.c: New file: ilogbf wrapper.
23402 * math/w_ilogbl.c: New file: ilogbl wrapper.
23403 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23404 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23405 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23406 exception being thrown with 0.0 as argument.
23407 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23408 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23409 exception being thrown with 0.0 as argument.
23410 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23411 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23412 exception being thrown with 0.0 as argument.
23413 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23414 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23415 exception being thrown with 0.0 as argument.
23416 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23417 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23418 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23419 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23420 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23421 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23422 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23423 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23424 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23425
0396e69d
PB
234262012-04-17 Petr Baudis <pasky@ucw.cz>
23427
23428 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23429 with altivec.
23430
750b5926
MP
234312012-04-16 Marek Polacek <polacek@redhat.com>
23432
23433 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23434
751728a1
MP
234352012-04-16 Marek Polacek <polacek@redhat.com>
23436
23437 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23438 operands of fdivp instruction.
23439
34a27407
L
234402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23443 * elf/tst-auditmod3b.c: Likewise.
23444 * elf/tst-auditmod4b.c: Likewise.
23445 * elf/tst-auditmod5b.c: Likewise.
23446 * elf/tst-auditmod6b.c: Likewise.
23447 * elf/tst-auditmod6c.c: Likewise.
23448 * elf/tst-auditmod7b.c: Likewise.
23449 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23450 * sysdeps/x86_64/preconfigure.in: Likewise.
23451 * sysdeps/x86_64/preconfigure: Regenerated.
23452
7e73e17d
L
234532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23454
23455 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23456 __ILP32__.
23457
c7a6ab72
AB
234582012-04-13 Antoine Balestrat <merkil33@gmail.com>
23459
23460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23461 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23462
a9e8e0e0
CL
234632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23464
23465 [BZ #13973]
23466 * locale/iso-639.def: Fix gl language name. Spotted by
23467 Yaron Shahrabani.
23468
ec98af7d
RM
234692012-04-12 Roland McGrath <roland@hack.frob.com>
23470
23471 [BZ #2074]
23472 * libio/libio.h (__io_write_fn): Update comment.
23473
247c3ede
PB
234742012-04-12 Petr Baudis <pasky@ucw.cz>
23475
23476 [BZ #2074]
23477 * stdio.texi (Hook Functions): The user provided writer function
23478 is not allowed to return -1.
23479
55939d6d
DM
234802012-04-11 David S. Miller <davem@davemloft.net>
23481
23482 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23483
90020f5a
MF
234842012-04-11 Mike Frysinger <vapier@gentoo.org>
23485
23486 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23487 Add a leading slash to rtkaio.
23488
288f9098
JM
234892012-04-11 Jim Meyering <meyering@redhat.com>
23490
90020f5a
MF
23491 [BZ #11959]
23492 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23493 It is not necessarily an error to ignore fwrite's return
23494 value. One can reliably use ferror to test for errors after
23495 the fact.
288f9098 23496
4be2b570
L
234972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23498
23499 * bits/types.h (__snseconds_t): New type.
23500 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23501
23502 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23503 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23504 (__SNSECONDS_T_TYPE): Likewise.
23505 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23506 (__SNSECONDS_T_TYPE): Likewise.
23507 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23508 (__SNSECONDS_T_TYPE): Likewise.
23509
288f9098 235102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23511
23512 [BZ #2636]
23513 * manual/time.texi (Processor Time): Return type of times is
23514 elapsed real time since an arbitrary point in the past.
23515 (CPU Time): Move CLK_TCK from here...
23516 (Processor Time): ...to here. Correct description.
23517 * manual/conf.texi (Constants for Sysconf): Correct description of
23518 _SC_CLK_TCK.
23519
d7dd4413
DM
235202012-04-10 David S. Miller <davem@davemloft.net>
23521
23522 [BZ #13967]
23523 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23524 where the is a gap between DT_REL(A) and DT_JMPREL.
23525
b46068fc
L
235262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23527
23528 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23529 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23530 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23531
73d65cc3
SP
235322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23533
23534 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23535 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23536 (dl_main): Handle --inhibit-cache.
23537 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23538 _dl_inhibit_cache.
23539 * elf/dl-load.c (_dl_map_object): Use it.
23540 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23541
bcc8d661
JM
235422012-04-09 Joseph Myers <joseph@codesourcery.com>
23543
8f9a2fae
JM
23544 [BZ #13872]
23545 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23546 (__ieee754_powl): Saturate large exponents rather than testing for
23547 overflow of y*log2(x).
23548 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23549 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23550 exceptions.
23551
bcc8d661
JM
23552 [BZ #11521]
23553 * math/s_ctan.c: Include <float.h>.
23554 (__ctan): Avoid internal overflow or cancellation in calculating
23555 denominator.
23556 * math/s_ctanf.c: Likewise.
23557 * math/s_ctanl.c: Likewise.
23558 * math/s_ctanh.c: Likewise.
23559 * math/s_ctanhf.c: Likewise.
23560 * math/s_ctanhl.c: Likewise.
23561 * math/libm-test.inc (ctan_test): Add more tests.
23562 (ctanh_test): Likewise.
23563 * sysdeps/i386/fpu/libm-test-ulps: Update.
23564 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23565
823fbbb4
AJ
235662012-04-09 Andreas Jaeger <aj@suse.de>
23567
03879793
AJ
23568 [BZ #6894]
23569 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23570 is an optional BSD extension.
23571
823fbbb4
AJ
23572 [BZ #10254]
23573 * manual/stdio.texi (Opening Streams): Document additional fopen
23574 parameters.
23575
8de131cb
RM
235762012-04-09 Roland McGrath <roland@hack.frob.com>
23577
23578 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23579 %eax without telling the compiler.
23580
c0ed9d7d
CD
235812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23582
23583 [BZ # 13963]
23584 * manual/install.texi: Use sourceware.org.
23585
c483f6b4
JM
235862012-04-09 Joseph Myers <joseph@codesourcery.com>
23587
d7dd9453
JM
23588 [BZ #13873]
23589 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23590 (__ieee754_pow): Generate overflow and underflow using huge*huge
23591 and tiny*tiny rather than just returning constant infinity or zero
23592 for large exponents.
23593 * math/libm-test.inc (pow_test): Require overflow exceptions for
23594 applicable cases of large exponents.
23595
c483f6b4
JM
23596 [BZ #706]
23597 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23598 (__ieee754_pow): Use iterative multiplication algorithm only for
23599 integer exponents with absolute value below 1024. Check for odd
23600 integer exponents when using algorithm for real exponents.
23601 * math/libm-test.inc (pow_test): Add more tests.
23602 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23603
d2de7579
JM
236042012-04-08 Joseph Myers <joseph@codesourcery.com>
23605
23606 [BZ #13705]
23607 * math/libm-test.inc (exp_test): Do not allow overflow exception
23608 on underflow test.
23609
f77f1232
AJ
236102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23611
23612 [BZ #13705]
23613 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23614 instead of __kernel_standard_f.
23615
3884932b
MF
236162012-04-08 Mike Frysinger <vapier@gentoo.org>
23617
23618 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23619 * sysdeps/x86_64/memset_chk.S: Likewise.
23620
54472e9c
AJ
236212012-04-08 Andreas Jaeger <aj@suse.de>
23622
6ab0fbfc
AJ
23623 [BZ #10153]
23624 * manual/startup.texi (Environment Access): Describe return value
23625 for putenv and setenv.
23626
61efba8c
AJ
23627 [BZ #6895]
23628 * manual/filesys.texi (Directory Entries): Add description for
23629 DT_LNK.
23630
95c3f29a
AJ
23631 [BZ #6890]
23632 * manual/filesys.texi (Directory Entries): Clarify that it's file
23633 system not operating system in the description of DT_UNKNOWN.
23634
54472e9c
AJ
23635 [BZ #6578]
23636 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23637
624254b1
SC
236382012-04-08 Stephen Compall <s11@member.fsf.org>
23639
23640 [BZ #6649]
23641 * manual/llio.texi (Opening and Closing Files): Add cross
23642 reference to explain mode argument.
23643
1e4920e0
MF
236442012-04-07 Mike Frysinger <vapier@gentoo.org>
23645
23646 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23647 * sysdeps/x86_64/memset_chk.S: Likewise.
23648
5ed848f3
DM
236492012-04-07 David S. Miller <davem@davemloft.net>
23650
23651 * elf/elf.h (R_SPARC_WDISP10): Define.
23652 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23653 R_SPARC_SIZE32.
23654 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23655 R_SPARC_SIZE64 and R_SPARC_H34.
23656
96154cd8
CD
236572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23658
23659 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23660 conditions and remove no longer applicable assertion.
23661
9904dc47
L
236622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23663
23664 * bits/byteswap.h: Include <features.h>.
23665 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23666 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23667
f8887d0a
L
236682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23669
23670 * bits/byteswap.h (__bswap_16): Removed.
23671 Include <bits/byteswap-16.h> to get __bswap_16.
23672 * sysdeps/i386/bits/byteswap.h: Likewise.
23673 * sysdeps/s390/bits/byteswap.h: Likewise.
23674 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23675 * bits/byteswap-16.h: New file.
23676 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23677 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23678 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23679 * string/Makefile (headers): Add bits/byteswap-16.h.
23680
62470f60
PP
236812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23682
23683 [BZ #13895]
23684 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23685 extra indirection.
23686 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23687 * nss/tst-nss-static.c: New.
23688
4dad7bab
RM
236892012-04-06 Robert Millan <rmh@gnu.org>
23690
23691 [BZ #6486]
23692 * manual/llio.texi (File Position Primitive): lseek
23693 refers to WHENCE when it really means OFFSET.
23694
e9142a17
AJ
236952012-04-06 Andreas Jaeger <aj@suse.de>
23696
2c040eff
AJ
23697 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23698 strncmp declarations.
23699
e9142a17
AJ
23700 * abilist/libc.abilist: Add __poll and __ppoll.
23701
ff9f1c5f
DM
237022012-04-05 David S. Miller <davem@davemloft.net>
23703
dcd2ae90
DM
23704 * scripts/check-local-headers.sh: Accept a host triplet in the
23705 path matched by the exclude regexp.
23706
993eb054
DM
23707 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23708 definition.
23709 * sysdeps/powerpc/powerpc32/dl-machine.h
23710 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23711 * sysdeps/s390/s390-32/dl-machine.h
23712 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23713 * sysdeps/sparc/sparc32/dl-machine.h
23714 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23715 * sysdeps/sparc/sparc64/dl-machine.h
23716 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23717
ff9f1c5f
DM
23718 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23719 lazy binding.
48e2e132 23720 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23721 undefined symbol errors.
23722
48e2e132 23723 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23724 DT_NEEDED entries.
23725
e80d6f94
MM
237262012-04-05 Michael Matz <matz@suse.de>
23727
23728 [BZ #13592]
23729 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23730
349fa79f
AJ
237312012-04-05 Andreas Jaeger <aj@suse.de>
23732
23733 [BZ #13908]
23734 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23735 comment.
23736
f402708f
KK
237372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23738
23739 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23740 which ROUND is no valid rounding mode.
23741
2ecccfc9
KK
237422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23743
23744 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23745 read again.
23746 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23747
8a53f50f
KK
237482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23749
23750 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23751 an exception using FPU order intentionally.
23752
237532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23754
23755 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23756 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23757 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23758 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23759
d653abb7
SJ
237602012-04-05 Simon Josefsson <simon@josefsson.org>
23761
23762 [BZ #12340]
23763 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23764 EINVAL when BUFLEN is too smal.
23765
c3b1bf7d
TS
237662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23767
23768 [BZ #13553]
23769 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23770 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23771
b1aa60f3
AJ
237722012-04-03 Andreas Jaeger <aj@suse.de>
23773
c3b1bf7d 23774 [BZ #13938]
67f60a26
AJ
23775 * manual/setjmp.texi (System V contexts): Fix sentence.
23776
b1aa60f3
AJ
23777 [BZ #13926]
23778 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23779 New macro for this case.
23780 [!__GNUC__] (__bswap_64): New inline function for this case.
23781 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23782 * bits/byteswap.h: Likewise.
23783 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23784 ull, guard with __GLIBC_HAVE_LONG_LONG.
23785
23786 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23787 __GLIBC_HAVE_LONG_LONG.
23788
23789 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23790 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23791
39c59c35
TMQMF
237922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23793
23794 [BZ #13691]
23795 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23796 inptr and inend, rather than using last_ch.
23797
135ffda8
DM
237982012-04-02 David S. Miller <davem@davemloft.net>
23799
23800 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23801 * stdio-common/printf-parse.h (read_int): Change return type to
23802 'int', return -1 on INT_MAX overflow.
23803 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23804 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23805 overflows INT_MAX. Check for overflow of in-format-string precision
23806 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23807 SIZE_MAX not INT_MAX for integer overflow test.
23808 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23809 skip the construct in the format string but do not record anything.
23810 * stdio-common/bug22.c: Adjust to test both width/prevision
23811 INT_MAX overflow as well as total length INT_MAX overflow. Check
23812 explicitly for proper errno values.
23813
228c019e
TS
238142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23815
302cadd3
TS
23816 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23817 CHAR_MAX.
23818 * string/test-strcmp.c [! WIDE]: Likewise.
23819 * time/tst-mktime2.c: Likewise for INT_MAX.
23820 * string/test-string.h: #include <sys/param.h> for MIN.
23821
228c019e
TS
23822 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23823 * sysdeps/i386/init-first.c (init): Likewise.
23824 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23825 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23826 * sysdeps/sh/init-first.c (init): Likewise.
23827
cfa633f5
UD
238282012-04-01 Ulrich Drepper <drepper@gmail.com>
23829
23830 * po/ru.po: Update from translation team.
d1635ef8 23831 * po/vi.po: Likewise.
cfa633f5 23832
6cd0a5ea
SP
238332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23834
23835 * resolv/nss_dns/dns-host.c: Merge copyright years.
23836
4b43400f
LD
238372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23838
23839 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23840 Optimize memcpy with prefetch if
23841 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23842 src, dst pointers have unequal 16 byte alignments.
23843
48c41d04
SP
238442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23845
23846 [BZ #13928]
23847 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23848 from a CNAME entry and return the minimum ttl for the query.
23849 (gaih_getanswer_slice): Likewise.
23850
b8dc394d
JL
238512012-03-30 Jeff Law <law@redhat.com>
23852
23853 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23854 due to long keys.
23855 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23856 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23857
2f5a5ed0
JL
23858 * resolv/nss_dns/dns-host.c: Update copyright year.
23859
1d39e359
UD
238602012-03-30 Ulrich Drepper <drepper@gmail.com>
23861
c030f70c 23862 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23863 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23864
1d39e359
UD
23865 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23866 comments for sendmmsg.
23867
238682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23869
23870 [BZ #13691]
23871 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23872 with only 1 character between 0x0041 and 0x01b0.
23873 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23874 * wcsmbs/tst-mbsnrtowcs.c: New file.
23875
20fde227
DM
238762012-03-29 David S. Miller <davem@davemloft.net>
23877
23878 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23879 small copies by hand.
23880
984a4237
JL
238812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23882
23883 [BZ #13761]
23884 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23885 _nss_compat_initgroups_dyn): Fall back to malloc/free
23886 for large group memberships.
23887
18c9d62b
DM
238882012-03-28 David S. Miller <davem@davemloft.net>
23889
88d85d4f
DM
23890 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23891 that branches into memcpy.
23892 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23893 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23894 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23895 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23897 bits.
23898 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23899 implementation too.
23900 * sysdeps/sparc/mempcpy.S: New file.
23901
e5aa83e1
DM
23902 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23903 the IFUNC routine in the libc case.
23904 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23905
88570753
DM
23906 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23907 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23908 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23909 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23910 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23911 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23912 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23913 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23914
249d7567
DM
23915 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23916 loop to 256 bytes instead of 64 bytes and fix test signedness.
23917
18c9d62b
DM
23918 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23919 * sysdeps/sparc/sparc32/Makefile: rather than here...
23920 * sysdeps/sparc/sparc64/Makefile: and here.
23921
05f3d1f6
UD
239222012-03-28 Ulrich Drepper <drepper@gmail.com>
23923
23924 * malloc/mallocbug.c: Avoid warnings about unused variables.
23925
86ae07a8
JL
239262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23927
23928 [BZ #13760]
23929 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23930 in the right place. Discard and retry query if response is
23931 larger than input buffer size.
23932
41bf21a1
JM
239332012-03-28 Joseph Myers <joseph@codesourcery.com>
23934
d6270972
JM
23935 [BZ #369]
23936 [BZ #2678]
23937 [BZ #3866]
23938 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23939 x for large integer exponent.
23940 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23941 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23942 sign of result as needed afterwards.
23943 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23944 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23945 result for underflowing pow the same as for overflow.
23946 (__kernel_standard_l): Handle powl overflow and underflow here
23947 rather than calling __kernel_standard.
23948 * math/libm-test.inc (pow_test): Add more tests.
23949
414fca03 23950 [BZ #3868]
41bf21a1
JM
23951 [BZ #13879]
23952 [BZ #13910]
23953 [BZ #13911]
23954 [BZ #13912]
23955 [BZ #13913]
23956 [BZ #13915]
23957 [BZ #13916]
23958 [BZ #13917]
23959 [BZ #13918]
23960 [BZ #13919]
23961 [BZ #13920]
23962 [BZ #13921]
23963 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23964 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23965 (__kernel_standard_l): New function.
23966 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23967 __kernel_standard.
23968 * math/w_acosl.c (__acosl): Likewise.
23969 * math/w_asinl.c (__asinl): Likewise.
23970 * math/w_atan2l.c (__atan2l): Likewise.
23971 * math/w_atanhl.c (__atanhl): Likewise.
23972 * math/w_coshl.c (__coshl): Likewise.
23973 * math/w_exp10l.c (__exp10l): Likewise.
23974 * math/w_exp2l.c (__exp2l): Likewise.
23975 * math/w_fmodl.c (__fmodl): Likewise.
23976 * math/w_hypotl.c (__hypotl): Likewise.
23977 * math/w_j0l.c (__j0l, __y0l): Likewise.
23978 * math/w_j1l.c (__j1l, __y1l): Likewise.
23979 * math/w_jnl.c (__jnl, __ynl): Likewise.
23980 * math/w_lgammal.c (__lgammal): Likewise.
23981 * math/w_log10l.c (__log10l): Likewise.
23982 * math/w_log2l.c (__log2l): Likewise.
23983 * math/w_logl.c (__logl): Likewise.
23984 * math/w_powl.c (__powl): Likewise.
23985 * math/w_remainderl.c (__remainderl): Likewise.
23986 * math/w_scalbl.c (sysv_scalbl): Likewise.
23987 * math/w_sinhl.c (__sinhl): Likewise.
23988 * math/w_sqrtl.c (__sqrtl): Likewise.
23989 * math/w_tgammal.c (__tgammal): Likewise.
23990 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23991 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23992 * math/libm-test.inc (acos_test): Add more tests.
23993 (acosh_test): Likewise.
23994 (asin_test): Likewise.
23995 (atanh_test): Likewise.
23996 (exp_test): Likewise.
23997 (exp10_test): Likewise.
23998 (exp2_test): Likewise.
23999 (expm1_test): Likewise.
24000 (lgamma_test): Likewise.
24001 (log_test): Likewise.
24002 (log10_test): Likewise.
24003 (log1p_test): Likewise.
24004 (log2_test): Likewise.
24005 (pow_test): Do not allow some spurious overflow exceptions.
24006 (sqrt_test): Add more tests.
24007 (tgamma_test): Likewise.
24008 (y0_test): Likewise.
24009 (y1_test): Likewise.
24010 (yn_test): Likewise.
24011
dd62fda6
AB
240122012-03-27 Anton Blanchard <anton@samba.org>
24013
24014 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
24015 MAP_HUGETLB.
24016 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
24017 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
24018 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
24019
1e3cdfda
AJ
240202012-03-27 David S. Miller <davem@davemloft.net>
24021
b855ab85
DM
24022 * conform/Makefile: Run run-conformtest.sh using $(BASH).
24023
1e3cdfda
AJ
24024 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
24025 have-as-vis3 check.
24026
240272012-03-27 Andreas Jaeger <aj@suse.de>
24028
24029 * sysdeps/x86_64/elf/configure.in: Moved to ...
24030 * sysdeps/x86_64/configure.in: ... here.
24031 * sysdeps/x86_64/elf/start.S: Moved to ...
24032 * sysdeps/x86_64/start.S: ... here.
24033 * sysdeps/x86_64/elf/configure: Delete.
24034
24035 * sysdeps/x86_64/configure.in: Merge contents from
24036 sysdeps/i386/configure.in (without i686 check).
24037
24038 * sysdeps/i386/elf/Versions: Merge into ...
24039 * sysdeps/i386/Versions: ... this.
24040 * sysdeps/i386/elf/Versions: Delete file.
24041 * sysdeps/i386/elf/start.S: Moved to ...
24042 * sysdeps/i386/start.S: ...here.
24043 * sysdeps/i386/elf/configure.in: Merge into...
24044 * sysdeps/i386/configure.in: ...here.
24045 * sysdeps/i386/elf/configure.in: Delete file.
24046 * sysdeps/i386/elf/configure: Delete file.
24047
24048 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
24049 * debug/backtracesyms.c: ... here.
24050 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
24051 * debug/backtracesymsfd.c: ... here.
24052 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
24053 * sysdeps/generic/ifunc-sel.h: ... here.
24054
24055 * sysdeps/unix/i386/start.c: Delete file.
24056 * sysdeps/unix/sparc/start.c: Delete file.
24057 * sysdeps/unix/start.c: Delete file.
24058
24059 * sysdeps/sh/elf/configure.in: Moved to ...
24060 * sysdeps/sh/configure.in: ... here.
24061 * sysdeps/sh/elf/start.S: Moved to ...
24062 * sysdeps/sh/start.S: ... here.
24063 * sysdeps/sh/elf/configure: Delete file.
24064
24065 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
24066 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
24067 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
24068 * sysdeps/powerpc/powerpc64/entry.h: ... here.
24069 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
24070 * sysdeps/powerpc/powerpc64/start.S: here.
24071 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
24072 * sysdeps/powerpc/powerpc64/Makefile: ... this.
24073 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
24074 * sysdeps/powerpc/powerpc64/configure.in: ... this.
24075 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
24076
24077 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
24078 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
24079 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
24080 * sysdeps/powerpc/powerpc32/start.S: ... here.
24081 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
24082 * sysdeps/powerpc/powerpc32/configure.in: ... this.
24083 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
24084
24085 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
24086 * sysdeps/powerpc/ifunc-sel.h: ... here.
24087 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
24088 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
24089
24090 * sysdeps/sparc/elf/configure.in: Moved to ...
24091 * sysdeps/sparc/configure.in: ... here.
24092 * sysdeps/sparc/elf/configure: Delete file.
24093 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
24094 * sysdeps/sparc/sparc32/start.S: ... here.
24095 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
24096 * sysdeps/sparc/sparc64/start.S: ... here.
24097 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
24098 * sysdeps/sparc/sparc32/Makefile: ... this.
24099 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
24100 * sysdeps/sparc/sparc64/Makefile: ... this.
24101
24102 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
24103 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
24104 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
24105 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
24106 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
24107 * sysdeps/s390/s390-32/setjmp.S: ... here.
24108 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
24109 * sysdeps/s390/s390-32/configure.in: ... here.
24110 * sysdeps/s390/s390-32/elf/configure: Delete file.
24111 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
24112 * sysdeps/s390/s390-32/start.S: ... here.
24113
24114 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
24115 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
24116 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
24117 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
24118 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
24119 * sysdeps/s390/s390-64/setjmp.S: ... here.
24120 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
24121 * sysdeps/s390/s390-64/configure.in: ... here
24122 * sysdeps/s390/s390-64/elf/configure: Delete file.
24123 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
24124 * sysdeps/s390/s390-64/start.S: ... here.
24125 * sysdeps/s390/s390-64/elf/configure: Delete.
24126
24127 * configure.in: Remove support for elf directories in sysdeps.
24128
24129 * configure: Regenerated.
24130 * sysdeps/i386/configure: Regenerated.
24131 * sysdeps/powerpc/powerpc32/configure: Regenerated.
24132 * sysdeps/powerpc/powerpc64/configure: Regenerated.
24133 * sysdeps/s390/s390-32/configure: Regenerated.
24134 * sysdeps/s390/s390-64/configure: Regenerated.
24135 * sysdeps/sh/configure: Regenerated.
24136 * sysdeps/sparc/configure: Regenerated.
24137 * sysdeps/x86_64/configure: Regenerated.
24138
a3f61311
AS
241392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
24140
c876e002
AS
24141 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24142
a3f61311
AS
24143 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
24144 denormal result into account.
24145
ac4c54f0
RM
241462012-03-25 Roland McGrath <roland@hack.frob.com>
24147
24148 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
24149 Reported by Allan McRae <allan@archlinux.org>.
24150
6a9b9c02
JL
241512012-03-23 Jeff Law <law@redhat.com>
24152
24153 * nss/getnssent.c (__nss_getent): Fix typo.
24154
4c42a0c1
DM
241552012-03-23 David S. Miller <davem@davemloft.net>
24156
24157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24158
1532c7ac
L
241592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
24160
24161 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
24162 to pad to uint64_t for each field.
24163 (dl_tls_index): Replace unsigned long with uint64_t.
24164
3ff42526
PP
241652012-03-23 Daniel Jacobowitz <dmj@google.com>
24166 Paul Pluzhnikov <ppluzhnikov@google.com>
24167
24168 [BZ #6528]
24169 * grp/Makefile (otherlibs): Don't set it.
24170 * inet/Makefile (otherlibs): Likewise.
24171 * login/Makefile (otherlibs): Likewise.
24172 * nscd/Makefile (otherlibs): Likewise.
24173 * posix/Makefile (otherlibs): Likewise.
24174 * pwd/Makefile (otherlibs): Likewise.
24175 * rt/Makefile (otherlibs): Likewise.
24176 * sunrpc/Makefile (otherlibs): Likewise.
24177 * nss/Makefile (otherlibs): Likewise.
24178 Add libnss_files to routines and static-only-routines.
24179 ($(objpfx)getent): Remove rule.
24180 * resolv/Makefile: Add libnss_dns and libresolv to routines and
24181 static-only-routines.
24182
7c69cd14
JM
241832012-03-22 Joseph Myers <joseph@codesourcery.com>
24184
24185 [BZ #13892]
24186 * math/s_cexp.c: Include <float.h>.
24187 (__cexp): Handle exp result overflowing not necessarily
24188 overflowing both real and imaginary parts of result.
24189 * math/s_cexpf.c: Likewise.
24190 * math/s_cexpl.c: Likewise.
24191 * math/libm-test.inc (cexp_test): Add more tests.
24192 * sysdeps/i386/fpu/libm-test-ulps: Update.
24193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24194
81b035fe
L
241952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24196
24197 * include/link.h (ELFW): New macro.
24198 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
24199 Replace ELF64_R_TYPE with ELFW(R_TYPE).
24200
1da7940c
L
242012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24202
24203 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
24204 with uint64_t.
24205
b749dbb9
L
242062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24207
24208 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
24209 declaration.
24210 (struct La_x32_retval): Likewise.
24211
2ff87f3f
L
242122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
24213
24214 * sysdeps/x86_64/preconfigure.in: New file.
24215 * sysdeps/x86_64/preconfigure: New generated file.
24216
c0df8e69
JM
242172012-03-22 Joseph Myers <joseph@codesourcery.com>
24218
48e44791
JM
24219 [BZ #13824]
24220 * math/e_exp2l.c: Include <float.h>.
24221 (__ieee754_exp2l): Handle overflow and underflow cases
24222 separately. Only pass fractional part of argument to
24223 __ieee754_expl.
24224 * math/libm-test.inc (exp2_test): Add more tests.
24225
c0df8e69
JM
24226 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
24227 negating x to take absolute value.
24228 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
24229 Likewise.
24230 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
24231 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
24232 Likewise.
24233 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
24234 computing low part if x was negated.
24235 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
24236
c8e43ba7
L
242372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24238
24239 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
24240 la_x32_gnu_pltexit.
24241 (pltexit): Cast int_retval to ptrdiff_t.
24242 * elf/tst-auditmod3b.c: Likewise.
24243 * elf/tst-auditmod4b.c: Likewise.
24244 * elf/tst-auditmod5b.c: Likewise.
24245 * elf/tst-auditmod6b.c: Likewise.
24246 * elf/tst-auditmod6c.c: Likewise.
24247 * elf/tst-auditmod7b.c: Likewise.
24248
24249 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
24250 and x32_gnu_pltexit.
24251
24252 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
24253 __ELF_NATIVE_CLASS.
24254 (La_x32_regs): New macro.
24255 (La_x32_retval): Likewise.
24256 (la_x32_gnu_pltenter): New function prototype.
24257 (la_x32_gnu_pltexit): Likewise.
24258
7998fa78
AS
242592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
24260
dcb33988
AS
24261 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
24262 exponent.
24263
233fc563
AS
24264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24265
7998fa78
AS
24266 * configure.in (libc_cv_cc_nofma): Check for option to disable
24267 generation of FMA instructions.
24268 * configure: Regenerate.
24269 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
24270 * sysdeps/ieee754/dbl-64/Makefile: New file.
24271 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
24272 Remove brandred-fma4.
24273 (CFLAGS-brandred-fma4.c): Remove.
24274 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
24275 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
24276 define.
24277 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
24278 define.
24279
8e95c99a
L
242802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24281
24282 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
24283 LLONG_MAX != LONG_MAX.
24284 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24285 (_fitoa_word): Likewise.
24286 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24287 LLONG_MAX != LONG_MAX.
24288 * stdio-common/_itowa.h: Include <_itoa.h>.
24289 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24290 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24291 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24292 only if not defined.
24293 (_ITOA_WORD_TYPE): Likewise.
24294 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24295 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24296
6f4db457
DM
242972012-03-21 David S. Miller <davem@davemloft.net>
24298
24299 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24300
7785fe5a
L
243012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24302
24303 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24304 of x86_64 when setting libc_cv_slibdir, libdir and
24305 libc_cv_localedir.
24306 * sysdeps/unix/sysv/linux/configure: Regenerated.
24307
4535cd55
JM
243082012-03-21 Joseph Myers <joseph@codesourcery.com>
24309
24310 * manual/lang.texi (Old Varargs): Remove section.
24311 (How Variadic): Update menu.
24312 (va_start): Do not mention varargs.h.
24313
17228132
TS
243142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24315 Joseph Myers <joseph@codesourcery.com>
24316
24317 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24318 link test.
24319 * configure: Regenerated.
24320
8149f976
TS
243212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24322
05f3d1f6
UD
24323 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24324 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24325 conformtest.pl
8149f976 24326
1a4ac776
JM
243272012-03-21 Joseph Myers <joseph@codesourcery.com>
24328
be22ce65
JM
24329 * NOTES: Remove.
24330 * Makefile (files-for-dist): Remove NOTES.
24331 (NOTES): Remove rule.
24332 * README: Don't refer to NOTES.
24333 * manual/creature.texi: Don't include macros.texi.
24334 * manual/intro.texi (creature.texi): Remove comment referring to
24335 NOTES.
24336
40b601fb
JM
24337 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24338 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24339 * configure: Regenerated.
24340 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24341 LIBC_TRY_CC_OPTION.
24342 (libc_cv_as_i686): Likewise.
24343 (libc_cv_cc_avx): Likewise.
24344 (libc_cv_cc_sse2avx): Likewise.
24345 (libc_cv_cc_fma4): Likewise.
24346 (libc_cv_cc_novzeroupper): Likewise.
24347 * sysdeps/i386/configure: Regenerated.
24348
1a4ac776
JM
24349 [BZ #13883]
24350 * sysdeps/i386/fpu/s_cexp.S: Remove.
24351 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24352 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24353 * math/libm-test.inc (cexp_test): Add more tests.
24354 * sysdeps/i386/fpu/libm-test-ulps: Update.
24355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24356
a458e7fe
AM
243572012-03-21 Allan McRae <allan@archlinux.org>
24358
24359 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24360
0cb7efc5
JM
243612012-03-21 Joseph Myers <joseph@codesourcery.com>
24362
24363 [BZ #13871]
24364 * math/w_exp2.c: Do not include <float.h>.
24365 (o_threshold, u_threshold): Remove.
24366 (__exp2): Calculate result before checking finiteness and calling
24367 __kernel_standard.
24368 * math/w_exp2f.c: Likewise.
24369 * math/w_exp2l.c: Likewise.
24370 * math/libm-test.inc (exp2_test): Require overflow exception for
24371 1e6 input.
2460d3aa
JM
24372
24373 [BZ #3866]
24374 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24375 range of signed 64-bit integers before using fistpll. Remove
24376 checks for whether integers fit in mantissa bits.
24377 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24378 the range of signed 32-bit integers before using fistpl. Remove
24379 checks for whether integers fit in mantissa bits.
24380 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24381 (__ieee754_powl): Test for y outside the range of signed 64-bit
24382 integers before using fistpll. Reduce 64-bit values to 63-bit
24383 ones as needed.
24384 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24385 divide-by-zero is raised for zero to large negative powers.
24386 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24387 (__ieee754_powl): Test for y outside the range of signed 64-bit
24388 integers before using fistpll. Reduce 64-bit values to 63-bit
24389 ones as needed.
24390 * math/libm-test.inc (pow_test): Add more tests.
24391
eb96ffb0
L
243922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24393
24394 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24395 <stdio-common/_itoa.h>.
24396 * debug/segfault.c: Likewise.
24397 * elf/dl-cache.c: Likewise.
24398 * elf/dl-minimal.c: Likewise.
24399 * elf/dl-misc.c: Likewise.
24400 * elf/dl-sysdep.c: Likewise.
24401 * elf/dl-version.c: Likewise.
24402 * elf/rtld.c: Likewise.
24403 * hurd/hurdsock.c: Likewise.
24404 * hurd/lookup-retry.c: Likewise.
24405 * malloc/malloc.c: Likewise.
24406 * malloc/mtrace.c: Likewise.
24407 * nscd/nscd_getgr_r.c: Likewise.
24408 * nscd/nscd_getpw_r.c: Likewise.
24409 * nscd/nscd_getserv_r.c: Likewise.
24410 * posix/getopt_init.c: Likewise.
24411 * posix/wordexp.c: Likewise.
24412 * stdio-common/_itoa.c: Likewise.
24413 * stdio-common/printf_fphex.c: Likewise.
24414 * stdio-common/vfprintf.c: Likewise.
24415 * string/_strerror.c: Likewise.
24416 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24417 * sysdeps/i386/i686/hp-timing.h: Likewise.
24418 * sysdeps/mach/_strerror.c: Likewise.
24419 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24420 * sysdeps/mach/hurd/sethostid.c: Likewise.
24421 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24422 * sysdeps/mach/xpg-strerror.c: Likewise.
24423 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24424 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24425 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24426 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24427 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24428 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24429 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24430 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24431 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24432 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24433 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24434 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24435 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24436 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24437 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24438 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24439 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24440 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24441 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24442 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24443 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24444
24445 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24446
24447 * stdio-common/_itoa.h: Moved to ...
24448 * sysdeps/generic/_itoa.h: Here.
24449
24450 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24451
24452 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24453 instead of "_itoa.h" and "_itowa.h".
24454 * stdio-common/vfprintf.: Likewise.
24455
d1af992d
L
244562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24457
24458 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24459 <bits/wordsize.h>.
24460 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24461 (__signbit): Likwise.
24462 (llrintf): Likwise.
24463 (llrint): Likwise.
24464
114883e0
L
244652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24466
24467 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24468 __WORDSIZE != 64.
24469
c135cc1b
JM
244702012-03-20 Joseph Myers <joseph@codesourcery.com>
24471
24472 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24473 OVERFLOW_EXCEPTION_OK.
24474 * math/libm-test.inc ("Philosophy"): Update comment about
24475 exception testing.
24476 (OVERFLOW_EXCEPTION): Define.
24477 (OVERFLOW_EXCEPTION_OK): Likewise.
24478 (INVALID_EXCEPTION_OK): Renumber.
24479 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24480 (IGNORE_ZERO_INF_SIGN): Likewise.
24481 (test_exceptions): Handle FE_OVERFLOW.
24482 (exp10_test): Expect overflow exceptions.
24483 (exp2_test): Likewise.
24484 (expm1_test): Likewise.
24485 (nextafter_test): Likewise.
24486 (pow_test): Likewise.
24487 (scalbn_test): Likewise.
24488 (scalbln_test): Likewise.
24489
95443d88
L
244902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24491
24492 * sysdeps/x86_64/bits/atomic.h
24493 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24494 64bit integer.
24495 (atomic_exchange_acq): Likewise.
24496 (__arch_exchange_and_add_body): Likewise.
24497 (__arch_add_body): Likewise.
24498 (atomic_add_negative): Likewise.
24499 (atomic_add_zero): Likewise.
24500
490df6c4
L
245012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24502
c2722551 24503 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24504 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24505
5e52b189
L
245062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24507
24508 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24509 Check __x86_64__ instead of __WORDSIZE.
24510
a9879d4c
L
245112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24512
24513 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24514
5df98260
DM
245152012-03-19 David S. Miller <davem@davemloft.net>
24516
e1497744
DM
24517 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24518
5df98260
DM
24519 * sysdeps/sparc/fpu/fenv_private.h: New file.
24520 * sysdeps/sparc/fpu/math_private.h: Use it.
24521 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24522 Remove.
24523 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24524 (libc_feholdexcept_setroundl): Remove.
24525 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24526 Remove.
24527 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24528 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24529
b4c35121
L
245302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24531
24532 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24533 int64_t instead of long int.
24534 (INSERT_WORDS64): Likwise.
24535
56965fd7
L
245362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24537
24538 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24539 _Unwind_GetCFA return to _Unwind_Ptr first.
24540
83d1aec8
JM
245412012-03-19 Joseph Myers <joseph@codesourcery.com>
24542
1897ad44
JM
24543 [BZ #13629]
24544 * math/s_clog.c: Include <float.h>.
24545 (__clog): Scale large or subnormal inputs.
24546 * math/s_clogf.c: Likewise.
24547 * math/s_clogl.c: Likewise.
24548 * math/s_clog10.c: Include <float.h>.
24549 (M_LOG10_2): Define.
24550 (__clog10): Scale large or subnormal inputs.
24551 * math/s_clog10f.c: Likewise.
24552 * math/s_clog10l.c: Likewise.
24553 * math/libm-test.inc (clog_test): Add more tests.
24554 (clog10_test): Likewise.
24555 * sysdeps/i386/fpu/libm-test-ulps: Update.
24556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24557
7726d6a9
JM
24558 [BZ #11451]
24559 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24560 x and y.
24561 * math/libm-test.inc (atan2_test): Add another test.
24562
83d1aec8
JM
24563 * Makerules (common-objdir-compile): Remove.
24564 * sysdeps/unix/Makefile (config-generated): Do not add
24565 $(unix-generated) to variable.
24566 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24567 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24568 Remove rule.
24569 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24570 Likewise.
24571 [generic bits/local_lim.h] (before-compile): Do not append to
24572 variable.
24573 [generic bits/local_lim.h] (common-generated): Likewise.
24574 [generic sys/param.h] (before-compile): Do not append to variable.
24575 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24576 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24577 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24578 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24579 include.
24580 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24581 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24582 [generic sys/param.h] ($(addprefix
24583 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24584 [generic sys/param.h] (common-generated): Do not append to
24585 variable.
24586 [generic sys/param.h] (sysdep_headers): Likewise.
24587 [generic bits/errno.h] (before-compile): Do not append to
24588 variable.
24589 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24590 rule.
24591 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24592 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24593 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24594 [generic bits/errno.h] (common-generated): Do not append to
24595 variable.
24596 [generic bits/ioctls.h] (before-compile): Do not append to
24597 variable.
24598 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24599 rule.
24600 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24601 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24602 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24603 rule.
24604 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24605 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24606 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24607 [generic bits/ioctls.h] (common-generated): Do not append to
24608 variable.
24609 [generic sys/syscall.h] (syscall.h): Remove variable.
24610 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24611 rule.
24612 [generic sys/syscall.h] (before-compile): Do not append to
24613 variable.
24614 [generic sys/syscall.h] (common-generated): Likewise.
24615 * sysdeps/unix/errnos-tmpl.c: Remove file.
24616 * sysdeps/unix/errnos.awk: Likewise.
24617 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24618 * sysdeps/unix/ioctls.awk: Likewise.
24619 * sysdeps/unix/mk-local_lim.c: Likewise.
24620 * sysdeps/unix/snarf-ioctls: Likewise.
24621
4851a949
RH
246222012-03-19 Richard Henderson <rth@twiddle.net>
24623
bd37f2ee
RH
24624 * sysdeps/i386/fpu/fenv_private.h: New file.
24625 * sysdeps/i386/fpu/math_private.h: Use it.
24626 (math_opt_barrier, math_force_eval): Remove.
24627 (libc_feholdexcept_setround_53bit): Remove.
24628 (libc_feupdateenv_53bit): Remove.
24629 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24630 (math_opt_barrier, math_force_eval): Remove.
24631 (libc_feholdexcept): Remove.
24632 (libc_feholdexcept_setround): Remove.
24633 (libc_fetestexcept, libc_fesetenv): Remove.
24634 (libc_feupdateenv_test): Remove.
24635 (libc_feupdateenv, libc_feholdsetround): Remove.
24636 (libc_feresetround): Remove.
24637
d0adc922
RH
24638 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24639 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24640
0fe0f1f8
RH
24641 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24642 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24643 (libc_feupdateenv_testl): New.
24644 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24645 (libc_feupdateenv_testf): New.
24646 (libc_feupdateenv): Use libc_feupdateenv_test.
24647 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24648 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24649
eb92c487
RH
24650 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24651 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24652 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24653 (libc_feresetround_noex): New.
24654 (libc_feresetround_noexf): New.
24655 (libc_feresetround_noexl): New.
24656 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24657 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24658 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24659 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24660 SET_RESTORE_ROUND.
24661 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24662 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24663 (__cos): Likewise.
24664 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24665 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24666 SET_RESTORE_ROUND_NOEX.
24667 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24668 SET_RESTORE_ROUND_NOEXF.
24669 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24670 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24671 (libc_feholdsetroundf): New.
24672 (libc_feresetround, libc_feresetroundf): New.
24673
7d2e8012
RH
24674 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24675 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24676 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24677
b4dabbb4
RH
24678 * sysdeps/generic/math_private.h: Include <fenv.h>.
24679 (default_libc_feholdexcept): New.
24680 (default_libc_feholdexcept_setround): New.
24681 (default_libc_fesetenv, default_libc_feupdateenv): New.
24682 (libc_feholdexcept): Only define if undefined.
24683 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24684 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24685 (libc_feholdexcept_setroundl): Likewise.
24686 (libc_feholdexcept_setround_53bit): Likewise.
24687 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24688 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24689 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24690 (libc_feupdateenv_53bit): Likewise.
24691 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24692 (libc_feholdexcept): Convert from macro to inline function.
24693 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24694 (libc_fesetenv, libc_feupdateenv): Likewise.
24695
4851a949
RH
24696 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24697 not previously defined.
24698 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24699 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24700 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24701 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24702 * sysdeps/ieee754/flt-32/math_private.h: New file.
24703 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24704 math_private.h below SET_FLOAT_WORD.
24705 (__isnan, __isinf_ns, __finite): Remove.
24706 (__isnanf, __isinf_nsf, __finitef): Remove.
24707
e79d442e
AS
247082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24709
24710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24711
90b80344
DM
247122012-03-17 David S. Miller <davem@davemloft.net>
24713
24714 [BZ #6471]
24715 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24716 for 2.16.
24717
edc21804
DM
247182012-03-16 David S. Miller <davem@davemloft.net>
24719
77e927af
DM
24720 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24721 warnings.
24722
374976dd
DM
24723 [BZ #6471]
24724 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24725 properly.
24726 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24727 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24728 sysdep_routines when subdir is sysvipc.
24729 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24730 __getshmlba helper.
24731
edc21804
DM
24732 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24733
473c3ef3
L
247342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24735
24736 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24737 [__LP64__].
24738
eb0f39b6
L
247392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24740
24741 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24742 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24743 (__lround): Renamed to ...
24744 (__llround): This. Replace long int with long long int.
24745 Define lround functions as aliases of llround functions.
24746 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24747
6b6cd74b
L
247482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24749
24750 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24751 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24752 adresses to uintptr_t. Replace "long int" and "unsigned long
24753 int" with "greg_t" on va_arg.
24754
f1a77b01
L
247552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24756
24757 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24758 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24759
24760 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24761 Move e_machine check before EI_CLASS check. Handle x32
24762 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24763 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24764 SKIP_EM_IA_64 and include
24765 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24766
24767 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24768 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24769 (add_system_dir): New macro.
24770
24771 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24772 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24773
11b90b9f
JM
247742012-03-16 Joseph Myers <joseph@codesourcery.com>
24775
c36e1d23
JM
24776 [BZ #2551]
24777 [BZ #2552]
24778 [BZ #2553]
24779 [BZ #2554]
24780 [BZ #2562]
24781 [BZ #2563]
24782 [BZ #2565]
24783 [BZ #2566]
24784 [BZ #2576]
24785 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24786 (y0): Likewise.
24787 * math/w_j0f.c (j0f): Likewise.
24788 (y0f): Likewise.
24789 * math/w_j0l.c (__j0l): Likewise.
24790 (__y0l): Likewise.
24791 * math/w_j1.c (j1): Likewise.
24792 (y1): Likewise.
24793 * math/w_j1f.c (j1f): Likewise.
24794 (y1f): Likewise.
24795 * math/w_j1l.c (__j1l): Likewise.
24796 (__y1l): Likewise.
24797 * math/w_jn.c (jn): Likewise.
24798 (yn): Likewise.
24799 * math/w_jnf.c (jnf): Likewise.
24800 (ynf): Likewise.
24801 * math/w_jnl.c (__jnl): Likewise.
24802 (__ynl): Likewise.
24803 * math/libm-test.inc (j0_test): Add more tests.
24804 (j1_test): Likewise.
24805 (jn_test): Likewise. Add trailing semicolon to existing test.
24806 (y0_test): Likewise.
24807 (y1_test): Likewise.
24808 * sysdeps/i386/fpu/libm-test-ulps: Update.
24809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24810
11b90b9f
JM
24811 [BZ #13851]
24812 [BZ #13854]
24813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24814 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24815 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24816 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24817 (__tanl): Set errno for infinite argument.
24818 * sysdeps/i386/fpu/mptan.c: Remove.
24819 * sysdeps/i386/fpu/s_tan.S: Likewise.
24820 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24821 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24822 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24823 * math/libm-test.inc (tan_test): Add more tests and enable more
24824 tests for double and long double.
24825 * sysdeps/i386/fpu/libm-test-ulps: Update.
24826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24827
6a1bd2a1
JK
248282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24829
24830 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24831 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24832
10a803e0
RM
248332012-03-16 Roland McGrath <roland@hack.frob.com>
24834
24835 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24836 * configure.in: Use it for both main tree and add-ons.
24837 * configure: Regenerated.
24838
f196c7f7
L
248392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24840
24841 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24842
8848d99d
JM
248432012-03-16 Joseph Myers <joseph@codesourcery.com>
24844
96cbe7f4
JM
24845 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24846 in comment.
24847
8848d99d
JM
24848 [BZ #13851]
24849 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24850 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24851 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24852 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24853 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24854 infinite argument.
24855 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24856 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24857 != 0 for prec == 2.
24858 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24859 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24860 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24861 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24862 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24863 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24864 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24865 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24866 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24867 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24868 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24869 * math/libm-test.inc (cos_test): Add more tests and enable more
24870 tests for long double.
24871 (sin_test): Likewise.
24872 (sincos_test): Likewise.
24873 * sysdeps/i386/fpu/libm-test-ulps: Update.
24874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24875
dd7f4703
DM
248762012-03-16 David S. Miller <davem@davemloft.net>
24877
24878 * sysdeps/sparc/fpu/math_private.h: New file.
24879
006f1daa
DM
248802012-03-15 David S. Miller <davem@davemloft.net>
24881
c0c83bc8
DM
24882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24883 file.
e6a62e18 24884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24886 file.
e6a62e18
DM
24887 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24888 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24889 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24890 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24891 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24893 sysdep routines.
24894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24895
88cb87d9
DM
24896 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24897 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24898
006f1daa 24899 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24901 sparc-ifunc.h
006f1daa 24902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24904 Likewise.
24905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24906 Likewise.
006f1daa
DM
24907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24911 Likewise.
006f1daa
DM
24912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24917 Likewise.
24918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24919 Likewise.
006f1daa
DM
24920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24924 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24925 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24926 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24927 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24928 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24930 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24931 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24932 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24933 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24934 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24935 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24936 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24937 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24938 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24939 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24940 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24941 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24944
11e0098e
AS
249452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24946
24947 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24948 scaling.
24949 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24950
e85b09d0
AJ
249512012-03-15 Andreas Jaeger <aj@suse.de>
24952
24953 [BZ #13852]
24954 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24955 ieee754/flt-32 implementation for sin, cos and sincos.
24956 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24957 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24958 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24959 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24960 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24961 ieee754/flt-32 implementation for tan.
24962
24963 * math/libm-test.inc (cos_test): Enable some large input tests for
24964 float as well
24965 (sin_test): Likewise.
24966 (sincos_test): Likewise.
24967 (tan_test): Add tests for large input.
24968
24969 * sysdeps/i386/fpu/libm-test-ulps: Update.
24970
81c64153
AJ
249712012-03-15 Andreas Jaeger <aj@suse.de>
24972
24973 [BZ #13658]
24974 * math/libm-test.inc (cos_test): Add more test cases.
24975 (sin_test): Likewise.
24976 (sincos_test): Likewise.
24977
7bbfa5c6
AJ
249782012-03-15 Andreas Jaeger <aj@suse.de>
24979
24980 [BZ #13837]
24981 * math/libm-test.inc (cos_test): Add a test case for large input
24982 value.
24983 (sin_test): Likewise.
24984 (sincos_test): Likewise.
24985
249862012-03-15 Andreas Jaeger <aj@suse.de>,
24987 Joseph Myers <joseph@codesourcery.com>
24988
24989 [BZ #13658]
0671f479 24990 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24991 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24992 * sysdeps/i386/fpu/branred.c: Likewise.
24993 * sysdeps/i386/fpu/dosincos.c: Likewise.
24994 * sysdeps/i386/fpu/mpa.c: Likewise.
24995 * sysdeps/i386/fpu/s_cos.S: Likewise.
24996 * sysdeps/i386/fpu/s_sin.S: Likewise.
24997 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24998 * sysdeps/i386/fpu/sincos32.c: Likewise.
24999
25000 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
25001 Define.
25002 (libc_feupdateenv_53bit): Define.
25003 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
25004 Define.
25005 (libc_feupdateenv_53bit): Define.
25006
25007 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
25008 53 bit (without extend i386 double precision).
25009
25010 * math/libm-test.inc (sincos_test): Add tests for large input.
25011 (sin): Likewise.
25012 (cos): Likewise.
25013
25014 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
25015
9cad04ea
AS
250162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
25017
25018 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25019
f7062b9a
DM
250202012-03-15 David S. Miller <davem@davemloft.net>
25021
25022 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
25023 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
25024 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
25025 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
25026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
25027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
25028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
25029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
25030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
25031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
25032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
25033 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
25034 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
25035 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
25036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
25037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
25038 file.
f7062b9a 25039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
25040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
25041 file.
f7062b9a 25042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
25043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
25044 file.
f7062b9a 25045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
25046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
25047 file.
f7062b9a
DM
25048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
25049 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
25050 fmin/fmax sysdep routines.
25051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
25052
7bd951ff
DM
250532012-03-14 David S. Miller <davem@davemloft.net>
25054
559398ab
DM
25055 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
25056 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
25057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
25058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
25059 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
25060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
25061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
25062 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
25063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
25064 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
25065 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
25066 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
25067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
25068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
25069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
25070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
25071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
25072 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
25073 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
25074 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
25075 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
25076 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
25077 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
25078 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
25079 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
25080 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
25081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
25082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25083 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
25084 routines.
25085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
25086 file.
559398ab 25087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
25088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
25089 file.
559398ab 25090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
25091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
25092 file.
559398ab 25093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
25094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
25095 file.
559398ab 25096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
25097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
25098 file.
559398ab 25099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
25100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
25101 file.
25102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
25103 file.
25104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
25105 file.
25106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
25107 file.
25108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
25109 New file.
25110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
25111 file.
25112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
25113 file.
559398ab 25114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
25115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
25116 file.
559398ab 25117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
25118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
25119 file.
559398ab 25120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
25121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
25122 file.
559398ab 25123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
25124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
25125 VIS3 routines.
559398ab
DM
25126
25127 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
25128 New file.
25129
5a1c1e32
DM
25130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25131
eae47a36
DM
25132 * sysdeps/sparc/configure.in: New file.
25133 * sysdeps/sparc/configure: Generate.
25134 * configure.in (libc_cv_sparc_as_vis3): Substitute.
25135 * configure: Regenerate.
25136 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
25137 * config.make.in (have-as-vis3): New.
25138 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
25139 available use -Av9d instead of -Av9a.
25140 * sysdeps/sparc/sparc64/Makefile: Likewise.
25141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
25142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
25143 New file.
25144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
25145 file.
25146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
25147 New file.
25148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
25149 file.
eae47a36
DM
25150 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
25151 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
25152 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
25153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
25154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
25155
c0c83bc8
DM
25156 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
25157 fzeros/fnegs to load 0x80000000 into a float register instead of
25158 using the stack.
7bd951ff
DM
25159 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
25160
bd951ccb
JM
251612012-03-14 Joseph Myers <joseph@codesourcery.com>
25162
25163 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25164 bits/syscall.h.
25165 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
25166 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
25167 ($(inst_includedir)/bits/syscall.h): Remove rule.
25168 ($(objpfx)bits/syscall.d): Include instead of
25169 $(objpfx)syscall-list.d.
25170 (generated): Change syscall-list.h and syscall-list.d to
25171 bits/syscall.h and bits/syscall.d.
25172
bb4e6db2
RM
251732012-03-14 Roland McGrath <roland@hack.frob.com>
25174
25175 [BZ #13846]
25176 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
25177
aa4a2ae1
JM
251782012-03-14 Joseph Myers <joseph@codesourcery.com>
25179
e456826d
JM
25180 [BZ #13841]
25181 * math/s_csqrt.c: Include <float.h>.
25182 (__csqrt): Scale large or subnormal inputs.
25183 * math/s_csqrtf.c: Likewise.
25184 * math/s_csqrtl.c: Likewise.
25185 * math/libm-test.inc (csqrt_test): Add more tests.
25186 * sysdeps/i386/fpu/libm-test-ulps: Update.
25187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25188
aa4a2ae1
JM
25189 [BZ #13840]
25190 * math/libm-test.inc (hypot_test): Add more tests.
25191
7c10fd35
DM
251922012-03-13 David S. Miller <davem@davemloft.net>
25193
25194 [BZ #13840]
25195 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
25196 double-precision for the calculation instead of scaling.
25197
f453b98b
JM
251982012-03-13 Joseph Myers <joseph@codesourcery.com>
25199
25200 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
25201 manipulate bits before adding and subtracting TWO52[sx].
25202 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
25203 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
25204 Likewise.
25205 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
25206
09a3453f
DM
252072012-03-13 David S. Miller <davem@davemloft.net>
25208
8e59da90
DM
25209 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
25210 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
25211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
25212 rtld-global-offsets.h
25213 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
25214
2a8ab7f2
DM
25215 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
25216 large parameters.
25217
10f62770
DM
25218 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
25219
5f0bdb18
DM
25220 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
25221 'err' in the ifdef scope in which it is actually used.
25222
09a3453f
DM
25223 * nss/nss_db/db-init.c: Include string.h
25224
b4b2eb5e
DM
252252012-03-12 David S. Miller <davem@davemloft.net>
25226
98bb2f1c
DM
25227 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
25228 masking out of the most significant byte of random value used.
25229 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25230 Fix coding style in previous change.
25231
b4b2eb5e
DM
25232 * sysdeps/unix/sysv/linux/kernel-features.h
25233 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
25234 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
25235 expression.
25236 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
25237 later.
25238
6e226b09
DM
252392012-03-11 David S. Miller <davem@davemloft.net>
25240
a1bcbd40
DM
25241 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25242 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
25243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
25244 for 'resultvar' otherwise things get truncated on 64-bit.
25245
cb9d6174
DM
25246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
25247 Fix masking out of the most significant byte of random value used.
25248
6e226b09
DM
25249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25250
058c132d
AS
252512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
25252
25253 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25254
2d2cd515
DM
252552012-03-09 David S. Miller <davem@davemloft.net>
25256
25257 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
25258 variables with appropriate CPP guards.
25259 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
25260 frame pointer, not the stack pointer. Correct layout comments. Fix test
25261 on resulting framesize and the management of the outregs buffer for pltexit.
25262 Preserve floating point return values across _dl_call_pltexit call.
25263 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
25264 framesize and the management of the outregs buffer for pltexit.
25265 Preserve floating point return values across _dl_call_pltexit
25266 call.
25267 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
25268 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
25269 (print_exit): Fix format string for return register value.
25270
9a07f9d0
JM
252712012-03-10 Joseph Myers <joseph@codesourcery.com>
25272
25273 * sunrpc/Makefile (others): Add rpcgen.
25274 ($(objpfx)rpcgen): Remove special build rule and dependency on
25275 libc.
25276 * sunrpc/rpcgen.c: New file.
25277
547b5e30
PE
252782012-03-09 Paul Eggert <eggert@cs.ucla.edu>
25279
c524201a
PE
25280 [BZ #13673]
25281 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
25282 * stdio-common/bug-vfprintf-nargs.c: Likewise.
25283 * sysdeps/i386/crti.S: Likewise.
25284 * sysdeps/i386/crtn.S: Likewise.
25285 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25286 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25287 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25288 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25289 * sysdeps/sh/crti.S: Likewise.
25290 * sysdeps/sh/crtn.S: Likewise.
25291 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25292
7b6235f2
PE
25293 [BZ #13673]
25294 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25295 with URL.
25296 * locale/programs/locfile-kw.gperf: Likewise.
25297 * locale/programs/charmap-kw.h: Regenerated.
25298 * locale/programs/locfile-kw.h: Likewise.
25299
547b5e30
PE
25300 [BZ #13673]
25301 * intl/plural.y: Replace FSF snail mail address with URL.
25302 * intl/plural.c: Regenerated.
25303
5f0a5dae
RH
253042012-03-09 Richard Henderson <rth@twiddle.net>
25305
25306 * include/math_private.h: Remove file.
25307 * math/math_private.h: Move file ...
25308 * sysdeps/generic/math_private.h: ... here.
25309
b8c03620
RH
25310 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25311 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25312 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25313
4e234f5d 25314 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25315 and <math_private.h>.
25316 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25317 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25318 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25319 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25320 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25321 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25324 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25327 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25328 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25329 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25330 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25331 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25332 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25333 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25334 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25335 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25337 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25338 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25339 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25340 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25341 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25342 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25343 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25344 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25345 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25346 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25347 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25348 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25349 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25350 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25351 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25352 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25353 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25354 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25355 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25356 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25357 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25358 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25359 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25360 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25361 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25362 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25363 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25364 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25365 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25366 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25367 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25368 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25369 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25370 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25372 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25373 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25374 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25375 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25376 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25377 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25378 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25379 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25380 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25381 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25382 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25383 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25384 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25385 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25386 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25387 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25388 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25389 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25390 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25393 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25394 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25395 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25396 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25397 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25398 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25399 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25400 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25403 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25404 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25405 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25406 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25407 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25408 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25409 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25410 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25411 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25412 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25413 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25414 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25415 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25416 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25417 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25418 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25419 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25420 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25421 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25422 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25423 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25424 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25425 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25426 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25427 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25428 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25429 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25430 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25431 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25432 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25433 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25434 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25435 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25436 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25437 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25438 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25439 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25440 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25441 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25442 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25443 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25444 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25445 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25446 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25447 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25448 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25449 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25450 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25451 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25452 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25453 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25454 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25455 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25456 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25457 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25458 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25459 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25460 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25461 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25462 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25463 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25464 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25465 * sysdeps/ieee754/k_standard.c: Likewise.
25466 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25467 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25468 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25469 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25470 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25471 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25472 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25473 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25474 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25475 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25477 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25478 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25479 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25480 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25481 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25482 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25483 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25484 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25485 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25486 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25487 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25488 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25489 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25490 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25491 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25492 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25493 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25495 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25496 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25497 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25498 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25499 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25500 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25501 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25502 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25503 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25504 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25505 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25506 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25507 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25508 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25509 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25510 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25512 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25514 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25515 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25516 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25517 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25518 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25519 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25520 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25521 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25522 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25523 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25524 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25525 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25526 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25527 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25528 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25529 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25531 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25532 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25533 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25534 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25535 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25536 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25537 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25538 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25539 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25540 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25541 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25542 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25543 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25544 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25547 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25548 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25549 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25550 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25551 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25552 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25553 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25554 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25555 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25556 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25557 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25558 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25562 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25563 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25564 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25565 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25566 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25567 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25568 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25569 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25570 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25571 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25572 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25573 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25574 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25575 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25576 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25577 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25578 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25579 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25580 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25581 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25582 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25583 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25584 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25585 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25586 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25587 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25588 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25589 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25590 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25591 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25592 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25593 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25594 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25595 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25596 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25597 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25598 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25599 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25600 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25601 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25602 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25603 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25604 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25605 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25606 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25607 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25608 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25609 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25610 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25612 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25613 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25614 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25615 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25616 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25617 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25618 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25619 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25620 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25621 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25622 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25623 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25624 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25625 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25626 * sysdeps/ieee754/s_lib_version.c: Likewise.
25627 * sysdeps/ieee754/s_matherr.c: Likewise.
25628 * sysdeps/ieee754/s_signgam.c: Likewise.
25629 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25630 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25631 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25632 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25633 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25634 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25635 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25636 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25637 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25638 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25639 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25640 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25641 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25642 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25643 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25644 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25645 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25646 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25647 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25648 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25649 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25650
1991fa03
JM
256512012-03-09 Joseph Myers <joseph@codesourcery.com>
25652
25653 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25654 * sunrpc/rpc_main.c: Likewise.
25655 * sunrpc/rpc_svcout.c: Likewise.
25656
60d6f5a6
DM
256572012-03-09 David S. Miller <davem@davemloft.net>
25658
25659 * include/math_private.h: New file.
25660
4962050e
JM
256612012-03-09 Joseph Myers <joseph@codesourcery.com>
25662
02a6f887
JM
25663 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25664 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25665 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25666 from <bits/socket_type.h>.
25667 (enum __socket_type): Don't define here.
25668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25669 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25670 bits/socket_type.h.
25671
c6e013c1
JM
25672 [BZ #13566]
25673 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25674 checking __USE_GNU.
25675
4962050e
JM
25676 * Makerules ($(inst_includedir)/%.h): New rule.
25677 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25678 (install-others): Remove variable setting.
25679 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25680
38842f45
RH
256812012-03-08 Richard Henderson <rth@twiddle.net>
25682
67bb6da6
RH
25683 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25684 from macro to inline function; merge with the
25685 !__LIBC_INTERNAL_MATH_INLINES version.
25686 (__ieee754_sqrtf): Likewise.
25687
15194b4b
RH
25688 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25689 to inline function.
25690 (__rintf, __floor, __floorf): Likewise.
25691
64e21ede
RH
25692 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25693 macro to inline function.
25694 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25695
38842f45
RH
25696 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25697 not <math/math_private.h>.
25698
c64bf5fe
DM
256992012-03-08 David S. Miller <davem@davemloft.net>
25700
25701 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25702 copyright year.
25703 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25704
82d86f28
TS
257052012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25706
25707 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25708 normalization.
25709 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25710 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25711
aea5d727
UD
257122012-03-08 Ulrich Drepper <drepper@gmail.com>
25713
25714 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25715 be defined individually, they must be defined as a block. Define
25716 S for printing a string instead of hidint the different by using a
25717 macro for adding the 'l'.
25718 * stdio-common/tst-fphex-wide.c: Adjust.
25719
70bca0a3
MP
257202012-03-07 Marek Polacek <polacek@redhat.com>
25721
25722 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25723
65b81130
MP
257242012-03-08 Marek Polacek <polacek@redhat.com>
25725
25726 [BZ #13806]
25727 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25728 * stdio-common/tst-fphex.c: Define a few macros to make the
25729 test reusable. Use them.
25730 * stdio-common/tst-fphex-wide.c: New file.
25731
07037eeb
JM
257322012-03-08 Joseph Myers <joseph@codesourcery.com>
25733
a7a93d50
JM
25734 [BZ #6911]
25735 * manual/macros.texi (gnusystems): New macro.
25736 (nongnusystems): Likewise.
25737 (gnulinuxhurdsystems): Likewise.
25738 (gnuhurdsystems): Likewise..
25739 (gnulinuxsystems): Likewise.
25740 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25741 variants of the GNU system, not "GNU system".
25742 * manual/conf.texi: Likewise.
25743 * manual/errno.texi: Likewise. Update example of errno macro
25744 expansion.
25745 * manual/filesys.texi: Likewise.
25746 (getumask): Document as specific to GNU/Hurd.
25747 * manual/install.texi: Likewise. Reword some references to
25748 GNU/Linux.
25749 * manual/intro.texi: Likewise.
25750 * manual/io.texi: Likewise.
25751 (File Name Portability): Detail which constraints are inapplicable
25752 to all GNU systems and which are only inapplicable to GNU/Hurd.
25753 * manual/job.texi: Likewise.
25754 * manual/llio.texi: Likewise.
25755 (O_NOCTTY): Document as present on GNU/Linux.
25756 * manual/maint.texi: Likewise.
25757 * manual/memory.texi: Likewise.
25758 * manual/pattern.texi: Likewise.
25759 * manual/pipe.texi: Likewise.
25760 * manual/process.texi: Likewise.
25761 * manual/resource.texi: Likewise.
25762 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25763 child on GNU/Hurd.
25764 * manual/setjmp.texi: Likewise.
25765 * manual/signal.texi: Likewise.
25766 * manual/startup.texi: Likewise.
25767 * manual/stdio.texi: Likewise.
25768 * manual/terminal.texi: Likewise.
25769 (ONLCR): Document as POSIX.
25770 (OXTABS): Document availability on GNU/Linux as XTABS.
25771 (ONOEOT): Document availability separately from other bits.
25772 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25773 * manual/time.texi: Likewise.
25774 * manual/users.texi: Likewise.
25775 * INSTALL: Regenerated.
25776 * sysdeps/gnu/errlist.c: Regenerated.
25777
07037eeb
JM
25778 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25779 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25780 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25781 puts.
25782 * configure: Regenerated.
25783
d1d3431a
JM
257842012-03-07 Joseph Myers <joseph@codesourcery.com>
25785
af6a1e37
JM
25786 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25787 default includes instead of AC_HEADER_CHECK.
25788 * sysdeps/i386/configure: Regenerated.
25789
d1d3431a
JM
25790 [BZ #10716]
25791 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25792 * math/s_cacoshf.c (__cacoshf): Likewise.
25793 * math/s_cacoshl.c (__cacoshl): Likewise.
25794 * math/s_casinh.c (__casinh): Set signs of result from argument.
25795 * math/s_casinhf.c (__casinhf): Likewise.
25796 * math/s_casinhl.c (__casinhl): Likewise.
25797 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25798 (casinh_test): Add more tests.
25799 * sysdeps/i386/fpu/libm-test-ulps: Update.
25800 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25801
482ff4da
UD
258022012-03-07 Ulrich Drepper <drepper@gmail.com>
25803
872fda05
UD
25804 * po/zh_TW.po: Update from translation team.
25805
a4300c7a
UD
25806 * login/Makefile (distribute): Remove variable.
25807 * catgets/Makefile: Likewise.
25808 * mach/Makefile: Likewise.
25809 * malloc/Makefile: Likewise.
25810 * misc/Makefile: Likewise.
25811 * iconv/Makefile: Likewise.
25812 * nscd/Makefile: Likewise.
25813 * hurd/Makefile: Likewise.
25814 * manual/Makefile: Likewise.
25815 * locale/Makefile: Likewise.
25816 * intl/Makefile: Likewise.
25817 * conform/Makefile: Likewise.
25818 * nss/Makefile: Likewise.
25819 * time/Makefile: Likewise.
25820 * soft-fp/Makefile: Likewise.
25821 * dirent/Makefile: Likewise.
25822 * gmon/Makefile: Likewise.
25823 * po/Makefile: Likewise.
25824 * rt/Makefile: Likewise.
25825 * socket/Makefile: Likewise.
25826 * math/Makefile: Likewise.
25827 * signal/Makefile: Likewise.
25828 * debug/Makefile: Likewise.
25829 * elf/Makefile: Likewise.
25830 * timezone/Makefile: Likewise.
25831 * stdlib/Makefile: Likewise.
25832 * iconvdata/Makefile: Likewise.
25833 * sunrpc/Makefile: Likewise.
25834 * io/Makefile: Likewise.
25835 * argp/Makefile: Likewise.
25836 * inet/Makefile: Likewise.
25837 * hesiod/Makefile: Likewise.
25838 * grp/Makefile: Likewise.
25839 * csu/Makefile: Likewise.
25840 * wctype/Makefile: Likewise.
25841 * crypt/Makefile: Likewise.
25842 * libio/Makefile: Likewise.
25843 * string/Makefile: Likewise.
25844 * nis/Makefile: Likewise.
25845 * resolv/Makefile: Likewise.
25846 * stdio-common/Makefile: Likewise.
25847 * wcsmbs/Makefile: Likewise.
25848 * dlfcn/Makefile: Likewise.
25849 * posix/Makefile: Likewise.
25850
3b7c4e74 25851 [BZ #6959]
482ff4da
UD
25852 * timezone/Makefile: Don't install timezone files, just the programs
25853 and scripts.
25854
f72ed77d
UD
258552012-03-06 Ulrich Drepper <drepper@gmail.com>
25856
a000466f
UD
25857 * nss/databases.def: Add missing gshadow entry.
25858
f72ed77d
UD
25859 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25860
a53b7a4e
MP
258612012-03-06 Marek Polacek <polacek@redhat.com>
25862
25863 [BZ #13726]
25864 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25865 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25866 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25867 * stdio-common/tst-long-dbl-fphex.c: New file.
25868
e9258400
DM
258692012-03-06 David S. Miller <davem@davemloft.net>
25870
25871 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25872 (set_obp_int): New function.
25873 (get_obp_int): New function.
25874 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25875 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25876 Avoid unused variable warnings on 'val' and use builtin_expect.
25877 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25878 __builtin_expect.
e9258400
DM
25879 (INLINE_CLONE_SYSCALL): Likewise.
25880
3bd2c723
DM
258812012-03-05 David S. Miller <davem@davemloft.net>
25882
25883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25884
bbb78d03
AS
258852012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25886
884c5db4
AS
25887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25888
bbb78d03
AS
25889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25890 only for |x| >= 40.
25891 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25892
1c9f702a 258932012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25894
25895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25896 Replace gettimeofday with __vdso_gettimeofday.
25897
7be16f82
RM
25898 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25899 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25900 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25901
25902 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25903 time with __vdso_time.
25904
ed58a00f
JM
259052012-03-05 Joseph Myers <joseph@codesourcery.com>
25906
25907 * manual/lang.texi (size_t): Note types to which size_t may be
25908 equivalent with the GNU C Library, but do not describe when
25909 differences between them are significant.
25910
30ee4ced
AJ
259112012-03-05 Andreas Jaeger <aj@suse.de>
25912
25913 * sysdeps/i386/fpu/libm-test-ulps: Update.
25914
b7cd39e8
JM
259152012-03-05 Joseph Myers <joseph@codesourcery.com>
25916
25917 [BZ #3976]
25918 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25919 (__ieee754_pow): Save and restore rounding mode and use
25920 round-to-nearest for main computations.
25921 * math/libm-test.inc (pow_test_tonearest): New function.
25922 (pow_test_towardzero): Likewise.
25923 (pow_test_downward): Likewise.
25924 (pow_test_upward): Likewise.
25925 (main): Call the new functions.
25926 * sysdeps/i386/fpu/libm-test-ulps: Update.
25927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25928
25929 [BZ #3976]
25930 * math/libm-test.inc (cosh_test_tonearest): New function.
25931 (cosh_test_towardzero): Likewise.
25932 (cosh_test_downward): Likewise.
25933 (cosh_test_upward): Likewise.
25934 (sinh_test_tonearest): Likewise.
25935 (sinh_test_towardzero): Likewise.
25936 (sinh_test_downward): Likewise.
25937 (sinh_test_upward): Likewise.
25938 (main): Call the new functions.
25939 * sysdeps/i386/fpu/libm-test-ulps: Update.
25940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25941
6c6a98c9
TV
259422012-03-05 Tom de Vries <tom@codesourcery.com>
25943
25944 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25945 default stack guard is set in last bytes.
25946 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25947
21bb2d2e 259482012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25949
21bb2d2e 25950 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25951
21bb2d2e
AJ
25952 [BZ #13656]
25953 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25954 possibly allocate from heap instead of stack.
25955 * stdio-common/bug-vfprintf-nargs.c: New file.
25956 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25957
c6922934
AS
259582012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25959
25960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25961
bc957d53
MP
259622012-03-03 Marek Polacek <polacek@redhat.com>
25963
25964 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25965 * math/math_private.h: Likewise.
25966 * stdlib/tst-strtod.c: Likewise.
25967 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25968 * sysdeps/x86_64/bits/atomic.h: Likewise.
25969
6358490d
DM
259702012-03-02 David S. Miller <davem@davemloft.net>
25971
25972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25976 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25977 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25978 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25979 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25980
01ae168d
RM
259812012-03-02 Roland McGrath <roland@hack.frob.com>
25982
d9a17c07
RM
25983 [BZ #13792]
25984 * manual/examples/README: New file, says the example source files
25985 can be used under GPL>=2.
25986 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25987 line containing just "*/".
25988 * manual/examples/add.c: Add copyright header (GPL>=2).
25989 * manual/examples/argp-ex1.c: Likewise.
25990 * manual/examples/argp-ex2.c: Likewise.
25991 * manual/examples/argp-ex3.c: Likewise.
25992 * manual/examples/argp-ex4.c: Likewise.
25993 * manual/examples/atexit.c: Likewise.
25994 * manual/examples/db.c: Likewise.
25995 * manual/examples/dir.c: Likewise.
25996 * manual/examples/dir2.c: Likewise.
25997 * manual/examples/execinfo.c: Likewise.
25998 * manual/examples/filecli.c: Likewise.
25999 * manual/examples/filesrv.c: Likewise.
26000 * manual/examples/fmtmsgexpl.c: Likewise.
26001 * manual/examples/genpass.c: Likewise.
26002 * manual/examples/inetcli.c: Likewise.
26003 * manual/examples/inetsrv.c: Likewise.
26004 * manual/examples/isockad.c: Likewise.
26005 * manual/examples/longopt.c: Likewise.
26006 * manual/examples/memopen.c: Likewise.
26007 * manual/examples/memstrm.c: Likewise.
26008 * manual/examples/mkfsock.c: Likewise.
26009 * manual/examples/mkisock.c: Likewise.
26010 * manual/examples/mygetpass.c: Likewise.
26011 * manual/examples/pipe.c: Likewise.
26012 * manual/examples/popen.c: Likewise.
26013 * manual/examples/rprintf.c: Likewise.
26014 * manual/examples/search.c: Likewise.
26015 * manual/examples/select.c: Likewise.
26016 * manual/examples/setjmp.c: Likewise.
26017 * manual/examples/sigh1.c: Likewise.
26018 * manual/examples/sigusr.c: Likewise.
26019 * manual/examples/stpcpy.c: Likewise.
26020 * manual/examples/strdupa.c: Likewise.
26021 * manual/examples/strftim.c: Likewise.
26022 * manual/examples/strncat.c: Likewise.
26023 * manual/examples/subopt.c: Likewise.
26024 * manual/examples/swapcontext.c: Likewise.
26025 * manual/examples/termios.c: Likewise.
26026 * manual/examples/testopt.c: Likewise.
26027 * manual/examples/testpass.c: Likewise.
26028 * manual/examples/timeval_subtract.c: Likewise.
26029
01ae168d
RM
26030 [BZ #13792]
26031 * manual/time.texi (Elapsed Time): Move timeval_subtract example
26032 function to ...
26033 * manual/timeval_subtract.c.texi: ... here, new file.
26034
49efa33d
DM
260352012-03-02 David S. Miller <davem@davemloft.net>
26036
26037 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
26038
28afd92d
JM
260392012-03-02 Joseph Myers <joseph@codesourcery.com>
26040
804360ed
JM
26041 [BZ #3976]
26042 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
26043 (__sin): Save and restore rounding mode and use round-to-nearest
26044 for all computations.
26045 (__cos): Save and restore rounding mode and use round-to-nearest
26046 for all computations.
26047 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
26048 <fenv.h>.
26049 (tan): Save and restore rounding mode and use round-to-nearest for
26050 all computations.
26051 * math/libm-test.inc (cos_test_tonearest): New function.
26052 (cos_test_towardzero): Likewise.
26053 (cos_test_downward): Likewise.
26054 (cos_test_upward): Likewise.
26055 (sin_test_tonearest): Likewise.
26056 (sin_test_towardzero): Likewise.
26057 (sin_test_downward): Likewise.
26058 (sin_test_upward): Likewise.
26059 (tan_test_tonearest): Likewise.
26060 (tan_test_towardzero): Likewise.
26061 (tan_test_downward): Likewise.
26062 (tan_test_upward): Likewise.
26063 (main): Call the new functions.
26064 * sysdeps/i386/fpu/libm-test-ulps: Update.
26065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26066
a6d06d7b
JM
26067 [BZ #10135]
26068 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
26069 small n, then large n, before computing and testing k+n.
26070 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
26072 Likewise.
26073 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
26074 Likewise.
26075 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
26076 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
26077 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
26078 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
26079 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
26080 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
26081 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
26082 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
26083 * math/libm-test.inc (scalbn_test): Add more tests.
26084 (scalbln_test): Likewise.
26085
07e12bb3
JM
26086 * manual/filesys.texi (mode_t): Describe constraints on size and
26087 signedness, not exact equivalence to a particular type.
26088 (ino_t): Likewise.
26089 (ino64_t): Likewise.
26090 (dev_t): Likewise.
26091 (nlink_t): Likewise.
26092 (blkcnt_t): Likewise.
26093 (blkcnt64_t): Likewise.
26094 * manual/llio.texi (off_t): Likewise.
26095
28afd92d
JM
26096 [BZ #3976]
26097 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
26098 (__ieee754_exp): Save and restore rounding mode and use
26099 round-to-nearest for all computations.
26100 * math/libm-test.inc (exp_test_tonearest): New function.
26101 (exp_test_towardzero): Likewise.
26102 (exp_test_downward): Likewise.
26103 (exp_test_upward): Likewise.
26104 (main): Call the new functions.
26105 * sysdeps/i386/fpu/libm-test-ulps: Update.
26106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26107
b1eeb65d
CD
261082012-03-01 Chris Demetriou <cgd@google.com>
26109
26110 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
26111 have predictable order.
26112
53362a4b
DM
261132012-03-01 David S. Miller <davem@davemloft.net>
26114
3c969083
DM
26115 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
26116
759707de
DM
26117 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
26118 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
26119 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
26120 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
26121
dfdb8ff2
DM
26122 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
26123 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
26124 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
26125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
26126 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
26127 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
26128 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
26129 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
26130 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
26131
ead89f96
DM
26132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26133
7f66bd07
DM
26134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
26135 * sysdeps/sparc/fpu/libm-test-ulps: to here.
26136 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
26137
53362a4b
DM
26138 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
26139 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
26140 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26141 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
26142 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
26143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
26144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
26145 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
26146 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26147 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
26148 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
26149 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26150 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26151 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26152 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26153 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26154 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
26155 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
26156 * sysdeps/sparc/elf/configure: Regenerated.
26157
7b1902cb
JM
261582012-03-01 Joseph Myers <joseph@codesourcery.com>
26159
bec039bc
JM
26160 * configure.in (AS, LD): Require binutils 2.20 or later.
26161 * configure: Regenerated.
26162 * manual/install.texi (Tools for Compilation): Give binutils 2.20
26163 as required minimum version.
26164 * INSTALL: Regenerated.
26165
7b1902cb
JM
26166 [BZ #2541]
26167 [BZ #4108]
26168 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
26169 before squaring exponent.
26170 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
26171 bottom long double and 27 bits of top long double before squaring
26172 exponent.
26173 * math/libm-test.inc (erfc_test): Add more tests.
26174 * sysdeps/i386/fpu/libm-test-ulps: Update.
26175 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26177
f775c276
KT
261782012-03-01 Kai Tietz <ktietz@redhat.com>
26179
26180 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
26181 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
26182 containing bit-fields.
26183 * soft-fp/extended.h (_FP_UNION_E): Likewise.
26184 * soft-fp/single.h (_FP_UNION_S): Likewise.
26185 * soft-fp/double.h (_FP_UNION_D): Likewise.
26186
5b8a4d4a
JM
261872012-02-29 Joseph Myers <joseph@codesourcery.com>
26188
0bab47b6
JM
26189 [BZ #13786]
26190 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
26191 not include ../strcmp.S.
26192 [USE_AS_STRNCASECMP_L]: Likewise.
26193 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
26194 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
26195 * sysdeps/i386/i686/multiarch/strncase_l-c.c
26196 (__strncasecmp_l_ia32): Define as alias to
26197 __strncasecmp_l_nonascii.
26198
0fcad3e2
JM
26199 [BZ #5794]
26200 * math/libm-test.inc (expm1_test): Add test for bug 5794.
26201 * sysdeps/i386/fpu/libm-test-ulps: Update.
26202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26203
5b8a4d4a
JM
26204 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
26205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26206
8fdceb2e
JL
262072012-02-29 Jeff Law <law@redhat.com>
26208
26209 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
26210 out of bounds read.
26211
1f393a11
MP
262122012-02-29 Marek Polacek <polacek@redhat.com>
26213
26214 [BZ #13706]
26215 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
26216 * elf/Makefile: Add rules to run tst-unused-dep.out.
26217
8847f037
DM
262182012-02-28 David S. Miller <davem@davemloft.net>
26219
26220 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
26221 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
26222 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
26224 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
26225 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
26226
169d7f11
JM
262272012-02-29 Joseph Myers <joseph@codesourcery.com>
26228
26229 * math/libm-test.inc (llround_test): Move one test from
26230 lround_test. Use TEST_f_L in moved test.
26231 (lround_test): Move misplaced test to llround_test. Add testcase
26232 from bug 2561.
26233
39adf059
UD
262342012-02-28 Ulrich Drepper <drepper@gmail.com>
26235
26236 * sysdeps/x86_64/fpu/e_expf.S: New file.
26237 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
26238
71b5d1c5
SB
262392012-02-28 Stanislav Brabec <sbrabec@suse.cz>
26240
26241 [BZ #13637]
26242 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
26243 of remain_len that may cause incomplete multi-byte character and
26244 false match.
26245 * posix/bug-regex33.c: New file.
26246 * posix/Makefile (tests): Add bug-regex33.
26247
1f77f049
JM
262482012-02-28 Joseph Myers <joseph@codesourcery.com>
26249
26250 * manual/macros.texi: New file.
26251 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
26252 * manual/libc.texinfo: Include macros.texi.
26253 * manual/creatute.texi: Likewise.
26254 * manual/install.texi: Likewise.
26255 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
26256 @glibcadj{} in references to the GNU C Library.
26257 * manual/charset.texi: Likewise.
26258 * manual/conf.texi: Likewise.
26259 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
26260 when not using those macros.
26261 * manual/creature.texi: Likewise.
26262 * manual/crypt.texi: Likewise.
26263 * manual/errno.texi: Likewise.
26264 * manual/filesys.texi: Likewise.
26265 * manual/header.texi: Likewise.
26266 * manual/install.texi: Likewise.
26267 * manual/intro.texi: Likewise.
26268 * manual/io.texi: Likewise.
26269 * manual/job.texi: Likewise.
26270 * manual/lang.texi: Likewise.
26271 * manual/libc.texiinfo: Likewise.
26272 * manual/llio.texi: Likewise.
26273 * manual/locale.texi: Likewise.
26274 * manual/maint.texi: Likewise.
26275 * manual/math.texi: Likewise.
26276 * manual/memory.texi: Likewise.
26277 * manual/message.texi: Likewise.
26278 * manual/nss.texi: Likewise.
26279 * manual/pattern.texi: Likewise.
26280 * manual/process.texi: Likewise.
26281 * manual/resource.texi: Likewise.
26282 * manual/search.texi: Likewise.
26283 * manual/setjmp.texi: Likewise.
26284 * manual/signal.texi: Likewise.
26285 * manual/socket.texi: Likewise.
26286 * manual/startup.texi: Likewise.
26287 * manual/stdio.texi: Likewise.
26288 * manual/string.texi: Likewise.
26289 * manual/sysinfo.texi: Likewise.
26290 * manual/syslog.texi: Likewise.
26291 * manual/terminal.texi: Likewise.
26292 * manual/time.texi: Likewise.
26293 * manual/users.texi: Likewise.
26294 * INSTALL: Regenerated.
26295 * NOTES: Regenerated.
d40c5d54 26296 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26297
450bf206
AS
262982012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26299
26300 * include/dirent.h: Include <dirstream.h> before
26301 <dirent/dirent.h>.
26302
741a235b
DM
263032012-02-28 David S. Miller <davem@davemloft.net>
26304
26305 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26306 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26307 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26308 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26309
d6b5aa58
DM
263102012-02-27 David S. Miller <davem@davemloft.net>
26311
1aff59a3
DM
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26314 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26316
d6b5aa58
DM
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26318 frame pointer instead of stack pointer relative arg slot.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26320 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26321 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26322
433f48bf
CD
263232012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26324
26325 [BZ #3992]
26326 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26327
d674b76d
DM
263282012-02-27 David S. Miller <davem@davemloft.net>
26329
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26334 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26335 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26336 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26337 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26338
0e7727f7
JM
263392012-02-27 Joseph Myers <joseph@codesourcery.com>
26340
26341 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26342 later. Allow versions 5-9.
43be4ca2 26343 * configure: Regenerated.
0e7727f7
JM
26344 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26345 required minimum version and 4.6 as recommended version. Do not
26346 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26347 * INSTALL: Regenerated.
0e7727f7 26348
a78bc654
DM
263492012-02-27 David S. Miller <davem@davemloft.net>
26350
428d5830
DM
26351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26355 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26356 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26357 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26358 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26359
a78bc654
DM
26360 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26361 manipulate bits before adding and subtracting TWO112[sx].
26362 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26363
4579f81c
RM
263642012-02-27 Roland McGrath <roland@hack.frob.com>
26365
36c8acb4
RM
26366 [BZ #13775]
26367 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26368 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26369 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26370 being in POSIX, because they are in 1003.1-2008.
26371
84ad622b
RM
26372 * rt/tst-aio.c: Include <fcntl.h>.
26373 * rt/tst-aio7.c: Likewise.
26374 * rt/tst-aio64.c: Likewise.
26375
4579f81c
RM
26376 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26377
abd923db
JM
263782012-02-27 Joseph Myers <joseph@codesourcery.com>
26379
26380 * manual/install.texi (--with-headers): Describe headers as
26381 interface headers, not private headers.
26382 (Specific advice for GNU/Linux systems): Describe use of headers
26383 from "make headers_install", not private headers from older
26384 kernels.
43be4ca2 26385 * INSTALL: Regenerated.
abd923db
JM
26386 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26387 Change to 2.6.19.
26388 * sysdeps/unix/sysv/linux/configure: Regenerated.
26389
6664049b
JM
26390 * manual/llio.texi (fclean): Remove documentation.
26391
bb8b6697
JM
26392 * manual/Makefile (libc-texi-generated): New variable. Include
26393 version.texi.
26394 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26395 $(libc-texi-generated), not duplicated list of files.
26396 (version.texi, stamp-version): New rules.
26397 (realclean): Remove $(libc-texi-generated), not individual files
26398 from that list. Do not remove dir-add.texinfo.
26399 * manual/libc.texinfo: Comment out uses of edition numbers and
26400 references to printed manual. Remove last-updated dates.
26401 (EDITION): Comment out.
26402 (ISBN): Likewise.
26403 (VERSION, UPDATED): Remove.
26404 (version.texi): Include.
26405
12e5c3b9
AS
264062012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26407
26408 * sysdeps/posix/spawni.c: Include <signal.h>.
26409 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26410 * sysdeps/pthread/aio_fsync.c: Likewise.
26411
4efeffc1 264122012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26413
ba63ba08
UD
26414 * conform/Makefile (tests): Run only when not cross-compiling and
26415 when fast-check is not defined.
26416
d94a4670
UD
26417 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26418 * conform/data/limits.h-data: Fixes for POSIX2008.
26419 * conform/run-conformtest.sh: Run all tests.
26420 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26421 headers.
26422 * include/bits/dlfcn.h: Likewise.
26423 * include/langinfo.h: Likewise.
26424 * include/monetary.h: Likewise.
26425 * include/sys/poll.h: Likewise.
26426
26427 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26428 for __USE_GNU.
26429 * posix/spawn.h: Define __need_sigset_t.
26430 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26431 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26432 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26433 to get sigevent_t only.
26434 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26435 only for __USE_GNU.
26436 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26437 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26438 process_vm_writev only for __USE_GNU.
26439 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26440
26441 * conform/Makefile: For now ignore errors from run-conformtest.
26442 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26443 POSIX to avoid namespace pollution. Don't prepend headers.
26444 * conform/data/aio.h-data: Fixes for POSIX testing.
26445 * conform/data/fcntl.h-data: Likewise.
26446 * conform/data/glob.h-data: Likewise.
26447 * conform/data/grp.h-data: Likewise.
26448 * conform/data/pthread.h-data: Likewise.
26449 * conform/data/pwd.h-data: Likewise.
26450 * conform/data/signal.h-data: Likewise.
26451 * conform/data/spawn.h-data: Likewise.
26452 * conform/data/stdio.h-data: Likewise.
26453 * conform/data/stdlib.h-data: Likewise.
26454 * conform/data/stropts.h-data: Likewise.
26455 * conform/data/sys/mman.h-data: Likewise.
26456 * conform/data/sys/stat.h-data: Likewise.
26457 * conform/data/sys/types.h-data: Likewise.
26458 * conform/data/sys/wait.h-data: Likewise.
26459 * conform/data/time.h-data: Likewise.
26460 * conform/data/unistd.h-data: Likewise.
26461 * conform/data/utime.h-data: Likewise.
26462
26463 * io/sys/stat.h: fchmod was always in POSIX.
26464 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26465 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26466 * rt/aio.h: Define __need_timespec before including <time.h>.
26467 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26468 struct. Add forward declaration of pthread_attr_t and use it in
26469 sigevent.
26470 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26471 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26472 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26473 always remove CLK_TCK definition.
26474
c20105c3
AS
264752012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26476
26477 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26478
7a270350
UD
264792012-02-25 Ulrich Drepper <drepper@gmail.com>
26480
31341567
UD
26481 * conform/run-conformtest.sh: New file.
26482 * conform/Makefile: Run run-conformtest for tests.
26483 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26484 support.
26485
26486 * conform/data/uchar.h-data: New file.
26487 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26488 * conform/data/arpa/inet.h-data: Likewise.
26489 * conform/data/assert.h-data: Likewise.
26490 * conform/data/complex.h-data: Likewise.
26491 * conform/data/cpio.h-data: Likewise.
26492 * conform/data/ctype.h-data: Likewise.
26493 * conform/data/dirent.h-data: Likewise.
26494 * conform/data/dlfcn.h-data: Likewise.
26495 * conform/data/errno.h-data: Likewise.
26496 * conform/data/fcntl.h-data: Likewise.
26497 * conform/data/float.h-data: Likewise.
26498 * conform/data/fmtmsg.h-data: Likewise.
26499 * conform/data/fnmatch.h-data: Likewise.
26500 * conform/data/ftw.h-data: Likewise.
26501 * conform/data/glob.h-data: Likewise.
26502 * conform/data/grp.h-data: Likewise.
26503 * conform/data/iconv.h-data: Likewise.
26504 * conform/data/inttypes.h-data: Likewise.
26505 * conform/data/langinfo.h-data: Likewise.
26506 * conform/data/libgen.h-data: Likewise.
26507 * conform/data/limits.h-data: Likewise.
26508 * conform/data/locale.h-data: Likewise.
26509 * conform/data/math.h-data: Likewise.
26510 * conform/data/monetary.h-data: Likewise.
26511 * conform/data/mqueue.h-data: Likewise.
26512 * conform/data/ndbm.h-data: Likewise.
26513 * conform/data/net/if.h-data: Likewise.
26514 * conform/data/netdb.h-data: Likewise.
26515 * conform/data/netinet/in.h-data: Likewise.
26516 * conform/data/nl_types.h-data: Likewise.
26517 * conform/data/poll.h-data: Likewise.
26518 * conform/data/pthread.h-data: Likewise.
26519 * conform/data/pwd.h-data: Likewise.
26520 * conform/data/regex.h-data: Likewise.
26521 * conform/data/sched.h-data: Likewise.
26522 * conform/data/search.h-data: Likewise.
26523 * conform/data/semaphore.h-data: Likewise.
26524 * conform/data/setjmp.h-data: Likewise.
26525 * conform/data/signal.h-data: Likewise.
26526 * conform/data/spawn.h-data: Likewise.
26527 * conform/data/stdarg.h-data: Likewise.
26528 * conform/data/stdio.h-data: Likewise.
26529 * conform/data/stdlib.h-data: Likewise.
26530 * conform/data/string.h-data: Likewise.
26531 * conform/data/strings.h-data: Likewise.
26532 * conform/data/stropts.h-data: Likewise.
26533 * conform/data/sys/ipc.h-data: Likewise.
26534 * conform/data/sys/mman.h-data: Likewise.
26535 * conform/data/sys/msg.h-data: Likewise.
26536 * conform/data/sys/resource.h-data: Likewise.
26537 * conform/data/sys/select.h-data: Likewise.
26538 * conform/data/sys/sem.h-data: Likewise.
26539 * conform/data/sys/shm.h-data: Likewise.
26540 * conform/data/sys/socket.h-data: Likewise.
26541 * conform/data/sys/stat.h-data: Likewise.
26542 * conform/data/sys/statvfs.h-data: Likewise.
26543 * conform/data/sys/time.h-data: Likewise.
26544 * conform/data/sys/timeb.h-data: Likewise.
26545 * conform/data/sys/times.h-data: Likewise.
26546 * conform/data/sys/types.h-data: Likewise.
26547 * conform/data/sys/uio.h-data: Likewise.
26548 * conform/data/sys/un.h-data: Likewise.
26549 * conform/data/sys/utsname.h-data: Likewise.
26550 * conform/data/sys/wait.h-data: Likewise.
26551 * conform/data/syslog.h-data: Likewise.
26552 * conform/data/tar.h-data: Likewise.
26553 * conform/data/termios.h-data: Likewise.
26554 * conform/data/utime.h-data: Likewise.
26555 * conform/data/utmpx.h-data: Likewise.
26556 * conform/data/varargs.h-data: Likewise.
26557 * conform/data/wchar.h-data: Likewise.
26558 * conform/data/wctype.h-data: Likewise.
26559 * conform/data/wordexp.h-data: Likewise.
26560
26561 * include/stropts.h: New file.
26562 * include/uchar.h: New file.
26563 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26564 * include/assert.h: Likewise.
26565 * include/ctype.h: Likewise.
26566 * include/dirent.h: Likewise.
26567 * include/dlfcn.h: Likewise.
26568 * include/fcntl.h: Likewise.
26569 * include/fnmatch.h: Likewise.
26570 * include/glob.h: Likewise.
26571 * include/grp.h: Likewise.
26572 * include/libio.h: Likewise.
26573 * include/locale.h: Likewise.
26574 * include/math.h: Likewise.
26575 * include/net/if.h: Likewise.
26576 * include/netdb.h: Likewise.
26577 * include/netinet/in.h: Likewise.
26578 * include/pthread.h: Likewise.
26579 * include/pwd.h: Likewise.
26580 * include/regex.h: Likewise.
26581 * include/sched.h: Likewise.
26582 * include/search.h: Likewise.
26583 * include/setjmp.h: Likewise.
26584 * include/signal.h: Likewise.
26585 * include/stdio.h: Likewise.
26586 * include/stdlib.h: Likewise.
26587 * include/string.h: Likewise.
26588 * include/sys/cdefs.h: Likewise.
26589 * include/sys/mman.h: Likewise.
26590 * include/sys/msg.h: Likewise.
26591 * include/sys/resource.h: Likewise.
26592 * include/sys/select.h: Likewise.
26593 * include/sys/socket.h: Likewise.
26594 * include/sys/stat.h: Likewise.
26595 * include/sys/statvfs.h: Likewise.
26596 * include/sys/time.h: Likewise.
26597 * include/sys/times.h: Likewise.
26598 * include/sys/uio.h: Likewise.
26599 * include/sys/utsname.h: Likewise.
26600 * include/sys/wait.h: Likewise.
26601 * include/termios.h: Likewise.
26602 * include/time.h: Likewise.
26603 * include/ulimit.h: Likewise.
26604 * include/unistd.h: Likewise.
26605 * include/utime.h: Likewise.
26606 * include/wchar.h: Likewise.
26607 * include/wctype.h: Likewise.
26608 * include/wordexp.h: Likewise.
26609
26610 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26611
7a270350
UD
26612 * time/time.h: TIME_UTC must be a macro.
26613 Make timespec_get available for ISO C11 only as well.
26614
7724defc
UD
266152012-02-24 Ulrich Drepper <drepper@gmail.com>
26616
26617 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26618 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26619
6b1d1d46
JM
266202012-02-24 Joseph Myers <joseph@codesourcery.com>
26621
26622 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26623
0f8bbd69
JM
266242012-02-24 Joseph Myers <joseph@codesourcery.com>
26625
26626 * manual/texinfo.tex: Update to version 2012-01-19.16.
26627
66ab80bc
JM
266282012-02-24 Joseph Myers <joseph@codesourcery.com>
26629
26630 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26631
74981cc5
RM
266322012-02-24 Roland McGrath <roland@hack.frob.com>
26633
ee968201
RM
26634 [BZ #13738]
26635 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26636 * manual/fdl-1.3.texi: New file.
26637 * manual/fdl-1.1.texi: File removed.
26638
74981cc5
RM
26639 [BZ #13738]
26640 * manual/libc.texinfo (FDL_VERSION): New @set.
26641 Use it for mention of FDL in cover text.
26642 (Documentation License): Use it in @include file name.
26643
7bb764bc
JM
266442012-02-22 Joseph Myers <joseph@codesourcery.com>
26645 Roland McGrath <roland@hack.frob.com>
26646
26647 [BZ #5461]
26648 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26649 not LONG_LONG_MAX and LONG_LONG_MIN.
26650 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26651 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26652 name.
26653 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26654
6cbeae47
JM
266552012-02-22 Joseph Myers <joseph@codesourcery.com>
26656
26657 [BZ #2547]
26658 [BZ #11365]
26659 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26660 manipulate bits before adding and subtracting TWO23[sx].
26661 * math/libm-test.inc (nearbyint_test): Add more tests.
26662
fe45ce09
JM
266632012-02-22 Joseph Myers <joseph@codesourcery.com>
26664
26665 [BZ #2548]
26666 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26667 bits before adding and subtracting TWO23[sx].
26668 * math/libm-test.inc (rint_test): Add more tests.
26669 (rint_test_tonearest): Likewise.
26670 (rint_test_towardzero): Likewise.
26671 (rint_test_downward): Likewise.
26672 (rint_test_upward: Likewise.
26673
ff3b3d82
JM
266742012-02-22 Joseph Myers <joseph@codesourcery.com>
26675
26676 [BZ #10110]
26677 * include/stdc-predef.h: New file. Extracted from features.h.
26678 * include/features.h: Include stdc-predef.h.
26679 * Makefile (headers): Add stdc-predef.h.
26680 * CONFORMANCE (Compiler limitations): Update.
26681
ef0aab35
JM
266822012-02-22 Joseph Myers <joseph@codesourcery.com>
26683
26684 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26685
58639409
DM
266862012-02-21 David S. Miller <davem@davemloft.net>
26687
26688 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26689 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26690
c0e70b25
DM
266912012-02-20 David S. Miller <davem@davemloft.net>
26692
26693 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26694 using a normal save/restore sequence, rather than allocating a
26695 dummy stack frame just to store a frame pointer and restore.
26696 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26697
fb06851d
JM
266982012-02-21 Joseph Myers <joseph@codesourcery.com>
26699
26700 * manual/install.texi: Fix stray word in line-wrapped comment.
26701
7a8b71c3
DM
267022012-02-20 David S. Miller <davem@davemloft.net>
26703
d510c123
DM
26704 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26705 both binutils and gcc support GOTDATA.
26706
0722d7c2
DM
26707 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26708 "rd %pc" in the PIC register setup sequences.
26709
3d2b3019
DM
26710 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26711 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26712 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26713 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26714 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26715 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26716 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26717 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26718 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26719 (SYSCALL_ERROR_HANDLER): Likewise.
26720 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26721 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26722 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26723 (SYSCALL_ERROR_HANDLER): Likewise.
26724
c80098a9
DM
26725 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26726 (HAVE_GCC_GOTDATA): New.
26727 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26728 relocation support in both binutils and gcc.
26729 * sysdeps/sparc/elf/configure: Regenerate.
26730
3a2545a0
DM
26731 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26732 * sysdeps/sparc/sparc32/elf/configure: Delete.
26733 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26734 * sysdeps/sparc/sparc64/elf/configure: Delete.
26735 * sysdeps/sparc/elf/configure.in: New file.
26736 * sysdeps/sparc/elf/configure: Generate.
26737
7a8b71c3
DM
26738 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26739 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26740 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26741 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26742 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26743
f1e86fca
JM
267442012-02-21 Joseph Myers <joseph@codesourcery.com>
26745
26746 * manual/install.texi: Do not mention specific glibc version
26747 numbers.
26748 * manual/libc.texinfo (VERSION, UPDATED): Update.
26749 (@copying): Use @copyright{} and range of years.
26750
0e7dfaef
JM
267512012-02-21 Joseph Myers <joseph@codesourcery.com>
26752
26753 [BZ #13695]
26754 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26755 [crti.S not in sysdirs] (generated): Do not append.
26756 [crti.S not in sysdirs] (omit-deps): Likewise.
26757 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26758 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26759 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26760 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26761 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26762 Likewise.
26763 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26764 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26765 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26766 * csu/defs.awk: Remove file.
26767 * sysdeps/generic/initfini.c: Likewise.
26768 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26769 variable.
26770 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26771 Likewise.
26772
599af3ca
JM
267732012-02-20 Joseph Myers <joseph@codesourcery.com>
26774
26775 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26776 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26777 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26778 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26779 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26780 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26781 <bits/epoll.h>.
26782 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26783 (__EPOLL_PACKED): Define to empty if not defined by
26784 <bits/epoll.h>.
26785 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26786 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26787 bits/epoll.h.
26788
0e499750
JM
267892012-02-20 Joseph Myers <joseph@codesourcery.com>
26790
26791 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26792 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26793 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26794 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26795 <bits/timerfd.h>.
26796 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26797 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26798 bits/timerfd.h.
26799
5ad91f6e
JM
268002012-02-20 Joseph Myers <joseph@codesourcery.com>
26801
26802 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26803 in C locale.
26804 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26805 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26806 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26808
06b99b02
AJ
268092012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26810
26811 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26812 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26813
7638c0fd
AS
268142012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26815
26816 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26817 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26818 defined.
26819 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26820 Likewise.
26821 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26822 entry for 2.16.
26823
92221550
AJ
268242012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26825
26826 * math/w_acos.c: Use non-signaling floating-point comparisons.
26827 * math/w_acosf.c: Likewise.
26828 * math/w_acosh.c: Likewise.
26829 * math/w_acoshf.c: Likewise.
26830 * math/w_acoshl.c: Likewise.
26831 * math/w_acosl.c: Likewise.
26832 * math/w_asin.c: Likewise.
26833 * math/w_asinf.c: Likewise.
26834 * math/w_asinl.c: Likewise.
26835 * math/w_atanh.c: Likewise.
26836 * math/w_atanhf.c: Likewise.
26837 * math/w_atanhl.c: Likewise.
26838 * math/w_exp2.c: Likewise.
26839 * math/w_exp2f.c: Likewise.
26840 * math/w_exp2l.c: Likewise.
26841 * math/w_j0.c: Likewise.
26842 * math/w_j0f.c: Likewise.
26843 * math/w_j0l.c: Likewise.
26844 * math/w_j1.c: Likewise.
26845 * math/w_j1f.c: Likewise.
26846 * math/w_j1l.c: Likewise.
26847 * math/w_jn.c: Likewise.
26848 * math/w_jnf.c: Likewise.
26849 * math/w_log.c: Likewise.
26850 * math/w_log10.c: Likewise.
26851 * math/w_log10f.c: Likewise.
26852 * math/w_log10l.c: Likewise.
26853 * math/w_log2.c: Likewise.
26854 * math/w_log2f.c: Likewise.
26855 * math/w_log2l.c: Likewise.
26856 * math/w_logf.c: Likewise.
26857 * math/w_logl.c: Likewise.
26858 * math/w_sqrt.c: Likewise.
26859 * math/w_sqrtf.c: Likewise.
26860 * math/w_sqrtl.c: Likewise.
26861 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26862 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26863 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26864 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26865 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26866
ebaf36eb
JM
268672012-02-19 Joseph Myers <joseph@codesourcery.com>
26868
26869 [BZ #9739]
26870 * manual/string.texi (strnlen): Use correct parameter name in
26871 equivalent expression.
26872
71c254a6
JM
268732012-02-19 Joseph Myers <joseph@codesourcery.com>
26874
26875 [BZ #11174]
26876 * manual/users.texi (seteuid): Consistently use neweuid for
26877 argument name.
26878
16d2c631
JM
268792012-02-19 Joseph Myers <joseph@codesourcery.com>
26880
26881 [BZ #13704]
26882 * manual/nss.texi (Services in the NSS configuration): Correct
26883 list of services in example configuration file.
26884
cd837b09
NB
268852012-02-19 Nick Bowler <nbowler@draconx.ca>
26886
26887 [BZ #11322]
26888 * manual/arith.texi: Remove statements about negative zero
26889 behaving identically to zero.
26890
02c4bbad
JM
268912012-02-18 Joseph Myers <joseph@codesourcery.com>
26892
26893 [BZ #5993]
26894 * manual/install.texi: Do not document upgrading from libc5.
26895
366842e7
JM
268962012-02-18 Joseph Myers <joseph@codesourcery.com>
26897
26898 [BZ #4596]
26899 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26900
dd54084d
DM
269012012-02-18 David S. Miller <davem@davemloft.net>
26902
26903 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26904 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26905 %o7 across the call.
26906 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26907 instead.
26908 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26909 SETUP_PIC_REG_LEAF.
26910 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26911 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26912 * sysdeps/sparc/crtn.S: Likewise.
26913
2bcc53a3
UD
269142012-02-17 Ulrich Drepper <drepper@gmail.com>
26915
26916 * aout/Makefile: Remove.
26917
09c093b5
RK
269182012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26919
26920 [BZ #13058]
26921 * manual/examples/argp-ex1.c (main): Format definition in GNU
26922 style.
26923 * manual/examples/argp-ex2.c (main): Likewise.
26924 * manual/examples/argp-ex3.c (main): Likewise.
26925 * manual/examples/argp-ex4.c (main): Likewise.
26926 * manual/examples/longopt.c (main): Use new-style prototype
26927 definition.
26928 * manual/examples/strncat.c (main): Specify return type and use
26929 (void) for arguments.
26930 * manual/examples/subopt.c (main): Use char **argv argument.
26931
2ee633a2
JM
269322012-02-17 Joseph Myers <joseph@codesourcery.com>
26933
26934 [BZ #5077]
26935 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26936 rounding modes.
26937
0520adde
FB
269382012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26939
26940 [BZ #6907]
26941 * manual/string.texi (strchr): Change when strchrnul is
26942 recommended.
26943
3f4081cd
DGM
269442012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26945
26946 [BZ #174]
26947 * manual/locale.texi (setlocale): Document LOCPATH.
26948
d1b10e78
JM
269492012-02-17 Joseph Myers <joseph@codesourcery.com>
26950
26951 [BZ #10210]
26952 * manual/process.texi (execle): Move @dots{} before last argument.
26953
79c6869c
PB
269542012-02-17 Paul Bolle <pebolle@tiscali.nl>
26955
26956 [BZ #12047]
26957 * manual/charset.texi (Generic Charset Conversion): Fix typo
26958 (LC_TYPE -> LC_CTYPE).
26959
cc6e48bc
NB
269602012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26961
26962 [BZ #5805]
26963 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26964 (scalbnf): Likewise.
26965 (scalbnl): Likewise.
26966 (scalbln): Likewise.
26967 (scalblnf): Likewise.
26968 (scalblnl): Likewise.
26969 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26970 (vwarnx): Likewise.
26971 (verr): Likewise.
26972 (verrx): Likewise.
26973 * manual/filesys.texi (telldir): Use braces around return type.
26974 * manual/llio.texi (mmap): Add space after comma.
26975 (mmap64): Likewise.
26976 * manual/math.texi (jn): Use @var{} on parameter names.
26977 (jnf): Likewise.
26978 (jnl): Likewise.
26979 (yn): Likewise.
26980 (ynf): Likewise.
26981 (ynl): Likewise.
26982 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26983 line.
26984 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26985 "...".
26986 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26987 (sched_get_priority_max): Likewise.
26988 * manual/signal.texi (sigvec): Add space after comma.
26989 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26990 names.
26991 (if_indextoname): Likewise.
26992 (if_freenameindex): Likewise.
26993 (sendto): Use ',' instead of '.' in prototype.
26994 * manual/startup.texi (syscall): Use @dots{} instead of literal
26995 "...".
26996 * manual/stdio.texi (__fpending): Separate initial words of
26997 paragraph from @deftypefun line.
26998 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26999 "...".
27000 (vsyslog): Use @var{} on parameter names.
27001 * manual/terminal.texi (stty): Use @var{} on parameter names.
27002 * manual/users.texi (getutmp): Use @var{} on parameter names.
27003 (getutmpx): Likewise.
27004
5b23062f
JM
270052012-02-17 Joseph Myers <joseph@codesourcery.com>
27006
27007 [BZ #6884]
27008 * manual/stdio.texi (fopen): Fix typos in description of
27009 ",ccs=STRING".
27010
8dee4833
AJ
270112012-02-17 Aurelien Jarno <aurelien@aurel32.net>
27012
27013 [BZ #4026]
27014 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
27015 get clock_id definition.
27016
9078ce93
TS
270172012-02-17 Thomas Schwinge <thomas@schwinge.name>
27018
27019 [BZ #4822]
27020 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
27021 (madvise): Cast every argument to void on its own.
27022
3835c55f
JM
270232012-02-17 Joseph Myers <joseph@codesourcery.com>
27024
27025 [BZ #9902]
27026 * manual/startup.texi (Exit Status): Fix typo.
27027
35c47e37
JM
270282012-02-17 Joseph Myers <joseph@codesourcery.com>
27029
27030 [BZ #10140]
27031 * manual/examples/argp-ex1.c: Include <stdlib.h>.
27032 * manual/examples/argp-ex2.c: Likewise.
27033 * manual/examples/argp-ex3.c: Likewise.
27034
e3b69ca7
RH
270352012-02-16 Richard Henderson <rth@redhat.com>
27036
27037 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
27038 * sysdeps/s390/s390-32/initfini.c: Remove.
27039 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
27040 * sysdeps/s390/s390-64/initfini.c: Remove.
27041
df83af67
KK
270422012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27043
27044 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
27045 compiler output for sysdeps/generic/initfini.c.
27046 * sysdeps/sh/elf/initfini.c: Remove file.
27047
f63f3380
DM
270482012-02-16 David S. Miller <davem@davemloft.net>
27049
fb59b3a4
DM
27050 [BZ #11494]
27051 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
27052
f63f3380
DM
27053 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
27054 * sysdeps/sparc/crti.S: New file.
27055 * sysdeps/sparc/crtn.S: New file.
27056 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
27057 * sysdeps/sparc/sparc64/Makefile: Likewise.
27058
df6a4a4a
MF
270592012-02-15 Mike Frysinger <vapier@gentoo.org>
27060
6dd8f3dc 27061 [BZ #3335]
df6a4a4a
MF
27062 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
27063
1cac7236
RM
270642012-02-15 Roland McGrath <roland@hack.frob.com>
27065
d2c736f8
RM
27066 [BZ #4822]
27067 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
27068
1cac7236
RM
27069 * mach/devstream.c (cookie_io_functions_t): Macro removed.
27070 (write, read, close): Likewise.
27071 Patch by Aurelien Jarno <aurelien@aurel32.net>.
27072
8e475601
JM
270732012-02-15 Joseph Myers <joseph@codesourcery.com>
27074
27075 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
27076 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
27077 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
27078 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
27079 <bits/signalfd.h>.
27080 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
27081 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27082 bits/signalfd.h.
27083
ed656b40
MP
270842012-02-14 Marek Polacek <polacek@redhat.com>
27085
27086 * sysdeps/x86_64/crti.S: New file.
27087 * sysdeps/x86_64/crtn.S: New file.
27088 * sysdeps/x86_64/elf/initfini.c: Remove file.
27089
2a979d3a
JM
270902012-02-13 Joseph Myers <joseph@codesourcery.com>
27091
27092 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
27093 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
27094 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
27095 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
27096 <bits/inotify.h>.
27097 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
27098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27099 bits/inotify.h.
27100
2a418ac3
JM
271012012-02-13 Joseph Myers <joseph@codesourcery.com>
27102
27103 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
27104 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
27105 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
27106 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
27107 <bits/eventfd.h>.
27108 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
27109 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27110 bits/eventfd.h.
27111
fb779be7
TS
271122012-02-10 Thomas Schwinge <thomas@codesourcery.com>
27113
e19e83c5
RM
27114 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
27115 __feraiseexcept instead of feraiseexcept.
7c35ffed 27116
fb779be7
TS
27117 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
27118 nanosleep invocations.
27119 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
27120 strings, and add error checking for a nanosleep invocations.
27121
59ba27a6
PE
271222012-02-09 Paul Eggert <eggert@cs.ucla.edu>
27123
27124 Replace FSF snail mail address with URLs, as per GNU coding standards.
27125 Most of the snail mail addresses were wrong anyway, and omitting
27126 them makes the source code easier to maintain. Almost all of the
27127 changes are to license notices and to locale LC_IDENTIFICATION
27128 addresses, except for this one:
27129 * manual/libc.texinfo: In "Published by", give the FSF's URL,
27130 not its snail mail address.
27131
57b957eb
RH
271322012-02-09 Richard Henderson <rth@twiddle.net>
27133
af850b1c
RH
27134 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
27135 of kernel-features.h.
27136
57b957eb
RH
27137 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
27138
6b73181a
MP
271392012-02-08 Marek Polacek <polacek@redhat.com>
27140
27141 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
27142 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
27143 * sysdeps/gnu/_G_config.h: Likewise.
27144 * sysdeps/generic/_G_config.h: Likewise.
27145
26ecc33a
AS
271462012-02-08 Andreas Schwab <schwab@linux-m68k.org>
27147
6c6dbc63
AS
27148 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
27149 tests.
27150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27151
e216c012
AS
27152 * sysdeps/powerpc/powerpc32/crti.S: New file.
27153 * sysdeps/powerpc/powerpc32/crtn.S: New file.
27154 * sysdeps/powerpc/powerpc64/crti.S: New file.
27155 * sysdeps/powerpc/powerpc64/crtn.S: New file.
27156
26ecc33a
AS
27157 * Makeconfig (have-initfini): Don't set.
27158 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
27159 * configure.in (nopic_initfini): Don't substitute.
27160 * config.h.in (HAVE_INITFINI): Don't #undef.
27161 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
27162 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
27163
3add8e13
JM
271642012-02-08 Joseph Myers <joseph@codesourcery.com>
27165
27166 Support crti.S and crtn.S provided directly by architectures.
27167 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
27168 [crti.S in sysdirs] (omit-deps): Likewise.
27169 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
27170 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
27171 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
27172 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
27173 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
27174 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
27175 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
27176 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
27177 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
27178 compiler output for sysdeps/generic/initfini.c.
27179 * sysdeps/i386/elf/Makefile: Remove file.
27180 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
27181
a22f12b4
MP
271822012-02-07 Marek Polacek <polacek@redhat.com>
27183
27184 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
27185 * sysdeps/gnu/_G_config.h: Likewise.
27186 * sysdeps/mach/hurd/_G_config.h: Likewise.
27187
148cf100
MP
271882012-02-07 Marek Polacek <polacek@redhat.com>
27189
27190 * math/Makefile (tests): Add tst-CMPLX2.
27191 * math/tst-CMPLX2.c: New file.
27192
cfdc0dd7
AS
271932012-02-07 Andreas Schwab <schwab@linux-m68k.org>
27194
84ba42c4
AS
27195 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27196
cfdc0dd7
AS
27197 * math/libm-test.inc (jn_test): Add missing L suffix.
27198
622c86f4
MP
271992012-02-06 Marek Polacek <polacek@redhat.com>
27200
27201 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
27202 * sysdeps/i386/fpu/e_powf.S: Likewise.
27203 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27204 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
27205 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27206 * sysdeps/i386/fpu/e_pow.S: Likewise.
27207 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27208 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27209 * sysdeps/i386/fpu/s_expm1.S: Likewise.
27210 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27211 * sysdeps/i386/fpu/e_log2.S: Likewise.
27212 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27213 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27214 * sysdeps/i386/fpu/e_powl.S: Likewise.
27215 * sysdeps/i386/fpu/s_log1p.S: Likewise.
27216 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27217 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27218 * sysdeps/i386/fpu/e_logl.S: Likewise.
27219 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27220 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
27221 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27222 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27223 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27224 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27225 * sysdeps/i386/fpu/e_log.S: Likewise.
27226 * sysdeps/i386/fpu/s_cexp.S: Likewise.
27227 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27228 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
27229 * sysdeps/i386/fpu/e_logf.S: Likewise.
27230 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27231 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27232 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
27233 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27234 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
27235 * sysdeps/i386/fpu/e_log10.S: Likewise.
27236 * sysdeps/i386/fpu/s_frexp.S: Likewise.
27237 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27238 * sysdeps/i386/fpu/s_asinh.S: Likewise.
27239 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27240 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27241 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27242 * sysdeps/i386/asm-syntax.h: Likewise.
27243 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27244 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27245 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27246 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
27247 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
27248 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27249 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27250 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27251 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27252 * sysdeps/powerpc/sysdep.h: Likewise.
27253 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
27254 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27255
d4a54ac6
JM
272562012-02-06 Joseph Myers <joseph@codesourcery.com>
27257
27258 [BZ #411]
27259 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
27260
314054ea
JM
272612012-02-06 Joseph Myers <joseph@codesourcery.com>
27262
27263 * sysdeps/i386/sysdep.h: Include <features.h>.
27264 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
27265 version.
27266
d8e0ca50
JM
272672012-02-05 Joseph Myers <joseph@codesourcery.com>
27268
27269 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
27270 Define.
27271 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
27272 LOAD_PIC_REG_STR.
27273
b1da7dd9
JM
272742012-02-03 Joseph Myers <joseph@codesourcery.com>
27275
27276 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
27277 (SETUP_PIC_REG): Use GET_PC_THUNK.
27278 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
27279 macro.
27280
9a1d9254
JM
272812012-02-03 Joseph Myers <joseph@codesourcery.com>
27282
27283 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
27284 for non-PIC compilation.
27285 (SETUP_PIC_REG): Add .p2align directive.
27286 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27287 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27288 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27289 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27290 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27291 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27292 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27293 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27294 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27295 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27296 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27297 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27298 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27299 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27300 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27301 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27302 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27303 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27304 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27305 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27306 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27307 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27308 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27309 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27310 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27311 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27312 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27313 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27314 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27315 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27316 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27317 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27318 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27319 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27320 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27321 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27322 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27323 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27324 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27325 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27326 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27327
65dc3b75
JM
273282012-02-03 Joseph Myers <joseph@codesourcery.com>
27329
27330 * math/tst-CMPLX.c: Include <stdio.h>.
27331
d55bf177
JM
273322012-01-31 Joseph Myers <joseph@codesourcery.com>
27333
27334 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27335 float.
27336 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27337 * sysdeps/sparc/bits/mathdef.h: Likewise.
27338
69db4f8f
MP
273392012-01-31 Marek Polacek <polacek@redhat.com>
27340
27341 * libio/libio.h: Don't define _PARAMS.
27342 * locale/programs/config.h: Don't define PARAMS.
27343 * stdlib/strtol_l.c: Likewise.
27344 (__strtol_l): Remove PARAMS from the prototype.
27345
41b81892
UD
273462012-01-31 Ulrich Drepper <drepper@gmail.com>
27347
3b49edc0
UD
27348 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27349 names. Just use the correct names. Remove unnecessary wrapper
27350 functions.
27351 * malloc/arena.c: Likewise.
27352 * malloc/hooks.c: Likewise.
27353
41b81892
UD
27354 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27355 ARENA_TEST says not to. Simplify test for creation of a new arena.
27356 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27357
27a25b6e
UD
273582012-01-30 Ulrich Drepper <drepper@gmail.com>
27359
27360 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27361 into tail calls.
27362 (update_get_addr): New function.
27363 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27364 GET_ADDR_MODULE parameter.
27365
c8a89e7d
JM
273662012-01-30 Joseph Myers <joseph@codesourcery.com>
27367
27368 * crypt/cert.c: Remove __STDC__ conditionals.
27369 * crypt/crypt-entry.c: Likewise.
27370 * crypt/crypt_util.c: Likewise.
27371 * libio/filedoalloc.c: Likewise.
27372 * libio/fileops.c: Likewise.
27373 * libio/genops.c: Likewise.
27374 * libio/iofclose.c: Likewise.
27375 * libio/iofdopen.c: Likewise.
27376 * libio/iofopen.c: Likewise.
27377 * libio/iofopen64.c: Likewise.
27378 * libio/iogetdelim.c: Likewise.
27379 * libio/iopopen.c: Likewise.
27380 * libio/obprintf.c: Likewise.
27381 * libio/oldfileops.c: Likewise.
27382 * libio/oldiofclose.c: Likewise.
27383 * libio/oldiofdopen.c: Likewise.
27384 * libio/oldiofopen.c: Likewise.
27385 * libio/oldiopopen.c: Likewise.
27386 * libio/wfiledoalloc.c: Likewise.
27387 * libio/wgenops.c: Likewise.
27388 * locale/programs/xmalloc.c: Likewise.
27389 * misc/syslog.c: Likewise.
27390 * stdio-common/xbug.c: Likewise.
27391 * string/memchr.c: Likewise.
27392 * string/memcmp.c: Likewise.
27393 * string/memrchr.c: Likewise.
27394 * string/rawmemchr.c: Likewise.
27395 * sysdeps/posix/getcwd.c: Likewise.
27396 * time/strftime_l.c: Likewise.
27397
3b100462
JM
273982012-01-30 Joseph Myers <joseph@codesourcery.com>
27399
27400 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27401 * config.make.in (config-cflags-sse2avx): Define.
27402 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27403 Fix typo.
27404
607998af
CM
274052012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27406
27407 * scripts/config.guess: Update from upstream config git repository.
27408 * scripts/config.sub: Likewise.
27409
3601428f
CM
274102012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27411
3ac8b282
CM
27412 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27413 (EM_NUM): Update.
27414 (R_TILEPRO_*, R_TILEGX_*): New macros.
27415
e034841e
CM
27416 * scripts/firstversions.awk: Fix bug in version range handling.
27417
540d7568
CM
27418 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27419
3601428f
CM
27420 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27421
463de862
CM
27422 * include/sys/epoll.h: New file.
27423 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27424 libc_hidden_def.
27425
73139a76
UD
274262012-01-28 Ulrich Drepper <drepper@gmail.com>
27427
96bc5b45
UD
27428 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27429 Avoid unnecessary __WORDSIZE == 64 test.
27430 (fmaxf): Use VEX format if possible.
27431 (fmax): Likewise.
27432 (fminf): Likewise.
27433 (fmin): Likewise.
27434
56f6f6a2
UD
27435 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27436 * math/math_private.h: Remove libc_fegetround* and
27437 libc_fesetround*.
27438 * sysdeps/i386/configure.in: Check for -msse2avx.
27439 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27440 also if SSE2AVX is defined.
27441 Remove libc_fegetround* and libc_fesetround*.
27442 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27443 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27444 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27445 of HAS_YMM_USABLE.
27446 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27447 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27448 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27449 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27450 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27451
73139a76
UD
27452 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27453
d73f93a4
AZ
274542012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27455
27456 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27457 size is not set.
27458 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27459
6ee65ed6
UD
274602012-01-27 Ulrich Drepper <drepper@gmail.com>
27461
27462 [BZ #13618]
27463 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27464 relocation.
27465 * Makeconfig (libm): Define.
27466 * elf/Makefile: Add rules to build and run tst-relsort1.
27467 * elf/tst-relsort1.c: New file.
27468 * elf/tst-relsort1mod1.c: New file.
27469 * elf/tst-relsort1mod2.c: New file.
27470
8db21882
JM
274712012-01-27 Joseph Myers <joseph@codesourcery.com>
27472
27473 * math/s_ldexp.c: Remove __STDC__ conditionals.
27474 * math/s_ldexpf.c: Likewise.
27475 * math/s_ldexpl.c: Likewise.
27476 * math/s_nextafter.c: Likewise.
27477 * math/s_nexttowardf.c: Likewise.
27478 * math/s_significand.c: Likewise.
27479 * math/s_significandf.c: Likewise.
27480 * math/s_significandl.c: Likewise.
27481 * math/w_jnl.c: Likewise.
27482 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27483 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27484 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27485 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27486 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27487 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27488 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27489 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27490 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27491 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27492 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27493 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27494 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27495 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27496 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27497 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27498 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27499 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27500 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27501 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27502 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27503 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27504 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27505 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27506 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27507 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27508 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27509 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27510 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27511 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27512 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27513 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27514 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27515 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27516 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27517 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27518 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27519 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27520 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27521 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27522 * sysdeps/ieee754/k_standard.c: Likewise.
27523 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27524 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27525 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27526 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27527 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27528 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27529 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27530 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27531 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27532 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27533 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27534 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27535 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27536 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27537 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27539 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27540 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27542 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27543 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27544 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27545 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27546 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27547 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27548 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27549 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27550 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27552 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27553 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27554 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27555 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27556 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27557 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27558 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27559 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27560 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27562 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27563 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27564 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27565 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27566 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27567 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27568 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27569 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27570 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27571 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27572 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27573 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27574 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27575 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27576 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27577 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27578 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27579 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27580 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27581 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27582 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27583 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27584 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27585 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27586 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27587 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27588 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27589 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27590 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27591 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27592 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27593 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27594 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27595 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27596 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27597 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27598 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27599 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27600 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27601 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27602 * sysdeps/ieee754/s_matherr.c: Likewise.
27603 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27604 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27605 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27606 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27607
965a54a4
JM
276082012-01-26 Joseph Myers <joseph@codesourcery.com>
27609
27610 * crypt/md5.h: Remove __STDC__ conditionals.
27611 * libio/libioP.h: Likewise.
27612 * locale/programs/config.h: Likewise.
27613 * sysdeps/generic/sysdep.h: Likewise.
27614 * sysdeps/i386/asm-syntax.h: Likewise.
27615 * sysdeps/s390/asm-syntax.h: Likewise.
27616 * sysdeps/unix/sysdep.h: Likewise.
27617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27619
7071ad79
JM
276202012-01-26 Joseph Myers <joseph@codesourcery.com>
27621
27622 * libio/libio.h: Remove __STDC__ conditionals.
27623 * malloc/obstack.h: Likewise.
27624 * math/complex.h: Likewise.
27625 * math/math.h: Likewise.
27626 * sysdeps/generic/_G_config.h: Likewise.
27627 * sysdeps/gnu/_G_config.h: Likewise.
27628 * sysdeps/mach/hurd/_G_config.h: Likewise.
27629 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27630 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27631 * sysdeps/sparc/bits/mathdef.h: Likewise.
27632
afc5ed09
UD
276332012-01-26 Ulrich Drepper <drepper@gmail.com>
27634
27635 [BZ #13583]
27636 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27637 Clean up HAS_* macros.
afc5ed09 27638 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27639 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27640 possible.
27641 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27642 HAS_AVX.
27643 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27644 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27645 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27646 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27647 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27648
bdb6de1d
JM
276492012-01-25 Joseph Myers <joseph@codesourcery.com>
27650
27651 * elf/tst-unique3.cc (gets): Remove declaration.
27652 * elf/tst-unique3lib.cc (gets): Likewise.
27653 * elf/tst-unique3lib2.cc (gets): Likewise.
27654 * elf/tst-unique4.cc (gets): Likewise.
27655
b15549e6
UD
276562012-01-24 Ulrich Drepper <drepper@gmail.com>
27657
27658 * include/stdio.h: Add C++ protection. Add gets declarations and
27659 definitions.
27660 * debug/tst-chk1.c: Don't declare gets here.
27661 * stdio-common/tst-gets.c: Likewise.
27662
a037381f
JM
276632012-01-24 Joseph Myers <joseph@codesourcery.com>
27664
27665 * posix/glob: Remove directory.
27666
f1d4aa75
JM
276672012-01-24 Joseph Myers <joseph@codesourcery.com>
27668
27669 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27670
81c0c964
PT
276712012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27672
27673 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27674 of the non-standard EPFNOSUPPORT.
27675
0ea698ae
ST
276762011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27677
27678 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27679 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27680 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27681
d220b117
UD
276822012-01-21 Ulrich Drepper <drepper@gmail.com>
27683
27684 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27685
3e1aa84e
UD
276862012-01-20 Ulrich Drepper <drepper@gmail.com>
27687
27688 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27689 transient errors.
27690 * nscd/grpcache.c (cache_addgr): Likewise.
27691 * nscd/hstcache.c (cache_addhst): Likewise.
27692 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27693 * nscd/pwdcache.c (cache_addpw): Likewise.
27694 * nscd/servicescache.c (cache_addserv): Likewise.
27695
400aa020
UD
276962012-01-16 Ulrich Drepper <drepper@gmail.com>
27697
d77e7869
UD
27698 * malloc/malloc.c: Various cleanups.
27699 * malloc/hooks.c: Likewise.
27700
400aa020
UD
27701 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27702 * stdlib/bug-fmtmsg1.c: New file.
27703
27704 * stdlib/fmtmsg.c (init): Add missing unlock.
27705 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27706
e0a309cf
MP
277072012-01-12 Marek Polacek <polacek@redhat.com>
27708
27709 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27710 and _GNU_SOURCE.
27711
929d11c7
WS
277122012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27713
27714 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27715 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27716 macro to ensure uniqueness of label name.
27717 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27718 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27719
41d0e869
UD
277202012-01-11 Ulrich Drepper <drepper@gmail.com>
27721
0cc5ed3b
UD
27722 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27723
41d0e869
UD
27724 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27725 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27726 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27727 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27728
a47a831a
UD
277292012-01-10 Ulrich Drepper <drepper@gmail.com>
27730
daa891c0
UD
27731 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27732
27733 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27734 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27735 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27736
e58ef0f2
UD
27737 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27738
a47a831a 27739 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27740 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27741 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27742 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27743
27744 * math/bits/math-finite.h: Add ldexp support.
27745
a0bfc9c7
MP
277462012-01-10 Marek Polacek <polacek@redhat.com>
27747
27748 * locale/programs/localedef.h (show_archive_content): Add noreturn
27749 attribute.
27750
d6e97a1d
UD
277512012-01-09 Ulrich Drepper <drepper@gmail.com>
27752
27753 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27754
d5835c26
UD
277552012-01-08 Ulrich Drepper <drepper@gmail.com>
27756
e5f484c6
UD
27757 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27758
d5835c26
UD
27759 * io/Makefile (headers): Add bits/poll2.h.
27760
d1f741e9
WS
277612011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27762
27763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27764 typo #include statement.
27765
ec09c1c4
UD
277662012-01-08 Ulrich Drepper <drepper@gmail.com>
27767
27768 * include/sys/cdefs.h: Define __attribute_alloc_size.
27769 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27770 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27771 * elf/pldd.c: Likewise.
27772 * iconv/iconv_charmap.c: Likewise.
27773 * iconv/iconvconfig.c: Likewise.
27774 * iconv/strtab.c: Likewise.
27775 * locale/programs/locale.c: Likewise.
27776 * locale/programs/localedef.h: Likewise.
27777 * locale/programs/simple-hash.c: Likewise.
27778 * nscd/nscd.h: Likewise.
27779 * nss/makedb.c: Likewise.
27780 * sysdeps/generic/ldconfig.h: Likewise.
27781 * locale/programs/localedef.c: Remove xmalloc prototype.
27782 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27783
20b38e03
PP
277842012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27785
27786 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27787 appropriate.
27788
a0da5fe1
UD
277892012-01-08 Ulrich Drepper <drepper@gmail.com>
27790
1d5a644a 27791 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27792 * math/tst-CMPLX.c: New file.
1d5a644a 27793
8784a6db
UD
27794 * math/complex.h (CMPLXL): Fix typo.
27795
d9a216c0
UD
27796 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27797 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27798 GLIBC_2.16.
27799 * debug/tst-chk1.c: Add poll and ppoll tests.
27800 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27801 * include/sys/poll.h: Add hidden proto for ppoll.
27802 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27803 * sysdeps/mach/hurd/ppoll.c: Likewise.
27804 * io/ppoll.c: Likewise.
27805 * debug/poll_chk.c: New file.
27806 * debug/ppoll_chk.c: New file.
27807 * include/bits/poll2.h: New file.
27808 * io/bits/poll2.h: New file.
27809
ac097f5c
UD
27810 [BZ #1350]
27811 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27812
2119dcfa
UD
27813 * configure.in: static is always set to yes. Remove.
27814 * config.make.in: Don't set build-static.
27815 * Makeconfig: Remove use of build-static.
27816 * dlfcn/Makefile: Likewise.
27817 * elf/Makefile: Likewise.
27818 * math/Makefile: Likewise.
27819 * misc/Makefile: Likewise.
27820 * nptl/Makefile: Likewise.
27821 * sysdeps/mach/hurd/Makefile: Likewise.
27822
121766a9
UD
27823 * configure.in: PWD_P is not used anymore.
27824 * config.make.in: Remove PWD_P entry.
27825
51a1d39c 27826 * configure.in: Remove last remnants of RANLIB.
8720d066 27827 No need to check for signed size_t anymore.
215f4bdc
UD
27828 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27829 and IA-64.
3857022a 27830 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27831 * aclocal.m4: Likewise.
27832
d3ed7225
UD
27833 * wcsmbs/mbrtoc16.c: Implement using towc function.
27834 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27835 * wcsmbs/wcsmbsload.c: Likewise.
27836 * iconv/gconv_simple.c: Likewise.
27837 * iconv/gconv_int.h: Likewise.
27838 * iconv/gconv_builtin.h: Likewise.
27839 * iconv/iconv_prog.c: Remove CHAR16 handling.
27840
27841 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27842
27843 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27844
a0da5fe1
UD
27845 * configure.in: Remove --with-elf and --enable-bounded options.
27846 Dont set base_machine for ia64. More non-ELF conditions removed.
27847 Remove testing and setting of leading underscore information.
27848 * config.make.in (build-bounded): Set to no.
27849 * config.h.in: Remove NO_UNDERSCORES entry.
27850 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27851 them.
27852 * csu/start.c: Remove !NO_UNDERSCORE code.
27853 * locale/localeinfo.h: Likewise.
27854 * sysdeps/generic/machine-gmon.h: Likewise.
27855 * sysdeps/generic/sysdep.h: Likewise.
27856 * sysdeps/i386/sysdep.h: Likewise.
27857 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27858 * sysdeps/mach/sysdep.h: Likewise.
27859 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27860 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27861 * sysdeps/sh/sysdep.h: Likewise.
27862 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27863 * sysdeps/unix/i386/sysdep.S: Likewise.
27864 * sysdeps/unix/sparc/start.c: Likewise.
27865 * sysdeps/unix/sparc/sysdep.S: Likewise.
27866 * sysdeps/unix/sparc/sysdep.h: Likewise.
27867 * sysdeps/unix/start.c: Likewise.
27868 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27869 * sysdeps/x86_64/sysdep.h: Likewise.
27870
df78418a
UD
278712012-01-07 Ulrich Drepper <drepper@gmail.com>
27872
a784e502
UD
27873 [BZ #13553]
27874 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27875 for non-gcc.
27876 * argp/argp-fmtstream.h: Use const instead __const.
27877 * argp/argp.h: Likewise.
27878 * assert/assert.h: Likewise.
27879 * bits/fenv.h: Likewise.
27880 * bits/sched.h: Likewise.
27881 * bits/sigset.h: Likewise.
27882 * bits/sigthread.h: Likewise.
27883 * catgets/nl_types.h: Likewise.
27884 * conform/data/pthread.h-data: Likewise.
27885 * crypt/crypt-private.h: Likewise.
27886 * crypt/crypt.h: Likewise.
27887 * crypt/crypt_util.c: Likewise.
27888 * ctype/ctype.h: Likewise.
27889 * debug/execinfo.h: Likewise.
27890 * debug/mbsnrtowcs_chk.c: Likewise.
27891 * debug/mbsrtowcs_chk.c: Likewise.
27892 * debug/wcsnrtombs_chk.c: Likewise.
27893 * debug/wcsrtombs_chk.c: Likewise.
27894 * debug/wcstombs_chk.c: Likewise.
27895 * dirent/dirent.h: Likewise.
27896 * dlfcn/dlfcn.h: Likewise.
27897 * elf/neededtest4.c: Likewise.
27898 * grp/grp.h: Likewise.
27899 * gshadow/gshadow.h: Likewise.
27900 * iconv/gconv.h: Likewise.
27901 * iconv/gconv_int.h: Likewise.
27902 * iconv/gconv_simple.c: Likewise.
27903 * iconv/iconv.h: Likewise.
27904 * iconv/loop.c: Likewise.
27905 * iconv/skeleton.c: Likewise.
27906 * include/aio.h: Likewise.
27907 * include/aliases.h: Likewise.
27908 * include/argz.h: Likewise.
27909 * include/arpa/inet.h: Likewise.
27910 * include/assert.h: Likewise.
27911 * include/dirent.h: Likewise.
27912 * include/dlfcn.h: Likewise.
27913 * include/execinfo.h: Likewise.
27914 * include/fcntl.h: Likewise.
27915 * include/fenv.h: Likewise.
27916 * include/glob.h: Likewise.
27917 * include/grp.h: Likewise.
27918 * include/libintl.h: Likewise.
27919 * include/mntent.h: Likewise.
27920 * include/netdb.h: Likewise.
27921 * include/pwd.h: Likewise.
27922 * include/rpc/netdb.h: Likewise.
27923 * include/sched.h: Likewise.
27924 * include/search.h: Likewise.
27925 * include/shadow.h: Likewise.
27926 * include/signal.h: Likewise.
27927 * include/stdio.h: Likewise.
27928 * include/stdlib.h: Likewise.
27929 * include/string.h: Likewise.
27930 * include/sys/socket.h: Likewise.
27931 * include/sys/stat.h: Likewise.
27932 * include/sys/statfs.h: Likewise.
27933 * include/sys/statvfs.h: Likewise.
27934 * include/sys/syslog.h: Likewise.
27935 * include/sys/time.h: Likewise.
27936 * include/sys/uio.h: Likewise.
27937 * include/time.h: Likewise.
27938 * include/unistd.h: Likewise.
27939 * include/utmp.h: Likewise.
27940 * include/wchar.h: Likewise.
27941 * include/wctype.h: Likewise.
27942 * inet/aliases.h: Likewise.
27943 * inet/arpa/inet.h: Likewise.
27944 * inet/netinet/ether.h: Likewise.
27945 * inet/netinet/in.h: Likewise.
27946 * intl/libintl.h: Likewise.
27947 * io/bits/fcntl2.h: Likewise.
27948 * io/fcntl.h: Likewise.
27949 * io/ftw.h: Likewise.
27950 * io/sys/poll.h: Likewise.
27951 * io/sys/stat.h: Likewise.
27952 * io/sys/statfs.h: Likewise.
27953 * io/sys/statvfs.h: Likewise.
27954 * io/utime.h: Likewise.
27955 * libio/bits/stdio.h: Likewise.
27956 * libio/bits/stdio2.h: Likewise.
27957 * libio/libio.h: Likewise.
27958 * libio/libioP.h: Likewise.
27959 * libio/stdio.h: Likewise.
27960 * locale/lc-ctype.c: Likewise.
27961 * locale/locale.h: Likewise.
27962 * login/utmp.h: Likewise.
27963 * malloc/arena.c: Likewise.
27964 * malloc/malloc.c: Likewise.
27965 * malloc/malloc.h: Likewise.
27966 * malloc/mcheck.c: Likewise.
27967 * malloc/mtrace.c: Likewise.
27968 * math/bits/mathcalls.h: Likewise.
27969 * math/fenv.h: Likewise.
27970 * math/math_private.h: Likewise.
27971 * misc/bits/error.h: Likewise.
27972 * misc/bits/syslog.h: Likewise.
27973 * misc/err.h: Likewise.
27974 * misc/error.h: Likewise.
27975 * misc/fstab.h: Likewise.
27976 * misc/mntent.h: Likewise.
27977 * misc/regexp.h: Likewise.
27978 * misc/search.h: Likewise.
27979 * misc/sgtty.h: Likewise.
27980 * misc/sys/mman.h: Likewise.
27981 * misc/sys/syslog.h: Likewise.
27982 * misc/sys/uio.h: Likewise.
27983 * misc/sys/xattr.h: Likewise.
27984 * misc/ttyent.h: Likewise.
27985 * nis/rpcsvc/ypclnt.h: Likewise.
27986 * nss/nss.h: Likewise.
27987 * posix/bits/unistd.h: Likewise.
27988 * posix/fnmatch.h: Likewise.
27989 * posix/glob.h: Likewise.
27990 * posix/sched.h: Likewise.
27991 * posix/spawn.h: Likewise.
27992 * posix/sys/wait.h: Likewise.
27993 * posix/unistd.h: Likewise.
27994 * posix/wordexp.h: Likewise.
27995 * pwd/pwd.h: Likewise.
27996 * resolv/netdb.h: Likewise.
27997 * resource/sys/resource.h: Likewise.
27998 * rt/aio.h: Likewise.
27999 * rt/bits/mqueue2.h: Likewise.
28000 * rt/mqueue.h: Likewise.
28001 * shadow/shadow.h: Likewise.
28002 * signal/signal.h: Likewise.
28003 * socket/send.c: Likewise.
28004 * socket/sendto.c: Likewise.
28005 * socket/sys/socket.h: Likewise.
28006 * stdio-common/printf.h: Likewise.
28007 * stdlib/bits/stdlib.h: Likewise.
28008 * stdlib/fmtmsg.h: Likewise.
28009 * stdlib/monetary.h: Likewise.
28010 * stdlib/stdlib.h: Likewise.
28011 * stdlib/ucontext.h: Likewise.
28012 * streams/stropts.h: Likewise.
28013 * string/argz.h: Likewise.
28014 * string/bits/string2.h: Likewise.
28015 * string/string.h: Likewise.
28016 * string/strings.h: Likewise.
28017 * sunrpc/rpc/auth.h: Likewise.
28018 * sunrpc/rpc/auth_des.h: Likewise.
28019 * sunrpc/rpc/clnt.h: Likewise.
28020 * sunrpc/rpc/netdb.h: Likewise.
28021 * sunrpc/rpc/pmap_clnt.h: Likewise.
28022 * sunrpc/rpc/xdr.h: Likewise.
28023 * sysdeps/generic/inttypes.h: Likewise.
28024 * sysdeps/generic/net/if.h: Likewise.
28025 * sysdeps/generic/sys/swap.h: Likewise.
28026 * sysdeps/gnu/net/if.h: Likewise.
28027 * sysdeps/gnu/utmpx.h: Likewise.
28028 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
28029 * sysdeps/i386/i486/bits/string.h: Likewise.
28030 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
28031 * sysdeps/s390/bits/string.h: Likewise.
28032 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
28033 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
28034 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
28035 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
28036 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
28037 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
28038 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
28039 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
28040 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
28041 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
28042 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
28043 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28044 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
28045 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28046 * sysdeps/unix/sysv/linux/readv.c: Likewise.
28047 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
28048 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28050 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
28051 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
28052 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28053 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
28054 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
28055 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
28056 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
28057 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
28058 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
28059 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28060 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
28061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
28062 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
28063 * sysvipc/sys/ipc.h: Likewise.
28064 * sysvipc/sys/msg.h: Likewise.
28065 * sysvipc/sys/sem.h: Likewise.
28066 * sysvipc/sys/shm.h: Likewise.
28067 * termios/termios.h: Likewise.
28068 * time/sys/time.h: Likewise.
28069 * time/time.h: Likewise.
28070 * wcsmbs/bits/wchar2.h: Likewise.
28071 * wcsmbs/uchar.h: Likewise.
28072 * wcsmbs/wchar.h: Likewise.
28073 * wctype/wctype.h: Likewise.
28074
0269750c
UD
28075 [BZ #13551]
28076 * Makeconfig: Remove all but ELF support including AIX support.
28077 * Makerules: Likewise.
28078 * config.h.in: Likewise.
28079 * config.make.in: Likewise.
28080 * configure: Likewise.
28081 * configure.in: Likewise.
28082 * csu/Makefile: Likewise.
28083 * csu/version.c: Likewise.
28084 * debug/Makefile: Likewise.
28085 * dlfcn/Makefile: Likewise.
28086 * elf/Makefile: Likewise.
28087 * extra-lib.mk: Likewise.
28088 * iconv/Makefile: Likewise.
28089 * include/libc-symbols.h: Likewise.
28090 * include/shlib-compat.h: Likewise.
28091 * resolv/Makefile: Likewise.
28092 * resolv/res_libc.c: Likewise.
28093 * rt/Makefile: Likewise.
28094 * sysdeps/i386/asm-syntax.h: Likewise.
28095 * sysdeps/i386/sysdep.h: Likewise.
28096 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
28097 * sysdeps/mach/sysdep.h: Likewise.
28098 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
28099 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
28100 * sysdeps/s390/asm-syntax.h: Likewise.
28101 * sysdeps/s390/s390-32/sysdep.h: Likewise.
28102 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28103 * sysdeps/sh/sysdep.h: Likewise.
28104 * sysdeps/unix/sparc/sysdep.h: Likewise.
28105 * sysdeps/wordsize-32/divdi3.c: Likewise.
28106 * sysdeps/x86_64/sysdep.h: Likewise.
28107
00bbd29b
UD
28108 * argp/Versions: Remove _argp_unlock_xxx.
28109
28110 [BZ #13559]
28111 * abilist/ld.abilist: Update. Adjust for removal of tls option.
28112 * abilist/libBrokenLocale.abilist: Likewise.
28113 * abilist/libanl.abilist: Likewise.
28114 * abilist/libc.abilist: Likewise.
28115 * abilist/libcrypt.abilist: Likewise.
28116 * abilist/libdl.abilist: Likewise.
28117 * abilist/libm.abilist: Likewise.
28118 * abilist/libnsl.abilist: Likewise.
28119 * abilist/libpthread.abilist: Likewise.
28120 * abilist/libresolv.abilist: Likewise.
28121 * abilist/librt.abilist: Likewise.
28122 * abilist/libthread_db.abilist: Likewise.
28123 * abilist/libutil.abilist: Likewise.
28124 * abilist/libnss_db.abilist: New file.
28125
28126 * scripts/abilist.awk: Add support for indirect functions.
28127
a2693a0e
UD
28128 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
28129
3f05895f
UD
28130 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
28131
ecb6fb48
UD
28132 * shlib-versions: Remove entries for ports architectures.
28133
664f8cb9
UD
28134 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
28135 files in ports.
28136 * elf/stackguard-macros.h: Remove support for IA-64.
28137 * elf/tst-auditmod1.c: Likewise.
28138 * sysdeps/generic/ldsodefs.h: Likewise.
28139
7ae81d88
UD
28140 * sysdeps/unix/sysv/linux/configure.in: Ports should define
28141 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
28142 configure files.
28143
bdeba135
UD
28144 [BZ #13552]
28145 * configure.in: Remove --enable-omitfp support.
28146 * FAQ.in: Adjust.
28147 * config.make.in: Likewise.
28148 * Makeconfig: Likewise.
28149 * manual/install.texi: Likewise.
28150
d75a0a62
UD
28151 In case anyone cares, the IA-64 architecture could move to ports.
28152 * sysdeps/ia64/*: Removed.
28153 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 28154 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 28155
dcc9756b
UD
28156 [BZ #13555]
28157 * configure.in: Remove entries for unsupported architectures.
28158
d3761ebc 28159 [BZ #13533]
9954432e
UD
28160 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
28161 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
28162 routines.
28163 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
28164 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
28165 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
28166 fall back to using wcrtomb.
28167 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
28168 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
28169 renaming.
28170 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
28171 * wcsmbs/tst-c16c32-1.c: New file.
28172
28173 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
28174 local variable.
28175
c3a87236
UD
28176 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
28177
28926a1b
UD
28178 * elf/tst-unique3.cc: Add explicit declaration of gets.
28179 * elf/tst-unique3lib.cc: Likewise.
28180 * elf/tst-unique3lib2.cc: Likewise.
28181 * elf/tst-unique4.cc: Likewise.
28182
df78418a
UD
28183 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
28184
8ecd6b2a
JM
281852012-01-06 Joseph Myers <joseph@codesourcery.com>
28186
28187 [BZ #13566]
28188 * assert/assert.h (static_assert): Don't define for C++.
28189 * libio/stdio.h (gets): Do declare for C++ <= C++11.
28190 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
28191
9f115170
UD
281922012-01-03 Ulrich Drepper <drepper@gmail.com>
28193
5e0d0300
UD
28194 * iconv/loop.c (single loop): Fix assertion in storing of
28195 remaining bytes.
28196
9f115170
UD
28197 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
28198
81fb02b0
UD
281992012-01-01 Ulrich Drepper <drepper@gmail.com>
28200
28201 * posix/getconf.c: Update copyright year.
28202 * nss/getent.c: Likewise.
a316c1f6 28203 * nss/makedb.c: Likewise.
81fb02b0
UD
28204 * iconv/iconvconfig.c: Likewise.
28205 * iconv/iconv_prog.c: Likewise.
28206 * elf/ldconfig.c: Likewise.
a316c1f6
UD
28207 * elf/pldd.c: Likewise.
28208 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
28209 * catgets/gencat.c: Likewise.
28210 * csu/version.c: Likewise.
28211 * elf/ldd.bash.in: Likewise.
28212 * elf/sprof.c (print_version): Likewise.
28213 * locale/programs/locale.c: Likewise.
28214 * locale/programs/localedef.c: Likewise.
a316c1f6 28215 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
28216 * nscd/nscd.c (print_version): Likewise.
28217 * debug/xtrace.sh: Likewise.
28218 * malloc/memusage.sh: Likewise.
28219 * malloc/mtrace.pl: Likewise.
28220 * debug/catchsegv.sh: Likewise.
28221
2ba92745
JJ
282222011-12-30 Jakub Jelinek <jakub@redhat.com>
28223
28224 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
28225 pure attribute.
28226
dadebdae
UD
282272011-12-24 Ulrich Drepper <drepper@gmail.com>
28228
d3761ebc 28229 [BZ #13533]
db6af3eb
UD
28230 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
28231 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
28232 transformations.
28233 * iconv/gconv_int.h: Likewise.
28234 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
28235 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
28236 from libc for GLIBC_2.16.
28237 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
28238 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
28239 * wcsmbs/uchar.h: Really define mbstate_t.
28240 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
28241 * wcsmbs/c16rtomb.c: New file.
28242 * wcsmbs/mbrtoc16.c: New file.
28243 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
28244 for C/POSIX locale.
28245 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
28246 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
28247
dadebdae
UD
28248 * wcsmbs/wchar.h: Add missing __restrict.
28249
67371b56
UD
282502011-12-23 Ulrich Drepper <drepper@gmail.com>
28251
74033a25
UD
28252 [BZ #13532]
28253 * time/Makefile (routines): Add timespec_get.
28254 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
28255 * time/time.h: Define TIME_UTC and declare timespec_get. Define
28256 timespec for ISO C11.
28257 * time/timespec_get.c: New file.
28258 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
28259 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
28260
380d7e87
UD
28261 [BZ #13531]
28262 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
28263 * stdlib/stdlib.h: Declare aligned_alloc.
28264 * Versions.def: Add GLIBC_2.16 for libc.
28265 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
28266
4e9e7a35
UD
28267 [BZ 13527]
28268 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
28269 ISO C11.
28270
380d7e87 28271 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
28272 code.
28273
03a71829
UD
28274 [BZ #13528]
28275 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
28276
839e283e
UD
28277 [BZ #13529]
28278 * assert/assert.h (static_assert): Define.
28279
ce5294e2 28280 * version.h: Update for 2.16 development version.
90fa7312 28281
8d44e150 28282 [BZ #13526]
d7809905
UD
28283 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
28284 _ISOC11_SOURCE.
28285
c0da14cd
UD
28286 * version.h (RELEASE): Bump for 2.15 release.
28287 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28288
530a3249
MP
28289 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28290 Patch by Marek Polacek <mpolacek@redhat.com>.
28291
67371b56
UD
28292 * bits/byteswap.h: Protect long long constants with __extension__.
28293 * sysdeps/i386/bits/byteswap.h: Likewise.
28294 * sysdeps/ia64/bits/byteswap.h: Likewise.
28295 * sysdeps/s390/bits/byteswap.h: Likewise.
28296 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28297
15db4de1
LD
282982011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28299
28300 [BZ #13540]
bbe315ea
LD
28301 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28302 destination buffer.
15db4de1
LD
28303 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28304
2b2596b1
MP
283052011-12-23 Marek Polacek <polacek@redhat.com>
28306
28307 * elf/dl-addr.c (determine_info): Add inline keyword.
28308 * elf/tst-auditmod4b.c (check_avx): Likewise.
28309 * elf/tst-auditmod6b.c (check_avx): Likewise.
28310 * elf/tst-auditmod6c.c (check_avx): Likewise.
28311 * elf/tst-auditmod7b.c (check_avx): Likewise.
28312
70c6c246
UD
283132011-12-23 Ulrich Drepper <drepper@gmail.com>
28314
28315 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28316 !__SSE_MATH__.
28317
c044cf14
LD
283182011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28319
15db4de1 28320 [BZ #13540]
c044cf14
LD
28321 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28322 processing for last bytes.
28323
6b13d9d9
BH
283242011-08-06 Bruno Haible <bruno@clisp.org>
28325
d455f537
BH
28326 [BZ #13061]
28327 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28328 U+0385, not to U+1FEE.
28329
6b13d9d9
BH
28330 [BZ #13062]
28331 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28332 entry for U+00A5 U+0301.
28333
db910efd
UD
283342011-12-22 Ulrich Drepper <drepper@gmail.com>
28335
27deeafc
UD
28336 [BZ #13166]
28337 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28338 buffer for the output is too small.
28339
aed9d171
UD
28340 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28341 optimization.
28342
db910efd
UD
28343 [BZ #13185]
28344 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28345 SSE flags if possible.
28346
2bd779ae
LD
283472011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28348
e7f9dac3 28349 [BZ #13540]
2bd779ae
LD
28350 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28351 processing for last bytes.
28352
154bfc16
JM
283532011-12-22 Joseph Myers <joseph@codesourcery.com>
28354
28355 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28356 (syscall-list-default-options, syscall-list-default-condition)
28357 (syscall-list-includes): Define.
28358 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28359 list of ABIs and options and #if conditions for each ABI. Do not
28360 handle common syscalls between ABIs specially.
28361 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28362 Remove.
28363 (syscall-list-variants, syscall-list-32bit-options)
28364 (syscall-list-32bit-condition, syscall-list-64bit-options)
28365 (syscall-list-64bit-condition): Define.
28366 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28367 (syscall-list-variants, syscall-list-32bit-options)
28368 (syscall-list-32bit-condition, syscall-list-64bit-options)
28369 (syscall-list-64bit-condition): Define.
28370 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28371 Remove.
28372 (syscall-list-variants, syscall-list-32bit-options)
28373 (syscall-list-32bit-condition, syscall-list-64bit-options)
28374 (syscall-list-64bit-condition): Define.
28375 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28376 Remove.
28377 (syscall-list-variants, syscall-list-32bit-options)
28378 (syscall-list-32bit-condition, syscall-list-64bit-options)
28379 (syscall-list-64bit-condition): Define.
28380
21eaf3a5
UD
283812011-12-22 Ulrich Drepper <drepper@gmail.com>
28382
16c6f992
UD
28383 * locale/iso-639.def: Add brx entry.
28384
41043168
UD
28385 [BZ #13328]
28386 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28387 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28388
21eaf3a5
UD
28389 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28390 __feraiseexcept_renamed.
28391
e3a851a2
UD
283922011-12-21 Ulrich Drepper <drepper@gmail.com>
28393
4920765e
UD
28394 [BZ #13538]
28395 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28396 EPOLLET with unsigned values.
28397 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28398 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28399
e3a851a2
UD
28400 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28401 to large cancellation.
28402 * math/s_cacoshf.c: Likewise.
28403 * math/s_cacoshl.c: Likewise.
28404
b27e24b8
RK
284052011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28406
28407 [BZ #13305]
aebefeee 28408 [BZ #12786]
b27e24b8
RK
28409 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28410 * math/s_cacoshf.c: Likewise.
28411 * math/s_cacoshl.c: Likewise.
28412
ee190f67
UD
284132011-12-21 Ulrich Drepper <drepper@gmail.com>
28414
28415 [BZ #13439]
28416 * iconv/gconv.h: Define __GCONV_SWAP.
28417 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28418 * iconvdata/utf-16.c: Likewise.
28419 * iconvdata/utf-32.c: Likewise.
28420
707f25df
AS
284212011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28422
28423 [BZ #13524]
28424 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28425 numerator after shifting it by one limb.
28426
d2daaa1e
RÁE
284272011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28428
28429 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28430 under [__USE_EXTERN_INLINES].
28431
a4647e72
UD
284322011-12-17 Ulrich Drepper <drepper@gmail.com>
28433
28434 [BZ #13446]
28435 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28436
f0b264f1
AZ
284372011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28438
28439 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28440 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28441 optimized code.
28442 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28443 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28444 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28445 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28446 for strncasecmp/strncasecmp_l compilation.
28447 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28448 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28449
8ef4f244
MP
284502011-12-08 Marek Polacek <mpolacek@redhat.com>
28451
28452 [BZ #13484]
28453 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28454 of __asm__.
28455
97ac2654
UD
284562011-12-17 Ulrich Drepper <drepper@gmail.com>
28457
28458 [BZ #13506]
28459 * time/tzfile.c (__tzfile_read): Check values from file header.
28460
91d2a845
WS
284612011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28462
28463 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28464 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28465 * powerpc/powerpc32/dl-start.S: Likewise.
28466 * powerpc/powerpc32/elf/start.S: Likewise.
28467 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28468 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28469 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28470 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28471 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28472 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28473 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28474 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28475 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28476 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28477 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28478 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28479 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28480 * powerpc/powerpc32/memset.S: Likewise.
28481 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28482 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28483 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28484 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28485 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28486 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28487 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28488 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28489 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28490 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28491 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28492 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28493 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28494
a1267ba1
AZ
284952011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28496
28497 * math/libm-test.inc: Added more nearbyint tests.
28498 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28499 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28500 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28501 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28502
ad8ac1bd
RL
285032011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28504
28505 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28506 FD_CLOEXEC.
28507
1d3e4b61
UD
285082011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28509
28510 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28511 Add wcscpy-ssse3 wcscpy-c.
28512 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28513 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28514 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28515 * sysdeps/x86_64/wcschr.S: New file.
28516 * sysdeps/x86_64/wcsrchr.S: New file.
28517 * string/test-strcmp.c: Remove checking of wcscmp function for
28518 wrong alignments.
28519 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28520 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28521 wcsrchr-sse2 wcsrchr-c.
28522 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28523 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28524 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28525 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28526 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28527 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28528 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28529 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28530 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28531 * wcsmbc/wcschr.c (WCSCHR): New macro.
28532
5b330a2d
UD
285332011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28534
28535 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28536 * wcsmbs/test-wcsrchr.c: New file.
28537 * string/test-strrchr.c: Add wcsrchr support.
28538 (WIDE): New macro.
28539 * wcsmbs/test-wcscpy.c: New file.
28540 * string/test-strcpy.c: Add wcscpy support.
28541 (WIDE): New macro.
26428b7c 28542
f039c043
UD
285432011-12-10 Ulrich Drepper <drepper@gmail.com>
28544
28545 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28546 the inner loop.
28547
850fb039
AS
285482011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28549
28550 [BZ #13472]
28551 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28552
4efbd5cb
UD
285532011-12-04 Ulrich Drepper <drepper@gmail.com>
28554
52ff5dd0 28555 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28556 Minor optimizations.
52ff5dd0 28557
4efbd5cb
UD
28558 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28559 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28560 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28561
8a426e12
UD
285622011-12-03 Ulrich Drepper <drepper@gmail.com>
28563
aff2453d
UD
28564 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28565 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28566 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28567 for gcc to avoid warnings.
28568 * inet/Makefile (tests): Add tst-checks.
28569 * inet/tst-checks.c: New file.
28570
28571 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28572 warning.
28573
28574 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28575 __wmemcmp_sse2.
28576
28577 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28578 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28579
8a426e12
UD
28580 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28581
9bea3473
UD
285822011-12-02 Ulrich Drepper <drepper@gmail.com>
28583
3a965496
UD
28584 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28585 problem.
28586
9bea3473
UD
28587 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28588
f101631b
UD
285892011-11-29 Joseph Myers <joseph@codesourcery.com>
28590
28591 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28592 conditional on GCC version.
28593 (__arch_compare_and_exchange_val_8_acq)
28594 (__arch_compare_and_exchange_val_16_acq)
28595 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28596 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28597 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28598
a98275aa
UD
285992011-12-02 Joseph Myers <joseph@codesourcery.com>
28600
28601 * sysdeps/sh/backtrace.c: New file.
28602
d4cc29a2
AS
286032011-12-02 Andreas Schwab <schwab@redhat.com>
28604
28605 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28606 parenthesis.
28607
6257af2d
AS
286082011-12-01 Andreas Schwab <schwab@redhat.com>
28609
28610 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28611 falling back to utime.
28612
b5f44c1a
AS
286132011-11-30 Andreas Schwab <schwab@redhat.com>
28614
28615 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28616 expectations for float.
28617
f3a6cc0a
AS
286182011-11-29 Andreas Schwab <schwab@redhat.com>
28619
28620 * locale/weight.h (findidx): Add parameter len.
28621 * locale/weightwc.h (findidx): Likewise.
28622 * posix/fnmatch_loop.c (FCT): Adjust caller.
28623 * posix/regcomp.c (build_equiv_class): Likewise.
28624 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28625 * posix/regexec.c (check_node_accept_bytes): Likewise.
28626 * string/strcoll_l.c (STRCOLL): Likewise.
28627 * string/strxfrm_l.c (STRXFRM): Likewise.
28628
9d65ea3a
UD
286292011-11-17 Ulrich Drepper <drepper@gmail.com>
28630
28631 * Makefile.in: Remove CVSOPT handling.
28632 * configure.in: Remove use of AC_REVISION.
28633 * iconvdata/Makefile (distribute): No need to filter out CVS.
28634 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28635 handling.
28636
5583a086
AS
286372011-11-16 Andreas Schwab <schwab@redhat.com>
28638
28639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28640 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28641 [USE_AS_STRNCASECMP_L]: Likewise.
28642 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28643 NO_TLS_DIRECT_SEG_REFS.
28644 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28645 Fix argument offsets for non-PIC.
28646 [USE_AS_STRNCASECMP_L]: Likewise.
28647 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28648 NO_TLS_DIRECT_SEG_REFS.
28649
d62a8200
UD
286502011-11-15 Ulrich Drepper <drepper@gmail.com>
28651
9d65ea3a 28652 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28653 O_CLOEXEC.
28654 * locale/loadlocale.c (_nl_load_locale): Likewise.
28655
09f93bd3
AS
286562011-11-15 Andreas Schwab <schwab@redhat.com>
28657
446514f9
AS
28658 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28659 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28660 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28661 (SYSCALL_GETTIME): Set errno on error.
28662
09f93bd3
AS
28663 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28664 count references to noai6ai_cached.
28665
312be3f9
UD
286662011-11-15 Ulrich Drepper <drepper@gmail.com>
28667
28668 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28669
28670 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28671 FD_CLOEXEC for /proc/self/maps.
28672
28673 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28674 FD_CLOEXEC for /proc/meminfo.
28675
28676 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28677 gai.conf.
28678
28679 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28680 FD_CLOEXEC for given file.
28681
28682 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28683
28684 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28685 FD_CLOEXEC for /etc/hosts.
28686 (_gethtent): Likewise.
28687
28688 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28689
28690 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28691 cancellation and set FD_CLOEXEC for /etc/netgroup.
28692
28693 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28694 reading /etc/publickey.
28695
28696 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28697 allow cancellation when reading /etc/group.
28698
28699 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28700 cancellation.
28701 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28702
28703 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28704 when using data file.
28705
28706 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28707
28708 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28709 (write_nis_obj): Use "c" and "e" in fopen.
28710
28711 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28712
28713 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28714
28715 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28716
28717 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28718
28719 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28720 locale.alias.
28721
28722 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28723
28724 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28725
28726 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28727
28728 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28729 file parsing and set FD_CLOEXEC.
28730
82af0fa8
UD
287312011-11-14 Ulrich Drepper <drepper@gmail.com>
28732
28733 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28734
a5fb313c
AS
287352011-11-14 Andreas Schwab <schwab@redhat.com>
28736
28737 * malloc/arena.c (arena_get2): Don't call reused_arena when
28738 _int_new_arena failed.
28739
6abf3465
UD
287402011-11-14 Ulrich Drepper <drepper@gmail.com>
28741
28742 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28743 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28744 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28745 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28746 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28747 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28748 to compile strcasecmp and strncasecmp.
28749 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28750 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28751
28752 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28753
76e3966e
UD
287542011-11-13 Ulrich Drepper <drepper@gmail.com>
28755
28756 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28757 locale-defines.sym to gen-as-const-headers.
28758 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28759 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28760 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28761 to compile strcasecmp and strncasecmp.
28762 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28763 strcasecmp_l and strncasecmp_l.
28764 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28765 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28766 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28767 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28768 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28769 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28770 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28771 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28772 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28773 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28774 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28775
ab26144e
UD
287762011-11-12 Ulrich Drepper <drepper@gmail.com>
28777
7edb22ef
UD
28778 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28779 result of SYSDEP_GETTIME_CPU to retval.
28780 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28781 parameter list to macro. Remove trailing semicolon. Adjust users.
28782
9694fc44
UD
28783 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28784 variable.
28785
8ad89ef8
UD
28786 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28787 mantissa words.
28788 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28789
0c822ef9
UD
28790 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28791 from unused variable.
28792
874e0564
UD
28793 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28794 DWARF definitions.
28795 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28796 for assembling.
28797
3a2edc79
UD
28798 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28799 over namespaces.
28800
f3c2577f
UD
28801 * sunrpc/rpc_prot.c (rejected): Fix case value.
28802
294ce126
UD
28803 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28804 unsigned long long int to avoid warnings in shift.
28805
5e2b63c6
UD
28806 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28807 of use of trans.
28808 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28809 variable tmp.
28810
e7f4b08e
UD
28811 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28812 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28813 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28814
ab26144e
UD
28815 * nis/nis_table.c (nis_list): Use variable of correct type for
28816 result of __follow_path call.
28817
8a6d5255
AZ
288182011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28819
28820 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28821 of math functions ceil, trunc, floor, round, and sqrt, when
28822 avaliable on the platform.
28823 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28824 name clash.
28825 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28826 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28827 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28828
aaddc98c
MP
288292011-10-30 Marek Polacek <mpolacek@redhat.com>
28830
28831 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28832 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28833
95b7042b
RM
288342011-11-11 Roland McGrath <roland@hack.frob.com>
28835
28836 * include/unistd.h: Fix __readlink return type.
28837 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28838
57769839
UD
288392011-11-11 Ulrich Drepper <drepper@gmail.com>
28840
28841 * stdlib/ucontext.h: Undo last change for makecontext.
28842
edc5984d
AS
288432011-11-11 Andreas Schwab <schwab@redhat.com>
28844
98591e58
AS
28845 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28846
edc5984d
AS
28847 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28848 * setjmp/setjmp.h: Mark functions as non-leaf.
28849 * setjmp/bits/setjmp2.h: Likewise.
28850 * stdlib/ucontext.h: Likewise.
28851
77cdc054
AS
288522011-11-10 Andreas Schwab <schwab@redhat.com>
28853
28854 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28855 (reused_arena): Don't check arena limit.
28856 (arena_get2): Atomically check arena limit.
28857
fe72eebd
UD
288582011-11-08 Ulrich Drepper <drepper@gmail.com>
28859
5f078c32
UD
28860 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28861 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28862
fe72eebd
UD
28863 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28864 instructions.
28865
ae1bc2fa
AS
288662011-11-07 Andreas Schwab <schwab@redhat.com>
28867
7583a88d
AS
28868 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28869 handler when locking.
28870
ae1bc2fa
AS
28871 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28872 Fix size of allocated buffer.
28873
10fb0bfa
AS
288742011-11-04 Andreas Schwab <schwab@redhat.com>
28875
998832a4
AS
28876 [BZ #10103]
28877 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28878 declarations for long double functions.
28879 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28880
10fb0bfa
AS
28881 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28882
3d7ba52b
AS
288832011-11-03 Andreas Schwab <schwab@redhat.com>
28884
a9ae54a1
AS
28885 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28886 installed.
28887
3d7ba52b
AS
28888 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28889 is disabled.
28890
bc8db248
ST
288912011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28892
28893 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28894
45b96dd6
AS
288952011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28896
647776f6
AS
28897 * include/alloca.h (stackinfo_alloca_round): Define.
28898 (extend_alloca): Use it.
28899 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28900 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28901 here.
28902
d91a8b93
AS
28903 * scripts/check-local-headers.sh: Ignore libaudit.h.
28904
45b96dd6
AS
28905 * nscd/Makefile (extra-objs): Make recursively expanded.
28906
432d41ce
UD
289072011-11-01 Ulrich Drepper <drepper@gmail.com>
28908
34372fc6
UD
28909 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28910 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28911
fadb59f8
UD
28912 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28913 * posix/tst-rfc3484-2.c: Likewise.
28914 * posix/tst-rfc3484-3.c: Likewise.
28915
78239589
UD
28916 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28917 process_vm_writev.
28918 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28919 process_vm_writev.
28920 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28921 process_vm_writev from libc using GLIBC_2.15 version.
28922
432d41ce
UD
28923 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28924
02f9c6cf
PP
289252011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28926
28927 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28928 stack usage.
28929
3a2c0242
UD
289302011-10-31 Ulrich Drepper <drepper@gmail.com>
28931
f4ec4833
UD
28932 [BZ #13367]
28933 * nss/getent.c (initgroups_keys): Show error message in case no group
28934 names are given.
28935
3a2c0242
UD
28936 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28937 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28938 __bump_nl_timestamp.
28939 * nscd/connections (nscd_init): When host database is served open
28940 netlink socket and request notification about configuration changes.
28941 (main_loop_poll): Track netlink file descriptor and bump timestamp
28942 in case data becomes available.
28943 (main_loop_epoll): Likewise.
28944 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28945 (database_pers_head): Add extra_data fileds.
28946 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28947 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28948 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28949 Adjust caller.
28950 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28951 in6ai data, call __free_in6ai.
28952 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28953 Add -DHAVE_NETLINK.
28954 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28955 interface information. Reuse previous data if netlink timestamp
28956 is not changed.
28957 (__bump_nl_timestamp): New function.
28958 (__free_in6ai): New function.
28959
636064eb
UD
289602011-10-30 Ulrich Drepper <drepper@gmail.com>
28961
28962 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28963 close_not_cancel_no_status here.
28964 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28965
9beb2334
UD
289662011-10-29 Ulrich Drepper <drepper@gmail.com>
28967
6ef76f3b
UD
28968 [BZ #13276]
28969 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28970 return value.
28971
0ffc4f3e 28972 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28973 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28974 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28975
cb95113e
UD
289762011-07-03 Andreas Jaeger <aj@suse.de>
28977
28978 [BZ #10709]
28979 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28980 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28981 * math/libm-test.inc (sin_test): Add test case.
28982
a1b560ff
UD
289832011-10-29 Ulrich Drepper <drepper@gmail.com>
28984
c9aaface
UD
28985 [BZ #13337]
28986 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28987 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28988
d272e7f1
UD
28989 * elf/chroot_canon.c (chroot_canon): Cleanups.
28990
1bc33071
UD
28991 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28992
1760874d
TJ
28993 [BZ #13335]
28994 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28995 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28996
51d91b18
UD
28997 * string/test-strchr.c: Make usable for strchrnul testing.
28998 * string/test-strchrnul.c: New file.
28999 * string/Makefile (strop-tests): Add strchrnul.
29000
a1b560ff 29001 * po/it.po: Update from translation team.
b611fb81 29002 * po/es.po: Likewise.
a1b560ff 29003
a5b81e1f
UD
290042011-10-28 Ulrich Drepper <drepper@gmail.com>
29005
fd52bc6d
UD
29006 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
29007 the three constants needed as parameters. Drop the others.
29008 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
29009 __m128i_strloadu_tolower.
52e4b9eb
UD
29010 Create and initialize variable zero and use it in all the places
29011 where _mm_setzero_si128 was used.
fd52bc6d 29012
a5b81e1f
UD
29013 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
29014 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
29015 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
29016 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
29017 anymore.
29018 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
29019 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
29020 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
29021 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
29022 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
29023 __mpranred, __mptan.
29024 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
29025 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
29026 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
29027 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
29028 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
29029 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
29030 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
29031 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
29032 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
29033
b4343346
AS
290342011-10-28 Andreas Schwab <schwab@redhat.com>
29035
0c92d8a8
AS
29036 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
29037 redefine if SHARED.
29038 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
29039
b4343346
AS
29040 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
29041 wide char related routines to wcsmbs subdir.
29042
3871f58f
AS
290432011-10-27 Andreas Schwab <schwab@redhat.com>
29044
29045 [BZ #13344]
29046 * misc/sys/cdefs.h (__THROWNL): Define.
29047 * posix/unistd.h: Use __THREADNL instead of __THREAD
29048 for memory synchronization functions.
29049
94d44d9f
RM
290502011-10-26 Roland McGrath <roland@hack.frob.com>
29051
21b64b15 29052 [BZ #13349]
94d44d9f
RM
29053 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
29054 doesn't exist.
29055 * manual/stdio.texi (Obstack Streams): Node removed.
29056
f6ce9294
AS
290572011-10-26 Andreas Schwab <schwab@redhat.com>
29058
80479147
AS
29059 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
29060 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29061 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29062
f6ce9294
AS
29063 * math/math_private.h (math_force_eval): Allow non-addressable
29064 arguments.
29065 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
29066
618280a1
UD
290672011-10-25 Ulrich Drepper <drepper@gmail.com>
29068
e0016b11
UD
29069 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
29070 file is not needed.
29071
29072 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
29073 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
29074 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29075 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29076 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29077 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29078 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29079 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
29080 Add AVX variants.
29081 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
29082 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
29083 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
29084 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
29085 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
29086 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
29087 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
29088 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
29089 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
29090 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
29091 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
29092 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
29093 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
29094 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
29095 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
29096 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
29097 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
29098 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
29099 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
29100
29101 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
29102 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
29103
618280a1
UD
29104 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
29105 place. Use VEX encoding when compiling for AVX.
29106
37822576
AS
291072011-10-25 Andreas Schwab <schwab@redhat.com>
29108
1f1e1947
AS
29109 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
29110 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29111
37822576
AS
29112 * string/test-strchr.c (do_test): Don't generate NUL bytes.
29113
31ea014d
UD
291142011-10-25 Ulrich Drepper <drepper@gmail.com>
29115
d7826aa1 29116 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 29117 useless if() expression.
d7826aa1
UD
29118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29119 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
29120 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
29121 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29122 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
29123 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
29124 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29125 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29126 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29127 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29128 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29129 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29130 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
29131 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29132 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
29133 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
29134 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29135 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29136 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
29137
31ea014d
UD
29138 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
29139
16437fec
AS
291402011-10-25 Andreas Schwab <schwab@redhat.com>
29141
29142 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
29143 condition.
29144 * elf/dl-fini.c (_dl_sort_fini): Likewise.
29145
31d3cc00
UD
291462011-10-25 Ulrich Drepper <drepper@gmail.com>
29147
29148 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
29149 .text section. Avoid duplicate constants.
29150 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29151 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29152 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29153 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29155 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29157 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29158 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29159 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
29160 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29161 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29162 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29163 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29164 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29165 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29166 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29167 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29168 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29170 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29171 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29172 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29173 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
29174 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
29175 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
29176 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
29177 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
29178 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
29179 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
29180 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
29181 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
29182 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29183 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
29184 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
29185 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
29186 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
29187 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
29188 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
29189 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
29190 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
29191 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
29192 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
29193 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
29194 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
29195
58985aa9
UD
291962011-10-24 Ulrich Drepper <drepper@gmail.com>
29197
202c9deb
UD
29198 * sysdeps/x86_64/dla.h: Move to ...
29199 * sysdeps/x86_64/fpu/dla.h: ...here.
29200 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
29201 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 29202
af968f62
UD
29203 * config.make.in: Add have-mfma4 entry.
29204 * configure.in: Substitute libc_cv_cc_fma4.
29205 * math/Makefile (dbl-only-routines): Add sincostab.
29206 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
29207 Use __sincostab not sincos.
29208 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
29209 name is a macro.
29210 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29211 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29212 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29213 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
29214 using __copysign.
29215 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
29216 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
29217 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
29218 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
29219 and __inv.
29220 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
29221 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
29222 __copysign.
29223 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
29224 define aliases when function name is a macro.
29225 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
29226 sysdeps/ieee754/dbl-64/sincos.tbl.
29227 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
29228 fma4-enabled routines.
29229 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
29230 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
29232 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
29233 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
29234 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
29235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
29236 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
29237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
29238 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
29239 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
29240 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
29241 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
29242 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
29243 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
29244 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
29245 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
29246 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
29247 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
29248 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
29249 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
29250 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
29251 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
29252 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
29253 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
29254 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
29255 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
29256 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
29257 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
29258 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
29259
58985aa9
UD
29260 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
29261 rename.
29262 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29263 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29264 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29265 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29266 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29267 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29268 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29269 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29270
a201fbcf
AS
292712011-10-24 Andreas Schwab <schwab@redhat.com>
29272
29273 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
29274
fc2ee42a
LD
292752011-10-23 Ulrich Drepper <drepper@gmail.com>
29276
bb3129bd
UD
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
29278
0275fff8
UD
29279 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
29280 prediction.
29281 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
29282
2fa2ae85
UD
29283 * string/strnlen.c: Don't define STRNLEN, reverse logic.
29284 Remove unused variable magic_bits.
29285 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29286
fc2ee42a
LD
29287 * string/strnlen.c: Define and use STRNLEN macro.
29288 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29289 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29290 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29291 * wcsmbs/wcslen.c: Define and use WCSLEN.
29292 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29293 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29294 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29295 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29296 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29297 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29298 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29299
ce7dd29f
LD
293002011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29301
29302 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29303 strnlen-sse2-no-bsf.
29304 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29305 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29306 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29307 Add strnlen support.
29308 (USE_AS_STRNLEN): New macro.
29309 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29310 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29311 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29312 * sysdeps/x86_64/wcslen.S: New file.
29313
979c70a3
MZ
293142011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29315
29316 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29317 XMM-moves are used for copying on small sizes.
29318
2d09f82f
LD
293192011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29320
29321 * wcsmbs/Makefile (strop-tests): Add wcschr.
29322 * wcsmbs/test-wcschr.c: New file.
29323 * string/test-strchr.c: Update.
29324 Add wcschr support.
29325 (WIDE): New macro.
29326
619fccca
LD
293272011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29328
2d09f82f 29329 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29330 * wcsmbs/test-wcslen.c: New file.
29331 * string/test-strlen.c: Update.
29332 Add wcslen support.
29333 (WIDE): New macro.
29334
09f699ea
UD
293352011-10-23 Ulrich Drepper <drepper@gmail.com>
29336
29337 * po/it.po: Update from translation team.
29338
95584d3b
LD
293392011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29340
29341 * sysdeps/x86_64/wcscmp.S: Update.
29342 Fix wrong comparison semantics.
29343 wcscmp shall use signed comparison not unsigned.
29344 Don't use substraction to avoid overflow bug.
29345 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29346 * wcsmbc/wcscmp.c: Likewise.
29347 * string/test-strcmp.c: Likewise.
29348 Add new tests to check cases with negative values.
29349
c8b3296b
UD
293502011-10-23 Ulrich Drepper <drepper@gmail.com>
29351
29352 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29353 * sysdeps/x86_64/dla.h: ...here. New file.
29354 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29355 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29356 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29359 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29360 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29361 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29362 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29363
246ad57a
AS
293642011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29365
29366 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29367 __ynl_finite aliases.
29368
a1a87169
UD
293692011-10-22 Ulrich Drepper <drepper@gmail.com>
29370
0d355eb7
UD
29371 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29372
a1a87169
UD
29373 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29374 define DLA_FMA.
29375 [DLA_FMA] (EMULV): Use DLA_FMA.
29376 [DLA_FMA] (MUL12): Use EMULV.
29377 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29378 that are not needed.
29379 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29380 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29381 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29382 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29383 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29384 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29386
ee2aafe0
AS
293872011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29388
29389 * math/s_nan.c: Undef __nan.
29390 * math/s_nanf.c: Undef __nanf.
29391 * math/s_nanl.c: Undef __nanl.
29392 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29393 "math_private.h".
29394
bc62c2fb
UD
293952011-10-22 Ulrich Drepper <drepper@gmail.com>
29396
77425c63
UD
29397 * math/s_catan.c: Add branch predictions.
29398 * math/s_catanf.c: Likewise.
29399 * math/s_catanh.c: Likewise.
29400 * math/s_catanhf.c: Likewise.
29401 * math/s_catanhl.c: Likewise.
29402 * math/s_catanl.c: Likewise.
29403 * math/s_cexp.c: Likewise.
29404 * math/s_cexpf.c: Likewise.
29405 * math/s_cexpl.c: Likewise.
29406 * math/s_clog.c: Likewise.
29407 * math/s_clog10.c: Likewise.
29408 * math/s_clog10f.c: Likewise.
29409 * math/s_clog10l.c: Likewise.
29410 * math/s_clogf.c: Likewise.
29411 * math/s_clogl.c: Likewise.
29412 * math/s_csqrt.c: Likewise.
29413 * math/s_csqrtf.c: Likewise.
29414 * math/s_csqrtl.c: Likewise.
29415 * math/s_ctanf.c: Likewise.
29416 * math/s_ctanh.c: Likewise.
29417 * math/s_ctanhf.c: Likewise.
29418 * math/s_ctanhl.c: Likewise.
29419 * math/s_ctanl.c: Likewise.
29420
bc62c2fb
UD
29421 * math/math_private.h: Define __nan, __nanf, __nanl.
29422 * math/s_cacosh.c: Include <math_private.h>.
29423 * math/s_cacoshl.c: Likewise.
29424 * math/s_casinh.c: Likewise.
29425 * math/s_casinhf.c: Likewise.
29426 * math/s_casinhl.c: Likewise.
29427 * math/s_ccos.c: Rely entire on ccosh.
29428 * math/s_ccosf.c: Rely entire on ccoshf.
29429 * math/s_ccosl.c: Rely entirely on ccoshl.
29430 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29431 Remove tests for FE_INVALID.
29432 * math/s_ccoshf.c: Likewise.
29433 * math/s_ccoshl.c: Likewise.
29434 * math/s_csin.c: Likewise.
29435 * math/s_csinf.c: Likewise.
29436 * math/s_csinh.c Likewise.
29437 * math/s_csinhf.c: Likewise.
29438 * math/s_csinhl.c: Likewise.
29439 * math/s_csinl.c: Likewise.
29440 * math/s_ctan.c: Likewise.
29441 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29442 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29443 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29444
8ec250a4
UD
294452011-10-21 Ulrich Drepper <drepper@gmail.com>
29446
c196fed8
UD
29447 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29448 compilation problems.
29449
8ec250a4
UD
29450 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29451 __builtin_expect.
29452
8d4f46c6
UD
294532011-10-20 Ulrich Drepper <drepper@gmail.com>
29454
ed72b654
UD
29455 * sysdeps/i386/configure.in: Test for -mfma4 option.
29456 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29457 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29458 COMMON_CPUID_INDEX_80000001.
29459 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29460 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29461 use it if FMA3 is not supported.
29462 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29463
8d4f46c6
UD
29464 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29465 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29466
d45c60c2
AS
294672011-10-20 Andreas Schwab <schwab@redhat.com>
29468
29469 [BZ #12892]
29470 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29471 it would create a cycle with a link time dependency.
29472
d9a4d2ab
UD
294732011-10-19 Ulrich Drepper <drepper@gmail.com>
29474
855d1560
UD
29475 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29476 instruction.
29477 * string/Makefile (strop-tests): Add rawmemchr.
29478 * string/test-rawmemchr.c: New file.
29479
d9a4d2ab
UD
29480 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29481 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29482 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29483 when compiling str{,n}casecmp and when AVX is available. Hook up
29484 new optimized code in initializers.
29485
8f3b1ffe
AS
294862011-10-19 Andreas Schwab <schwab@redhat.com>
29487
29488 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29489 __feraiseexcept instead of feraiseexcept.
29490
d38f1dba
UD
294912011-10-18 Ulrich Drepper <drepper@gmail.com>
29492
d9a8d0ab
UD
29493 * math/math_private.h: Define defaults for libc_fetestexcept and
29494 libc_feupdateenv.
29495 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29496 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29497 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29498 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29499 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29500 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29501 libc_fetestexcept and libc_feupdateenv.
29502
4855e3dd
UD
29503 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29504 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29505 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29506 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29507 libc_feholdexcept_setround.
29508
581d30e3
UD
29509 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29510 Add s_nearbyint-c and s_nearbyintf-c.
29511 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29512 nearbyintf inlines.
29513 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29514 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29516 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29517
d38f1dba
UD
29518 * math/math_private.h: Define defaults for libc_fegetround,
29519 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29520 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29521 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29522 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29523 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29524 standard functions.
29525 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29526 Remove comments and hacks for old compiler versions.
29527 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29528 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29529 libc_feholdexceptl.
29530
caa6c9d8
AS
295312011-10-18 Andreas Schwab <schwab@redhat.com>
29532
29533 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29534 (__feraiseexcept_renamed): Add __NTH.
29535 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29536 namespace violations.
29537
97c066e6
UD
295382011-10-17 Ulrich Drepper <drepper@gmail.com>
29539
99ce7b04
UD
29540 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29541
1004d182
UD
29542 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29543
228a984d
UD
29544 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29545 recently added interfaces.
29546 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29547
c8553a6a
UD
29548 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29549 about macro parameter expansion.
29550
ed22dcf6
UD
29551 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29552 __NO_MATH_INLINES is defined. Cleanups.
29553
29554 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29555 and __floorf is target has SSE4.1.
29556 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29557 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29558 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29559 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29560
b171c137
UD
29561 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29562 name.
29563 (floorf): Likewise.
29564
97c066e6
UD
29565 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29566
629f62ef
AS
295672011-10-17 Andreas Schwab <schwab@redhat.com>
29568
49a43d80
AS
29569 * misc/sys/cdefs.h: Fix last change.
29570
629f62ef
AS
29571 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29572 database lookup.
29573
e453f6cd
UD
295742011-10-16 Ulrich Drepper <drepper@gmail.com>
29575
aa78043a
UD
29576 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29577
ad0f5cad
UD
29578 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29579 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29580 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29581 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29582 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29583 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29584 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29585 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29586 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29587 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29588 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29589 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29590 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29591 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29592 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29593 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29594 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29595 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29596 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29597 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29598 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29599 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29600
29601 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29602 ceil, ceilf, floor, floorf.
29603
29604 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29605 Perform IRELATIVE relocations last.
29606
e453f6cd
UD
29607 * elf/do-rel.h: Add another parameter nrelative, replacing the
29608 local variable with the same name. Change name of the function
29609 to end in Rel or Rela (uppercase).
29610 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29611 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29612 elf_dynamic_do_##reloc function.
29613
fd5bdc09
UD
296142011-10-15 Ulrich Drepper <drepper@gmail.com>
29615
79b195b5
UD
29616 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29617 is sufficient, at least on modern CPUs.
29618
d4a28569
UD
29619 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29620
b61099b5
UD
29621 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29622 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29623
bcf01e6d
UD
29624 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29625 __expl_finite.
29626 * math/bits/math-finite.h: Add entries for exp.
29627 * math/e_expl.c: Add __*_finite alias.
29628 * sysdeps/i386/fpu/e_exp.S: Likewise.
29629 * sysdeps/i386/fpu/e_expf.S: Likewise.
29630 * sysdeps/i386/fpu/e_expl.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29632 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29633 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29636 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29637 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29638
ba1a0d59
UD
29639 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29640 is sufficient, at least on modern CPUs.
29641
fd5bdc09
UD
29642 * ctype/ctype-info.c (__ctype_init): Define.
29643 * include/ctype.h (__ctype_init): Declare.
29644 (__ctype_b_loc): The variable is always initialized.
29645 (__ctype_toupper_loc): Likewise.
29646 (__ctype_tolower_loc): Likewise.
29647 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29648 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29649
7872cfb0
AS
296502011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29651
b468825a
AS
29652 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29653
7872cfb0
AS
29654 * configure.in: Also look in $cxxmachine/include for C++ system
29655 headers.
29656
be13f7bf
LD
296572011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29658
29659 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29660 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29661 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29662 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29663 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29664 (USE_AS_WMEMCMP): New macro.
29665 Fixing indents.
29666 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29667 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29668 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29669 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29670 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29671 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29672 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29673 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29674 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29675 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29676 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29677 (USE_AS_WMEMCMP): New macro.
29678 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29679 * sysdeps/string/test-memcmp.c: Update.
29680 Fix simple_wmemcmp.
29681 Add new tests.
29682 * wcsmbs/wmemcmp.c: Update.
29683 (WMEMCMP): New macro.
29684 Fix overflow bug.
29685
556a2007
AJ
296862011-10-12 Andreas Jaeger <aj@suse.de>
29687
29688 [BZ #13268]
29689 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29690
538faaa7
UD
296912011-10-15 Ulrich Drepper <drepper@gmail.com>
29692
ab6737ff
UD
29693 * libio/iofwide.c (do_length): Avoid warning.
29694
538faaa7
UD
29695 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29696
396a21b1
UD
296972011-10-14 Ulrich Drepper <drepper@gmail.com>
29698
cdf2901f
UD
29699 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29700
38ad40ce
UD
29701 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29702 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29703 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29704 * sysdeps/i386/i686/fpu/e_log.S: New file.
29705 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29706 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29707
396a21b1
UD
29708 * ctype/ctype.h: Add support for inlined isXXX functions when
29709 compiling C++ code.
29710
6b1f68c9
AS
297112011-10-14 Andreas Schwab <schwab@redhat.com>
29712
349290c0
AS
29713 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29714
6b1f68c9
AS
29715 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29716
f2282d42
RM
297172011-10-13 Roland McGrath <roland@hack.frob.com>
29718
29719 [BZ #13291]
29720 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29721
5298ffa8
AS
297222011-10-13 Andreas Schwab <schwab@redhat.com>
29723
714fad23
AS
29724 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29725 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29726 feraiseexcept.
29727
81dcc7fb
AS
29728 * sysdeps/x86_64/memrchr.S: Check for zero size.
29729
5298ffa8
AS
29730 * string/stratcliff.c: Add memrchr tests.
29731
951fbcec
LD
297322011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29733
29734 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29735 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29736 rawmemchr-sse2 rawmemchr-sse2-bsf.
29737 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29738 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29739 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29740 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29741 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29742 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29743 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29744 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29745 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29746 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29747 * string/memrchr.c (MEMRCHR): New macro.
29748
0ac5ae23
UD
297492011-10-12 Ulrich Drepper <drepper@gmail.com>
29750
29751 Add integration with gcc's -ffinite-math-only and optimize wrapper
29752 functions in libm.
29753 * Versions.def: Define GLIBC_2.15 version for libm.
29754 * math/Makefile (headers): Add bits/math-finite.h.
29755 * math/bits/math-finite.h: New file.
29756 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29757 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29758 * math/e_acoshl.c: Add __*_finite alias.
29759 * math/e_acosl.c: Likewise.
29760 * math/e_asinl.c: Likewise.
29761 * math/e_atan2l.c: Likewise.
29762 * math/e_atanhl.c: Likewise.
29763 * math/e_coshl.c: Likewise.
29764 * math/e_exp10.c: Likewise.
29765 * math/e_exp10f.c: Likewise.
29766 * math/e_exp10l.c: Likewise.
29767 * math/e_exp2l.c: Likewise.
29768 * math/e_fmodl.c: Likewise.
29769 * math/e_gammal_r.c: Likewise.
29770 * math/e_hypotl.c: Likewise.
29771 * math/e_j0l.c: Likewise.
29772 * math/e_j1l.c: Likewise.
29773 * math/e_jnl.c: Likewise.
29774 * math/e_lgammal_r.c: Likewise.
29775 * math/e_log10l.c: Likewise.
29776 * math/e_log2l.c: Likewise.
29777 * math/e_logl.c: Likewise.
29778 * math/e_powl.c: Likewise.
29779 * math/e_sinhl.c: Likewise.
29780 * math/e_sqrtl.c: Likewise.
29781 * math/e_scalb.c: Completely rewritten and optimized.
29782 * math/e_scalbf.c: Likewise.
29783 * math/e_scalbl.c: Likewise.
29784 * math/w_acos.c: Likewise.
29785 * math/w_acosf.c: Likewise.
29786 * math/w_acosl.c: Likewise.
29787 * math/w_acosh.c: Likewise.
29788 * math/w_acoshf.c: Likewise.
29789 * math/w_acoshl.c: Likewise.
29790 * math/w_asin.c: Likewise.
29791 * math/w_asinf.c: Likewise.
29792 * math/w_asinl.c: Likewise.
29793 * math/w_atan2.c: Likewise.
29794 * math/w_atan2f.c: Likewise.
29795 * math/w_atan2l.c: Likewise.
29796 * math/w_atanh.c: Likewise.
29797 * math/w_atanhf.c: Likewise.
29798 * math/w_atanhl.c: Likewise.
29799 * math/w_exp10.c: Likewise.
29800 * math/w_exp10f.c: Likewise.
29801 * math/w_exp10l.c: Likewise.
29802 * math/w_fmod.c: Likewise.
29803 * math/w_fmodf.c: Likewise.
29804 * math/w_fmodl.c: Likewise.
29805 * math/w_j0.c: Likewise.
29806 * math/w_j0f.c: Likewise.
29807 * math/w_j0l.c: Likewise.
29808 * math/w_j1.c: Likewise.
29809 * math/w_j1f.c: Likewise.
29810 * math/w_j1l.c: Likewise.
29811 * math/w_jn.c: Likewise.
29812 * math/w_jnf.c: Likewise.
29813 * math/w_log.c: Likewise.
29814 * math/w_logf.c: Likewise.
29815 * math/w_logl.c: Likewise.
29816 * math/w_log10.c: Likewise.
29817 * math/w_log10f.c: Likewise.
29818 * math/w_log10l.c: Likewise.
29819 * math/w_log2.c: Likewise.
29820 * math/w_log2f.c: Likewise.
29821 * math/w_log2l.c: Likewise.
29822 * math/w_pow.c: Likewise.
29823 * math/w_powf.c: Likewise.
29824 * math/w_powl.c: Likewise.
29825 * math/w_remainder.c: Likewise.
29826 * math/w_remainderf.c: Likewise.
29827 * math/w_remainderl.c: Likewise.
29828 * math/w_scalb.c: Likewise.
29829 * math/w_scalbf.c: Likewise.
29830 * math/w_scalbl.c: Likewise.
29831 * math/w_sqrt.c: Likewise.
29832 * math/w_sqrtf.c: Likewise.
29833 * math/w_sqrtl.c: Likewise.
29834 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29835 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29836 used.
29837 * math/math_private.h: Declare __kernel_standard_f.
29838 * math/w_cosh.c: Remove cruft and optimize a bit.
29839 * math/w_coshf.c: Likewise.
29840 * math/w_coshl.c: Likewise.
29841 * math/w_exp2.c: Likewise.
29842 * math/w_exp2f.c: Likewise.
29843 * math/w_exp2l.c: Likewise.
29844 * math/w_hypot.c: Likewise.
29845 * math/w_hypotf.c: Likewise.
29846 * math/w_hypotl.c: Likewise.
29847 * math/w_lgamma.c: Likewise.
29848 * math/w_lgamma_r.c: Likewise.
29849 * math/w_lgammaf.c: Likewise.
29850 * math/w_lgammaf_r.c: Likewise.
29851 * math/w_lgammal.c: Likewise.
29852 * math/w_lgammal_r.c: Likewise.
29853 * math/w_sinh.c: Likewise.
29854 * math/w_sinhf.c: Likewise.
29855 * math/w_sinhl.c: Likewise.
29856 * math/w_tgamma.c: Likewise.
29857 * math/w_tgammaf.c: Likewise.
29858 * math/w_tgammal.c: Likewise.
29859 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29860 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29861 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29862 Minor optimizations. Pretty printing. Remove cruft.
29863 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29864 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29865 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29866 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29867 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29868 * sysdeps/i386/fpu/e_asin.S: Likewise.
29869 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29870 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29871 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29872 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29873 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29874 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29875 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29876 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29877 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29878 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29879 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29880 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29881 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29882 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29883 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29884 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29885 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29886 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29887 * sysdeps/i386/fpu/e_log.S: Likewise.
29888 * sysdeps/i386/fpu/e_log10.S: Likewise.
29889 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29890 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29891 * sysdeps/i386/fpu/e_log2.S: Likewise.
29892 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29893 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29894 * sysdeps/i386/fpu/e_logf.S: Likewise.
29895 * sysdeps/i386/fpu/e_logl.S: Likewise.
29896 * sysdeps/i386/fpu/e_pow.S: Likewise.
29897 * sysdeps/i386/fpu/e_powf.S: Likewise.
29898 * sysdeps/i386/fpu/e_powl.S: Likewise.
29899 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29900 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29901 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29902 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29903 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29904 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29905 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29906 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29907 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29908 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29909 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29910 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29911 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29912 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29913 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29914 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29915 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29916 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29917 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29918 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29919 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29920 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29921 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29922 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29923 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29924 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29925 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29926 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29927 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29928 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29929 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29930 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29931 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29932 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29933 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29934 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29935 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29936 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29937 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29938 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29939 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29940 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29941 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29942 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29943 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29944 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29945 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29946 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29947 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29948 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29949 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29950 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29951 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29952 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29953 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29954 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29955 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29956 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29957 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29958 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29959 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29960 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29961 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29962 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29963 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29964 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29965 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29966 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29967 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29968 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29969 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29970 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29971 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29972 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29973 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29974 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29975 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29976 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29977 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29978 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29979 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29980 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29981 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29982 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29983 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29984 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29985 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29986 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29987 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29988 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29989 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29990 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29991 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29992 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29993 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29994 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29995 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29996 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29997 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29998 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29999 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
30000 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30001 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
30002 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30003 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30004 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30005 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
30006 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
30007 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
30008 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
30009 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
30010 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
30011 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
30012 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30013 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30014 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30015 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30016 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
30017 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30018 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
30019 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
30020 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
30021 (__isnanf): Likewise.
30022 (__isinf_ns): Likewise.
30023 (__isinf_nsf): Likewise.
30024 (__finite): Likewise.
30025 (__finitef): Likewise.
30026 (__ieee754_sqrt): Define as macro.
30027 (__ieee754_sqrtf): Define as macro.
30028 (__ieee754_sqrtl): Define as macro.
30029 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
30030 inlined copy.
30031 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
30032 __FINITE_MATH_ONLY__ consistent.
30033 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
30034
12cc2fcd
AS
300352011-10-10 Andreas Schwab <schwab@linux-m68k.org>
30036
a843a204
AS
30037 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
30038 of rawmemchr.
30039
12cc2fcd
AS
30040 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
30041
c853acd5
UD
300422011-10-09 Ulrich Drepper <drepper@gmail.com>
30043
30044 * po/ja.po: Update from translation team.
30045
c658d255
RM
300462011-10-08 Roland McGrath <roland@hack.frob.com>
30047
110946e4
RM
30048 * locale/programs/locarchive.c (prepare_address_space): New function.
30049 (create_archive, enlarge_archive, open_archive): Use it.
30050
50604220
RM
30051 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
30052 inside [SHARED], where it is used.
30053
c658d255
RM
30054 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
30055
30056 * nss/getent.c (netgroup_keys): Remove unused variable.
30057 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
30058
6a621eb7
UD
300592011-10-08 Ulrich Drepper <drepper@gmail.com>
30060
7edb55ce
UD
30061 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
30062 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
30063 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
30064 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
30065 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
30066 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
30067 * math/Makefile (libm-calls): Add s_isinf_ns.
30068 * math/divtc3.c: Use __isinf_nsl instead of isinf.
30069 * math/multc3.c: Likewise.
30070 * math/s_casin.c: Likewise.
30071 * math/s_casinf.c: Likewise.
30072 * math/s_casinl.c: Likewise.
30073 * math/s_ccos.c: Likewise.
30074 * math/s_ccosf.c: Likewise.
30075 * math/s_ccosl.c: Likewise.
30076 * math/s_ctan.c: Likewise.
30077 * math/s_ctanf.c: Likewise.
30078 * math/s_ctanh.c: Likewise.
30079 * math/s_ctanhf.c: Likewise.
30080 * math/s_ctanhl.c: Likewise.
30081 * math/s_ctanl.c: Likewise.
30082 * math/w_fmod.c: Likewise.
30083 * math/w_fmodf.c: Likewise.
30084 * math/w_fmodl.c: Likewise.
30085 * math/w_remainder.c: Likewise.
30086 * math/w_remainderf.c: Likewise.
30087 * math/w_remainderl.c: Likewise.
30088 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
30089 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
30090 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
30091 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
30092 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
30093 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
30094 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
30095 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
30096
187da0ae
UD
30097 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
30098 of the number.
30099 * stdio-common/printf_fphex.c: Likewise.
30100 * stdio-common/printf_size.c: Likewise.
30101
9277c064
UD
30102 * math/e_exp10.c: Include math_private.h using <...> not "...".
30103 * math/e_exp10f.c: Likewise.
30104 * math/e_exp10l.c: Likewise.
30105 * math/e_exp2l.c: Likewise.
30106 * math/e_j0l.c: Likewise.
30107 * math/e_j1l.c: Likewise.
30108 * math/e_jnl.c: Likewise.
30109 * math/e_lgammal_r.c: Likewise.
30110 * math/e_rem_pio2l.c: Likewise.
30111 * math/e_scalb.c: Likewise.
30112 * math/e_scalbf.c: Likewise.
30113 * math/e_scalbl.c: Likewise.
30114 * math/k_cosl.c: Likewise.
30115 * math/k_sinl.c: Likewise.
30116 * math/k_tanl.c: Likewise.
30117 * math/s_cacoshf.c: Likewise.
30118 * math/s_catan.c: Likewise.
30119 * math/s_catanf.c: Likewise.
30120 * math/s_catanh.c: Likewise.
30121 * math/s_catanhf.c: Likewise.
30122 * math/s_catanhl.c: Likewise.
30123 * math/s_catanl.c: Likewise.
30124 * math/s_ccosh.c: Likewise.
30125 * math/s_ccoshf.c: Likewise.
30126 * math/s_ccoshl.c: Likewise.
30127 * math/s_cexp.c: Likewise.
30128 * math/s_cexpf.c: Likewise.
30129 * math/s_cexpl.c: Likewise.
30130 * math/s_clog.c: Likewise.
30131 * math/s_clog10.c: Likewise.
30132 * math/s_clog10f.c: Likewise.
30133 * math/s_clog10l.c: Likewise.
30134 * math/s_clogf.c: Likewise.
30135 * math/s_clogl.c: Likewise.
30136 * math/s_csin.c: Likewise.
30137 * math/s_csinf.c: Likewise.
30138 * math/s_csinh.c: Likewise.
30139 * math/s_csinhf.c: Likewise.
30140 * math/s_csinhl.c: Likewise.
30141 * math/s_csinl.c: Likewise.
30142 * math/s_csqrt.c: Likewise.
30143 * math/s_csqrtf.c: Likewise.
30144 * math/s_csqrtl.c: Likewise.
30145 * math/s_ctan.c: Likewise.
30146 * math/s_ctanf.c: Likewise.
30147 * math/s_ctanh.c: Likewise.
30148 * math/s_ctanhf.c: Likewise.
30149 * math/s_ctanhl.c: Likewise.
30150 * math/s_ctanl.c: Likewise.
30151 * math/s_ldexp.c: Likewise.
30152 * math/s_ldexpf.c: Likewise.
30153 * math/s_ldexpl.c: Likewise.
30154 * math/s_significand.c: Likewise.
30155 * math/s_significandf.c: Likewise.
30156 * math/s_significandl.c: Likewise.
30157 * math/w_acos.c: Likewise.
30158 * math/w_acosf.c: Likewise.
30159 * math/w_acosh.c: Likewise.
30160 * math/w_acoshf.c: Likewise.
30161 * math/w_acoshl.c: Likewise.
30162 * math/w_acosl.c: Likewise.
30163 * math/w_asin.c: Likewise.
30164 * math/w_asinf.c: Likewise.
30165 * math/w_asinl.c: Likewise.
30166 * math/w_atan2.c: Likewise.
30167 * math/w_atan2f.c: Likewise.
30168 * math/w_atan2l.c: Likewise.
30169 * math/w_atanh.c: Likewise.
30170 * math/w_atanhf.c: Likewise.
30171 * math/w_atanhl.c: Likewise.
30172 * math/w_cosh.c: Likewise.
30173 * math/w_coshf.c: Likewise.
30174 * math/w_coshl.c: Likewise.
30175 * math/w_dremf.c: Likewise.
30176 * math/w_exp10.c: Likewise.
30177 * math/w_exp10f.c: Likewise.
30178 * math/w_exp10l.c: Likewise.
30179 * math/w_exp2.c: Likewise.
30180 * math/w_exp2f.c: Likewise.
30181 * math/w_fmod.c: Likewise.
30182 * math/w_fmodf.c: Likewise.
30183 * math/w_fmodl.c: Likewise.
30184 * math/w_hypot.c: Likewise.
30185 * math/w_hypotf.c: Likewise.
30186 * math/w_hypotl.c: Likewise.
30187 * math/w_j0.c: Likewise.
30188 * math/w_j0f.c: Likewise.
30189 * math/w_j0l.c: Likewise.
30190 * math/w_j1.c: Likewise.
30191 * math/w_j1f.c: Likewise.
30192 * math/w_j1l.c: Likewise.
30193 * math/w_jn.c: Likewise.
30194 * math/w_jnf.c: Likewise.
30195 * math/w_jnl.c: Likewise.
30196 * math/w_lgamma.c: Likewise.
30197 * math/w_lgamma_r.c: Likewise.
30198 * math/w_lgammaf.c: Likewise.
30199 * math/w_lgammaf_r.c: Likewise.
30200 * math/w_lgammal.c: Likewise.
30201 * math/w_lgammal_r.c: Likewise.
30202 * math/w_log.c: Likewise.
30203 * math/w_log10.c: Likewise.
30204 * math/w_log10f.c: Likewise.
30205 * math/w_log10l.c: Likewise.
30206 * math/w_log2.c: Likewise.
30207 * math/w_log2f.c: Likewise.
30208 * math/w_log2l.c: Likewise.
30209 * math/w_logf.c: Likewise.
30210 * math/w_logl.c: Likewise.
30211 * math/w_pow.c: Likewise.
30212 * math/w_powf.c: Likewise.
30213 * math/w_powl.c: Likewise.
30214 * math/w_remainder.c: Likewise.
30215 * math/w_remainderf.c: Likewise.
30216 * math/w_remainderl.c: Likewise.
30217 * math/w_scalb.c: Likewise.
30218 * math/w_scalbf.c: Likewise.
30219 * math/w_scalbl.c: Likewise.
30220 * math/w_sinh.c: Likewise.
30221 * math/w_sinhf.c: Likewise.
30222 * math/w_sinhl.c: Likewise.
30223 * math/w_sqrt.c: Likewise.
30224 * math/w_sqrtf.c: Likewise.
30225 * math/w_sqrtl.c: Likewise.
30226 * math/w_tgamma.c: Likewise.
30227 * math/w_tgammaf.c: Likewise.
30228 * math/w_tgammal.c: Likewise.
30229
6a621eb7
UD
30230 * po/ja.po: Update from translation team.
30231
bf582445
AJ
302322011-09-29 Andreas Jaeger <aj@suse.de>
30233
f9efbf3a
AJ
30234 [BZ #13179]
30235 * sunrpc/netname.c (netname2host): Fix logic.
30236
bf582445
AJ
30237 [BZ #6779]
30238 [BZ #6783]
30239 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
30240 correctly.
30241 * math/w_remainder.c (__remainder): Likewise.
30242 * math/w_remainderf.c (__remainderf): Likewise.
30243 * math/libm-test.inc (remainder_test): Add test cases.
30244
48693bea
AK
302452011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30246
30247 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
30248 sdiv_qrnnd.
30249
42622229
LD
302502011-10-07 Ulrich Drepper <drepper@gmail.com>
30251
30252 * string/test-memcmp.c: Avoid unncessary #defines.
30253 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30254
093ecf92
LD
302552011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30256
30257 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
30258 Use new sse2 version for core i3 - i7 as it's faster
30259 than sse42 version.
30260 (bit_Prefer_PMINUB_for_stringop): New.
30261 * sysdeps/x86_64/rawmemchr.S: Update.
30262 Replace with faster SSE2 version.
30263 * sysdeps/x86_64/memrchr.S: New file.
30264 * sysdeps/x86_64/memchr.S: Update.
30265 Replace with faster SSE2 version.
30266
fde56e5c
MP
302672011-09-12 Marek Polacek <mpolacek@redhat.com>
30268
30269 * elf/dl-load.c (lose): Add cast to avoid warning.
30270
21fd49a9
UD
302712011-10-07 Ulrich Drepper <drepper@gmail.com>
30272
5a06e643
UD
30273 * po/ca.po: Update from translation team.
30274
684ae515
UD
30275 * inet/getnetgrent_r.c: Hook up nscd.
30276 * nscd/Makefile (routines): Add nscd_netgroup.
30277 (nscd-modules): Add netgroupcache.
30278 (CFLAGS-netgroupcache.c): Define.
30279 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
30280 (cache_search): Add const to second parameter.
30281 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
30282 INNETGR.
30283 (dbs): Add netgrdb entry.
30284 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30285 (verify_persistent_db): Handle netgrdb.
30286 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30287 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30288 GETFDNETGR.
30289 (netgroup_response_header): Define.
30290 (innetgroup_response_header): Define.
30291 (datahead): Add netgroup_response_header and innetgroup_response_header
30292 elements.
30293 * nscd/nscd.conf: Add entries for netgroup cache.
30294 * nscd/nscd.h (dbtype): Add netgrdb.
30295 (_PATH_NSCD_NETGROUP_DB): Define.
30296 (netgroup_iov_disabled): Declare.
30297 (xmalloc, xcalloc, xrealloc): Move declarations here.
30298 (cache_search): Adjust prototype.
30299 Add netgroup-related prototypes.
30300 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30301 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30302 (__nscd_innetgr): Declare.
30303 * nscd/selinux.c (perms): Use access_vector_t as element type and
30304 add netgroup-related initializers.
30305 * nscd/netgroupcache.c: New file.
30306 * nscd/nscd_netgroup.c: New file.
30307 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30308 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30309 For four parameters use innetgr.
30310 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30311 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30312 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30313 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30314
21fd49a9
UD
30315 * nscd/connections.c (register_traced_file): Don't register file
30316 for disabled databases.
30317
054c0457
UD
303182011-10-06 Ulrich Drepper <drepper@gmail.com>
30319
32b63198
UD
30320 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30321
054c0457
UD
30322 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30323 from tree and freeing node.
30324
64031225
JO
303252011-09-25 Jiri Olsa <jolsa@redhat.com>
30326
30327 * nss/nsswitch.c (__nss_database_lookup): Handle
30328 nss_parse_service_list out of memory case.
30329
0490345c
JO
303302011-09-15 Jiri Olsa <jolsa@redhat.com>
30331
30332 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30333 out of memory case.
30334
3a62d00d
AS
303352011-10-04 Andreas Schwab <schwab@redhat.com>
30336
30337 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30338 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30339 pass it down.
30340 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30341 elf_machine_rela, elf_machine_lazy_rel.
30342 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30343 (ELF_DYNAMIC_DO_REL): Likewise.
30344 (ELF_DYNAMIC_DO_RELA): Likewise.
30345 (ELF_DYNAMIC_RELOCATE): Likewise.
30346 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30347 to ELF_DYNAMIC_DO_REL.
30348 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30349 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30350 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30351 elf_machine_rela.
30352 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30353 skip_ifunc, don't call ifunc function if non-zero.
30354 (elf_machine_rela): Likewise.
30355 (elf_machine_lazy_rel): Likewise.
30356 (elf_machine_lazy_rela): Likewise.
30357 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30358 (elf_machine_lazy_rel): Likewise.
30359 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30360 Likewise.
30361 (elf_machine_lazy_rel): Likewise.
30362 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30363 Likewise.
30364 (elf_machine_lazy_rel): Likewise.
30365 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30366 (elf_machine_lazy_rel): Likewise.
30367 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30368 (elf_machine_lazy_rel): Likewise.
30369 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30370 (elf_machine_lazy_rel): Likewise.
30371 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30372 (elf_machine_lazy_rel): Likewise.
30373 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30374 (elf_machine_lazy_rel): Likewise.
30375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30376 (elf_machine_lazy_rel): Likewise.
30377
68577918
UD
303782011-09-28 Ulrich Drepper <drepper@gmail.com>
30379
30380 * nss/nss_files/files-init.c (_nss_files_init): Use static
30381 initialization for all the *_traced_file variables.
30382
68822d74
AS
303832011-09-28 Andreas Schwab <schwab@redhat.com>
30384
30385 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30386
2056100b
RM
303872011-09-27 Roland McGrath <roland@hack.frob.com>
30388
30389 [BZ #13226]
30390 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30391
32c76b63
AS
303922011-09-27 Andreas Schwab <schwab@redhat.com>
30393
30394 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30395 Reread the line before reparsing it.
30396
bf972c9d
AS
303972011-09-26 Andreas Schwab <schwab@redhat.com>
30398
30399 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30400
e057a1b5
JM
304012011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30402 Maxim Kuvyrkov <maxim@codesourcery.com>
30403 Joseph Myers <joseph@codesourcery.com>
30404
30405 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30406 if needed for __stack_chk_guard.
30407
bc7e1c36
RM
304082011-09-19 Roland McGrath <roland@hack.frob.com>
30409
ecb1482f
RM
30410 * sysdeps/posix/spawni.c (script_execute): Always define it.
30411 It will be optimized away if unused.
30412 (maybe_script_execute): New function.
30413 (__spawni): Call it.
30414
bc7e1c36
RM
30415 * Makerules: Don't include tls.make.
30416 (config-tls): Always set to thread.
30417 * tls.make.c: File removed.
30418
1c3b002b
MF
304192011-09-19 Mike Frysinger <vapier@gentoo.org>
30420
30421 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30422 * config.make.in (CPPFLAGS-config): New substituted variable.
30423
2840865d
UD
304242011-09-15 Ulrich Drepper <drepper@gmail.com>
30425
88738eb6
UD
30426 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30427
cbf645a6 30428 [BZ #13192]
2840865d
UD
30429 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30430 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30431
b402e91a
RM
304322011-09-15 Roland McGrath <roland@hack.frob.com>
30433
30434 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30435 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30437 (CALL_FAIL): Likewise.
30438 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30439 (CALL_FAIL): Macro removed.
30440 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30441
4c1a1f71
UD
304422011-09-15 Ulrich Drepper <drepper@gmail.com>
30443
30444 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30445 for __FINITE_MATH_ONLY__ == 1.
30446
edc121be
AS
304472011-09-15 Andreas Schwab <schwab@redhat.com>
30448
30449 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30450 __ieee754_sqrt instead of sqrt.
30451 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30452 __ieee754_sqrtf instead of sqrtf.
30453 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30454 __floorf instead of floorf.
30455 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30456 __floorf, __truncf instead of floorf, truncf.
30457
cd205654
UD
304582011-09-14 Ulrich Drepper <drepper@gmail.com>
30459
ee4d0315
UD
30460 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30461
cd205654
UD
30462 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30463 __extern_always_inline.
30464 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30465 32-bit.
30466
48b67d71
AS
304672011-09-14 Andreas Schwab <schwab@redhat.com>
30468
30469 * elf/rtld.c (dl_main): Also relocate in dependency order when
30470 doing symbol dependency testing.
30471
1ae12c75
AS
304722011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30473
30474 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30475 Always define `refsym'.
30476
995a80df
AS
304772011-09-13 Andreas Schwab <schwab@redhat.com>
30478
e529793b
AS
30479 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30480 (__FD_ELT): Renamed from __FDELT.
30481 * misc/bits/select2.h (__FD_ELT): Likewise.
30482 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30483 __FD_MASK instead of __FDELT, __FDMASK.
30484 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30485 Likewise.
30486 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30487 Likewise.
30488
52d4fef8
AS
30489 * elf/Makefile (gen-ldd): Fix pattern.
30490
995a80df
AS
30491 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30492 (init_tls): Likewise.
30493
8682f8b0
UD
304942011-09-12 Ulrich Drepper <drepper@gmail.com>
30495
30496 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30497
de82006d
AS
304982011-09-12 Andreas Schwab <schwab@redhat.com>
30499
a7c8e6a1
AS
30500 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30501 `struct cmsghdr *' instead of `void *'.
30502 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30503 Likewise.
30504
0f31fe77
AS
305052011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30506
30507 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30508 if non-absolute.
30509 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30510 ldd_rewrite_script.
0f31fe77 30511
32b4c839
UD
305122011-09-11 Ulrich Drepper <drepper@gmail.com>
30513
83cd1420
UD
30514 * configure.in: Remove --with-tls option.
30515 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30516 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30517 out in case it is missing.
30518 * sysdeps/ia64/elf/configure.in: Likewise.
30519 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30520 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30521 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30522 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30523 * sysdeps/sh/elf/configure.in: Likewise.
30524 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30525 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30526 * sysdeps/x86_64/elf/configure.in: Likewise.
30527 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30528 * sysdeps/mach/hurd/tls.h: Likewise.
30529
633f745d
UD
30530 [BZ #13067]
30531 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30532
f318beb8
UD
30533 [BZ #13090]
30534 * configure.in: Fix use of AC_INIT.
30535
32b4c839
UD
30536 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30537
3ce1f295
UD
305382011-09-10 Ulrich Drepper <drepper@gmail.com>
30539
bb016596
UD
30540 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30541 __set_errno.
8e58439c
UD
30542 * malloc/hooks.c: Likewise.
30543
aebae053 30544 [BZ #11929]
02d46fc4
UD
30545 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30546 variables statically.
30547 (narenas): Initialize.
30548 (list_lock): Initialize.
bb016596
UD
30549 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30550 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30551 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30552 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30553 Add initializers to main_arena and mp_.
30554 (malloc_state): Remove pagesize member. Change all users to use
30555 GLRO(dl_pagesize).
30556
30557 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30558 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30559 is always initialized.
30560
22a89187
UD
30561 * malloc/malloc.c: Removed unused configurations and dead code.
30562 * malloc/arena.c: Likewise.
30563 * malloc/hooks.c: Likewise.
02d46fc4 30564 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30565
d063d164
UD
30566 * include/tls.h: Removed. USE___THREAD must always be defined.
30567 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30568 * elf/dl-libc.c: Likewise.
30569 * elf/dl-tsd.c: Likewise.
30570 * include/errno.h: Likewise.
30571 * include/netdb.h: Likewise.
30572 * include/resolv.h: Likewise.
30573 * inet/herrno-loc.c: Likewise.
30574 * inet/herrno.c: Likewise.
30575 * malloc/arena.c: Likewise.
30576 * malloc/hooks.c: Likewise.
30577 * malloc/malloc.c: Likewise.
30578 * resolv/res-state.c: Likewise.
30579 * resolv/res_libc.c: Likewise.
30580 * sysdeps/i386/dl-machine.h: Likewise.
30581 * sysdeps/ia64/dl-machine.h: Likewise.
30582 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30583 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30584 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30585 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30586 * sysdeps/sh/dl-machine.h: Likewise.
30587 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30588 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30589 * sysdeps/unix/i386/sysdep.S: Likewise.
30590 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30591 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30592 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30593 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30594 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30595 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30596 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30597 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30598 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30600 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30601 * sysdeps/x86_64/dl-machine.h: Likewise.
30602 * tls.make.c: Likewise.
30603
3ce1f295
UD
30604 * configure.in: Remove --with-__thread option. Make tests for
30605 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30606 tls_model attribute fail if no support is available. Remove
30607 USE_IN_LIBIO.
30608 * Makeconfig: Adjust for dropped configure option. All features are
30609 now mandatory.
30610 * Makerules: Likewise.
30611 * Versions.def: Likewise.
30612 * argp/argp-fmtstream.c: Likewise.
30613 * argp/argp-fmtstream.h: Likewise.
30614 * argp/argp-help.c: Likewise.
30615 * assert/assert.c: Likewise.
30616 * config.h.in: Likewise.
30617 * config.make.in: Likewise.
30618 * configure: Likewise.
30619 * configure.in: Likewise.
30620 * csu/Versions: Likewise.
30621 * csu/init.c: Likewise.
30622 * elf/tst-audit2.c: Likewise.
30623 * elf/tst-tls10.c: Likewise.
30624 * elf/tst-tls10.h: Likewise.
30625 * elf/tst-tls11.c: Likewise.
30626 * elf/tst-tls12.c: Likewise.
30627 * elf/tst-tls14.c: Likewise.
30628 * elf/tst-tlsmod11.c: Likewise.
30629 * elf/tst-tlsmod12.c: Likewise.
30630 * elf/tst-tlsmod13.c: Likewise.
30631 * elf/tst-tlsmod13a.c: Likewise.
30632 * elf/tst-tlsmod14a.c: Likewise.
30633 * elf/tst-tlsmod15b.c: Likewise.
30634 * elf/tst-tlsmod16a.c: Likewise.
30635 * elf/tst-tlsmod16b.c: Likewise.
30636 * elf/tst-tlsmod7.c: Likewise.
30637 * elf/tst-tlsmod8.c: Likewise.
30638 * elf/tst-tlsmod9.c: Likewise.
30639 * gmon/gmon.c: Likewise.
30640 * grp/fgetgrent_r.c: Likewise.
30641 * grp/putgrent.c: Likewise.
30642 * hurd/fopenport.c: Likewise.
30643 * include/libc-symbols.h: Likewise.
30644 * include/tls.h: Likewise.
30645 * intl/gettextP.h: Likewise.
30646 * intl/loadinfo.h: Likewise.
30647 * locale/global-locale.c: Likewise.
30648 * locale/localeinfo.h: Likewise.
30649 * mach/devstream.c: Likewise.
30650 * malloc/arena.c: Likewise.
30651 * malloc/set-freeres.c: Likewise.
30652 * misc/err.c: Likewise.
30653 * misc/getttyent.c: Likewise.
30654 * misc/mntent_r.c: Likewise.
30655 * posix/getopt.c: Likewise.
30656 * posix/wordexp.c: Likewise.
30657 * pwd/fgetpwent_r.c: Likewise.
30658 * resolv/Versions: Likewise.
30659 * resolv/res_hconf.c: Likewise.
30660 * shadow/fgetspent_r.c: Likewise.
30661 * shadow/putspent.c: Likewise.
30662 * stdio-common/printf_fphex.c: Likewise.
30663 * stdio-common/tmpfile.c: Likewise.
30664 * stdlib/abort.c: Likewise.
30665 * stdlib/fmtmsg.c: Likewise.
30666 * sunrpc/auth_unix.c: Likewise.
30667 * sunrpc/clnt_perr.c: Likewise.
30668 * sunrpc/clnt_tcp.c: Likewise.
30669 * sunrpc/clnt_udp.c: Likewise.
30670 * sunrpc/clnt_unix.c: Likewise.
30671 * sunrpc/openchild.c: Likewise.
30672 * sunrpc/svc_simple.c: Likewise.
30673 * sunrpc/svc_tcp.c: Likewise.
30674 * sunrpc/svc_udp.c: Likewise.
30675 * sunrpc/svc_unix.c: Likewise.
30676 * sunrpc/xdr.c: Likewise.
30677 * sunrpc/xdr_array.c: Likewise.
30678 * sunrpc/xdr_rec.c: Likewise.
30679 * sunrpc/xdr_ref.c: Likewise.
30680 * sunrpc/xdr_stdio.c: Likewise.
30681
1248c1c4
PB
306822011-09-09 Ulrich Drepper <drepper@gmail.com>
30683
30684 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30685
306862011-07-03 Andreas Jaeger <aj@suse.de>
30687
30688 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30689 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30690 regenerate with gen-libm-tests.pl.
30691
306922010-05-12 Petr Baudis <pasky@suse.cz>
30693
30694 [BZ #11589]
30695 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30696 around j0() zero points by switching to j1().
30697 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30698 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30700 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30701
f22e1074
UD
307022011-09-09 Ulrich Drepper <drepper@gmail.com>
30703
f19009c1
UD
30704 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30705 instead of 0.
30706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30707 instead of 0.
f19009c1
UD
30708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30709 Patch in part by Pavel Roskin <proski@gnu.org>.
30710
3f8cc204
UD
30711 [BZ #13138]
30712 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30713 realloc.
30714 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30715 Free memory block if necessary.
30716
f22e1074
UD
30717 [BZ #12847]
30718 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30719 be NULL. Don't lock in this case.
30720
0a2349f9
RM
307212011-09-09 Roland McGrath <roland@hack.frob.com>
30722
30723 * elf/elf.h (ELFOSABI_GNU): New macro.
30724 (ELFOSABI_LINUX): Define to that.
30725
f3cdd467
DZ
307262011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30727
30728 * string/strncat.c (strncat): Undef the symbol in case it has been
30729 defined in bits/string.h.
30730
74718d13
UD
307312011-09-09 Ulrich Drepper <drepper@gmail.com>
30732
633e9e0f
UD
30733 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30734
0a2349f9 30735 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30736 link map.
30737
f9924780
AJ
307382011-08-17 Andreas Jaeger <aj@suse.de>
30739
30740 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30741
7f5517aa
PP
307422011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30743 Ian Lance Taylor <iant@google.com>
30744
30745 * math/libm-test.inc (lround_test): New testcase.
30746 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30747
762011fe
UD
307482011-09-08 Ulrich Drepper <drepper@gmail.com>
30749
92963737
UD
30750 * Makefile: Remove support for automatic cvs check-ins.
30751 * Makerules: Likewise.
30752 * config.make.in: Likewise.
30753 * configure.in: Likewise.
30754 * intl/Makefile: Likewise.
30755 * locale/Makefile: Likewise.
30756 * po/Makefile: Likewise.
30757 * posix/Makefile: Likewise.
30758 * sysdeps/gnu/Makefile: Likewise.
30759 * sysdeps/mach/hurd/Makefile: Likewise.
30760 * sysdeps/sparc/sparc32/Makefile: Likewise.
30761
b0727fd8
JS
30762 [BZ #13118]
30763 * posix/Makefile (bug-regex32-ENV): Define.
30764 Patch by John Stanley <jpsinthemix@verizon.net>.
30765
a0f33f99
UD
30766 * misc/Makefile (headers): Add bits/select2.h.
30767 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30768 * misc/bits/select2.h: New file.
30769 * include/bits/select2.h: New file.
30770 * debug/Makefile (routines): Add fdelt_chk.
30771 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30772 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30773 FD_ISSET.
30774 * debug/fdelt_chk.c: New file.
30775
762011fe
UD
30776 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30777 * wcsmbs/test-wmemcmp.c: Likewise.
30778 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30779 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30780
307812011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30782
30783 * string/Makefile (strop-tests): Add memcmp.
30784 * string/test-wmemcmp.c: New file.
30785 * string/test-memcmp.c: Add wmemcmp support.
30786
7f513ec8
RM
307872011-09-08 Roland McGrath <roland@hack.frob.com>
30788
0442afb4
RM
30789 [BZ #13153]
30790 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30791 2011-07-19 change.
30792
7f513ec8
RM
30793 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30794 garbage value in a __mach_port_mod_refs call in the cases of the
30795 task-self and thread-self ports.
30796
a12b2239
ST
307972011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30798
30799 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30800
610f9ab4
AS
308012011-09-08 Andreas Schwab <schwab@redhat.com>
30802
7f513ec8 30803 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30804
48882a1a
LD
308052011-09-07 Ulrich Drepper <drepper@gmail.com>
30806
b49865be
UD
30807 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30808
fdc86bc9
UD
30809 * elf/dl-libc.c (dlerror_run): Pass back error code from
30810 dl_catch_error.
30811
c966526a
UD
30812 [BZ #13123]
30813 * elf/dl-load.c (lose): Free l_origin if it is valid.
30814
48882a1a
LD
30815 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30816 names.
30817 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30818 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30819 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30820 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30821 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30822 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30823
77a2a8b4
AZ
308242011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30825
30826 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30827 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30828 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30829 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30830 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30831 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30832 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30833 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30834 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30835 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30836
24f579d8
AM
308372011-08-15 Alan Modra <amodra@gmail.com>
30838
30839 [BZ #13092]
30840 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30841 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30842 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30843 ppc_mcount to static-only-routines.
30844 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30845 __mcount_internal.
30846 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30847 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30848
3d4837df
UD
308492011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30850
30851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30852 for finite and infinity parameters.
30853
22700377
WS
308542011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30855
30856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30857 and add nop instructions for throughput optimization.
30858 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30859
5025581e
WS
308602011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30861
30862 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30863 aligned copy for power7 with vector-scalar instructions.
30864 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30865
08a300c9
L
308662011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30867
30868 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30869 AVX check.
30870
59178ef9
AS
308712011-09-07 Andreas Schwab <schwab@redhat.com>
30872
30873 [BZ #13144]
30874 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30875 last change.
30876
e38ba7ab
UD
308772011-09-07 Ulrich Drepper <drepper@gmail.com>
30878
30879 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30880 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30881 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30882 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30883 clock_gettime.
30884
d53a73ac
UD
308852011-09-06 Ulrich Drepper <drepper@gmail.com>
30886
fc8bffcc
UD
30887 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30888 Forgot to demangle the pointer.
30889
ceaa0c5d
UD
30890 * sysdeps/i386/sysdep.h: Define atom_text_section.
30891 * sysdeps/x86_64/sysdep.h: Likewise.
30892 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30893 section with atom_text_section.
30894 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30895 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30896 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30897 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30898 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30899
a77d3c17
UD
30900 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30901 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30902 already be defined. Change to take two parameters and don't assign
30903 result to variable. Adjust all users.
30904 Define INTERNAL_GETTIME if not already defined.
30905 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30906 call.
30907 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30908 HAVE_CLOCK_GETTIME_VSYSCALL.
30909 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30910
d53a73ac
UD
30911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30912 gettimeofday vsyscall, just use time.
30913
a8f84144
AS
309142011-09-06 Andreas Schwab <schwab@redhat.com>
30915
30916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30917 <errno.h>.
30918
ef606249
UD
309192011-09-06 Ulrich Drepper <drepper@gmail.com>
30920
30921 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30922 syscall on x86-64.
30923 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30924 syscall.
30925 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30926 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30927 syscall if possible.
30928
6585cb60
UD
309292011-09-05 Ulrich Drepper <drepper@gmail.com>
30930
30931 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30932 e_ident. Don't pass to find_mapsXX.
30933 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30934
a5f524e4
LD
309352011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30936
30937 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30938 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30939 * sysdeps/x86_64/multiarch/strchr.S: Update.
30940 Check bit_slow_BSF bit.
30941 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30942 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30943 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30944
554881ef
UD
309452011-09-05 Ulrich Drepper <drepper@gmail.com>
30946
d96de963
UD
30947 [BZ #13134]
30948 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30949 before glibc 2.15.
30950 (tryshell): Define.
30951 (__spawni): Change last parameter to be flag. Test
30952 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30953 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30954 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30955 * posix/spawni.c: Likewise.
30956 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30957 * posix/spawnp.c: Likewise. Change normal version to use
30958 SPAWN_XFLAGS_USE_PATH.
30959 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30960 SPAWN_XFLAGS_TRY_SHELL.
30961
d48e5868
UD
30962 [BZ #13150]
30963 * posix/glob.h: Remove gcc 1.x support.
30964
554881ef
UD
30965 [BZ #13068]
30966 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30967
693fb948
LD
309682011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30969
30970 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30971 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30972 strrchr-sse2-bsf
30973 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30974 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30975 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30976 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30977 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30978 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30979
1b48c537
UD
309802011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30981
49d42c37
UD
30982 * sysdeps/x86_64/wcscmp.S: New file.
30983
1b48c537
UD
30984 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30985 wcscmp-c wcscmp-sse2
30986 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30987 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30988 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30989 * wcsmbs/wcscmp.c: Allow renaming.
30990
15c95c5d
DM
309912011-09-05 David S. Miller <davem@davemloft.net>
30992
30993 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30994 stack slot, rather than the struct return pointer slot.
30995 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30996 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30997 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30998 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30999
2f0ad8f3
UD
310002011-09-05 Ulrich Drepper <drepper@gmail.com>
31001
d88ae418
UD
31002 * po/ja.po: Update from translation team.
31003
2f0ad8f3
UD
31004 [BZ #13144]
31005 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
31006 kernel in 64-bit binaries.
31007
5f4318d1
DM
310082011-09-01 David S. Miller <davem@davemloft.net>
31009
31010 * elf/elf.h (HWCAP_SPARC_*): Move to..
31011 * sysdeps/sparc/sysdep.h: this new file and add new values.
31012 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
31013 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
31014 _DL_HWCAP_COUNT to 24.
31015 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
31016 entries.
31017 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
31018 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
31019 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
31020 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
31021 instead of magic constants.
31022 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
31023
3ba57516
DM
310242011-08-31 David S. Miller <davem@davemloft.net>
31025
31026 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
31027 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
31028 Reimplement to do errno handling inline.
31029 (SYSCALL_ERROR_HANDLER): New macro.
31030 (__SYSCALL_STRING): Do not do errno handling in asm.
31031 (__CLONE_SYSCALL_STRING): Delete.
31032 (__INTERNAL_SYSCALL_STRING): Delete.
31033 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
31034 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
31035 (PSEUDO): Reimplement to do errno handling inline.
31036 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
31037 (SYSCALL_ERROR_HANDLER): New macro.
31038 (__SYSCALL_STRING): Do not do errno handling in asm.
31039 (__CLONE_SYSCALL_STRING): Delete.
31040 (__INTERNAL_SYSCALL_STRING): Delete.
31041 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
31042 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
31043 i386.
31044 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
31045 (inline_syscall*): Add 'err' argument.
31046 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
31047 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
31048 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
31049 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
31050
31051 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
31052 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31053
2bc17433
AS
310542011-08-30 Andreas Schwab <schwab@redhat.com>
31055
31056 * elf/rtld.c (dl_main): Relocate objects in dependency order.
31057
fbeb5f4d
JO
310582011-08-29 Jiri Olsa <jolsa@redhat.com>
31059
31060 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
31061 directive.
31062
ad69cc26
DM
310632011-08-24 David S. Miller <davem@davemloft.net>
31064
31065 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
31066
39dd69df
AS
310672011-08-24 Andreas Schwab <schwab@redhat.com>
31068
31069 * elf/Makefile: Add rules to build and run unload8 test.
31070 * elf/unload8.c: New file.
31071 * elf/unload8mod1.c: New file.
31072 * elf/unload8mod1x.c: New file.
31073 * elf/unload8mod2.c: New file.
31074 * elf/unload8mod3.c: New file.
31075
31076 * elf/dl-close.c (_dl_close_worker): Reset private search list if
31077 it wasn't used.
31078
2c0b250a
DM
310792011-08-23 David S. Miller <davem@davemloft.net>
31080
31081 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
31082 subtract stack bias.
31083 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
31084 %sp not %fp in calculations.
31085 (_JMPBUF_UNWINDS_ADJ): Likewise.
31086
22044b48
DM
31087 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
31088 (aio_suspend): Call it to force an exception region around the
31089 AIO_MISC_WAIT() invocation.
31090
2cae4995
AS
310912011-08-23 Andreas Schwab <schwab@redhat.com>
31092
31093 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
31094 backslash.
31095
873a772e
AJ
310962011-07-04 Aurelien Jarno <aurelien@aurel32.net>
31097
31098 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
31099 protection macro.
31100 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
31101 and <dl-machine.h>.
31102 (Elf64_FuncDesc): Remove.
31103
25ad0df1
DM
311042011-08-22 David S. Miller <davem@davemloft.net>
31105
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
31107 sigaltstack check, add missing cfi directives.
31108 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
31109 missing cfi directives, and sigaltstack handling.
31110
e888bcbe
AS
311112011-08-16 Andreas Schwab <schwab@redhat.com>
31112
31113 [BZ #11724]
31114 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
31115 object is seen twice.
31116 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31117
31118 * elf/Makefile (distribute): Add tst-initorder2.c.
31119 (tests): Add tst-initorder2.
31120 (modules-names): Add tst-initorder2a tst-initorder2b
31121 tst-initorder2c tst-initorder2d. Add rules to build them.
31122 ($(objpfx)tst-initorder2.out): New rule.
31123 * elf/tst-initorder2.c: New file.
31124 * elf/tst-initorder2.exp: New file.
31125
87162f46
AS
311262011-08-22 Andreas Schwab <schwab@redhat.com>
31127
70538b7f
AS
31128 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
31129
f55ffe58
AS
31130 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
31131 dependencies back to end of function.
31132
87162f46
AS
31133 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31134 $(elfobjdir)/ld.so.
31135
91b392a4
UD
311362011-08-21 Ulrich Drepper <drepper@gmail.com>
31137
31138 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
31139 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
31140 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
31141 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
31142 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
31143 of __vdso_gettimeofday.
31144 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
31145 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
31146 attribute_hidden.
31147 (_libc_vdso_platform_setup): Remove initialization of
31148 __vdso_gettimeofday and __vdso_time.
31149
5c43483f
UD
311502011-08-20 Ulrich Drepper <drepper@gmail.com>
31151
775a77e7
UD
31152 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
31153 and fgetc_unlocked.
31154 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
31155 getc_unlocked.
89f447ed 31156
49c74ba9
UD
31157 * elf/dl-open.c (add_to_global): Report additions to the global scope
31158 for LD_DEBUG=scopes.
31159 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 31160 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 31161
5c43483f
UD
31162 [BZ #13114]
31163 * stdio-common/Makefile (tests): Add bug24.
31164 * stdio-common/bug24.c: New file.
31165
a101b025
AJ
311662011-08-19 Andreas Jaeger <aj@suse.de>
31167
31168 [BZ #13114]
31169 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
31170 non-existant file when using close-on-exec mode.
31171
c88f1766
UD
311722011-08-20 Ulrich Drepper <drepper@gmail.com>
31173
0276a718
UD
31174 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
31175 the very first instruction.
31176
c88f1766
UD
31177 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
31178 the CFI state in the end.
31179 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
31180 inclusion of dl-trampoline.h.
31181 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
31182
51ccffa0
AS
311832011-08-19 Andreas Schwab <schwab@redhat.com>
31184
94d7165f
AS
31185 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
31186 expectations for long double.
31187
51ccffa0
AS
31188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
31189 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
31190
fd708658 311912011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
31192
31193 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
31194 artificual limit depends upon the system page size.
31195
44f0a71e
UD
311962011-08-17 Ulrich Drepper <drepper@gmail.com>
31197
31198 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
31199 * resolv/Makefile: Define CFLAGS-libresolv.
31200
8de79a24
AS
312012011-08-17 Andreas Schwab <schwab@redhat.com>
31202
31203 * nss/makedb.c (compute_tables): Make variables used in nested
31204 function static.
31205
27724598
UD
312062011-08-17 Ulrich Drepper <drepper@gmail.com>
31207
c5305d88
UD
31208 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
31209 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
31210 if buffer was too small.
31211
27724598
UD
31212 * elf/pldd.c (main): Attach to all threads in the process.
31213 Rewrite /proc handling to use *at functions.
31214
076fe015
UD
312152011-08-16 Ulrich Drepper <drepper@gmail.com>
31216
174baab3
UD
31217 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
31218 specifies first scope to show.
31219 (dl_open_worker): Update callers. Move printing scope of new
31220 object to before the relocation.
44f0a71e 31221 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
31222 * sysdeps/generic/ldsodefs.h: Update declaration.
31223
076fe015
UD
31224 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
31225 string for the scope number.
31226
a60df2c3
UD
312272011-08-14 Ulrich Drepper <drepper@gmail.com>
31228
31229 * nscd/servicescache.c (cache_addserv): Make sure written is always
31230 initialized.
31231
5e4287d1
RM
312322011-08-14 Roland McGrath <roland@hack.frob.com>
31233
85ae0589
RM
31234 * sysdeps/i386/i486/bits/atomic.h
31235 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
31236 statement expression, so as to suppress "set but not used" warning.
31237 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
31238
69f63097
RM
31239 * string/strncat.c (STRNCAT): Use prototype definition.
31240
675456ef
RM
31241 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
31242 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
31243 -Iprograms here.
31244 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
31245 (localedef-modules): Add localedef.
31246 (locale-modules): Add locale.
31247
5e4287d1
RM
31248 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
31249 * elf/rtld.c (dl_main): Invert order of assignment in last change,
31250 to avoid a warning.
31251
9c96ff23
DM
312522011-08-14 David S. Miller <davem@davemloft.net>
31253
31254 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
31255 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
31256
f9ddf089
UD
312572011-08-13 Ulrich Drepper <drepper@gmail.com>
31258
44f0a71e 31259 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
31260 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
31261 * elf/rtld.c (dl_main): Set l_name of vDSO.
31262 Call _dl_show_scope when DL_DEBUG_SCOPES.
31263 (process_dl_debug): Recognize scopes flag and also set it for all.
31264 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
31265 Declare _dl_show_scope.
31266
1dc27704
UD
31267 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
31268 (do_dlopen): Pass caller_dlopen to dl_open.
31269 (__libc_dlopen_mode): Initialize caller_dlopen.
31270
f9ddf089
UD
31271 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
31272 of libc. Make tolower call locale-independent. Optimize a bit by
31273 using isdigit instead of isalnum.
31274 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
31275
9ac533d3
UD
312762011-08-12 Ulrich Drepper <drepper@gmail.com>
31277
31278 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
31279 was a dependency or dynamically loaded.
31280
89edf2e9
UD
312812011-08-11 Ulrich Drepper <drepper@gmail.com>
31282
8e999d29
UD
31283 * intl/l10nflist.c: Allow architecture-specific pop function.
31284 * sysdeps/x86_64/l10nflist.c: New file.
31285
89edf2e9
UD
31286 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31287 classification.
31288
14d96785
AS
312892011-08-10 Andreas Schwab <schwab@redhat.com>
31290
31291 * include/dirent.h: Add libc_hidden_proto for scandirat and
31292 scandirat64. Don't declare __scandirat64.
31293 * dirent/scandirat.c: Add libc_hidden_def.
31294 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31295 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31296
6761ac04
DM
312972011-08-10 David S. Miller <davem@davemloft.net>
31298
31299 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31300 enum.
31301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31302 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31303 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31304
c55fbd1e
UD
313052011-08-09 Ulrich Drepper <drepper@gmail.com>
31306
31307 * Versions.def [libc]: Add GLIBC_2.15.
31308 * dirent/Makefile (routines): Add scandirat and scandirat64.
31309 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31310 GLIBC_2.15.
31311 * dirent/dirent.h: Declare scandirat and scandirat64.
31312 * dirent/scandirat.c: New file.
31313 * dirent/scandirat64.c: New file.
31314 * sysdeps/wordsize-64/scandirat.c: New file.
31315 * sysdeps/wordsize-64/scandirat64.c: New file.
31316 * dirent/opendir.c: Define opendirat.
31317 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31318 using scandirat.
31319 * dirent/scandir64.c: Adjust for scandir.c change.
31320 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31321 __scandirat64, and __scandir_cancel_handler.
31322 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31323 additional parameter and use openat instead of open (outside of ld.so).
31324 Add new __opendir as wrapper around __opendirat.
31325 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31326 here without requiring old scandirat implementation.
31327
879165f2
UD
313282011-08-08 Ulrich Drepper <drepper@gmail.com>
31329
31330 * dirent/scandir.c (cancel_handler): Renamed to
31331 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31332 defined. Adjust users.
31333 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31335
cb7e923b
UD
313362011-08-04 Ulrich Drepper <drepper@gmail.com>
31337
16292edd
UD
31338 * string/test-string.h (IMPL): Use __STRING to expand name and then
31339 stringify it.
31340
cb7e923b
UD
31341 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31342 of cleanups.
31343
cff82933
LD
313442011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31345
31346 * string/Makefile: Update.
31347 (strop-tests): Append strncat.
31348 * string/test-wcscmp.c: New file.
31349 New comprehensive test for wcscmp.
31350 * string/test-strcmp.c: Update.
31351 (WIDE): New define.
31352
9be9bfcc
AS
313532011-07-22 Andreas Schwab <schwab@redhat.com>
31354
31355 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31356 line.
31357
2e96f1c7
AS
313582011-07-26 Andreas Schwab <schwab@redhat.com>
31359
31360 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31361 encoding to ACE if AI_IDN.
31362
85188888
JJ
313632011-08-01 Jakub Jelinek <jakub@redhat.com>
31364
31365 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31366 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31367
5fa16e9b
LD
313682011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31369
31370 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31371 Fix overflow bug in strncat.
31372 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31373
31374 * string/test-strncat.c: Update.
31375 Add new tests for checking overflow bugs.
31376
313772011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31378
31379 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31380 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31381 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31382 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31383 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31384 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31385 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31386 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31387 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31388
31389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31390 (USE_AS_STRCAT): Define.
31391 Add strcat and strncat support.
31392 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31393
8c1a459f
AS
313942011-07-25 Andreas Schwab <schwab@redhat.com>
31395
31396 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31397 __n bigger than INT_MAX+1.
31398 (__strncmp_g): Likewise.
31399
bba33c28
UD
314002011-07-23 Ulrich Drepper <drepper@gmail.com>
31401
798be72d
UD
31402 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31403 * libio/stido.h: Likewise.
31404
8accd4dc
UD
31405 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31406 (AF_NFC): Define.
31407 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31408 (AF_NFC): Define.
31409
cbff0d96
UD
31410 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31411 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31412 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31413 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31414 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31415
9191c04a
UD
31416 [BZ #13021]
31417 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31418 installed.
31419
bba33c28
UD
31420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31421 typo.
31422 (_dl_x86_64_save_sse): Likewise.
31423
90f139dd
UD
314242011-07-22 Ulrich Drepper <drepper@gmail.com>
31425
1aae088a
UD
31426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31427 OSXSAVE.
31428 (_dl_x86_64_save_sse): Likewise.
31429
8e2045f5
UD
31430 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31431
90f139dd
UD
31432 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31433
1d002f25
AS
314342011-07-21 Andreas Schwab <schwab@redhat.com>
31435
31436 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31437 change.
31438 (_dl_x86_64_save_sse): Use correct AVX check.
31439
21137f89
UD
314402011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31441
31442 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31443 bug in strncpy/strncat.
31444 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31445
a65c0b7a
UD
314462011-07-21 Ulrich Drepper <drepper@gmail.com>
31447
31448 * string/tester.c (test_strcat): Add tests for different alignments
31449 of source and destination.
31450 (test_strncat): Likewise.
31451
6986b98a
UD
314522011-07-20 Ulrich Drepper <drepper@gmail.com>
31453
90bb2039
UD
31454 [BZ #12852]
31455 * posix/glob.c (glob): Check passed in values before using them in
31456 expressions to avoid some overflows.
31457 (glob_in_dir): Likewise.
31458
5644ef54
UD
31459 [BZ #13007]
31460 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31461 check for AVX enablement so that we don't crash with old kernels and
31462 new hardware.
31463 * elf/tst-audit4.c: Add same checks here.
31464 * elf/tst-audit6.c: Likewise.
31465
31466 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31467
bfc9dc9b
AS
314682011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31469
31470 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31471
702e64bb
UD
314722011-07-20 Ulrich Drepper <drepper@gmail.com>
31473
31474 * po/cs.po: Update from translation team.
31475 * po/bg.po: Likewise.
31476
295e904f
MP
314772011-07-12 Marek Polacek <mpolacek@redhat.com>
31478
31479 * misc/sys/cdefs.h: Add support for const attribute.
31480 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31481 to gnu_dev_{major,minor,makedev} functions.
31482
3ff94596
MP
314832011-07-20 Marek Polacek <mpolacek@redhat.com>
31484
31485 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31486
28b59fca
AS
314872011-07-20 Andreas Schwab <schwab@redhat.com>
31488
31489 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31490 strlen results.
31491
19df733e
AK
314922011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31493
31494 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31495 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31496 register in order to avoid conflicts with the soft frame pointer
31497 being held in r11 when necessary.
31498 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31499 (INTERNAL_VSYSCALL_NCS): Likewise.
31500
c8835729
MP
315012011-07-14 Marek Polacek <mpolacek@redhat.com>
31502
31503 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31504 * elf/dl-fini.c (_dl_fini): Adjust caller.
31505 * elf/dl-close.c (_dl_close_worker): Likewise.
31506 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31507
b902330c
MP
315082011-07-15 Marek Polacek <mpolacek@redhat.com>
31509
8991e135
MP
31510 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31511 "aux_cache->nlibs < 0".
31512
b902330c
MP
31513 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31514 in the reload-count case.
31515
99710781
LD
315162011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31517
31518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31519 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31520 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31521 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31522 * sysdeps/x86_64/multiarch/strcat.S: New file.
31523 * sysdeps/x86_64/multiarch/strncat.S: New file.
31524 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31525 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31526 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31527 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31528 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31529 (USE_AS_STRCAT): Define.
31530 Add strcat and strncat support.
31531 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31532 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31533 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31534 * string/strncat.c: Update.
31535 (USE_AS_STRNCAT): Define.
31536 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31537 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31538 and i7.
31539 * sysdeps/x86_64/multiarch/init-arch.h
31540 (bit_Prefer_PMINUB_for_stringop): New.
31541 (index_Prefer_PMINUB_for_stringop): Likewise.
31542 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31543 bit_Prefer_PMINUB_for_stringop.
31544
7dc6bd90
UD
315452011-07-19 Ulrich Drepper <drepper@gmail.com>
31546
31547 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31548 buffer64.
31549 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31550 of casting of buffer.
31551 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31552 buffer32 and buffer64.
31553 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31554 writes instead of casting of buffer.
31555 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31556 buffer32.
31557 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31558 casting of buffer.
31559
e0e72284
AS
315602011-07-19 Andreas Schwab <schwab@redhat.com>
31561
31562 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31563
feb1eb0b
UD
315642011-07-19 Ulrich Drepper <drepper@gmail.com>
31565
31566 * nscd/nscd.c (termination_handler): Don't do anything for a database
31567 if it has not yet been initialized.
31568
298711ff
UD
315692011-07-18 Ulrich Drepper <drepper@gmail.com>
31570
31571 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31572
315732011-07-15 Marek Polacek <mpolacek@redhat.com>
31574
31575 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31576
f9d68389
UD
315772011-07-18 Ulrich Drepper <drepper@gmail.com>
31578
31579 * po/nl.po: Update from translation team.
31580 * po/sv.po: Likewise.
31581
db290cf5
RM
315822011-07-16 Roland McGrath <roland@hack.frob.com>
31583
31584 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31585 now disallowed by GCC.
5c550700 31586
fd5e21c7
RM
31587 * configure.in (use-default-link): Default to yes if a test -shared
31588 link meets our qualifications.
31589 * configure: Regenerated.
31590
5c550700
RM
31591 * config.make.in (output-format): New variable.
31592 * configure.in: Check for ld --print-output-format support.
31593 * configure: Regenerated.
31594 * Makerules ($(common-objpfx)format.lds)
31595 [$(output-format) != unknown]: Just use $(output-format),
31596 instead of the linker-script munging.
31597
9fa2c032
RM
315982011-07-14 Roland McGrath <roland@hack.frob.com>
31599
a6928d51
RM
31600 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31601 of $(common-objpfx)shlib.lds.
31602 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31603
661607b3
RM
31604 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31605 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31606
9fa2c032
RM
31607 * configure.in (-z relro check): Adjust test code to add a large
31608 writable data section after it.
31609 * configure: Regenerated.
31610
defe9061
RM
316112011-07-11 Roland McGrath <roland@hack.frob.com>
31612
31613 * configure.in (-z relro check): Fix test code to make the variable
31614 truly const.
31615 * configure: Regenerated.
31616
319b9ad4
UD
316172011-07-11 Ulrich Drepper <drepper@gmail.com>
31618
31619 * nscd/nscd.h (struct traced_file): Define.
31620 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31621 elements. Add traced_files.
31622 (inotify_fd): Declare.
31623 (register_traced_file): Declare.
31624 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31625 (inotify_fd): Export.
31626 (resolv_conf_descr): Remove.
31627 (nscd_init): Move inotify descriptor creation to main.
31628 Don't register files for notification here.
31629 (register_traced_file): New function.
31630 (invalidate_cache): Don't use reset_res to determine whether to call
31631 res_init, go through the list of registered files.
31632 (main_loop_poll): The inotify descriptors are now stored in the
31633 structures for the traced files.
31634 (main_loop_epoll): Likewise
31635 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31636 to __nss_disable_nscd.
31637 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31638 for a database anymore. Check the records for all the registered
31639 files instead.
31640 * nss/Makefile (libnss_files-routines): Add files-init.
31641 (libnss_db-routines): Add db-init.
31642 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31643 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31644 * nss/nss_db/db-init.c: New file.
31645 * nss/nss_files/files-init.c: New file.
31646 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31647 __nss_lookup_function.
31648 (__nss_lookup_function): Call nss_load_library.
31649 (nss_load_all_libraries): New function.
31650 (__nss_disable_nscd): Take parameter with callback function for files
31651 to register. Set is_nscd. Load all the DSOs for the NSS modules
31652 used for the cached services.
31653 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31654 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31655 options for features to all the files in nscd.
31656
31657 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31658
23bee3e8
RM
316592011-07-10 Roland McGrath <roland@hack.frob.com>
31660
31661 * csu/elf-init.c (__libc_csu_init): Comment typo.
31662
46a5b7f0
UD
316632011-07-09 Ulrich Drepper <drepper@gmail.com>
31664
31665 * po/pl.po: Update from translation team.
31666 * po/ja.po: Likewise.
31667 * po/ru.po: Likewise.
31668 * po/ko.po: Likewise.
31669 * po/fr.po: Likewise.
31670
d30cf5bb
RM
316712011-07-09 Roland McGrath <roland@hack.frob.com>
31672
113ddea4
RM
31673 * configure.in (.ctors/.dtors header and trailer check):
31674 Use an empirical test on a built program.
31675 * configure: Regenerated.
31676
574920b4
RM
31677 * configure.in (-z relro check): Use an empirical test on a built DSO.
31678 Detect, but do not require, on ia64.
31679 * configure: Regenerated.
31680
d30cf5bb
RM
31681 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31682 Update tests that use readelf to use $READELF instead.
31683 * configure: Regenerated.
31684
8538fdb3
UD
316852011-07-08 Ulrich Drepper <drepper@gmail.com>
31686
31687 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31688 if the result is not used.
31689
04d08991
AJ
316902011-07-05 Andreas Jaeger <aj@suse.de>
31691
31692 [BZ#9696]
31693 * stdlib/tst-strtod.c: Add testcase.
31694
de283087
AD
316952011-07-07 Ulrich Drepper <drepper@gmail.com>
31696
4e5f31c8 31697 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31698 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31699 The latter has a higher limit. Take additional parameter to pass to
31700 the new function.
31701 (__pathconf): Pass file to __statfs_link_max.
31702 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31703 __statfs_link_max.
31704 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31705 __statfs_link_max.
31706
de283087
AD
31707 [BZ #12868]
31708 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31710 Handle Lustre.
31711 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31712 (__statfs_filesize_max): Likewise.
31713 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31714
c75fa153
AJ
317152011-07-05 Andreas Jaeger <aj@suse.de>
31716
31717 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31718
1a544854
UD
317192011-07-06 Marek Polacek <mpolacek@redhat.com>
31720
31721 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31722 `status' variable.
31723 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31724 Likewise.
31725
6f0eec67
UD
317262011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31727
31728 * Makefile (strop-tests): Add strncat.
31729 * string/test-strncat.c: New file.
31730
aae30307
UD
317312011-06-30 Marek Polacek <mpolacek@redhat.com>
31732
31733 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31734
c0cfb5eb
UD
317352011-06-21 Andreas Jaeger <aj@suse.de>
31736
31737 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31738 Copy rule from iconvdata/Makefile.
31739
01636b21
UD
317402011-07-06 Ulrich Drepper <drepper@gmail.com>
31741
31742 [BZ #12922]
31743 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31744 but no long options are defined, just return 'W'.
31745
9895c8bc
UD
317462011-06-22 Marek Polacek <mpolacek@redhat.com>
31747
31748 [BZ #9696]
31749 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31750
5d4cf042
UD
317512011-07-06 Ulrich Drepper <drepper@gmail.com>
31752
31753 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31754 netgroups to read.
960e5535 31755 (innetgr): Likewise.
5d4cf042 31756
751eb97e
RM
317572011-07-05 Roland McGrath <roland@hack.frob.com>
31758
31759 * config.make.in (install_root): Default to $(DESTDIR).
31760
f15f1e45
UD
317612011-07-05 Ulrich Drepper <drepper@gmail.com>
31762
31763 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31764
4e34ac6a
RM
317652011-07-02 Roland McGrath <roland@hack.frob.com>
31766
5e9b6af4
RM
31767 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31768
84f9ea0f
RM
31769 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31770 containing directory rather than embedding absolute directory names.
31771
ea5ee9f7
RM
31772 * scripts/check-local-headers.sh: Rewritten using awk.
31773 Match by word, not by line. Print error messages for matches.
31774 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31775
1b74661a
RM
31776 * Makerules [shlib-lds-flags empty]:
31777 ($(common-objpfx)libc_pic.opts): New target.
31778 ($(common-objpfx)libc_pic.os.clean): New target.
31779 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31780
31781 * config.make.in (OBJCOPY): New variable.
31782 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31783 * configure: Regenerated.
31784
f781ef40
RM
31785 * config.make.in (use-default-link): New variable.
31786 * configure.in (use_default_link): Grok --with-default-link to set it.
31787 * configure: Regenerated.
31788 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31789 (shlib-lds, shlib-lds-flags): Define to empty.
31790
2d4fa81e
RM
31791 * Makerules (shlib-lds): New variable.
31792 (shlib-lds-flags): New variable.
31793 (build-shlib, build-moduile, build-module-asneeded): Use it.
31794 ($(common-objpfx)libc.so): Use $(shlib-lds).
31795 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31796 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31797
31fffa6b
RM
31798 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31799 DT_FLAGS/DT_FLAGS_1 with zero flags.
31800
4e34ac6a
RM
31801 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31802 linker script munging.
31803
fcfc776b
UD
318042011-07-02 Ulrich Drepper <drepper@gmail.com>
31805
31806 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31807 as 128-bit value.
31808 * crypt/sha512.c (sha512_process_block): Perform total addition using
31809 128-bit if possible.
31810 (__sha512_finish_ctx): Likewise.
31811 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31812 as 64-bit value.
31813 * crypt/sha256.c (SWAP64): Define.
31814 (sha256_process_block): Perform total addition using 64-bit if
31815 possible.
31816 (__sha256_finish_ctx): Likewise.
31817
99231d9a
UD
318182011-07-01 Ulrich Drepper <drepper@gmail.com>
31819
31820 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31821 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31822 * nscd/hstcache.c (cache_addhst): Likewise.
31823 * nscd/grpcache.c (cache_addgr): Likewise.
31824 * nscd/aicache.c (addhstaiX): Likewise
31825 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31826
445b4a53
TK
318272011-07-01 Thorsten Kukuk <kukuk@suse.de>
31828
31829 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31830 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31831 * nscd/hstcache.c (cache_addhst): Likewise.
31832 * nscd/grpcache.c (cache_addgr): Likewise.
31833 * nscd/aicache.c (addhstaiX): Likewise
31834
6d4d8e8e
AS
318352011-07-01 Andreas Schwab <schwab@redhat.com>
31836
31837 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31838 domain only when needed.
31839
89f654c5
AS
318402011-06-30 Andreas Schwab <schwab@redhat.com>
31841
31842 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31843 is always restored.
31844
cf3b23ff
UD
318452011-06-29 Ulrich Drepper <drepper@gmail.com>
31846
31847 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31848 are re-adding the entry.
31849 * nscd/servicescache.c (cache_addserv): Likewise.
31850
751626f9
AJ
318512011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31852
31853 * sysdeps/generic/dl-irel.h: fix protection against multiple
31854 inclusions.
31855 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31856
9113ea1f
UD
318572011-06-28 Ulrich Drepper <drepper@gmail.com>
31858
5c0b8d90
UD
31859 [BZ #12935]
31860 * malloc/memusage.sh: Fix quoting in message.
31861 * debug/xtrace.sh: Likewise.
31862
9113ea1f
UD
31863 * configure.in: Remove support for --experimental-malloc option, make
31864 it the default.
31865 * config.make.in: Likewise.
31866 * malloc/Makefile: Likewise.
31867
a4172181
AS
318682011-06-27 Andreas Schwab <schwab@redhat.com>
31869
31870 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31871 two-byte characters.
31872
78a7eee7
RM
318732011-06-27 Roland McGrath <roland@hack.frob.com>
31874
62bede13
RM
31875 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31876 AC_CACHE_CHECK invocation.
31877 * configure: Regenerated.
31878
78a7eee7
RM
31879 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31880
5ce33a62
UD
318812011-06-27 Ulrich Drepper <drepper@gmail.com>
31882
034807a9
UD
31883 [BZ #12350]
31884 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31885 bit from old_res_options.
31886
4902da17
UD
31887 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31888
5ce33a62
UD
31889 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31890 value type for setfct.
31891
c2344f56
L
318922011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31893
31894 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31895 __gettimeofday instead of gettimeofday.
31896
68468076
UD
318972011-06-26 Ulrich Drepper <drepper@gmail.com>
31898
31899 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31900
acb0d739
L
319012011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31902
31903 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31904
31905 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31906 info.
31907
8912479f
L
319082011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31909
31910 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31911 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31912 strcpy-sse2-unaligned strncpy-sse2-unaligned
31913 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31914 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31915 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31916 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31917 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31918 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31919 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31920 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31921 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31922 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31923 (STRCPY): Support SSE2 and SSSE3 versions.
31924
d5495a11
UD
319252011-06-24 Ulrich Drepper <drepper@gmail.com>
31926
31927 [BZ #12874]
31928 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31929 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31930 kernels which artificially limit size of requests.
31931
0b1cbaae
L
319322011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31933
31934 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31935 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31936 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31937 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31938 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31939 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31940 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31941 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31942 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31943 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31944 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31945 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31946 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31947 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31948 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31950 Enable unaligned load optimization for Intel Core i3, i5 and i7
31951 processors.
31952 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31953 Define.
31954 (index_Fast_Unaligned_Load): Define.
31955 (HAS_FAST_UNALIGNED_LOAD): Define.
31956
07f494a0
MP
319572011-06-23 Marek Polacek <mpolacek@redhat.com>
31958
31959 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31960
fa3fc0fe
UD
319612011-06-22 Ulrich Drepper <drepper@gmail.com>
31962
31963 [BZ #12907]
31964 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31965 until it is clear that the information is realy needed.
31966 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31967
e12df166
AS
319682011-06-22 Andreas Schwab <schwab@redhat.com>
31969
31970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31971
852eb34d
UD
319722011-06-22 Ulrich Drepper <drepper@gmail.com>
31973
84e2a551
UD
31974 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31975 /sys/devices/system/cpu/online if it is usable.
31976
852eb34d
UD
31977 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31978 reading the information from the /proc filesystem to once a second.
31979
6e502e19
UD
319802011-06-21 Andreas Jaeger <aj@suse.de>
31981
31982 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31983 NULL after inclusion of kernel headers.
31984
75d39ff2
UD
319852011-06-21 Ulrich Drepper <drepper@gmail.com>
31986
51f9aa6a
UD
31987 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31988 calls to internal_setent.
31989
c0244a9d
UD
31990 [BZ #12885]
31991 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31992 addresses using gethostbyname4_r ignore IPv4 addresses.
31993
c5e3c2ae
UD
31994 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31995 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31996
75d39ff2
UD
31997 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31998
42675c6f
DM
319992011-06-20 David S. Miller <davem@davemloft.net>
32000
32001 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
32002 inclusions.
32003 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
32004
32005 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
32006 (elf_irel): Use it.
32007 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
32008 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
32009 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
32010 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
32011 * sysdeps/x86_64/dl-irel.h: Likewise.
32012
32013 * elf/dl-runtime.c: Use elf_ifunc_invoke.
32014 * elf/dl-sym.c: Likewise.
32015
57912a71
UD
320162011-06-15 Ulrich Drepper <drepper@gmail.com>
32017
32018 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
32019 need to dereference resplen2.
32020
ee22793d
AS
320212011-06-14 Andreas Schwab <schwab@redhat.com>
32022
32023 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
32024
a9e836b0
UD
320252011-06-15 Ulrich Drepper <drepper@gmail.com>
32026
77fb9117
UD
32027 * Makeconfig: Define vardbdir and inst_vardbdir.
32028 * nss/Makefile: Add rules to install db-Makefile.
32029
40c1b22c
UD
32030 * nss/nss_db/db-XXX.c: Cleanup.
32031
9f2da732
UD
32032 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
32033 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
32034 GLIBC_PRIVATE.
32035 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
32036 * nss/makedb.c: Implement -g option to specify that value strings
32037 are generated and should not be added to table iterated over for
32038 get*ent calls.
32039 * nss/nss_db/db-initgroups.c: New file.
32040
82e9a1f7
UD
32041 * nss/getent.c: Add support for initgroups lookups through getgrouplist
32042 interface.
32043
c41af17e
UD
32044 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
32045 (internal_getgrouplist): Adjust to name change.
32046 Update use_initgroups_entry if this is not the first call.
32047 * nss/databases.def: Add initgroups entry.
32048
a9e836b0
UD
32049 * nss/makedb.c (compute_tables): Check result of multiple hash table
32050 sizes to minimize maximum chain length.
32051
2666d441
UD
320522011-06-14 Ulrich Drepper <drepper@gmail.com>
32053
32054 * Versions.def: Add entry for libnss_db.
32055 * shlib-versions: Likewise.
32056 * nss/Makefile: Add rules to build libnss_db.
32057 * nss/Versions: Add libnss_db information. Organize libnss_files
32058 entries better.
32059 * nss/db-Makefile: Add gshadow support. Change rules for the new
32060 makedb progra. Some minor improvements to generate smaller files.
32061 * nss/nss_db/nss_db.h: Move NSS database header data structures to
32062 here from...
32063 * nss/makedb.c: ...here.
32064 Improve database format to be smaller and require less memory at
32065 runtime.
32066 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
32067 db anymore.
32068 * nss/nss_db/db-netgrp.c: Likewise.
32069 * nss/nss_db/db-open.c: Likewise.
32070 * nss/nss_files/flies-XXX.x: Adjust comments.
32071 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
32072 * nss/nss_files/files-grp.c: Likewise.
32073 * nss/nss_files/files-hosts.c: Likewise.
32074 * nss/nss_files/files-network.c: Likewise.
32075 * nss/nss_files/files-proto.c: Likewise.
32076 * nss/nss_files/files-pwd.c: Likewise.
32077 * nss/nss_files/files-rpc.c: Likewise.
32078 * nss/nss_files/files-service.c: Likewise.
32079 * nss/nss_files/files-sgrp.c: Likewise.
32080 * nss/nss_files/files-spwd.c: Likewise.
32081 * nss/nss_db/db-alias.c: Removed.
32082 * nss/nss_db/dummy-db.h: Removed.
32083
9ee76b5a
UD
320842011-06-02 Ulrich Drepper <drepper@gmail.com>
32085
32086 * nss/makedb.c: Rewritten to not use database library.
32087 * nss/Makefile: Update to build new makedb program.
32088
c71ca1f8
AJ
320892011-06-14 Andreas Jaeger <aj@suse.de>
32090
32091 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
32092 memset declaration.
32093
3154bfb8
UD
320942011-06-10 Andreas Schwab <schwab@redhat.com>
32095
32096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
32097 tmpbuf.
32098
b350afab
RM
320992011-06-10 Roland McGrath <roland@hack.frob.com>
32100
decd4e50
RM
32101 * Makerules (shlib.lds): Fail if the linker script comes out empty.
32102 * elf/Makefile ($(objpfx)ld.so): Likewise.
32103
5615eaf2
RM
32104 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
32105 Don't list ld.so twice in dependencies.
32106
32107 * posix/bug-regex31.c: Include <stdlib.h>.
32108
32109 * nscd/hstcache.c (cache_addhst): Remove unused variable.
32110
32111 * nis/nss_compat/compat-spwd.c
32112 (getspent_next_nss_netgr): Remove unused variable.
32113 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
32114
32115 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
32116 nonmembers" output to use the right array.
32117
32118 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
32119
32120 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
32121
32122 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
32123 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
32124 * catgets/gencat.c (read_input_file): Likewise.
32125 * locale/programs/locarchive.c (enlarge_archive): Likewise.
32126
32127 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
32128 variable definition inside #if's controlling its use.
32129
32130 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
32131
32132 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
32133
32134 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
32135
32136 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
32137 unreachable code.
32138
32139 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
32140
b68e08db
RM
32141 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
32142 * configure: Regenerated.
32143
b350afab
RM
32144 * Makerules: Revert last change.
32145 * elf/Makefile: Likewise.
32146
28368601
RM
321472011-06-09 Roland McGrath <roland@hack.frob.com>
32148
32149 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
32150 * elf/Makefile ($(objpfx)librtld.os): Likewise.
32151 (reloc-link): Likewise.
32152
11988f8f
UD
321532011-06-09 Ulrich Drepper <drepper@gmail.com>
32154
32155 * elf/Makefile: Add rules to build pldd.
32156 * elf/pldd.c: New file.
32157 * elf/pldd-xx.c: New file.
32158
e80fab37
UD
321592011-06-07 Ulrich Drepper <drepper@gmail.com>
32160
32161 * version.h: Update for 2.15 development version.
32162
9b849836
DM
321632011-06-07 David S. Miller <davem@davemloft.net>
32164
32165 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
32166 ifuncs.
32167 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
32168 elf_machine_lazy_rel): Likewise.
32169 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
32170 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
32171 elf_machine_lazy_rel): Likewise.
32172 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
32173 dl_hwcap via passed in argument.
32174 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
32175 Likewise.
32176
5a31b283
AK
321772011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32178
32179 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
32180
069e52f8
RM
321812011-06-06 Roland McGrath <roland@hack.frob.com>
32182
32183 [BZ #12849]
32184 * manual/fdl-1.1.texi: New file, verbatim from:
32185 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
32186 * manual/lgpl-2.1.texi: New file, verbatim from:
32187 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
32188 * manual/Makefile (licenses): New variable, list those new file names.
32189 (texis): Use it.
32190 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
32191
32192 * manual/fdl.texi: File removed.
32193 * manual/lesser.texi: File removed.
32194 * manual/libc.texinfo (Copying, Documentation License):
32195 Use new @include file names, put @appendix directive before @include.
32196
f16846a5
JJ
321972011-06-04 Jakub Jelinek <jakub@redhat.com>
32198
32199 [BZ #12841]
32200 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
32201 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
32202 (mq_open): Add __NTH.
32203
3d29045b
L
322042011-06-02 H.J. Lu <hongjiu.lu@intel.com>
32205
32206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32207 Assume Intel Core i3/i5/i7 processor if AVX is available.
32208
8c297311
UD
322092011-05-31 Ulrich Drepper <drepper@gmail.com>
32210
32211 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
32212 typo.
32213
c8fc0c91
UD
322142011-05-31 Andreas Schwab <schwab@redhat.com>
32215
32216 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
32217 memory. Use alloca_account. Fix memory leak when retrying.
32218
5b27a807
UD
322192011-05-31 Ulrich Drepper <drepper@gmail.com>
32220
356f8bc6
UD
32221 * version.h (RELEASE): Bump for 2.14 release.
32222 * include/features.h (__GLIBC_MINOR__): Bump to 14.
32223
5b27a807
UD
32224 * config.make.in (RANLIB): Remove entry.
32225
01f16ab0
UD
322262011-05-30 Ulrich Drepper <drepper@gmail.com>
32227
41fce8bd
UD
32228 * po/Makefile (po-sed-cmd): Add ksh to extensions.
32229 (libc.pot): Work around missing support for .ksh extension in xgettext.
32230
4769ae77
UD
32231 [BZ #12684]
32232 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
32233 if both request failed.
32234 (send_dg): In case of server errors clear resplen or *resplen2.
32235
6b1e7d19
UD
32236 [BZ #12454]
32237 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
32238 when there are multiple maps.
32239 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
32240 (_dl_fini): Remove test here.
32241
01f16ab0
UD
32242 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
32243
b1ebd700
UD
322442011-05-29 Ulrich Drepper <drepper@gmail.com>
32245
7ae22829
UD
32246 [BZ #12350]
32247 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
32248 bit from old_res_options.
32249 (gaih_inet): Likewise.
32250
553149f6 32251 [BZ #11099]
18a84741 32252 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
32253 as signed.
32254
652ffab1
UD
32255 * resolv/res_init.c (res_setoptions): Make the code more compact.
32256
16985fd0
UD
32257 [BZ #11558]
32258 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
32259 set RES_USEVC.
32260
0464f746
UD
32261 [BZ #11634]
32262 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
32263
7d17596c
UD
32264 * malloc/malloc.h: Mark malloc hook variables as deprecated.
32265
cf6bbbd7
UD
32266 [BZ #11781]
32267 * malloc/malloc.h: Declare malloc hook variables as volatile.
32268
13f1ab36
UD
32269 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
32270 in last patch.
32271
b1ebd700
UD
32272 [BZ #11799]
32273 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 32274 raise in the comment.
80e2212d
UD
32275 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
32276 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
32277 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 32278
ce67228d
UD
322792011-05-28 Ulrich Drepper <drepper@gmail.com>
32280
8887a920
UD
32281 [BZ #12811]
32282 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
32283 grow the buffers more if it already has to be sufficient.
32284 (build_wcs_upper_buffer): Likewise.
32285 * posix/regexec.c (check_matching): Likewise.
32286 (clean_state_log_if_needed): Likewise.
32287 (extend_buffers): Don't enlarge buffers beyond size of the input
32288 buffer.
32289 Patches mostly by Emil Wojak <emil@wojak.eu>.
32290 * posix/bug-regex32.c: New file.
32291 * posix/Makefile (tests): Add bug-regex32.
32292
4f031072
UD
32293 * locale/findlocale.c (_nl_find_locale): Return right away if
32294 _nl_explode_name failed.
32295 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32296
d0478f0c
UD
32297 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32298
de81b246
UD
32299 * debug/xtrace.sh: Unify messages.
32300 * malloc/memusage.sh: Likewise.
32301
c738465a
UD
32302 [BZ #12813]
32303 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32304 time symbol from vDSO. Substitute with vsyscall if not available.
32305 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32306 __vdso_time.
32307
f1f929d7
UD
32308 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32309 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32310 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32311 Add sendmmsg and internal_sendmmsg.
32312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32313 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32314 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32315
ce67228d
UD
32316 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32317 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32319
e57420c6
UD
323202011-05-27 Ulrich Drepper <drepper@gmail.com>
32321
a8509ca5
UD
32322 [BZ #12813]
32323 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32324 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32325 available.
32326 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32327 __vdso_getcpu.
32328
e57420c6
UD
32329 [BZ #12814]
32330 * iconvdata/Makefile (tests): Add bug-iconv9.
32331 * iconvdata/bug-iconv9.c: New file.
32332
4d07db15
AS
323332011-05-27 Andreas Schwab <schwab@redhat.com>
32334
32335 [BZ #12814]
32336 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32337
ea486f69
JJ
323382011-05-25 Jakub Jelinek <jakub@redhat.com>
32339
32340 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32341 (struct user_regs_struct): Change intcs field back to cs.
32342
6f038433
UD
323432011-05-25 Ulrich Drepper <drepper@gmail.com>
32344
32345 * po/ja.po: Update from translation team.
32346
67f86a25
UD
323472011-05-23 Ulrich Drepper <drepper@gmail.com>
32348
32349 [BZ #12795]
32350 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32351 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32352
def7fbd6
AS
323532011-05-20 Andreas Schwab <schwab@redhat.com>
32354
32355 * stdlib/longlong.h: Update from GCC.
32356
f50ef8f1
AS
323572011-05-23 Andreas Schwab <schwab@redhat.com>
32358
32359 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32360 parameter name.
32361 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32362 Add parameter name.
32363 (__sysconf): Pass it down.
32364
de7ce8f1
UD
323652011-05-22 Ulrich Drepper <drepper@gmail.com>
32366
f2962a71
UD
32367 [BZ #12671]
32368 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32369 some situations.
32370 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32371 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32372 add in in __libc_use_alloca calls. Adjust callers.
32373 (glob): Use malloc in some situations.
32374
de7ce8f1
UD
32375 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32376 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32377 pltexit.
32378
aec84f53
UD
323792011-05-21 Ulrich Drepper <drepper@gmail.com>
32380
05bb4a68
UD
32381 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32382 and CLOCK_BOOTTIME_ALARM.
32383
7ea72f99
UD
32384 [BZ #12782]
32385 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32386 is returned.
32387
7e4afad5
UD
32388 * string/_strerror.c (__strerror_r): Print negative errors as signed
32389 numbers.
32390
8e211fec
UD
32391 [BZ #12777]
32392 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32393 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32394 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32395
f7d82dc9
UD
32396 * configure.in: Fix typo in redirection and correct removal of test
32397 files in two cases.
32398
cc9e536d
UD
32399 [BZ #12788]
32400 * locale/setlocale.c (new_composite_name): Fix test to check for
32401 identical name of all categories.
32402
aec84f53
UD
32403 [BZ #12792]
32404 * libio/filedoalloc.c (local_isatty): New function.
32405 (_IO_file_doallocate): Use local_isatty.
32406 * stdio-common/perror.c (perror): In case a new stream is used
32407 forward the stream error.
32408 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32409 error flag.
32410
78e64fdc
RT
324112011-05-20 Ulrich Drepper <drepper@gmail.com>
32412
34a9094f
UD
32413 [BZ #11869]
32414 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32415 alloca.
32416 * include/alloca.h (extend_alloca_account): Define.
32417
78e64fdc
RT
32418 [BZ #11857]
32419 * posix/regex.h: Fix comments with documentation of user-accessible
32420 fields after compilation and describe correct free'ing of pattern
32421 after re_compile_pattern.
32422 Patch by Reuben Thomas <rrt@sc3d.org>.
32423
457bddfc
RA
324242011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32425
32426 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32427 and -mno-altivec to prevent the compiler from using Altivec and/or
32428 VSX instructions when the corresponding registers are not available.
32429
a4527b51
AS
324302011-05-19 Andreas Schwab <schwab@redhat.com>
32431
32432 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32433
ed690b2f
UD
324342011-05-19 Ulrich Drepper <drepper@gmail.com>
32435
32436 * libio/freopen.c (freopen): Use __dup2, not dup2.
32437 * libio/freopen64.c (freopen64): Likewise.
32438
8db73634
L
324392011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32440
32441 [BZ #12775]
32442 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32443 * math/Makefile (tests): Add test-powl.
32444 (CFLAGS-test-powl.c): Define.
32445 * math/test-powl.c: New file.
32446
0a197a9d
L
324472011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32448
32449 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32450
ee30c380
UD
324512011-05-17 Ulrich Drepper <drepper@gmail.com>
32452
32453 [BZ #11837]
32454 * iconvdata/gb18030.c: Update to GB18020-2005.
32455
6ce75379
UD
324562011-05-16 Ulrich Drepper <drepper@gmail.com>
32457
a4b89fd8
AR
32458 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32459 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32460 Patch by Aharon Robbins <arnold@skeeve.com>.
32461
ea389b12
UD
32462 [BZ #11892]
32463 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32464 on the stack.
32465
68a3f91f
UD
32466 [BZ #11895]
32467 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32468 through underflows.
32469
15cc7dd1
UD
32470 [BZ #12766]
32471 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32472 point to strings before performing equality test for error_one_per_line
32473 mode.
32474
f3799213
UD
32475 [BZ #11697]
32476 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32477
d79a9c94
UD
32478 [BZ #11820]
32479 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32480 (struct user_fpregs_struct): Avoid __uint*_t types.
32481
56e5eb46
UD
32482 [BZ #6420]
32483 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32484 symbol info. Use it instead of calling _dl_addr locally.
32485 (lock_and_info): New function.
32486 (tr_freehook): Call lock_and_info and pass symbol info as additional
32487 parameter to tr_where.
32488 (tr_mallochook): Likewise.
32489 (tr_reallochook): Likewise.
32490 (tr_memalignhook): Likewise.
32491
6ce75379
UD
32492 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32493 used and couldn't be at all thread-safe.
32494
f8a3b5bf
UD
324952011-05-15 Ulrich Drepper <drepper@gmail.com>
32496
94b7cc37
UD
32497 * libio/freopen.c (freopen): Don't close old file descriptor
32498 before the new one is opened. Instead dup the new file descriptor
32499 to the old one after the new stream is created.
32500 * libio/freopen64.c (freopen64): Likewise.
32501 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32502 * libio/fileops.c (_IO_new_file_close_it): Handle new
32503 _IO_FLAGS2_NOCLOSE flag.
32504 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32505 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32506 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32507 _IO_FLAGS2_NOCLOSE flag.
32508 * include/unistd.h: Add hidden_proto for dup3.
32509 Define __have_dup3.
32510 * io/dup3.c: Define hidden symbol.
32511 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32512
bd25564e
UD
32513 [BZ #7101]
32514 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32515 when an incomplete long option is used.
32516 * posix/tst-getopt_long1.c: New file.
32517 * posix/Makefile (tests): Add tst-getopt_long1.
32518
c84cfef4
UD
32519 [BZ #10138]
32520 * scripts/config.guess: Update from autoconf-2.68.
32521 * scripts/config.sub: Likewise.
32522
3b85df27
UD
32523 [BZ #10157]
32524 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32525 tests into ...
32526 (has_cpuclock): ...this. New function.
32527 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32528 macro here based on has_cpuclock code.
32529
15a856b1
UD
32530 [BZ #10149]
32531 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32532 First byte (not low byte) is now always NUL.
32533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32534
05f399e6
UD
32535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32536 Use non-cancelable interfaces.
32537
10a52685 32538 [BZ #9809]
94ecc67d
UD
32539 * locale/iso-639.def: Add entry for Sorani.
32540
f8a3b5bf
UD
32541 [BZ #11901]
32542 * include/stdlib.h: Move include protection to the right place.
32543 Define abort_msg_s. Declare __abort_msg with it.
32544 * stdlib/abort.c (__abort_msg): Adjust type.
32545 * assert/assert.c (__assert_fail_base): New function. Majority
32546 of code from __assert_fail. Allocate memory for __abort_msg with
32547 mmap.
32548 (__assert_fail): Now call __assert_fail_base.
32549 * assert/assert-perr.c: Remove bulk of implementation. Use
32550 __assert_fail_base.
32551 * include/assert.hL Declare __assert_fail_base.
32552 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32553 mmap.
32554 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32555
1af4e298
UD
325562011-05-14 Ulrich Drepper <drepper@gmail.com>
32557
f8a3b5bf 32558 [BZ #11952]
d26dfc60
MG
32559 [BZ #12453]
32560 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32561 until all modules are registered in the DTV.
32562 * elf/Makefile: Add rules to build and run tst-tls19.
32563 * elf/tst-tls19.c: New file.
32564 * elf/tst-tls19mod1.c: New file.
32565 * elf/tst-tls19mod2.c: New file.
32566 * elf/tst-tls19mod3.c: New file.
32567 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32568
2fc54d6f
UD
32569 [BZ #12083]
32570 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32571 correctly.
32572
98d76b46
UD
32573 [BZ #12601]
32574 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32575 two-byte sequence errors.
32576 * iconvdata/Makefile (tests): Add bug-iconv8.
32577 * iconvdata/bug-iconv8.c: New file.
32578
da3c19ef
UD
32579 [BZ #12626]
32580 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32581 buf2 definition.
32582
ca408c15
UD
32583 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32584
d6f67f7d
UD
32585 [BZ #12432]
32586 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32587 (dummy_getcfa): New function.
32588 (init): Get _Unwind_GetCFA address, use dummy if not found.
32589 (backtrace_helper): In recursion check, also check whether CFA changes.
32590 (__backtrace): Completely initialize arg.
32591
1af4e298 32592 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32593 storing incomplete byte sequence in state object. Avoid testing for
32594 guaranteed too small input if we know there is enough data available.
1af4e298 32595
da62f81b
AS
325962011-05-11 Andreas Schwab <schwab@redhat.com>
32597
32598 * Makeconfig (+link-pie): Indent.
32599 * Rules (binaries-pie): Define if $(have-fpie) and
32600 $(build-shared).
32601 (binaries-shared): Also filter out $(binaries-pie).
32602 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32603 * nscd/Makefile (others-pie): Add nscd.
32604 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32605 ($(objpfx)nscd): Remove command override.
32606 * login/Makefile (others-pie): Add pt_chown.
32607 ($(objpfx)pt_chown): Remove command override.
32608 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32609 remove command overrides.
32610
fcabc0f8
UD
326112011-05-13 Ulrich Drepper <drepper@gmail.com>
32612
20030ae6
UD
32613 * libio/tst_putwc.c: Fix error messages.
32614
fcabc0f8
UD
32615 [BZ #12724]
32616 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32617 currently writing and seek to current position when not.
32618 * libio/Makefile (tests): Add bug-fclose1.
32619 * libio/bug-fclose1.c: New file.
32620
320a5dc0
PB
326212011-05-12 Ulrich Drepper <drepper@gmail.com>
32622
32623 [BZ #12511]
32624 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32625 don't set DF_1_NODELETE here.
32626 (do_lookup_x): When entering new entry test for copy relocation
32627 and if necessary set DF_1_NODELETE flag.
32628 * elf/tst-unique4.cc: New file.
32629 * elf/tst-unique4.h: New file.
32630 * elf/tst-unique4lib.cc: New file.
32631 * elf/Makefile: Add rules to build and run tst-unique4.
32632 Patch by Piotr Bury <pbury@goahead.com>.
32633
22836f52
UD
326342011-05-11 Ulrich Drepper <drepper@gmail.com>
32635
f574184a
UD
32636 [BZ #12052]
32637 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32638
e1fb097f
UD
32639 [BZ #12625]
32640 * misc/mntent_r.c (addmntent): Flush the stream after the output
32641
22836f52
UD
32642 [BZ #12393]
32643 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32644 (is_trusted_path_normalize): Skip initial colon. Append slash
32645 to empty buffer. Duplicate is_trusted_path code but allow
32646 constructed patch to be prefix.
32647 (is_dst): Allow $ORIGIN followed by /.
32648 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32649 Correct testing of result of is_trusted_path_normalize
32650 (decompose_rpath): Fix warning.
32651
7b3b0b2a
UD
326522011-05-10 Ulrich Drepper <drepper@gmail.com>
32653
32654 [BZ #11257]
32655 * grp/initgroups.c (internal_getgrouplist): When we found the service
32656 list through the initgroups entry in nsswitch.conf do not always
32657 continue on a successful lookup. Don't always use the
eac80ce2 32658 __nss_group_database value if it is set.
7b3b0b2a
UD
32659 * nss/nsswitch.conf (initgroups): Change action for successful db
32660 lookup to continue for compatibility.
32661
2a81eaa5
UD
326622011-05-09 Ulrich Drepper <drepper@gmail.com>
32663
be97a69e
UD
32664 [BZ #11532]
32665 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32666 and CP774 modules.
32667 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32668 and CP774 modules.
32669 * iconvdata/tst-tables.sh: Likewise.
32670 * iconvdata/cp770.c: New file.
32671 * iconvdata/cp771.c: New file.
32672 * iconvdata/cp772.c: New file.
32673 * iconvdata/cp773.c: New file.
32674 * iconvdata/cp774.c: New file.
32675 * iconvdata/testdata/CP770: New file.
32676 * iconvdata/testdata/CP770..UTF8: New file.
32677 * iconvdata/testdata/CP771: New file.
32678 * iconvdata/testdata/CP771..UTF8: New file.
32679 * iconvdata/testdata/CP772: New file.
32680 * iconvdata/testdata/CP772..UTF8: New file.
32681 * iconvdata/testdata/CP773: New file.
32682 * iconvdata/testdata/CP773..UTF8: New file.
32683 * iconvdata/testdata/CP774: New file.
32684 * iconvdata/testdata/CP774..UTF8: New file.
32685
32686 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32687 END CHARMAP line.
32688 * iconvdata/gen-8bit-gap.sh: Likewise.
32689 * iconvdata/gen-8bit.sh: Likewise.
32690
c1e9e399
UD
32691 * locale/iso-639.def: Add ary entry.
32692
24c55fb3 32693 [BZ #11258]
96b4b1b0
UD
32694 * locale/C-translit.h.in: Add U20A1 transliteration.
32695
bdc2f971
KB
32696 [BZ #12178]
32697 * locale/iso-639.def: Add wae entry.
32698 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32699
2952b117
UD
32700 [BZ #12545]
32701 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32702 for n.
32703
2a81eaa5
UD
32704 [BZ #12711]
32705 * locale/C-translit.h.in: Add entry for U20B9.
32706 Patch by pravin.d.s@gmail.com.
32707
28377d1b
UD
327082011-05-08 Ulrich Drepper <drepper@gmail.com>
32709
7fb90fb8
UD
32710 [BZ #12713]
32711 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32712 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32713 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32714 in rtld. Use *stat64.
7fb90fb8 32715 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32716 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32717 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32718 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32719 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32720 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32721 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32722 __fstatat64 macros.
7fb90fb8
UD
32723 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32724 * dirent/rewinddir.c: Add libc_hidden_def.
32725 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32726 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32727
28377d1b
UD
32728 * include/dirent.h (__alloc_dir): Add flags parameter.
32729 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32730 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32731 __alloc_dir.
32732 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32733 from fdopendir if O_CLOEXEC is already set.
32734
66bdbaa4
AM
327352011-03-15 Alan Modra <amodra@gmail.com>
32736
32737 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32738 l_tls_firstbyte_offset non-zero. Save padding offset in
32739 l_tls_firstbyte_offset for later use.
32740 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32741 freeing static tls block.
32742
95721191
JN
327432011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32744
32745 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32746 where #ifdef was intended. The intent is to prevent ARG_MAX from
32747 being defined by the kernel headers.
32748
f87dfb1f
UD
327492011-05-07 Ulrich Drepper <drepper@gmail.com>
32750
32751 [BZ #12734]
32752 * resolv/resolv.h: Define RES_NOTLDQUERY.
32753 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32754 no-tld-query and set RES_NOTLDQUERY.
32755 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32756 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32757 modern BIND to search name as TLD unless forbidden.
32758
47c3cd7a
UD
327592011-05-07 Petr Baudis <pasky@suse.cz>
32760 Ulrich Drepper <drepper@gmail.com>
32761
32762 [BZ #12393]
32763 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32764 (is_trusted_path): ...to here.
c1e9ea35 32765 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32766 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32767 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32768
8a35c912
PP
327692011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32770
32771 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32772 __BEGIN/__END_DECLS.
32773
acd41f47
UD
327742011-05-06 Ulrich Drepper <drepper@gmail.com>
32775
32776 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32777 NSS_STATUS_NOTFOUND if no record was found.
32778
597df647
AS
327792011-05-05 Andreas Schwab <schwab@redhat.com>
32780
32781 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32782 (headers-not-in-tirpc): Remove rpc/netdb.h
32783 * resolv/netdb.h: Revert last change.
32784
b9af1301
PP
327852011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32786
32787 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32788 circular dependency between libgcc.a and libc.a.
32789
4e34d5f5
AS
327902011-05-05 Andreas Schwab <schwab@redhat.com>
32791
32792 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32793 * nis/Makefile: Don't install rpcsvc/*.
32794 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32795 instead of <rpc/types.h>.
32796 (MAXHOSTNAMELEN): Define.
32797
00ee369c
AS
327982011-05-03 Andreas Schwab <schwab@redhat.com>
32799
32800 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32801
0b592a30
MB
328022011-04-28 Maciej Babinski <mbabinski@google.com>
32803
32804 [BZ #12714]
32805 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32806 gethostbyname4_r when IPv6 results are possible.
32807
6e04cbbe
UD
328082011-05-02 Ulrich Drepper <drepper@gmail.com>
32809
32810 [BZ #12723]
32811 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32812 _PC_PIPE_BUF handling.
32813
e4ecafe0
BH
328142011-04-30 Bruno Haible <bruno@clisp.org>
32815
32816 [BZ #12717]
32817 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32818 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32819 to 'int'.
32820 * inet/getnameinfo.c (getnameinfo): Likewise.
32821
125ee683
UD
328222011-04-29 Ulrich Drepper <drepper@gmail.com>
32823
32824 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32825 to groups setting in database lookup.
32826 * nss/nsswitch.conf: Add initgroups entry.
32827
b722481a
EB
328282011-04-22 Ulrich Drepper <drepper@gmail.com>
32829
32830 [BZ #12685]
32831 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32832 mode string.
32833 Patch by Eric Blake <eblake@redhat.com>.
32834
4df46dbd
L
328352011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32836
32837 * sunrpc/Makefile (need-export-routines): Add svc_run.
32838 (routines): Remove svc_run.
32839 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32840 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32841 * sunrpc/svc_run.c (svc_run): Likewise.
32842 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32843
e84142d2
UD
328442011-04-21 Ulrich Drepper <drepper@gmail.com>
32845
32846 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32847 problem in reallocation in last patch.
32848
877175d8
UD
328492011-04-20 Ulrich Drepper <drepper@gmail.com>
32850
32851 * sunrpc/Makefile: Move inclusion of Rules.
32852
ab8eed78
UD
328532011-04-19 Ulrich Drepper <drepper@gmail.com>
32854
32855 * nss/nss_files/files-initgroups.c: New file.
32856 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32857 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32858 _nss_files_initgroups_dyn.
32859
e3d8f584
RS
328602011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32861
32862 * elf/elf.h (R_ARM_IRELATIVE): Define.
32863
af190f45
UD
328642011-04-19 Ulrich Drepper <drepper@gmail.com>
32865
32866 * po/ru.po: Update from translation team.
32867
53cf59ef
UD
328682011-04-17 Ulrich Drepper <drepper@gmail.com>
32869
32870 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32871 dependencies.
32872
4c559bcd
MF
328732011-02-06 Mike Frysinger <vapier@gentoo.org>
32874
32875 [BZ #12653]
32876 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32877 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32878 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32879 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32880 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32881
4420675c
AS
328822011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32883
32884 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32885 differing bytes.
32886 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32888 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32889
75ea32ab
UD
328902011-04-17 Ulrich Drepper <drepper@gmail.com>
32891
32892 [BZ #12420]
32893 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32894 storing it.
32895 * stdlib/bug-getcontext.c: New file.
32896 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32897
27390476
AK
328982011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32899
32900 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32901 instructions into .machine "z9-109".
32902 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32903 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32904
10442705
AK
329052011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32906
32907 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32908 between environment variables and auxiliary vector.
32909
7b57bfe5
UD
329102011-04-16 Ulrich Drepper <drepper@gmail.com>
32911
32912 * Makefile: Add rules to build linkobj/libc.so.
32913 * include/libc-symbols.h: Define libc_hidden_nolink.
32914 * include/rpc/auth.h: Mark functions which are to be hidden.
32915 * include/rpc/auth_des.h: Likewise.
32916 * include/rpc/auth_unix.h: Likewise.
32917 * include/rpc/clnt.h: Likewise.
32918 * include/rpc/des_crypt.h: Likewise.
32919 * include/rpc/key_prot.h: Likewise.
32920 * include/rpc/pmap_clnt.h: Likewise.
32921 * include/rpc/pmap_prot.h: Likewise.
32922 * include/rpc/pmap_rmt.h: Likewise.
32923 * include/rpc/rpc_msg.h: Likewise.
32924 * include/rpc/svc.h: Likewise.
32925 * include/rpc/svc_auth.h: Likewise.
32926 * include/rpc/xdr.h: Likewise.
32927 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32928 * nss/Makefile: Likewise.
32929 * sunrpc/Makefile: Don't install headers. Build library with normal
32930 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32931 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32932 for the compat linking library. Remove use of INTDEF/INTUSE.
32933 * sunrpc/auth_none.c: Likewise.
32934 * sunrpc/auth_unix.c: Likewise.
32935 * sunrpc/authdes_prot.c: Likewise.
32936 * sunrpc/authuxprot.c: Likewise.
32937 * sunrpc/clnt_gen.c: Likewise.
32938 * sunrpc/clnt_perr.c: Likewise.
32939 * sunrpc/clnt_raw.c: Likewise.
32940 * sunrpc/clnt_simp.c: Likewise.
32941 * sunrpc/clnt_tcp.c: Likewise.
32942 * sunrpc/clnt_udp.c: Likewise.
32943 * sunrpc/clnt_unix.c: Likewise.
32944 * sunrpc/des_crypt.c: Likewise.
32945 * sunrpc/des_soft.c: Likewise.
32946 * sunrpc/get_myaddr.c: Likewise.
32947 * sunrpc/key_call.c: Likewise.
32948 * sunrpc/key_prot.c: Likewise.
32949 * sunrpc/netname.c: Likewise.
32950 * sunrpc/pm_getmaps.c: Likewise.
32951 * sunrpc/pm_getport.c: Likewise.
32952 * sunrpc/pmap_clnt.c: Likewise.
32953 * sunrpc/pmap_prot.c: Likewise.
32954 * sunrpc/pmap_prot2.c: Likewise.
32955 * sunrpc/pmap_rmt.c: Likewise.
32956 * sunrpc/publickey.c: Likewise.
32957 * sunrpc/rpc_cmsg.c: Likewise.
32958 * sunrpc/rpc_common.c: Likewise.
32959 * sunrpc/rpc_dtable.c: Likewise.
32960 * sunrpc/rpc_prot.c: Likewise.
32961 * sunrpc/rpc_thread.c: Likewise.
32962 * sunrpc/rtime.c: Likewise.
32963 * sunrpc/svc.c: Likewise.
32964 * sunrpc/svc_auth.c: Likewise.
32965 * sunrpc/svc_authux.c: Likewise.
32966 * sunrpc/svc_raw.c: Likewise.
32967 * sunrpc/svc_run.c: Likewise.
32968 * sunrpc/svc_simple.c: Likewise.
32969 * sunrpc/svc_tcp.c: Likewise.
32970 * sunrpc/svc_udp.c: Likewise.
32971 * sunrpc/svc_unix.c: Likewise.
32972 * sunrpc/svcauth_des.c: Likewise.
32973 * sunrpc/xcrypt.c: Likewise.
32974 * sunrpc/xdr.c: Likewise.
32975 * sunrpc/xdr_array.c: Likewise.
32976 * sunrpc/xdr_float.c: Likewise.
32977 * sunrpc/xdr_intXX_t.c: Likewise.
32978 * sunrpc/xdr_mem.c: Likewise.
32979 * sunrpc/xdr_rec.c: Likewise.
32980 * sunrpc/xdr_ref.c: Likewise.
32981 * sunrpc/xdr_sizeof.c: Likewise.
32982 * sunrpc/xdr_stdio.c: Likewise.
32983
e6c61494
UD
329842011-04-10 Ulrich Drepper <drepper@gmail.com>
32985
32986 [BZ #12650]
32987 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32988 * sysdeps/ia64/dl-tls.h: Likewise.
32989 * sysdeps/powerpc/dl-tls.h: Likewise.
32990 * sysdeps/s390/dl-tls.h: Likewise.
32991 * sysdeps/sh/dl-tls.h: Likewise.
32992 * sysdeps/sparc/dl-tls.h: Likewise.
32993 * sysdeps/x86_64/dl-tls.h: Likewise.
32994 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32995
34fe483e
AS
329962011-03-14 Andreas Schwab <schwab@redhat.com>
32997
32998 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32999 rpath element also skip the following colon.
33000 (expand_dynamic_string_token): Add is_path parameter and pass
33001 down to DL_DST_REQUIRED and _dl_dst_substitute.
33002 (decompose_rpath): Call expand_dynamic_string_token with
33003 non-zero is_path. Ignore empty rpaths.
33004 (_dl_map_object_from_fd): Call expand_dynamic_string_token
33005 with zero is_path.
33006
f12a32e6
AS
330072011-04-08 Andreas Schwab <schwab@linux-m68k.org>
33008
33009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33010 Make cancelable.
33011
38a7d692
UD
330122011-04-09 Ulrich Drepper <drepper@gmail.com>
33013
33014 [BZ #12655]
33015 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
33016 Patch by Filipe David Manana <fdmanana@apache.org>.
33017
e451d22b
AS
330182011-04-07 Andreas Schwab <schwab@redhat.com>
33019
33020 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
33021 Maintain aligned stack.
33022 (CHECK_RSP): Remove unused macro.
33023
dedc7c7b
UD
330242011-04-03 Ulrich Drepper <drepper@gmail.com>
33025
33026 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
33027 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
33028
94521213
UD
330292011-04-02 Ulrich Drepper <drepper@gmail.com>
33030
33031 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
33032
8cb700c0 33033 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 33034
0354e355
L
330352011-03-26 H.J. Lu <hongjiu.lu@intel.com>
33036
33037 [BZ #12518]
33038 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
33039 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
33040 * sysdeps/x86_64/memmove.c: New file.
33041 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
33042 (memcpy): Renamed to ...
33043 (__new_memcpy): This.
33044 (memcpy): Provide GLIBC_2_14 memcpy.
33045 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
33046 (memcpy): Provide GLIBC_2_2_5 memcpy.
33047
8593482f
UD
330482011-04-01 Ulrich Drepper <drepper@gmail.com>
33049
33050 [BZ #12631]
33051 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
33052
81a5726b
AS
330532011-03-30 Andreas Schwab <schwab@redhat.com>
33054
33055 * misc/syncfs.c: New file.
33056 * misc/Makefile (routines): Add syncfs.
33057 * posix/unistd.h: Declare syncfs.
33058 * sysdeps/unix/syscalls.list: Add syncfs.
33059
00e5419f
AS
330602011-04-01 Andreas Schwab <schwab@redhat.com>
33061
33062 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
33063 open_by_handle_at.
33064 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
33065 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33066 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33069 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
33070 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33071
748876bf
UD
330722011-04-01 Ulrich Drepper <drepper@gmail.com>
33073
658e451d
UD
33074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
33075 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33076 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
33077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33079 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33080 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33081
748876bf
UD
33082 * io/Makefile: Compile fallocate.c, fallocate64.c, and
33083 sync_file_range.c with -fexceptions.
33084 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
33085 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
33086 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
33087 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
33088 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
33089 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33090 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
33091 sync_file_range as cancellation point
33092 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
33093 now a wrapper around __call_sync_file_range with cancellation handling.
33094 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
33095 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
33096 function name to __call_sync_file_range.
33097 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
33098 Add call_sync_file_range.
748876bf 33099
6e63d5e1
AS
331002011-04-01 Andreas Schwab <schwab@redhat.com>
33101
33102 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 33103 bits/timex.h.
6e63d5e1 33104
46998f74
UD
331052011-04-01 Ulrich Drepper <drepper@gmail.com>
33106
4c1423ed
UD
33107 * iconv/iconv.h: Fix typo in comment.
33108 * io/fcntl.h: Likewise.
33109 * libio/stdio.h: Likewise.
33110 * posix/spawn.h: Likewise.
33111 * posix/unistd.h: Likewise.
33112 * stdlib/stdlib.h: Likewise.
33113 * time/time.h: Likewise.
33114 * wcsmbs/wchar.h: Likewise.
33115
158648c0
UD
33116 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
33117 open_by_handle): Add.
33118 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
33119 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
33120 Augment a few comments.
33121 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
33122 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
33123 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
33124 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
33125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
33126 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
33127 open_by_handle.
33128
46998f74
UD
33129 * io/fcntl.h (AT_EMPTY_PATH): Define.
33130
83fe108b
UD
331312011-03-30 Ulrich Drepper <drepper@gmail.com>
33132
33133 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
33134 * sysdeps/unix/sysv/linux/bits/time.h: New file.
33135 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
33136 to...
33137 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
33138 * Versions.def: Add GLIBC_2.14.
33139 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
33140 Export.
83fe108b 33141
bb242059
UD
331422011-03-22 Ulrich Drepper <drepper@gmail.com>
33143
33144 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
33145 round counter.
33146 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33147
c97a1282
L
331482011-03-20 H.J. Lu <hongjiu.lu@intel.com>
33149
33150 [BZ #12597]
33151 * string/test-strncmp.c (do_page_test): New function.
33152 (check2): Likewise.
33153 (test_main): Call check2.
33154 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
33155
2a115601
UD
331562011-03-20 Ulrich Drepper <drepper@gmail.com>
33157
33158 [BZ #12587]
33159 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
33160 Handle cache information in CPU leaf 4.
33161 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
33162
8126d904
UD
331632011-03-18 Ulrich Drepper <drepper@gmail.com>
33164
042c49c6 33165 [BZ #12583]
8126d904
UD
33166 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
33167 character representation.
33168 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
33169
ccfe366e
RA
331702011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
33171
33172 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
33173 END(__isnan) to END(__isnanf) to match function entry point/label
33174 EALIGN(__isnanf,...).
33175
c6e13027
JJ
331762011-03-10 Jakub Jelinek <jakub@redhat.com>
33177
33178 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
33179
33f85a3f
UD
331802011-03-10 Ulrich Drepper <drepper@gmail.com>
33181
028478fa
UD
33182 [BZ #12510]
33183 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
33184 copy from the symbol referenced in the relocation to initialize the
33185 used variable.
33186 Patch by Piotr Bury <pbury@goahead.com>.
33187 * elf/Makefile: Add rules to build and tst-unique3.
33188 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
33189 * elf/tst-unique3.cc: New file.
33190 * elf/tst-unique3.h: New file.
33191 * elf/tst-unique3lib.cc: New file.
33192 * elf/tst-unique3lib2.cc: New file.
33193
33f85a3f
UD
33194 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
33195
03592fc7
MF
331962011-03-10 Mike Frysinger <vapier@gentoo.org>
33197
33198 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
33199 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
33200 to _start.
03592fc7 33201
6a5ee102
UD
332022011-03-06 Ulrich Drepper <drepper@gmail.com>
33203
33204 * elf/dl-load.c (_dl_map_object): If we are looking for the first
33205 to-be-loaded object along a path to loader is ld.so.
33206
7e4ba49c
HJ
332072011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33208 Ulrich Drepper <drepper@gmail.com>
33209
33210 * sysdeps/x86_64/memset.S: After aligning destination, code
33211 branches to different locations depending on the value of
33212 misalignment, when multiarch is enabled. Fix this.
33213
332142011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
33215
33216 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
33217 Set _x86_64_preferred_memory_instruction for AMD processsors.
33218 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33219 Set bit_Prefer_SSE_for_memop for AMD processors.
33220
13a804de
UD
332212011-03-04 Ulrich Drepper <drepper@gmail.com>
33222
33223 * libio/fmemopen.c (fmemopen): Optimize a bit.
33224
9d25c392
AS
332252011-03-03 Andreas Schwab <schwab@redhat.com>
33226
33227 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
33228
a5543c6a
RM
332292011-03-03 Roland McGrath <roland@redhat.com>
33230
33231 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
33232
012d35f7
DM
332332011-02-28 Aurelien Jarno <aurelien@aurel32.net>
33234
7e4ba49c 33235 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
33236 __bzero_ultra1 instead of __memset_ultra1.
33237
4bff6e01
AS
332382011-02-23 Andreas Schwab <schwab@redhat.com>
33239 Ulrich Drepper <drepper@gmail.com>
33240
33241 [BZ #12509]
33242 * include/link.h (struct link_map): Add l_orig_initfini.
33243 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
33244 returning unsuccessfully.
33245 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
33246 close of a file loaded at startup, restore the original l_initfini
33247 list.
33248 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
33249 list, store the pointer.
33250 * elf/Makefile ($(objpfx)noload-mem): New rule.
33251 (noload-ENV): Define.
33252 (tests): Add $(objpfx)noload-mem.
33253 * elf/noload.c: Include <memcheck.h>.
33254 (main): Call mtrace. Close all opened handles.
33255
f2092faf
AS
332562011-02-17 Andreas Schwab <schwab@redhat.com>
33257
33258 [BZ #12454]
33259 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
33260 dependencies are missing.
33261
6c8a2e88
ST
332622011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
33263
f2092faf 33264 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
33265 Hurd needs munmap.
33266 * sysdeps/mach/hurd/ifreq.h: New file.
33267
84a42118
PB
332682011-01-27 Petr Baudis <pasky@suse.cz>
33269 Ulrich Drepper <drepper@gmail.com>
33270
071f805e 33271 [BZ 12445]#
84a42118
PB
33272 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
33273 to extend_alloca().
33274 * stdio-common/bug23.c: New file.
33275 * stdio-common/Makefile (tests): Add bug23.
33276
e23fe25b
AS
332772010-09-28 Andreas Schwab <schwab@redhat.com>
33278 Ulrich Drepper <drepper@gmail.com>
33279
33280 [BZ #12489]
33281 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
33282 before performing relro protection. At old place add assertion
33283 to make sure nothing changed.
33284
d3f02e10
NS
332852011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33286 Glauber de Oliveira Costa <glommer@gmail.com>
33287
33288 * elf/elf.h: Add new ARM TLS relocs.
33289
d55fd7a5
RA
332902011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33291
33292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33293 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33294 cast from r3.
33295 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33296 'tests' variable.
33297 * sysdeps/wordsize-64/tst-writev.c: New file.
33298
2206397e
RA
332992011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33300
33301 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33302 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33303 insns in _dl_start to prevent a TOC reference before relocs are
33304 resolved.
33305
e9433893
UD
333062011-02-15 Ulrich Drepper <drepper@gmail.com>
33307
33308 [BZ #12469]
33309 * Makeconfig: Remove RANLIB definition.
33310 * Makerules: Don't use RANLIB.
33311 * aclocal.m4: Remove ranlib test.
33312 * configure.in: No need to check for ranlib.
33313 * elf/rtld-Rules: Don't use RANLIB.
33314
f75286c6
ST
333152011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33316
8e31c82d
ST
33317 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33318 protection macro.
33319 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33320 inclusion protection macro.
33321
f75286c6
ST
33322 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33323 SIGRTMIN and SIGRTMAX and print information in that case only when
33324 SIGRTMIN is defined.
33325
c1d0e639
JJ
333262011-02-11 Jakub Jelinek <jakub@redhat.com>
33327
33328 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33329 arginfo fn returning -1.
33330
33331 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33332 and thousands string is zero terminated.
33333
edf9294e
AS
333342011-02-03 Andreas Schwab <schwab@redhat.com>
33335
33336 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33337 sysdeps/unix/sysv/linux/bits/socket.h.
33338
2b7e92df
ST
333392011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33340
edf9294e
AS
33341 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33342 (__CPU_COUNT): Remove old macros.
33343 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33344 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33345 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33346 (__sched_cpualloc, __sched_cpufree): Add declarations.
33347
a4c7ea7b
UD
333482011-02-05 Ulrich Drepper <drepper@gmail.com>
33349
33350 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33351 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33352 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33353 (readdhstai): Return value of addhstaiX call.
33354 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33355 (addgrbyX): Return value returned by cache_addgr.
33356 (readdgrbyname): Return value returned by addgrbyX.
33357 (readdgrbygid): Likewise.
33358 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33359 (addpwbyX): Return value returned by cache_addpw.
33360 (readdpwbyname): Return value returned by addhstbyX.
33361 (readdpwbyuid): Likewise.
33362 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33363 (addservbyX): Return value returned by cache_addserv.
33364 (readdservbyname): Return value returned by addservbyX:
33365 (readdservbyport): Likewise.
33366 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33367 (addhstbyX): Return value returned by cache_addhst.
33368 (readdhstbyname): Return value returned by addhstbyX.
33369 (readdhstbyaddr): Likewise.
33370 (readdhstbynamev6): Likewise.
33371 (readdhstbyaddrv6): Likewise.
33372 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33373 (readdinitgroups): Return value returned by addinitgroupsX.
33374 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33375 (prune_cache): Keep track of timeout value of re-added entries.
33376 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33377 * nscd/nscd.h: Adjust prototypes of readd* functions.
33378
a0bf67cc
RM
333792011-02-04 Roland McGrath <roland@redhat.com>
33380
33381 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33382 (nis_stats): Likewise.
33383 * nis/nis_modify.c (nis_modify): Likewise.
33384 * nis/nis_remove.c (nis_remove): Likewise.
33385 * nis/nis_add.c (nis_add): Likewise.
33386
33387 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33388
33389 * posix/fnmatch_loop.c: Add some consts.
33390
33391 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33392
435b95eb
L
333932011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33394
33395 [BZ #12460]
33396 * config.make.in (config-cflags-novzeroupper): Define.
33397 * configure.in: Substitute libc_cv_cc_novzeroupper.
33398 * elf/Makefile (AVX-CFLAGS): Define.
33399 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33400 (CFLAGS-tst-auditmod4a.c): Likewise.
33401 (CFLAGS-tst-auditmod4b.c): Likewise.
33402 (CFLAGS-tst-auditmod6b.c): Likewise.
33403 (CFLAGS-tst-auditmod6c.c): Likewise.
33404 (CFLAGS-tst-auditmod7b.c): Likewise.
33405 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33406
8517b15e
UD
334072011-02-02 Ulrich Drepper <drepper@gmail.com>
33408
33409 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33410 function to the callback.
33411 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33412
10a656fe
AS
334132011-02-02 Andreas Schwab <schwab@redhat.com>
33414
33415 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33416 of errno.
33417
968dad0a
UD
334182011-01-19 Ulrich Drepper <drepper@gmail.com>
33419
9f94d2ea 33420 [BZ #11724]
968dad0a
UD
33421 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33422 of constructors.
33423 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33424 of destructors.
33425 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33426
33427 [BZ #11724]
33428 * elf/Makefile: Add rules to build and run new test.
33429 * elf/tst-initorder.c: New file.
33430 * elf/tst-initorder.exp: New file.
33431 * elf/tst-initordera1.c: New file.
33432 * elf/tst-initordera2.c: New file.
33433 * elf/tst-initordera3.c: New file.
33434 * elf/tst-initordera4.c: New file.
33435 * elf/tst-initorderb1.c: New file.
33436 * elf/tst-initorderb2.c: New file.
33437 * elf/tst-order-a1.c: New file.
33438 * elf/tst-order-a2.c: New file.
33439 * elf/tst-order-a3.c: New file.
33440 * elf/tst-order-a4.c: New file.
33441 * elf/tst-order-b1.c: New file.
33442 * elf/tst-order-b2.c: New file.
33443 * elf/tst-order-main.c: New file.
33444 New test case by George Gensure <werkt0@gmail.com>.
33445
86e92359
UD
334462010-10-01 Andreas Schwab <schwab@redhat.com>
33447
33448 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33449 decoding ACE if AI_CANONIDN.
33450
5d5732b0
UD
334512011-01-18 Ulrich Drepper <drepper@gmail.com>
33452
33453 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33454
a77e8cbc
UD
334552011-01-17 Ulrich Drepper <drepper@gmail.com>
33456
6392473f
UD
33457 * version.h (RELEASE): Bump for 2.13 release.
33458 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33459
620a0529
UD
33460 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33461
18ba70a5
UD
33462 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33463 MADV_NOHUGEPAGE.
32465c3e
UD
33464 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33465 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33466 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33467 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33469 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33470
c0dafcf1
UD
33471 * posix/getconf.c: Update copyright year.
33472 * catgets/gencat.c: Likewise.
33473 * csu/version.c: Likewise.
33474 * debug/catchsegv.sh: Likewise.
33475 * debug/xtrace.sh: Likewise.
33476 * elf/ldconfig.c: Likewise.
33477 * elf/ldd.bash.in: Likewise.
33478 * elf/sprof.c (print_version): Likewise.
33479 * iconv/iconv_prog.c: Likewise.
33480 * iconv/iconvconfig.c: Likewise.
33481 * locale/programs/locale.c: Likewise.
33482 * locale/programs/localedef.c: Likewise.
33483 * malloc/memusage.sh: Likewise.
33484 * malloc/mtrace.pl: Likewise.
33485 * nscd/nscd.c (print_version): Likewise.
33486 * nss/getent.c: Likewise.
33487
a77e8cbc
UD
33488 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33489 PF_CAIF, and PF_ALG.
33490 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33491
77e8bddf
AS
334922011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33493
1f20b93a
AS
33494 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33495 (modules-names): Use them.
33496 (ifunc-test-modules, ifunc-pie-tests): Define.
33497 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33498 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33499 (test-extras): Likewise.
33500 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33501 $(compile-command.c).
33502 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33503 (all-built-dso): Define.
33504 (check-textrel.out, check-execstack.out): Depend on it.
33505
77e8bddf
AS
33506 * configure.in: Don't override --enable-multi-arch.
33507
bc425b33
UD
335082011-01-15 Ulrich Drepper <drepper@gmail.com>
33509
33510 [BZ #6812]
33511 * nscd/hstcache.c (tryagain): Define.
33512 (cache_addhst): Return tryagain not notfound for temporary errors.
33513 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33514 failed.
33515
794c3ad3
UD
335162011-01-14 Ulrich Drepper <drepper@gmail.com>
33517
70181fdd
UD
33518 [BZ #10563]
33519 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33520 to make the syscall.
33521 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33522
794c3ad3
UD
33523 [BZ #12378]
33524 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33525 and fall back to matching as normal character if the string ends before
33526 the matching ']' is found. This is what POSIX requires.
33527 * posix/testfnm.c: Adjust test result.
33528 * posix/globtest.sh: Adjust test result. Add new test.
33529 * posix/tst-fnmatch.input: Likewise.
33530 * posix/tst-fnmatch2.c: Add new test.
33531
68dc9497
AS
335322010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33533
33534 * elf/Makefile (check-execstack): Revert last change. Depend on
33535 check-execstack.h.
33536 (check-execstack.h): New target.
33537 (generated): Add check-execstack.h.
33538 * elf/check-execstack.c: Include "check-execstack.h".
33539 (main): Revert last change.
33540 (handle_file): Return zero if GNU_STACK is absent and
33541 DEFAULT_STACK_PERMS doesn't include PF_X.
33542
451f001b
UD
335432011-01-13 Ulrich Drepper <drepper@gmail.com>
33544
cfa28e56
UD
33545 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33546 in child fails because the descriptor is already closed.
8cf8ce17
UD
33547 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33548 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33549 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33550
1086d70d
UD
33551 [BZ #12397]
33552 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33553 syscall.
33554
451f001b
UD
33555 [BZ #10484]
33556 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33557 temporary buffer used to handle multi lookups locally.
a85b5cb4 33558 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33559
08769175
UD
335602011-01-12 Ulrich Drepper <drepper@gmail.com>
33561
33562 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33563 loader is ld.so.
33564
5e49c52e
UD
335652011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33566
33567 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33568 alignment for SSE2.
33569
60522a5f
UD
335702011-01-12 Ulrich Drepper <drepper@gmail.com>
33571
33572 [BZ #12394]
33573 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33574 characters. When rounding increased number of integer digits recompute
33575 number of groups.
33576 * stdio-common/tst-grouping.c: New file.
33577 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33578
f257bbd7
UD
335792011-01-09 Ulrich Drepper <drepper@gmail.com>
33580
33581 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33582 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33583
33584 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33585 void.
33586 * bits/select.h: Likewise.
33587
fa9c15cb
UD
335882011-01-08 Ulrich Drepper <drepper@gmail.com>
33589
33590 * po/ja.po: Update from translation team.
33591
16c2895f
DM
335922011-01-04 David S. Miller <davem@sunset.davemloft.net>
33593
33594 [BZ #11155]
33595 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33596 implementation just like for lxstat, fxstatat, et al.
33597
2543fef2
JM
335982010-12-27 Jim Meyering <meyering@redhat.com>
33599
33600 [BZ #12348]
33601 * posix/regexec.c (build_trtable): Return failure indication upon
33602 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33603
98727dbe
UD
336042010-12-25 Ulrich Drepper <drepper@gmail.com>
33605
5bd6dc5c
UD
33606 [BZ #12201]
33607 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33608 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33609 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33610 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33611
97983464
UD
33612 [BZ #12207]
33613 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33614
98727dbe
UD
33615 [BZ #12204]
33616 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33617 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33618
4a531bb0
L
336192010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33620
33621 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33622 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33623 script has SORT_BY_INIT_PRIORITY.
33624 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33625 NO_CTORS_DTORS_SECTIONS is defined.
33626 * elf/soinit.c: Likewise.
33627 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33628 NO_CTORS_DTORS_SECTIONS is defined.
33629 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33630 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33631 * sysdeps/sh/init-first.c: Likewise.
33632 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33633
07eb4b71
UD
336342010-12-24 Ulrich Drepper <drepper@gmail.com>
33635
33636 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33637 always use the slow path.
33638
30950a5f
RA
336392010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33640
33641 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33642 similar rule which adds the sysdep directories to the header search in
33643 order to pick up the correct platform stackinfo.h.
33644 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33645 perform test if it is, otherwise return successfully without testing.
33646 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33647 DEFAULT_STACK_PERMS define in stackinfo.h.
33648 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33649 defined in stackinfo.h.
33650 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33651 DEFAULT_STACK_PERMS defined in stackinfo.h.
33652 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33653 * sysdeps/ia64/stackinfo.h: Likewise.
33654 * sysdeps/s390/stackinfo.h: Likewise.
33655 * sysdeps/sh/stackinfo.h: Likewise.
33656 * sysdeps/sparc/stackinfo.h: Likewise.
33657 * sysdeps/x86_64/stackinfo.h: Likewise.
33658 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33659 PF_X for powerpc64. Retain PF_X for powerpc32.
33660
db753e2c
UD
336612010-12-19 Ulrich Drepper <drepper@gmail.com>
33662
14b697f7
UD
33663 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33664 accurately.
db753e2c
UD
33665 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33666 GETDENTS_64BIT_ALIGNED.
33667
28300719
UD
336682010-12-14 Ulrich Drepper <dreper@gmail.com>
33669
14b697f7 33670 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33671
4f197237
AS
336722010-12-10 Andreas Schwab <schwab@redhat.com>
33673
dbb0472f
AS
33674 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33675 _GNU_SOURCE.
33676
4f197237
AS
33677 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33678 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33679 Remove __restrict.
33680 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33681 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33682
fb88ac72
UD
336832010-12-09 Ulrich Drepper <drepper@gmail.com>
33684
33685 [BZ #11655]
33686 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33687 are initialized.
33688
42acbb92
JJ
336892010-12-09 Jakub Jelinek <jakub@redhat.com>
33690
33691 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33692
c038d98d
UD
336932010-12-03 Ulrich Drepper <drepper@gmail.com>
33694
33695 * po/it.po: Update from translation team.
33696
3a4a2499
L
336972010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33698
33699 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33700 unused codes.
33701
1e24cf6e
UD
337022010-11-30 Ulrich Drepper <drepper@gmail.com>
33703
33704 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33705
a7690819
AS
337062010-11-24 Andreas Schwab <schwab@redhat.com>
33707
33708 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33709 specially.
33710 (gaih_getanswer_slice): Likewise.
33711
3bf8d1b1
JJ
337122010-10-20 Jakub Jelinek <jakub@redhat.com>
33713
33714 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33715
6db52fbb
PB
337162010-05-31 Petr Baudis <pasky@suse.cz>
33717
33718 [BZ #11149]
33719 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33720 silently even in the chroot mode.
33721
eaca7569
UD
337222010-11-22 Ulrich Drepper <drepper@gmail.com>
33723
33724 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33725 last patch a bit. Pretty printing
33726
3056dcdb
UD
337272010-05-31 Petr Baudis <pasky@suse.cz>
33728
33729 [BZ #10085]
33730 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33731 initialization of skip_initgroups_dyn.
33732
cf7c9078
UD
337332010-11-19 Ulrich Drepper <drepper@gmail.com>
33734
33735 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33736 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33737
a1fb5e3e
UD
337382010-11-16 Ulrich Drepper <drepper@gmail.com>
33739
33740 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33741
3540d66b
AS
337422010-11-11 Andreas Schwab <schwab@redhat.com>
33743
33744 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33745 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33746 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33747 ($(objpfx)tst-fnmatch-mem): New rule.
33748 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33749 * posix/tst-fnmatch.c (main): Call mtrace.
33750
13b69574
L
337512010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33752
33753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33754 Support Intel processor model 6 and model 0x2c.
33755
da93d214
LM
337562010-11-10 Luis Machado <luisgpm@br.ibm.com>
33757
33758 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33759 signed comparison.
33760
8ca52c6e
L
337612010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33762
33763 [BZ #12205]
33764 * string/test-strncasecmp.c (check_result): New function.
33765 (do_one_test): Use it.
33766 (check1): New function.
33767 (test_main): Use it.
33768 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33769 Support strcasecmp and strncasecmp.
33770
69da074d
UD
337712010-11-08 Ulrich Drepper <drepper@gmail.com>
33772
33773 [BZ #12194]
33774 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33776
ff02d528
L
337772010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33778
33779 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33780 IFUNC support.
33781 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33782 memset-x86-64.
33783 * sysdeps/x86_64/multiarch/bzero.S: New file.
33784 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33785 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33786 * sysdeps/x86_64/multiarch/memset.S: New file.
33787 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33788 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33789 Set bit_Prefer_SSE_for_memop for Intel processors.
33790 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33791 Define.
33792 (index_Prefer_SSE_for_memop): Define.
33793 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33794
344d0b54
LM
337952010-11-04 Luis Machado <luisgpm@br.ibm.com>
33796
33797 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33798 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33799
c0dde15b
UD
338002010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33801
33802 [BZ #12191]
33803 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33804 (__x86_64_raw_data_cache_size_half): Likewise.
33805 (__x86_64_raw_shared_cache_size): Likewise.
33806 (__x86_64_raw_shared_cache_size_half): Likewise.
33807
33808 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33809 (__x86_64_raw_data_cache_size_half): Likewise.
33810 (__x86_64_raw_shared_cache_size): Likewise.
33811 (__x86_64_raw_shared_cache_size_half): Likewise.
33812 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33813 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33814 and __x86_64_raw_shared_cache_size_half. Round
33815 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33816 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33817 to multiple of 256 bytes.
33818
0e516e0e
MS
338192010-11-03 Ulrich Drepper <drepper@gmail.com>
33820
33821 [BZ #12167]
33822 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33823 of inacessible symlinks. Verify result of symlink before returning it.
33824 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33825 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33826
0e012e87
ER
338272010-10-28 Erich Ritz <erichritz@gmail.com>
33828
33829 * math/math.h (isinf): Fix typo in comment.
33830
de0ff7bc
UD
338312010-11-01 Ulrich Drepper <drepper@gmail.com>
33832
33833 * po/da.po: Update from translation team.
33834
fa41c84d
UD
338352010-10-26 Ulrich Drepper <drepper@gmail.com>
33836
33837 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33838 is added to the list.
33839
f0967738
AK
338402010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33841 Ulrich Drepper <drepper@gmail.com>
33842
33843 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33844 the global list here. Move code to...
33845 (_dl_add_to_namespace_list): ...here. New function.
33846 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33847 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33848 * elf/dl-load.c (lose): Don't remove the element from the list.
33849 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33850 (_dl_map_object): Likewise.
33851
338522010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33853
33854 [BZ #12159]
33855 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33856 into all bytes of SSE register.
33857 Patch by Richard Li <richardpku@gmail.com>.
33858
f0967738 338592010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33860
33861 [BZ #12140]
33862 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33863 perturbing.
33864
d0b9e94f
MB
338652010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33866
33867 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33868 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33869 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33870 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33872 submachine.
33873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33874
8e9f92e9
AS
338752010-10-22 Andreas Schwab <schwab@redhat.com>
33876
33877 * include/dlfcn.h (__RTLD_SECURE): Define.
33878 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33879 mode & __RTLD_SECURE instead.
33880 (open_path): Rename preloaded parameter to secure.
33881 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33882 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33883 * elf/dl-deps.c (openaux): Likewise.
33884 * elf/rtld.c (struct map_args): Remove is_preloaded.
33885 (map_doit): Don't use it.
33886 (dl_main): Likewise.
33887 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33888 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33889
bc96fbda
AS
338902010-09-09 Andreas Schwab <schwab@redhat.com>
33891
33892 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33893 (sysd-rules-targets): Remove duplicates.
33894 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33895 rtld-%.$o dependency.
33896
22cd1c9b
AS
338972010-10-18 Andreas Schwab <schwab@redhat.com>
33898
33899 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33900 _dl_map_object do it.
33901
18edac48
UD
339022010-10-19 Ulrich Drepper <drepper@gmail.com>
33903
33904 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33905 fast fma builtins, define the macros in the C99 standard.
33906 (FP_FAST_FMAF): Likewise.
33907 (FP_FAST_FMAL): Likewise.
33908 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33909
33910 * bits/mathdef.h: Update copyright year.
33911 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33912
d2050124
MM
339132010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33914
33915 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33916 builtins, define the macros in the C99 standard.
33917 (FP_FAST_FMAF): Likewise.
33918 (FP_FAST_FMAL): Likewise.
33919 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33920 multiply/add.
33921 (FP_FAST_FMAF): Likewise.
33922
475facd1
JJ
339232010-10-15 Jakub Jelinek <jakub@redhat.com>
33924
33925 [BZ #3268]
33926 * math/libm-test.inc (fma_test): Some new testcases.
33927 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33928 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33929 y and infinite z. Do multiplication by C already in long double.
33930 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33931 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33932 y and infinite z. Do bitwise or of inexact bit into u.d.
33933 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33934 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33935 * sysdeps/i386/fpu/s_fma.S: Removed.
33936 * sysdeps/i386/fpu/s_fmal.S: Removed.
33937
7c08a05c
JJ
339382010-10-16 Jakub Jelinek <jakub@redhat.com>
33939
33940 [BZ #3268]
33941 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33942 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33943 computation is not scheduled after fetestexcept. Fix value
33944 of minimum denormal long double.
33945
f3f7372d
JJ
339462010-10-14 Jakub Jelinek <jakub@redhat.com>
33947
33948 [BZ #3268]
33949 * math/libm-test.inc (fma_test): Add some more tests.
33950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33951 correctly.
33952
14d43591
AS
339532010-10-15 Andreas Schwab <schwab@redhat.com>
33954
33955 * scripts/data/localplt-s390-linux-gnu.data: New file.
33956 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33957
5e908464
JJ
339582010-10-13 Jakub Jelinek <jakub@redhat.com>
33959
33960 [BZ #3268]
33961 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33962 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33963 instead of dbl-64.
33964 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33965 inlines.
33966 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33968 if one of x and y is very large and the other is subnormal.
33969 * sysdeps/s390/fpu/s_fmaf.c: New file.
33970 * sysdeps/s390/fpu/s_fma.c: New file.
33971 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33972 * sysdeps/powerpc/fpu/s_fma.S: New file.
33973 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33974 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33975 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33976
339772010-10-12 Jakub Jelinek <jakub@redhat.com>
33978
33979 [BZ #3268]
33980 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33981 fma tests.
33982 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33983 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33984 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33985 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33986 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33987 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33988 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33989
b833d51f
UD
339902010-10-12 Ulrich Drepper <drepper@redhat.com>
33991
33992 [BZ #12078]
33993 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33994 * posix/bug-regex31.input: Add test case.
33995
1751705d
UD
339962010-10-11 Ulrich Drepper <drepper@gmail.com>
33997
e9b9cbf5
UD
33998 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33999 * posix/bug-regex31.input: New file.
34000
34001 [BZ #12078]
34002 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
34003 (parse_sub_exp): Fix last change, use postorder.
34004
ef06edbe
UD
34005 * posix/bug-regex31.c: New file.
34006 * posix/Makefile: Add rules to build and run bug-regex31.
34007
a129c80d
UD
34008 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
34009
34010 [BZ #12078]
34011 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
34012
b76b818e
UD
34013 [BZ #12108]
34014 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
34015 to have entries in sys_siglist.
34016
1751705d
UD
34017 [BZ #12093]
34018 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
34019 be NULL.
34020
9ff8d36f
JJ
340212010-10-07 Jakub Jelinek <jakub@redhat.com>
34022
34023 [BZ #3268]
34024 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
34025 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
34026 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
34027 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
34028 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
34029 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
34030 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
34031 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
34032 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
34033 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
34034 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
34035 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
34036 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
34037 * math/ftestexcept.c (fetestexcept): Likewise.
34038 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
34039 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
34040 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
34041 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
34042 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
34043 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
34044 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
34045
af325969
UD
340462010-10-11 Ulrich Drepper <drepper@gmail.com>
34047
c579b202 34048 [BZ #12107]
af325969
UD
34049 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
34050 newline.
34051
67a67b95
UD
340522010-10-06 Ulrich Drepper <drepper@gmail.com>
34053
34054 * string/bug-strstr1.c: New file.
34055 * string/Makefile: Add rules to build and run bug-strstr1.
34056
5fb308bc
EB
340572010-10-05 Eric Blake <eblake@redhat.com>
34058
34059 [BZ #12092]
34060 * string/str-two-way.h (two_way_long_needle): Always clear memory
34061 when skipping input due to the shift table.
34062
45db99c7
UD
340632010-10-03 Ulrich Drepper <drepper@gmail.com>
34064
3b111893
UD
34065 [BZ #12005]
34066 * malloc/mcheck.c: Handle large requests.
34067
45db99c7
UD
34068 [BZ #12077]
34069 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
34070 for strncmp and strncasecmp.
34071 * string/stratcliff.c: Add tests for strcmp and strncmp.
34072 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
34073
cf7a1eb8
NI
340742010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
34075
34076 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
34077 __set_fpscr.
34078
6484ba5e
AJ
340792010-09-30 Andreas Jaeger <aj@suse.de>
34080
34081 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
34082 (CGROUP_SUPER_MAGIC): Define.
34083 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34084 Handle btrfs and cgroup file systems.
34085 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34086 Likewise.
34087
91c42559
LM
340882010-09-27 Luis Machado <luisgpm@br.ibm.com>
34089
34090 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
34091 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
34092
87a97932
AK
340932010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34094
34095 [BZ #12067]
34096 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
34097 trying to locate the ELF header.
34098
c21cc9bc
AS
340992010-09-27 Andreas Schwab <schwab@redhat.com>
34100
34101 [BZ #11611]
34102 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
34103 Mask out sign-bit copies when constructing f_fsid.
34104
315970f6
PB
341052010-09-24 Petr Baudis <pasky@suse.cz>
34106
34107 * debug/stack_chk_fail_local.c: Add missing licence exception.
34108 * debug/warning-nop.c: Likewise.
34109
1ac7a2c7
JM
341102010-09-15 Joseph Myers <joseph@codesourcery.com>
34111
34112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
34113 implementing getdents64 using getdents syscall, set d_type if
34114 __ASSUME_GETDENTS32_D_TYPE.
34115
56801c50
AS
341162010-09-16 Andreas Schwab <schwab@redhat.com>
34117
34118 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
34119 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
34120
dda51327
UD
341212010-09-21 Ulrich Drepper <drepper@redhat.com>
34122
34123 [BZ #12037]
34124 * posix/unistd.h: Undo change of feature selection for ftruncate from
34125 2010-01-11.
34126
8ffcee4a
UD
341272010-09-20 Ulrich Drepper <drepper@redhat.com>
34128
a545ecd9 34129 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
34130 detection.
34131
e24f0a8b
AS
341322010-09-20 Andreas Schwab <schwab@redhat.com>
34133
34134 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
34135 fanotify_mark.
34136 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34137
7291c56f
AS
341382010-09-14 Andreas Schwab <schwab@redhat.com>
34139
34140 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
34141 variables after CHECK_SP call.
34142 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
34143
bc5fb037
AS
341442010-09-13 Andreas Schwab <schwab@redhat.com>
34145 Ulrich Drepper <drepper@redhat.com>
34146
34147 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
34148 re-relocationg ld.so.
34149 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
34150 _dl_init_paths call.
34151 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
34152 here anymore.
34153
e66e7419
UD
341542010-09-14 Ulrich Drepper <drepper@redhat.com>
34155
34156 * resolv/res_init.c (__res_vinit): Count the default server we added.
34157
c044aa75
CLT
341582010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
34159 Ulrich Drepper <drepper@redhat.com>
34160
34161 [BZ #11968]
34162 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
34163 (____longjmp_chk): Use %ebx for saving value across system call.
34164 Add unwind info.
34165
32cf4069
AS
341662010-09-06 Andreas Schwab <schwab@redhat.com>
34167
34168 * manual/Makefile: Don't mix pattern rules with normal rules.
34169
817328ee
AS
341702010-09-05 Andreas Schwab <schwab@linux-m68k.org>
34171
34172 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
34173 operation.
34174 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
34175 * libio/iofopncook.c (_IO_cookie_init): Likewise.
34176 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
34177 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34178 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
34179 Likewise.
34180
29fddf61
UD
341812010-09-04 Ulrich Drepper <drepper@redhat.com>
34182
34183 [BZ #11979]
34184 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
34185 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
34186
0959ffc9
UD
341872010-09-02 Ulrich Drepper <drepper@redhat.com>
34188
34189 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
34190 * sysdeps/x86_64/addmul_1.S: Likewise.
34191 * sysdeps/x86_64/lshift.S: Likewise.
34192 * sysdeps/x86_64/mul_1.S: Likewise.
34193 * sysdeps/x86_64/rshift.S: Likewise.
34194 * sysdeps/x86_64/sub_n.S: Likewise.
34195 * sysdeps/x86_64/submul_1.S: Likewise.
34196
ece29840
ST
341972010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
34198
0959ffc9
UD
34199 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
34200 Define __sched_param instead of SCHED_* and sched_param when
ece29840 34201 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 34202 * bits/sched.h [__need_schedparam]
ece29840 34203 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
34204 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
34205 (__defined_schedparam): Define to 1.
ece29840
ST
34206 (__sched_param): New structure, identical to sched_param.
34207 (__need_schedparam): Undefine.
34208
e53a31fe
MF
342092010-08-31 Mike Frysinger <vapier@gentoo.org>
34210
fdc0c10d
MF
34211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
34212 (epoll_create1): Declare.
34213
e53a31fe
MF
34214 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
34215
a726d796
AS
342162010-08-31 Andreas Schwab <schwab@redhat.com>
34217
34218 [BZ #7066]
34219 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
34220 shifting retval into place.
34221
2f3e3dc7
UD
342222010-09-01 Ulrich Drepper <drepper@redhat.com>
34223
f2933da9
UD
34224 * nis/rpcsvc/nis.h: Update copyright notice.
34225 * nis/rpcsvc/nis.x: Likewise.
34226 * nis/rpcsvc/nis_callback.h: Likewise.
34227 * nis/rpcsvc/nis_callback.x: Likewise.
34228 * nis/rpcsvc/nis_object.x: Likewise.
34229 * nis/rpcsvc/nis_tags.h: Likewise.
34230 * nis/rpcsvc/yp.h: Likewise.
34231 * nis/rpcsvc/yp.x: Likewise.
34232 * nis/rpcsvc/ypupd.h: Likewise.
34233 * nis/yp_xdr.c: Likewise.
34234 * nis/ypupdate_xdr.c: Likewise.
34235
2f3e3dc7
UD
34236 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
34237 mainly the body of pmap_getport. Add parameters to specify timeouts.
34238 (pmap_getport): Use __libc_rpc_getport.
34239 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
34240 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
34241 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
34242
f3dcc2f9
AS
342432010-08-31 Andreas Schwab <schwab@linux-m68k.org>
34244
34245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
34246 fanotify_mark.
34247
6d34eb5b
RM
342482010-08-27 Roland McGrath <roland@redhat.com>
34249
34250 * sysdeps/i386/i686/multiarch/Makefile
34251 (CFLAGS-varshift.c): New variable.
34252
9ea3de11
UD
342532010-08-27 Ulrich Drepper <drepper@redhat.com>
34254
c96d23fc
UD
34255 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
34256 * sysdeps/i386/i686/multiarch/varshift.c: New file.
34257
9ea3de11
UD
34258 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
34259
34260 * sysdeps/x86_64/strlen.S: Minimal code improvement.
34261
623aac7f
L
342622010-08-26 H.J. Lu <hongjiu.lu@intel.com>
34263
34264 * sysdeps/x86_64/strlen.S: Unroll the loop.
34265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34266 strlen-sse2 strlen-sse2-bsf.
34267 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
34268 __strlen_no_bsf if bit_Slow_BSF is set.
34269 (__strlen_sse42): Removed.
34270 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
34271 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
34272
8b2b7715
RM
342732010-08-25 Roland McGrath <roland@redhat.com>
34274
34275 * sysdeps/x86_64/multiarch/varshift.S: File removed.
34276 * sysdeps/x86_64/multiarch/varshift.c: New file.
34277 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
34278 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
34279 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
34280 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34281
e73015f2
L
342822010-08-25 H.J. Lu <hongjiu.lu@intel.com>
34283
34284 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34285 strlen-sse2 strlen-sse2-bsf.
34286 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34287 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34288 (__strlen_sse2): Removed.
34289 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34290 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34292 bit_Slow_BSF for Atom.
34293 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34294 (index_Slow_BSF): Define.
34295 (HAS_SLOW_BSF): Define.
34296
df24a73e
UD
342972010-08-25 Ulrich Drepper <drepper@redhat.com>
34298
34299 [BZ #10851]
34300 * resolv/res_init.c (__res_vinit): When no server address at all
34301 is given default to loopback.
34302
f2ac4868
RM
343032010-08-24 Roland McGrath <roland@redhat.com>
34304
09055553
RM
34305 * configure.in: Remove config-name.h generation.
34306 * configure: Regenerated.
34307 * config-name.in: File removed.
34308 * scripts/config-uname.sh: New file.
34309 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34310 ($(objdir)config-name.h): New target.
34311
f2ac4868
RM
34312 * sunrpc/rpc_parse.h: Avoid nested comment.
34313
73f27d5e
RH
343142010-08-24 Richard Henderson <rth@redhat.com>
34315 Ulrich Drepper <drepper@redhat.com>
34316 H.J. Lu <hongjiu.lu@intel.com>
34317
34318 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34320 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34321 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34322 _mm_alignr_epi8 with _mm_loadu_si128.
34323 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34324 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34325 (__m128i_shift_right): Removed.
34326 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34327 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34328 * sysdeps/x86_64/multiarch/varshift.h: New file.
34329 * sysdeps/x86_64/multiarch/varshift.S: New file.
34330
84b9230c
MF
343312010-08-21 Mike Frysinger <vapier@gentoo.org>
34332
34333 * configure.in: Move assembler checks to before sysdep dir checking.
34334
9bbd0ddc
PB
343352010-08-20 Petr Baudis <pasky@suse.cz>
34336
34337 * LICENSES: Sync the sunrpc license.
34338
9da4bb31
UD
343392010-08-19 Ulrich Drepper <drepper@redhat.com>
34340
a7ab6ec8
UD
34341 * sunrpc/auth_des.c: Update copyright notice once again.
34342 * sunrpc/auth_none.c: Likewise.
34343 * sunrpc/auth_unix.c: Likewise.
34344 * sunrpc/authdes_prot.c: Likewise.
34345 * sunrpc/authuxprot.c: Likewise.
34346 * sunrpc/bindrsvprt.c: Likewise.
34347 * sunrpc/clnt_gen.c: Likewise.
34348 * sunrpc/clnt_perr.c: Likewise.
34349 * sunrpc/clnt_raw.c: Likewise.
34350 * sunrpc/clnt_simp.c: Likewise.
34351 * sunrpc/clnt_tcp.c: Likewise.
34352 * sunrpc/clnt_udp.c: Likewise.
34353 * sunrpc/clnt_unix.c: Likewise.
34354 * sunrpc/des_crypt.c: Likewise.
34355 * sunrpc/des_soft.c: Likewise.
34356 * sunrpc/get_myaddr.c: Likewise.
34357 * sunrpc/getrpcport.c: Likewise.
34358 * sunrpc/key_call.c: Likewise.
34359 * sunrpc/key_prot.c: Likewise.
34360 * sunrpc/openchild.c: Likewise.
34361 * sunrpc/pm_getmaps.c: Likewise.
34362 * sunrpc/pm_getport.c: Likewise.
34363 * sunrpc/pmap_clnt.c: Likewise.
34364 * sunrpc/pmap_prot.c: Likewise.
34365 * sunrpc/pmap_prot2.c: Likewise.
34366 * sunrpc/pmap_rmt.c: Likewise.
34367 * sunrpc/rpc/auth.h: Likewise.
34368 * sunrpc/rpc/auth_unix.h: Likewise.
34369 * sunrpc/rpc/clnt.h: Likewise.
34370 * sunrpc/rpc/des_crypt.h: Likewise.
34371 * sunrpc/rpc/key_prot.h: Likewise.
34372 * sunrpc/rpc/netdb.h: Likewise.
34373 * sunrpc/rpc/pmap_clnt.h: Likewise.
34374 * sunrpc/rpc/pmap_prot.h: Likewise.
34375 * sunrpc/rpc/pmap_rmt.h: Likewise.
34376 * sunrpc/rpc/rpc.h: Likewise.
34377 * sunrpc/rpc/rpc_des.h: Likewise.
34378 * sunrpc/rpc/rpc_msg.h: Likewise.
34379 * sunrpc/rpc/svc.h: Likewise.
34380 * sunrpc/rpc/svc_auth.h: Likewise.
34381 * sunrpc/rpc/types.h: Likewise.
34382 * sunrpc/rpc/xdr.h: Likewise.
34383 * sunrpc/rpc_clntout.c: Likewise.
34384 * sunrpc/rpc_cmsg.c: Likewise.
34385 * sunrpc/rpc_common.c: Likewise.
34386 * sunrpc/rpc_cout.c: Likewise.
34387 * sunrpc/rpc_dtable.c: Likewise.
34388 * sunrpc/rpc_hout.c: Likewise.
34389 * sunrpc/rpc_main.c: Likewise.
34390 * sunrpc/rpc_parse.c: Likewise.
34391 * sunrpc/rpc_parse.h: Likewise.
34392 * sunrpc/rpc_prot.c: Likewise.
34393 * sunrpc/rpc_sample.c: Likewise.
34394 * sunrpc/rpc_scan.c: Likewise.
34395 * sunrpc/rpc_scan.h: Likewise.
34396 * sunrpc/rpc_svcout.c: Likewise.
34397 * sunrpc/rpc_tblout.c: Likewise.
34398 * sunrpc/rpc_util.c: Likewise.
34399 * sunrpc/rpc_util.h: Likewise.
34400 * sunrpc/rpcinfo.c: Likewise.
34401 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34402 * sunrpc/rpcsvc/key_prot.x: Likewise.
34403 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34404 * sunrpc/rpcsvc/mount.x: Likewise.
34405 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34406 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34407 * sunrpc/rpcsvc/rex.x: Likewise.
34408 * sunrpc/rpcsvc/rstat.x: Likewise.
34409 * sunrpc/rpcsvc/rusers.x: Likewise.
34410 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34411 * sunrpc/rpcsvc/spray.x: Likewise.
34412 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34413 * sunrpc/rtime.c: Likewise.
34414 * sunrpc/svc.c: Likewise.
34415 * sunrpc/svc_auth.c: Likewise.
34416 * sunrpc/svc_authux.c: Likewise.
34417 * sunrpc/svc_raw.c: Likewise.
34418 * sunrpc/svc_run.c: Likewise.
34419 * sunrpc/svc_simple.c: Likewise.
34420 * sunrpc/svc_tcp.c: Likewise.
34421 * sunrpc/svc_udp.c: Likewise.
34422 * sunrpc/svc_unix.c: Likewise.
34423 * sunrpc/svcauth_des.c: Likewise.
34424 * sunrpc/xcrypt.c: Likewise.
34425 * sunrpc/xdr.c: Likewise.
34426 * sunrpc/xdr_array.c: Likewise.
34427 * sunrpc/xdr_float.c: Likewise.
34428 * sunrpc/xdr_mem.c: Likewise.
34429 * sunrpc/xdr_rec.c: Likewise.
34430 * sunrpc/xdr_ref.c: Likewise.
34431 * sunrpc/xdr_sizeof.c: Likewise.
34432 * sunrpc/xdr_stdio.c: Likewise.
34433
9da4bb31
UD
34434 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34435 handling.
34436
bdaa77bc
AS
344372010-08-19 Andreas Schwab <schwab@redhat.com>
34438
34439 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34440
fe2f79db
LM
344412010-08-19 Luis Machado <luisgpm@br.ibm.com>
34442
34443 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34444 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34446 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34447 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34448 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34449 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34450 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34451 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34452 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34453 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34454 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34455 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34456 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34457
b9b42ee0
AB
344582010-07-26 Anton Blanchard <anton@samba.org>
34459
34460 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34461 * malloc/arena.c (heap_trim): Likewise.
34462
1c06ba31
UD
344632010-08-16 Ulrich Drepper <drepper@redhat.com>
34464
34465 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34466 here. Not...
34467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34468 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34469
f8392f40
L
344702010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34471
34472 * sysdeps/i386/elf/Makefile: New file.
34473
3162f12e
AS
344742010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34475
34476 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34477 from fanotify_init.
34478 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34479 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34480
28c90b2c
UD
344812010-08-15 Ulrich Drepper <drepper@redhat.com>
34482
34483 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34484 of strncasecmp_l.
1feccb6c 34485 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34486
ca6bb004
UD
344872010-08-14 Ulrich Drepper <drepper@redhat.com>
34488
e9f82e0d
UD
34489 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34490 strncase_l-nonascii.
34491 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34492 Add strncase_l-ssse3.
34493 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34494 * sysdeps/x86_64/strcmp.S: Likewise.
34495 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34496 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34497 * sysdeps/x86_64/strncase.S: New file.
34498 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34499 * sysdeps/x86_64/strncase_l.S: New file.
34500 * string/Makefile (strop-tests): Add strncasecmp.
34501 * string/test-strncasecmp.c: New file.
34502
34503 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34504 warning.
34505
ca6bb004
UD
34506 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34507 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34508
052fa7b3
AS
345092010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34510
34511 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34512
962dba78
UD
345132010-08-12 Ulrich Drepper <drepper@redhat.com>
34514
34515 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34517 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34518
bebff237
AM
345192010-05-01 Alan Modra <amodra@gmail.com>
34520
34521 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34522 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34523 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34524 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34525 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34526 tidying. Don't tail-call __sigjmp_save for static lib.
34527 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34528 save location.
34529 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34530 (CALL_MCOUNT): Add eh info, and nop after bl.
34531 (TAIL_CALL_SYSCALL_ERROR): New macro.
34532 (PSEUDO_RET): Use it.
34533 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34534 Correct save location of integer regs and cr.
34535 (_dl_profile_resolve): Correct cr save location. Delete nops
34536 after bl when SHARED. Reduce cfi size a little by better
34537 placement of cfi directives.
34538 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34539 make a stack frame. Instead use parm save area as a temp.
34540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34541 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34543 Don't make a stack frame for parent, use parm save area.
34544 Increase child stack frame to 112 bytes. Don't save unused reg,
34545 and adjust reg usage. Set up cfi on error recovery and
34546 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34548 (__makecontext): Add dummy nop after jump to exit.
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34550 Use correct parm save area and cr save, reduce stack frame.
34551 Correct cfi for possible PSEUDO_RET frame setup.
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34553 Branch to local label emitted by PSEUDO_RET rather than
34554 __syscall_error.
34555
02637374
AS
345562010-08-12 Andreas Schwab <schwab@redhat.com>
34557
34558 [BZ #11904]
34559 * locale/programs/locale.c (print_assignment): New function.
34560 (show_locale_vars): Use it.
34561
c3e2f19b
UD
345622010-08-11 Ulrich Drepper <drepper@redhat.com>
34563
3cdaa6ad
UD
34564 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34565 field.
34566 (struct statfs64): Likewise.
34567 (_STATFS_F_FLAGS): Define.
34568 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34569 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34570 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34571 (ST_VALID): Define locally.
34572 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34573 __statvfs_getflags, use the provided value.
34574 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34575 __ASSUME_STATFS_F_FLAGS.
34576
754f7da3
UD
34577 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34578
10b3bedc
UD
34579 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34580 Add sys/fanotify.h.
34581 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34582 fanotify_mask for GLIBC_2.13.
34583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34584 fanotify_init and fanotify_mark.
34585 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34586 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34587
c08fb0d7
UD
34588 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34589 Add prlimit.
34590 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34591 prlimit64 for GLIBC_2.13.
34592 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34593 prlimit64.
34594 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34595 syscall.
34596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34597 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34598 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34599 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34600 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34601 add prlimit alias.
34602 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34603
15bac72b
UD
34604 [BZ #11903]
34605 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34606 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34607
c3e2f19b
UD
34608 * nss/Makefile: Add rules to build and run tst-nss-test1.
34609 * shlib-versions: Add entry for libnss_test1.
34610 * nss/nss_test1.c: New file.
34611 * nss/tst-nss-test1.c: New file.
34612
34613 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34614 (__nss_configure_lookup): Set appropriate entry in
34615 __nss_configure_lookup to true.
34616 * nss/nsswitch.h: Define enum with indeces of databases in
34617 databases and __nss_database_custom arrays. Declare
34618 __nss_database_custom.
34619 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34620 to avoid using nscd when custom rules are installed.
34621 * nss/getXXbyYY_r.c: Likewise.
34622 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34623
34624 * nss/nss_files/files-parse.c: Whitespace fixes.
34625
f15ce4d8
UD
346262010-08-09 Ulrich Drepper <drepper@redhat.com>
34627
34628 [BZ #11883]
34629 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34630 * posix/fnmatch_loop.c: Likewise.
34631
d22e4cc9
AK
346322010-07-17 Andi Kleen <ak@linux.intel.com>
34633
34634 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34635 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34636 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34637 * Versions.def [GLIBC_2.13]: Add.
34638
805bc17d
UD
346392010-08-06 Ulrich Drepper <drepper@redhat.com>
34640
34641 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34642 Also fail if tpwd after pwuid call is NULL.
34643
5a42321d
ST
346442010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34645
34646 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34647 when converting to ms.
34648
fd3ebeda
ST
346492010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34650
34651 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34652 EOPNOTSUPP errors with ENOTTY.
34653 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34654 EOPNOTSUPP errors with ENOTTY.
34655
73507d3a
UD
346562010-07-31 Ulrich Drepper <drepper@redhat.com>
34657
34658 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34659 Add strcasecmp_l-ssse3.
34660 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34661 strcasecmp.
34662 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34663 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34664 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34665
fe36dd02
UD
346662010-07-30 Ulrich Drepper <drepper@redhat.com>
34667
66f6765a
UD
34668 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34669
42e08a54
UD
34670 * string/Makefile (strop-tests): Add strcasecmp.
34671 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34672 strcasecmp_l-nonascii.
34673 (gen-as-const-headers): Add locale-defines.sym.
34674 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34675 * sysdeps/x86_64/strcasecmp.S: New file.
34676 * sysdeps/x86_64/strcasecmp_l.S: New file.
34677 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34678 * sysdeps/x86_64/locale-defines.sym: New file.
34679 * string/test-strcasecmp.c: New file.
34680
fe36dd02
UD
34681 * string/test-strcasestr.c: Test both ends of the range of characters.
34682 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34683
48cbc0d6
RM
346842010-07-29 Roland McGrath <roland@redhat.com>
34685
76e6d6bc 34686 [BZ #11856]
48cbc0d6
RM
34687 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34688
880113d9
UD
346892010-07-27 Ulrich Drepper <drepper@redhat.com>
34690
34691 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34692 for ld.so.
34693
deb9cabb
AS
346942010-07-27 Andreas Schwab <schwab@redhat.com>
34695
34696 * manual/memory.texi (Malloc Tunable Parameters): Document
34697 M_PERTURB.
34698
1c7570ff
RM
346992010-07-26 Roland McGrath <roland@redhat.com>
34700
34701 [BZ #11840]
34702 * configure.in (-fgnu89-inline check): Set and substitute
34703 gnu89_inline, not libc_cv_gnu89_inline.
34704 * configure: Regenerated.
34705 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34706
24fb0f88
UD
347072010-07-26 Ulrich Drepper <drepper@redhat.com>
34708
34709 * string/test-strnlen.c: New file.
34710 * string/Makefile (strop-tests): Add strnlen.
34711 * string/tester.c (test_strnlen): Add a few more test cases.
34712 * string/tst-strlen.c: Better error reporting.
34713
34714 * sysdeps/x86_64/strnlen.S: New file.
34715
8e96b93a
UD
347162010-07-24 Ulrich Drepper <drepper@redhat.com>
34717
34718 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34719 lower-latency instructions.
34720
dbc676d4
UD
347212010-07-23 Ulrich Drepper <drepper@redhat.com>
34722
34723 * string/test-strcasestr.c: New file.
34724 * string/test-strstr.c: New file.
34725 * string/Makefile (strop-tests): Add strstr and strcasestr.
34726 * string/str-two-way.h: Don't undefine MAX.
34727 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34728
f6a31e0e
AS
347292010-07-21 Andreas Schwab <schwab@redhat.com>
34730
34731 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34732 strcasestr-nonascii.
34733 (CFLAGS-strcasestr-nonascii.c): Define.
34734 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34735 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34736 Remove unused attribute.
34737
5dbc3b6c
RM
347382010-07-20 Roland McGrath <roland@redhat.com>
34739
34740 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34741 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34742 ld.so.cache was broken. With it, there is no way to disable dsocaps
34743 like LD_HWCAP_MASK can disable hwcaps.
34744
23d101d8
EPM
347452010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34746
34747 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34748
cc9f2e47
UD
347492010-07-16 Ulrich Drepper <drepper@redhat.com>
34750
34751 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34752 call in strcasestr.
34753 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34754 __strcasestr_sse42_nonascii.
34755 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34756 strcasestr-nonascii.c.
34757 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34758
77c1b069
LM
347592010-06-15 Luis Machado <luisgpm@br.ibm.com>
34760
34761 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34762 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34763 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34764 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34765
440566c3
UD
347662010-07-09 Ulrich Drepper <drepper@redhat.com>
34767
34768 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34769 fcntl.
34770
5be9d05d
AS
347712010-07-06 Andreas Schwab <schwab@redhat.com>
34772
c30b7ee2 34773 [BZ #11577]
5be9d05d
AS
34774 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34775 dl_signal_cerror.
34776
8a492a67
UD
347772010-07-06 Ulrich Drepper <drepper@redhat.com>
34778
34779 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34780 _PC_PIPE_BUF using F_GETPIPE_SZ.
34781
713df3d5
RM
347822010-07-05 Roland McGrath <roland@redhat.com>
34783
34784 * manual/arith.texi (Rounding Functions): Fix rint description
34785 implicit in round description.
34786
702e8f14
UD
347872010-07-02 Ulrich Drepper <drepper@redhat.com>
34788
34789 * elf/Makefile: Fix linking for a few tests to make recent linker
34790 happy.
34791
52ed8be9
AS
347922010-06-30 Andreas Schwab <schwab@redhat.com>
34793
34794 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34795 $(common-objpfx)libc_nonshared.a.
34796
f47c9a11
LM
347972010-06-21 Luis Machado <luisgpm@br.ibm.com>
34798
34799 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34800 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34801 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34802 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34803 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34804 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34805 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34806 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34821 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34822 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34823 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34824 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34825 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34826 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34827 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34828 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34829 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34830 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34831 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34832 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34847
6fb8cbcb
L
348482010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34849
34850 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34851 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34852 * string/memmove.c (memmove): Renamed to ...
34853 (MEMMOVE): ...this. Default to memmove.
34854 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34855 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34856 (END_CHK): Define.
34857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34858 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34859 mempcpy-ssse3-back memmove-ssse3-back.
34860 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34861 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34862 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34863 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34864 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34865 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34866 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34867 * sysdeps/x86_64/multiarch/memmove.c: New file.
34868 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34869 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34870 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34871 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34872 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34873 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34874 Define.
34875 (index_Fast_Copy_Backward): Define.
34876 (HAS_ARCH_FEATURE): Define.
34877 (HAS_FAST_REP_STRING): Define.
34878 (HAS_FAST_COPY_BACKWARD): Define.
34879
4e733bac 348802010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34881
34882 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34883 Restore proper fallback handling.
34884
63c4ed22
UD
348852010-06-19 Ulrich Drepper <drepper@redhat.com>
34886
ac2b484c
UD
34887 [BZ #11701]
34888 * posix/group_member.c (__group_member): Correct checking loop.
34889
63c4ed22
UD
34890 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34891 OOM in getpwuid_r correctly. Return error number when the caller
34892 should return, otherwise -1.
34893 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34894 call returning > 0 value.
34895 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34896
765ade4b
AS
348972010-06-07 Andreas Schwab <schwab@redhat.com>
34898
34899 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34900 libc_nonshared.a from targets in modules-names.
34901
80da2e09
KS
349022010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34903
34904 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34905 requires it.
34906
158db122
LM
349072010-06-10 Luis Machado <luisgpm@br.ibm.com>
34908
34909 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34910 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34911 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34913
caa78cf8
AS
349142010-06-02 Andreas Schwab <schwab@redhat.com>
34915
34916 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34917
b2ef2c01
UD
349182010-06-14 Ulrich Drepper <drepper@redhat.com>
34919
34920 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34921 and F_GETPIPE_SZ.
34922 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34923 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34924 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34925 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34926 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34927 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34928
fbd643b6
RM
349292010-06-14 Roland McGrath <roland@redhat.com>
34930
34931 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34932
f32f2869
JJ
349332010-06-07 Jakub Jelinek <jakub@redhat.com>
34934
34935 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34936 __REDIRECT followed by __THROW.
34937 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34938 * posix/getopt.h (getopt): Likewise.
34939
2a50c078
EPM
349402010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34941
34942 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34943 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34944 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34945 in AT_FLAGS.
34946 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34947 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34948
eb5ad2eb
LM
349492010-05-28 Luis Machado <luisgpm@br.ibm.com>
34950
34951 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34952
3c88fe1e
L
349532010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34954
34955 [BZ #11640]
34956 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34957 Properly check family and model.
34958
d2f73151
TY
349592010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34960
34961 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34962
ebd2e13d
LM
349632010-05-24 Luis Machado <luisgpm@br.ibm.com>
34964
34965 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34966
b32b8b45
UD
349672010-05-21 Ulrich Drepper <drepper@redhat.com>
34968
34969 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34970 symbol reference.
34971
9acbe24d
AS
349722010-05-19 Andreas Schwab <schwab@redhat.com>
34973
34974 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34975 symbol reference.
34976
f0ccf6ea
AS
349772010-05-21 Andreas Schwab <schwab@redhat.com>
34978
3d04ff3a
AS
34979 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34980 and internal_recvmmsg.
34981 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34982 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34983 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34984 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34985
f0ccf6ea
AS
34986 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34987 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34988 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34989
5b08ac57
AS
349902010-05-20 Andreas Schwab <schwab@redhat.com>
34991
34992 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34993
4828935d
LM
349942010-05-17 Luis Machado <luisgpm@br.ibm.com>
34995
34996 POWER7 optimizations.
34997 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34998 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34999
373d545e
UD
350002010-05-19 Ulrich Drepper <drepper@redhat.com>
35001
35002 * version.h: Update for 2.13 development version.
35003
21a2b1ae
AS
350042010-05-12 Andrew Stubbs <ams@codesourcery.com>
35005
35006 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
35007 exceptions. Return 0.
35008
3f7dcb2b
RM
350092010-05-07 Roland McGrath <roland@redhat.com>
35010
35011 * elf/ldconfig.c (main): Add a const.
35012
5f24d53a 350132010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 35014
a160f8d8
UD
35015 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
35016 (args_options): Add no-idn option.
35017 (ahosts_keys_int): Add idn_flags to ai_flags.
35018 (parse_option): Handle 'i' option to clear idn_flags.
35019
5f24d53a
UD
35020 * malloc/malloc.c (_int_free): Possible race in the most recently
35021 added check. Only act on the data if no current modification
35022 happened.
265bb1ce
UD
35023
35024See ChangeLog.17 for earlier changes.