]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
New-locale-for-anp_IN
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c79a1204
SP
12013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2
dfa1b402
SP
3 * benchtests/pow-inputs: Add new inputs.
4
54f73d9c
SP
5 * benchtests/exp-inputs: Add new inputs.
6
c79a1204
SP
7 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8 conditional check for return value.
9 (__cos32): Likewise.
10
67beb545 112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
12
13 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
14 to provide a boost for large inputs with word alignment.
15 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
16 implementation based on optimized PPC64 strcpy.
17 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
19 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21
151659f6
OB
222013-10-25 Ondřej Bílka <neleai@seznam.cz>
23
24 [BZ 2801]
25 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26
10b0f26b
OB
272013-10-25 Ondřej Bílka <neleai@seznam.cz>
28
29 [BZ #14876]
30 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
31 * time/tst-strptime.c (day_tests): Add testcase.
32
ca42d35e
OB
332013-10-25 Ondřej Bílka <neleai@seznam.cz>
34
35 [BZ 14029]
36 * manual/pattern.texi: Acknowledge that fnmatch can fail.
37
52e6d801
FB
382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
39
40 [BZ #16074]
41 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
42 MAP_FAILED on error.
43
7cbcdb36
SP
442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
45
46 [BZ #16072]
47 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48 heap for large requests.
49
894f3f10
AM
502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51
52 [BZ #9954]
53 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
54 result if the result has no associated interface.
55 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
56 interface for all 127.X.Y.Z addresses.
57
b85545a6
CL
582013-10-24 Chris Leonard <cjl@sugarlabs.org>
59
60 * locale/iso-639.def: Add Ligurian (lij)
61
d1f23d46
OB
622013-10-21 Ondřej Bílka <neleai@seznam.cz>
63
64 [BZ #15825]
65 * sunrpc/rpc_main.c: Document rpcgen -5.
66
4db5b08f
MS
672013-10-19 Michael Stahl <mstahl@redhat.com>
68
69 * elf/rtld.c (do_preload): Print the reason why preloading failed.
70
a471e96a
OB
712013-10-19 Ondřej Bílka <neleai@seznam.cz>
72
d1f23d46 73 [BZ #10278]
a471e96a
OB
74 * posix/glob.c: Match only directories when trailing slash is present.
75 * posix/tst-gnuglob.c (my_opendir): Do not open files.
76 (main): Add testcase.
77
45c30c61
OB
782013-10-19 Ondřej Bílka <neleai@seznam.cz>
79
80 [BZ #15670]
81 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
82
484c12fb
CD
832013-10-18 Carlos O'Donell <carlos@redhat.com>
84
3d7dc513
CD
85 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
86 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
87 AUTH_DES and cindex for FIPS 140-2.
88 (DES Encryption): Add cindex FIPS 46-3.
89
484c12fb
CD
90 * locale/locarchive.h (struct locarhandle): Add fname.
91 * locale/programs/localedef.c (main): Pass ARGV[remaining]
92 if an optional argument was specified to --list-archive,
93 otherwise NULL.
94 * locale/programs/locarchive.c (show_archive_content): Take new
95 argument fname and pass it via ah.fname to open_archive.
96 * locale/programs/localedef.h: Update decl.
97 (open_archive): If AH->fname is non-null, open that file
98 rather than the default file name, and don't ignore ENOENT.
99 (create_archive): Set AH.fname to NULL.
100 (delete_locales_from_archive): Likewise.
101 (add_locales_to_archive): Likewise.
102 * locale/programs/locfile.c (write_all_categories): Likewise.
103
3c8325fb
JM
1042013-10-18 Joseph Myers <joseph@codesourcery.com>
105 Aldy Hernandez <aldyh@redhat.com>
106
107 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
108 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
109 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
110 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
111 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
112 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
113 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
114 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
115 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
116 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
117 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
118 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
119 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
120 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
121 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
122 Likewise.
123 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
124 Likewise.
125 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
126 Likewise.
127 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
128 Likewise.
129 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
130 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
131 Likewise.
132 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
133 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
134 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
135 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
136 Likewise.
137 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
138 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
139 * sysdeps/powerpc/preconfigure: Likewise.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
141 Likewise.
142 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
143 Replace contents of file by #include of <fenv_libc.h>.
144 * sysdeps/powerpc/soft-fp/sfp-machine.h
145 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
146 and <sys/prctl.h>.
147 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
148 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
149 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
150 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
151 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
152 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
153 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
154 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
155 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
156 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
157 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
158 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
160 Allow copysignl PLT reference to be missing.
161
5abe0682
RS
1622013-10-18 Richard Sandiford <richard@codesourcery.com>
163 Joseph Myers <joseph@codesourcery.com
164
165 [BZ #15948]
166 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
167 single character.
168 (add_to_tablewc): Assert sequence of wide characters is nonempty.
169
c7738d08
SP
1702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
171
172 * elf/tst-tls-dlinfo.c: Don't include tls.h.
173 * elf/tst-tls1.c: Likewise.
174 * elf/tst-tls10.h: Likewise.
175 * elf/tst-tls14.c: Likewise.
176 * elf/tst-tls2.c: Likewise.
177 * elf/tst-tls3.c: Likewise.
178 * elf/tst-tls4.c: Likewise.
179 * elf/tst-tls5.c: Likewise.
180 * elf/tst-tls6.c: Likewise.
181 * elf/tst-tls7.c: Likewise.
182 * elf/tst-tls8.c: Likewise.
183 * elf/tst-tls9.c: Likewise.
184 * elf/tst-tlsmod1.c: Likewise.
185 * elf/tst-tlsmod13.c: Likewise.
186 * elf/tst-tlsmod13a.c: Likewise.
187 * elf/tst-tlsmod14a.c: Likewise.
188 * elf/tst-tlsmod16a.c: Likewise.
189 * elf/tst-tlsmod16b.c: Likewise.
190 * elf/tst-tlsmod2.c: Likewise.
191 * elf/tst-tlsmod3.c: Likewise.
192 * elf/tst-tlsmod4.c: Likewise.
193 * elf/tst-tlsmod5.c: Likewise.
194 * elf/tst-tlsmod6.c: Likewise.
195
0bfcf2c7
OB
1962013-10-18 Ondřej Bílka <neleai@seznam.cz>
197
198 [BZ #12486]
199 * malloc/malloc.c: remove checks for statistics.
200
264aad1e
OB
2012013-10-17 Ondřej Bílka <neleai@seznam.cz>
202
203 [BZ #15277]
204 * inet/inet_net.c (inet_network): Detect additional invalid strings.
205 * inet/tst-network.c: Add testcase.
206
b957ced8
AS
2072013-10-17 Andreas Schwab <schwab@suse.de>
208
209 [BZ #15218]
210 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
211 to determine canonical name.
212
c5d5d574
OB
2132013-10-17 Ondřej Bílka <neleai@seznam.cz>
214
215 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
216 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
217 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
218 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
219 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
220 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
221 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
222 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
223 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
224 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
225 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
226 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
227 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
228 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
229 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
230 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
231 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
232 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
233 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
234 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
235 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
236 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
237 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
238 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
239 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
240 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
241 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
242 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
243 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
244 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
245 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
246 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
247 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
248 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
249 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
250 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
251 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
252 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
253 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
254 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
255 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
256 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
257 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
258 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
259 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
260 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
261 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
262 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
263 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
264 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
265 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
266 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
267 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
268 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
269 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
270 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
271 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
272 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
273
e5c2c2d0
JM
2742013-10-17 Joseph Myers <joseph@codesourcery.com>
275
276 [BZ #16041]
277 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
278 make result into a quiet NaN.
279
51ca9e29
JM
2802013-10-16 Joseph Myers <joseph@codesourcery.com>
281
282 * soft-fp/adddf3.c: Fix horizontal whitespace.
283 * soft-fp/addsf3.c: Likewise.
284 * soft-fp/addtf3.c: Likewise.
285 * soft-fp/divdf3.c: Likewise.
286 * soft-fp/divsf3.c: Likewise.
287 * soft-fp/divtf3.c: Likewise.
288 * soft-fp/double.h: Likewise.
289 * soft-fp/eqdf2.c: Likewise.
290 * soft-fp/eqsf2.c: Likewise.
291 * soft-fp/eqtf2.c: Likewise.
292 * soft-fp/extenddftf2.c: Likewise.
293 * soft-fp/extended.h: Likewise.
294 * soft-fp/extendsfdf2.c: Likewise.
295 * soft-fp/extendsftf2.c: Likewise.
296 * soft-fp/extendxftf2.c: Likewise.
297 * soft-fp/fixdfdi.c: Likewise.
298 * soft-fp/fixdfsi.c: Likewise.
299 * soft-fp/fixdfti.c: Likewise.
300 * soft-fp/fixsfdi.c: Likewise.
301 * soft-fp/fixsfsi.c: Likewise.
302 * soft-fp/fixsfti.c: Likewise.
303 * soft-fp/fixtfdi.c: Likewise.
304 * soft-fp/fixtfsi.c: Likewise.
305 * soft-fp/fixtfti.c: Likewise.
306 * soft-fp/fixunsdfdi.c: Likewise.
307 * soft-fp/fixunsdfsi.c: Likewise.
308 * soft-fp/fixunsdfti.c: Likewise.
309 * soft-fp/fixunssfdi.c: Likewise.
310 * soft-fp/fixunssfsi.c: Likewise.
311 * soft-fp/fixunssfti.c: Likewise.
312 * soft-fp/fixunstfdi.c: Likewise.
313 * soft-fp/fixunstfsi.c: Likewise.
314 * soft-fp/fixunstfti.c: Likewise.
315 * soft-fp/floatdidf.c: Likewise.
316 * soft-fp/floatdisf.c: Likewise.
317 * soft-fp/floatditf.c: Likewise.
318 * soft-fp/floatsidf.c: Likewise.
319 * soft-fp/floatsisf.c: Likewise.
320 * soft-fp/floatsitf.c: Likewise.
321 * soft-fp/floattidf.c: Likewise.
322 * soft-fp/floattisf.c: Likewise.
323 * soft-fp/floattitf.c: Likewise.
324 * soft-fp/floatundidf.c: Likewise.
325 * soft-fp/floatundisf.c: Likewise.
326 * soft-fp/floatunditf.c: Likewise.
327 * soft-fp/floatunsidf.c: Likewise.
328 * soft-fp/floatunsisf.c: Likewise.
329 * soft-fp/floatunsitf.c: Likewise.
330 * soft-fp/floatuntidf.c: Likewise.
331 * soft-fp/floatuntisf.c: Likewise.
332 * soft-fp/floatuntitf.c: Likewise.
333 * soft-fp/fmadf4.c: Likewise.
334 * soft-fp/fmasf4.c: Likewise.
335 * soft-fp/fmatf4.c: Likewise.
336 * soft-fp/gedf2.c: Likewise.
337 * soft-fp/gesf2.c: Likewise.
338 * soft-fp/getf2.c: Likewise.
339 * soft-fp/ledf2.c: Likewise.
340 * soft-fp/lesf2.c: Likewise.
341 * soft-fp/letf2.c: Likewise.
342 * soft-fp/muldf3.c: Likewise.
343 * soft-fp/mulsf3.c: Likewise.
344 * soft-fp/multf3.c: Likewise.
345 * soft-fp/negdf2.c: Likewise.
346 * soft-fp/negsf2.c: Likewise.
347 * soft-fp/negtf2.c: Likewise.
348 * soft-fp/op-1.h: Likewise.
349 * soft-fp/op-2.h: Likewise.
350 * soft-fp/op-4.h: Likewise.
351 * soft-fp/op-8.h: Likewise.
352 * soft-fp/op-common.h: Likewise.
353 * soft-fp/quad.h: Likewise.
354 * soft-fp/single.h: Likewise.
355 * soft-fp/soft-fp.h: Likewise.
356 * soft-fp/sqrtdf2.c: Likewise.
357 * soft-fp/sqrtsf2.c: Likewise.
358 * soft-fp/sqrttf2.c: Likewise.
359 * soft-fp/subdf3.c: Likewise.
360 * soft-fp/subsf3.c: Likewise.
361 * soft-fp/subtf3.c: Likewise.
362 * soft-fp/truncdfsf2.c: Likewise.
363 * soft-fp/trunctfdf2.c: Likewise.
364 * soft-fp/trunctfsf2.c: Likewise.
365 * soft-fp/trunctfxf2.c: Likewise.
366 * soft-fp/unorddf2.c: Likewise.
367 * soft-fp/unordsf2.c: Likewise.
368 * soft-fp/unordtf2.c: Likewise.
369
9ebb0332
JM
3702013-10-15 Joseph Myers <joseph@codesourcery.com>
371
372 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
373 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
374
4b1a6d8b
OB
3752013-10-15 Ondřej Bílka <neleai@seznam.cz>
376
377 * elf/dl-libc.c: Clear initfini list after freeing.
378
1e145589
JM
3792013-10-14 Joseph Myers <joseph@codesourcery.com>
380
381 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
382 * soft-fp/addsf3.c: Likewise.
383 * soft-fp/addtf3.c: Likewise.
384 * soft-fp/divdf3.c: Likewise.
385 * soft-fp/divsf3.c: Likewise.
386 * soft-fp/divtf3.c: Likewise.
387 * soft-fp/double.h: Likewise.
388 * soft-fp/eqdf2.c: Likewise.
389 * soft-fp/eqsf2.c: Likewise.
390 * soft-fp/eqtf2.c: Likewise.
391 * soft-fp/extenddftf2.c: Likewise.
392 * soft-fp/extended.h: Likewise.
393 * soft-fp/extendsfdf2.c: Likewise.
394 * soft-fp/extendsftf2.c: Likewise.
395 * soft-fp/extendxftf2.c: Likewise.
396 * soft-fp/fixdfdi.c: Likewise.
397 * soft-fp/fixdfsi.c: Likewise.
398 * soft-fp/fixdfti.c: Likewise.
399 * soft-fp/fixsfdi.c: Likewise.
400 * soft-fp/fixsfsi.c: Likewise.
401 * soft-fp/fixsfti.c: Likewise.
402 * soft-fp/fixtfdi.c: Likewise.
403 * soft-fp/fixtfsi.c: Likewise.
404 * soft-fp/fixtfti.c: Likewise.
405 * soft-fp/fixunsdfdi.c: Likewise.
406 * soft-fp/fixunsdfsi.c: Likewise.
407 * soft-fp/fixunsdfti.c: Likewise.
408 * soft-fp/fixunssfdi.c: Likewise.
409 * soft-fp/fixunssfsi.c: Likewise.
410 * soft-fp/fixunssfti.c: Likewise.
411 * soft-fp/fixunstfdi.c: Likewise.
412 * soft-fp/fixunstfsi.c: Likewise.
413 * soft-fp/fixunstfti.c: Likewise.
414 * soft-fp/floatdidf.c: Likewise.
415 * soft-fp/floatdisf.c: Likewise.
416 * soft-fp/floatditf.c: Likewise.
417 * soft-fp/floatsidf.c: Likewise.
418 * soft-fp/floatsisf.c: Likewise.
419 * soft-fp/floatsitf.c: Likewise.
420 * soft-fp/floattidf.c: Likewise.
421 * soft-fp/floattisf.c: Likewise.
422 * soft-fp/floattitf.c: Likewise.
423 * soft-fp/floatundidf.c: Likewise.
424 * soft-fp/floatundisf.c: Likewise.
425 * soft-fp/floatunsidf.c: Likewise.
426 * soft-fp/floatunsisf.c: Likewise.
427 * soft-fp/floatuntidf.c: Likewise.
428 * soft-fp/floatuntisf.c: Likewise.
429 * soft-fp/floatuntitf.c: Likewise.
430 * soft-fp/fmadf4.c: Likewise.
431 * soft-fp/fmasf4.c: Likewise.
432 * soft-fp/fmatf4.c: Likewise.
433 * soft-fp/gedf2.c: Likewise.
434 * soft-fp/gesf2.c: Likewise.
435 * soft-fp/getf2.c: Likewise.
436 * soft-fp/ledf2.c: Likewise.
437 * soft-fp/lesf2.c: Likewise.
438 * soft-fp/letf2.c: Likewise.
439 * soft-fp/muldf3.c: Likewise.
440 * soft-fp/mulsf3.c: Likewise.
441 * soft-fp/multf3.c: Likewise.
442 * soft-fp/negdf2.c: Likewise.
443 * soft-fp/negsf2.c: Likewise.
444 * soft-fp/negtf2.c: Likewise.
445 * soft-fp/op-1.h: Likewise.
446 * soft-fp/op-2.h: Likewise.
447 * soft-fp/op-4.h: Likewise.
448 * soft-fp/op-8.h: Likewise.
449 * soft-fp/op-common.h: Likewise.
450 * soft-fp/quad.h: Likewise.
451 * soft-fp/single.h: Likewise.
452 * soft-fp/soft-fp.h: Likewise.
453 * soft-fp/sqrtdf2.c: Likewise.
454 * soft-fp/sqrtsf2.c: Likewise.
455 * soft-fp/sqrttf2.c: Likewise.
456 * soft-fp/subdf3.c: Likewise.
457 * soft-fp/subsf3.c: Likewise.
458 * soft-fp/subtf3.c: Likewise.
459 * soft-fp/truncdfsf2.c: Likewise.
460 * soft-fp/trunctfdf2.c: Likewise.
461 * soft-fp/trunctfsf2.c: Likewise.
462 * soft-fp/trunctfxf2.c: Likewise.
463 * soft-fp/unorddf2.c: Likewise.
464 * soft-fp/unordsf2.c: Likewise.
465 * soft-fp/unordtf2.c: Likewise.
466
17c48a60
OB
4672013-10-14 Ondřej Bílka <neleai@seznam.cz>
468
469 [BZ #15672]
470 * misc/error.c (error_tail): Fix possible buffer overflow.
471
cabba934
OB
4722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
473
474 [BZ #13028]
475 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
476 address.
477
94bf958a
PM
4782013-10-14 P. J. McDermott <pj@pehjota.net>
479
480 [BZ #832]
481 * elf/ldd.bash.in (try_trace): New function. Delete previous code
482 testing pipefail option.
483
71b4dea7
JM
4842013-10-12 Joseph Myers <joseph@codesourcery.com>
485
486 * soft-fp/double.h: Indent preprocessor directives inside #if.
487 * soft-fp/extended.h: Likewise.
488 * soft-fp/op-2.h: Likewise.
489 * soft-fp/op-4.h: Likewise.
490 * soft-fp/op-common.h: Likewise.
491 * soft-fp/quad.h: Likewise.
492 * soft-fp/single.h: Likewise.
493 * soft-fp/soft-fp.h: Likewise.
494
55602758
YC
4952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
496
497 * iconv/iconv_prog.c: Fix typos.
498 * stdio-common/psiginfo-data.h: Likewise.
499
9cd83302
RT
5002013-10-12 Reuben Thomas <rrt@sc3d.org>
501
502 [BZ #15764]
503 * locale/setlocale.c: Fix typo.
504
99fd9f47
JM
5052013-10-12 Joseph Myers <joseph@codesourcery.com>
506
b7ea74f0
JM
507 [BZ #16036]
508 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
509 signaling NaN arguments.
510 * soft-fp/unordsf2.c (__unordsf2): Likewise.
511 * soft-fp/unordtf2.c (__unordtf2): Likewise.
512
8a509447
JM
513 [BZ #14910]
514 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
515 unordered operands.
516 * soft-fp/gesf2.c (__gesf2): Likewise.
517 * soft-fp/getf2.c (__getf2): Likewise.
518 * soft-fp/ledf2.c (__ledf2): Likewise.
519 * soft-fp/lesf2.c (__lesf2): Likewise.
520 * soft-fp/letf2.c (__letf2): Likewise.
521
98998e9f
JM
522 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
523 * soft-fp/eqsf2.c (__eqsf2): Likewise.
524 * soft-fp/eqtf2.c (__eqtf2): Likewise.
525 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
526 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
527 * soft-fp/fixdfti.c (__fixdfti): Likewise.
528 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
529 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
530 * soft-fp/fixsfti.c (__fixsfti): Likewise.
531 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
532 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
533 * soft-fp/fixtfti.c (__fixtfti): Likewise.
534 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
535 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
536 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
537 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
538 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
539 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
540 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
541 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
542 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
543 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
544 * soft-fp/floatdisf.c (__floatdisf): Likewise.
545 * soft-fp/floatsisf.c (__floatsisf): Likewise.
546 * soft-fp/floattidf.c (__floattidf): Likewise.
547 * soft-fp/floattisf.c (__floattisf): Likewise.
548 * soft-fp/floattitf.c (__floattitf): Likewise.
549 * soft-fp/floatundidf.c (__floatundidf): Likewise.
550 * soft-fp/floatundisf.c (__floatundisf): Likewise.
551 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
552 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
553 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
554 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
555 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
556 * soft-fp/gesf2.c (__gesf2): Likewise.
557 * soft-fp/getf2.c (__getf2): Likewise.
558 * soft-fp/ledf2.c (__ledf2): Likewise.
559 * soft-fp/lesf2.c (__lesf2): Likewise.
560 * soft-fp/letf2.c (__letf2): Likewise.
561
8edc4a11
JM
562 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
563 Undefine and redefine.
564 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
565 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
566 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
567 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
568 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
569 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
570 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
571 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
572 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
573 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
574 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
575 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
576 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
577 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
578 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
579
8399acaf
JM
580 [BZ #16032]
581 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
582 without decrementing exponent if mantissa >= that for the
583 denominator, not >.
584 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
585 denominator, not >. Decrement exponent in < case instead of
586 incrementing in >= case.
587 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
588 without decrementing exponent if mantissa >= that for the
589 denominator, not >.
590
99fd9f47
JM
591 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
592 computing saturated result for unsigned overflow.
593
10e1cf6b
SP
5942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
595 Jeff Law <law@redhat.com>
596
597 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
598 (atan2Mp): Add systemtap probe marker.
599 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
600 (__ieee754_log): Add systemtap probe marker.
601 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
602 (atanMp): Add systemtap probe marker.
603 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
604 (tanMp): Add systemtap probe marker.
605 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
606 (__slowexp): Add systemtap probe marker.
607 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
608 (__slowpow): Add systemtap probe marker.
609 * manual/probes.texi: Document probes.
610
3d110c7c
EB
6112013-10-11 Eric Biggers <ebiggers3@gmail.com>
612
613 [BZ #15362]
614 * libio/fileops.c (_IO_new_file_write): Return count of bytes
615 written.
616 (_IO_new_file_xsputn): Don't return EOF if nothing has been
617 written.
618 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
619 written to buffer but not flushed.
620 * libio/iofwrite_u.c: Likewise.
621 * libio/iopadn.c: Return bytes returned even if EOF was
622 encountered.
623 * libio/iowpadn.c: Likewise.
624 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
625 if _IO_padn does not write the whole buffer.
626 [!COMPILE_WPRINTF] (PAD): Likewise.
627
75b4202a
DM
6282013-10-10 David S. Miller <davem@davemloft.net>
629
630 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
631 directory block.
632
6c6352e6
JM
6332013-10-10 Joseph Myers <joseph@codesourcery.com>
634
33b853c3
JM
635 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
636 instead of FSF address.
637 * soft-fp/fixdfti.c: Likewise.
638 * soft-fp/fixsfti.c: Likewise.
639 * soft-fp/fixtfti.c: Likewise.
640 * soft-fp/fixunsdfti.c: Likewise.
641 * soft-fp/fixunssfti.c: Likewise.
642 * soft-fp/fixunstfti.c: Likewise.
643 * soft-fp/floattidf.c: Likewise.
644 * soft-fp/floattisf.c: Likewise.
645 * soft-fp/floattitf.c: Likewise.
646 * soft-fp/floatuntidf.c: Likewise.
647 * soft-fp/floatuntisf.c: Likewise.
648 * soft-fp/floatuntitf.c: Likewise.
649 * soft-fp/trunctfxf2.c: Likewise.
650
6c6352e6
JM
651 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
652 * soft-fp/fixdfti.c: Likewise.
653 * soft-fp/fixsfti.c: Likewise.
654 * soft-fp/fixtfti.c: Likewise.
655 * soft-fp/fixunsdfti.c: Likewise.
656 * soft-fp/fixunssfti.c: Likewise.
657 * soft-fp/fixunstfti.c: Likewise.
658 * soft-fp/floattidf.c: Likewise.
659 * soft-fp/floattisf.c: Likewise.
660 * soft-fp/floattitf.c: Likewise.
661 * soft-fp/floatuntidf.c: Likewise.
662 * soft-fp/floatuntisf.c: Likewise.
663 * soft-fp/floatuntitf.c: Likewise.
664 * soft-fp/trunctfxf2.c: Likewise.
665
3bf78b71
DM
6662013-10-10 David S. Miller <davem@davemloft.net>
667
668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
669
6f10289e
JM
6702013-10-10 Joseph Myers <joseph@codsourcery.com>
671
bd878fc0
JM
672 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
673 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
674 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
675 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
676 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
677 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
678 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
679
6f10289e
JM
680 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
681 for NaNs before doing comparisons on argument.
682 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
683 Likewise.
684
321e2684
WN
6852013-10-10 Will Newton <will.newton@linaro.org>
686
687 * malloc/hooks.c (memalign_check): Ensure the value of bytes
688 passed to _int_memalign does not overflow.
689
40fefba1
TR
6902013-10-10 Torvald Riegel <triegel@redhat.com>
691
692 * scripts/bench.pl: Add include-sources directive.
693 * benchtests/README: Update documentation.
694
2ae21ed2
JM
6952013-10-10 Joseph Myers <joseph@codesourcery.com>
696
dcc2dd3f
JM
697 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
698 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
699 instead of FP_INIT_ROUNDMODE.
700 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
701 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
702
2ae21ed2
JM
703 [BZ #16034]
704 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
705 copy class of input value.
706 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
707 not handle exceptions.
708 * soft-fp/negsf2.c (__negsf2): Likewise.
709 * soft-fp/negtf2.c (__negtf2): Likewise.
710 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
711
cb8f9562
JM
7122013-10-09 Joseph Myers <joseph@codesourcery.com>
713
714 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
715 semicolon. From Linux kernel.
716
5b60c59d
AB
7172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
718
719 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
720
b86835ca
YC
7212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
722
723 [BZ #156]
724 * manual/socket.texi: Added statement about buffer
725 for gethostbyname2_r.
726
e7044ea7
OB
7272013-10-08 Ondřej Bílka <neleai@seznam.cz>
728
729 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
730 Use .p2align directive instead, throughout.
731 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
732 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
733 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
734 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
735 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
736 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
737 * sysdeps/x86_64/strchr.S: Likewise.
738 * sysdeps/x86_64/strrchr.S: Likewise.
739
09544cbc
SP
7402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
741
88576635
SP
742 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
743
e7b2d1dd
SP
744 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
745
09544cbc
SP
746 * sysdeps/generic/math_private.h (__mpsin1): Remove
747 declaration.
748 (__mpcos1): Likewise.
749 (__mpsin): New argument __range_reduce.
750 (__mpcos): Likewise.
751 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
752 (slow): Use __mpsin and __mpcos.
753 (slow1): Likewise.
754 (slow2): Likewise.
755 (sloww): Likewise.
756 (sloww1): Likewise.
757 (sloww2): Likewise.
758 (bsloww): Likewise.
759 (bsloww1): Likewise.
760 (bsloww2): Likewise.
761 (cslow2): Likewise.
762 (csloww): Likewise.
763 (csloww1): Likewise.
764 (csloww2): Likewise.
765 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
766 range_reduce. Merge in __mpsin1.
767 (__mpcos): Likewise.
768 (__mpsin1): Remove.
769 (__mpcos1): Likewise.
770
7602d070
JM
7712013-10-07 Joseph Myers <joseph@codesourcery.com>
772
773 * locale/loadlocale.c (_nl_intern_locale_data): Use
774 LOCFILE_ALIGNED_P.
775 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
776 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
777 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
778 obstack data is appropriately aligned.
779 (obstack_int32_grow_fast): Likewise.
780 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
781 * locale/programs/locfile.c (add_locale_uint32): Likewise.
782 (add_locale_uint32_array): Likewise.
783
a357259b
SP
7842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
785
786 * benchtests/Makefile: Remove ARGLIST and RET variables.
787 ($(objpfx)bench-%.c): Pass only function name to the script.
788 * benchtests/README: Update documentation.
789 * benchtests/acos-inputs: Add new directives.
790 * benchtests/acosh-inputs: Likewise.
791 * benchtests/asin-inputs: Likewise.
792 * benchtests/asinh-inputs: Likewise.
793 * benchtests/atan-inputs: Likewise.
794 * benchtests/atanh-inputs: Likewise.
795 * benchtests/cos-inputs: Likewise.
796 * benchtests/cosh-inputs: Likewise.
797 * benchtests/exp-inputs: Likewise.
798 * benchtests/log-inputs: Likewise.
799 * benchtests/pow-inputs: Likewise.
800 * benchtests/rint-inputs: Likewise.
801 * benchtests/sin-inputs: Likewise.
802 * benchtests/sinh-inputs: Likewise.
803 * benchtests/tan-inputs: Likewise.
804 * benchtests/tanh-inputs: Likewise.
805 * scripts/bench.pl: Add support for new directives.
806
9ec1b13d
AM
8072013-10-07 Alan Modra <amodra@gmail.com>
808
809 * README: Fix careless merge.
810
8b7d57cd
AM
8112013-10-05 Alan Modra <amodra@gmail.com>
812
813 * NEWS: Mention powerpc64le support and bugs fixed.
814 * README: Both big-endian and little-endian powerpc64 supported.
815
7b7bab13
ST
8162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
817
818 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
819 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
820 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
821 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
822
d39baad1
RA
8232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
824
825 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
826 match prototype.
827
cd78f7e7
JM
8282013-10-04 Joseph Myers <joseph@codesourcery.com>
829
29d73d86
JM
830 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
831 Move -mhard-float appending from
832 ports/sysdeps/powerpc/powerpc32/Makefile.
833 [$(with-fp) = yes] (ASFLAGS): Likewise.
834 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
835 * sysdeps/powerpc/nofpu: Move directory from
836 ports/sysdeps/powerpc/nofpu.
837 * sysdeps/powerpc/soft-fp: Move directory from
838 ports/sysdeps/powerpc/soft-fp.
839 * sysdeps/powerpc/powerpc32/405: Move directory from
840 ports/sysdeps/powerpc/powerpc32/405.
841 * sysdeps/powerpc/powerpc32/440: Move directory from
842 ports/sysdeps/powerpc/powerpc32/440.
843 * sysdeps/powerpc/powerpc32/464: Move directory from
844 ports/sysdeps/powerpc/powerpc32/464.
845 * sysdeps/powerpc/powerpc32/476: Move directory from
846 ports/sysdeps/powerpc/powerpc32/476.
847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
848 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
850 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
852 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
854 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
856 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
857 * README: Update for powerpc-*-linux-gnu software floating point
858 support in libc.
859
e246b347
JM
860 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
861 case to powerpc/powerpc32*.
862 * sysdeps/unix/sysv/linux/configure: Regenerated.
863
89c2003e
JM
864 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
865 (_FPU_MASK_OM): Define as 0x04.
866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
867 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
868 0x00c10080.
869 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
870 0x0000003c.
871 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
872
cd78f7e7
JM
873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
874 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
875 getcontext_e500.
876 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
877 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
878 setcontext_e500.
879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
880 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
881 and setcontext_e500.
882
c755294d
CL
8832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
884
885 * locale/iso-3166.def: Update iso-1366.def and related occurrences
886
e16d221c
SP
8872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
888
889 * manual/threads.texi (Default Thread Attributes): Fix typo.
890
215c7d43
WN
8912013-10-04 Will Newton <will.newton@linaro.org>
892
893 * malloc/Makefile: Add tst-memalign.
894 * malloc/tst-memalign.c: New file.
895
27d0461b
WN
896 * malloc/tst-posix_memalign.c: Add comments.
897 (do_test): Add comments and call free on all potentially
898 allocated pointers. Add space after cast.
899
1bc92709
WN
900 * malloc/tst-pvalloc.c: Add comments.
901 (do_test): Add comments and call free on all potentially
902 allocated pointers. Remove duplicate check for NULL pointer.
903 Add space after cast.
904
66a9be9d
WN
905 * malloc/tst-valloc.c: Add comments.
906 (do_test): Add comments and call free on all potentially
907 allocated pointers. Remove duplicate check for NULL pointer.
908 Add space after cast.
909
4cb81307
AM
9102013-10-04 Alan Modra <amodra@gmail.com>
911
912 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
913 Use stdint types in rather than __attribute__((mode())).
914 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
915
f8e3e9f3
AM
9162013-10-04 Alan Modra <amodra@gmail.com>
917
918 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
919 Correct handling of unaligned relocs for little-endian.
920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
921
8f9ebb08
AM
9222013-10-04 Alan Modra <amodra@gmail.com>
923
924 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
925 * configure: Regenerate.
926 * nptl/shlib-versions: Powerpc*le starts at 2.18.
927 * shlib-versions: Likewise.
928
0edf96c2
AM
9292013-10-04 Alan Modra <amodra@gmail.com>
930
931 * string/tester.c (test_memrchr): Increment reported test cycle.
932
e0f7a380
AM
9332013-10-04 Alan Modra <amodra@gmail.com>
934
935 * string/test-memcpy.c (do_one_test): When reporting errors, print
936 string address and don't overrun end of string.
937
466b0393
AM
9382013-10-04 Alan Modra <amodra@gmail.com>
939
940 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
941 insrdi. Make better use of reg selection to speed exit slightly.
942 Schedule entry path a little better. Remove useless "are we done"
943 checks on entry to main loop. Handle wrapping around zero address.
944 Correct main loop count. Handle single left-over word from main
945 loop inline rather than by using loop_small. Remove extra word
946 case in loop_small caused by wrong loop count. Add little-endian
947 support.
948 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
949 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
950 cache hint.
951 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
952 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
953 support. Avoid rlwimi.
954 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
955
3be87c77
AM
9562013-10-04 Alan Modra <amodra@gmail.com>
957
958 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 959 insrdi. Formatting.
3be87c77
AM
960 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
961 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
962 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
963 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
964 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
965 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
966
759cfef3
AM
9672013-10-04 Alan Modra <amodra@gmail.com>
968
969 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
970 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
971 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
972 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
973 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
974 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
975 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
976 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
977 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
978 use of regs. Use power7 mtocrf. Tidy function tails.
979
fe6e95d7
AM
9802013-10-04 Alan Modra <amodra@gmail.com>
981
982 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
983 Formatting. Consistently use rXXX register defines or rN defines.
984 Use early exit labels that avoid restoring unused non-volatile regs.
985 Make cr field use more consistent with rWORDn compares. Rename
986 regs used as shift registers for unaligned loop, using rN defines
987 for short lifetime/multiple use regs.
988 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
989 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
990 addi 1,1,64 to pop stack frame. Simplify return value code.
991 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
992
664318c3
AM
9932013-10-04 Alan Modra <amodra@gmail.com>
994
995 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
996 support. Correct typos, formatting. Optimize tail. Use insrdi
997 rather than rlwimi.
998 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
1000 little-endian support. Correct typos.
1001 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
1002 rather than rlwimi.
1003 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
1004 in loop and entry code to keep "and." results.
1005 (strchr): Add little-endian support. Comment. Move cntlzd
1006 earlier in tail.
1007 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
1008
43b84013
AM
10092013-10-04 Alan Modra <amodra@gmail.com>
1010
1011 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
1012 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
1013 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
1015
8a7413f9
AM
10162013-10-04 Alan Modra <amodra@gmail.com>
1017
1018 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
1019 (rTMP): Define as r11.
1020 (strcmp): Add little-endian support. Optimise tail.
1021 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
1022 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
1024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
1025 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
1026 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
1027 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
1028
33ee81de
AM
10292013-10-04 Alan Modra <amodra@gmail.com>
1030
1031 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
1032 little-endian support. Remove unnecessary "are we done" tests.
1033 Handle "s" wrapping around zero and extremely large "size".
1034 Correct main loop count. Handle single left-over word from main
1035 loop inline rather than by using small_loop. Correct comments.
1036 Delete "zero" tail, use "end_max" instead.
1037 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
1038
db9b4570
AM
10392013-10-04 Alan Modra <amodra@gmail.com>
1040
1041 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
1042 support. Don't branch over align.
1043 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
1044 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
1045 support. Rearrange tmp reg use to suit. Comment.
1046 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
1047
f7c399cf
AM
10482013-10-04 Alan Modra <amodra@gmail.com>
1049
1050 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
1051
0b2c2ace
AM
10522013-10-04 Alan Modra <amodra@gmail.com>
1053
1054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
1055 conditional form of branch and link when obtaining pc.
1056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
1057
02f04a6c
AM
10582013-10-04 Alan Modra <amodra@gmail.com>
1059
1060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
1061 HIWORD/LOWORD.
1062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
1063 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
1064
9b874b2f
AM
10652013-10-04 Alan Modra <amodra@gmail.com>
1066
1067 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
1068 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
1069 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1070 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
1071 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1072 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1073 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
1074 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1075 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1076 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
1077
be1e5d31
AB
10782013-10-04 Anton Blanchard <anton@au1.ibm.com>
1079 Alistair Popple <alistair@ozlabs.au.ibm.com>
1080 Alan Modra <amodra@gmail.com>
1081
1082 [BZ #15723]
1083 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
1084 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
1085 _dl_hwcap access for little-endian.
1086 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
1087 destroy vmx regs when saving unaligned.
1088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
1089 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
1090 destroy vmx regs when saving unaligned.
1091
fef13a78
AM
10922013-10-04 Alan Modra <amodra@gmail.com>
1093
1094 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
1095 Don't use a union to pack hi/low value.
1096
76a66d51
AB
10972013-10-04 Anton Blanchard <anton@au1.ibm.com>
1098
1099 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
1100 for little-endian.
1101 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1102 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
1103 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
1104 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1105 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1106
6a31fe7f
AM
11072013-10-04 Alan Modra <amodra@gmail.com>
1108
1109 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
1110 constants to usual value for .cst8 section, and remove redundant
1111 high address load.
1112 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
1113 constant for 0x1p52. Load little-endian words of double from
1114 correct stack offsets.
1115
7b88401f
AM
11162013-10-04 Alan Modra <amodra@gmail.com>
1117
1118 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
1119 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
1120 words of double from correct stack offsets.
1121 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1122 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
1123 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1124 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1125 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1126 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1127 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1128 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1129 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1130 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1131 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1132 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1133 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1134 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1135 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1136 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
1137 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1138
9c008155
AM
11392013-10-04 Alan Modra <amodra@gmail.com>
1140
1141 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
1142 64-bit int/double union.
1143 (_FPU_SETCW): Likewise.
1144 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1145 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
1146
da13146d
AM
11472013-10-04 Alan Modra <amodra@gmail.com>
1148
1149 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
1150 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
1151
603e8410
AM
11522013-10-04 Alan Modra <amodra@gmail.com>
1153
1154 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
1155 use vector int constants.
1156 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
1157
4a28b3ca
AB
11582013-10-04 Anton Blanchard <anton@au1.ibm.com>
1159
1160 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
1161 array with long long.
1162 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
1163 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
1164 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
1165 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
1166 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
1167 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
1168 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
1169 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
1170 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
1171 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
1172 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
1173 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
1174 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
1175
2ca85d2b
AB
11762013-10-04 Anton Blanchard <anton@au1.ibm.com>
1177
1178 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
1179 (__signbit): Likewise. Correct for little-endian.
1180 (__signbitl): Call __signbit.
1181 (lrint): Correct for little-endian.
1182 (lrintf): Call lrint.
1183
62a728ae
AM
11842013-10-04 Alan Modra <amodra@gmail.com>
1185
1186 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
1187 union 32-bit int array member with 64-bit int array.
1188 (t515, tm256): Double rather than long double.
1189 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
1190
32c301df
AM
11912013-10-04 Alan Modra <amodra@gmail.com>
1192
1193 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
1194 Delete.
1195 (IEEE854_LONG_DOUBLE_BIAS): Delete.
1196 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
1197 version of math_ldbl.h.
1198
650ef4bd
AM
11992013-10-04 Alan Modra <amodra@gmail.com>
1200
1201 [BZ #15734], [BZ #15735]
1202 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
1203 all uses of ieee875 long double macros and unions. Simplify test
1204 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
1205 ldbl_extract_mantissa value for ix,iy exponents. Properly
1206 normalize after ldbl_extract_mantissa, and don't add hidden bit
1207 already handled. Don't treat low word of ieee854 mantissa like
1208 low word of IBM long double and mask off bit when testing for
1209 zero.
1210 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
1211 all uses of ieee875 long double macros and unions. Simplify tests
1212 for 0.0L and inf. Correct double adjustment of k. Delete dead code
1213 adjusting ha,hb. Simplify code setting kld. Delete two600 and
1214 two1022, instead use their values. Recognise that tests for large
1215 "a" and small "b" are mutually exclusive. Rename vars. Comment.
1216 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
1217 Rewrite all uses of ieee875 long double macros and unions. Simplify
1218 test for 0.0L and nan. Correct negation.
1219 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
1220 ieee875 long double macros and unions. Correct output for large
1221 magnitude x. Correct absolute value calculation.
1222 (__erfcl): Likewise.
1223 * math/libm-test.inc: Add tests for errors discovered in IBM long
1224 double versions of fmodl, remainderl, erfl and erfcl.
1225
765714ca
AM
12262013-10-04 Alan Modra <amodra@gmail.com>
1227
1228 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
1229 all uses of ieee854 long double macros and unions. Simplify tests
1230 for long doubles that are fully specified by the high double.
1231 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1232 Likewise.
1233 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
1234 Remove dead code too.
1235 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
1236 (__ieee754_ynl): Likewise.
1237 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
1238 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
1239 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
1240 Remove dead code too.
1241 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1242 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
1243 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
1244 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
1245 Simplify.
1246 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
1247 Simplify.
1248 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
1249 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
1250 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
1251 Comment on variable precision.
1252 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
1253 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1254 Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1259 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
1260
4ebd120c
AM
12612013-10-04 Alan Modra <amodra@gmail.com>
1262
1263 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
1264 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
1265 all uses of ieee854 long double macros and unions.
1266 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
1267 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1268 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
1269 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
1270 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
1271 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
1272 Likewise.
1273 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
1274 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
1275 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
1276 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1277 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1278 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1279 Simplify sign and nan test too.
1280 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
1281 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
1282 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
1283 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
1284 Likewise.
1285 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
1286 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
1287 Likewise.
1288 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1289 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1290 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
1291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
1292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
1293 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
1294
1b6adf88
AM
12952013-10-04 Alan Modra <amodra@gmail.com>
1296
1297 * stdio-common/printf_size.c (__printf_size): Don't use
1298 union ieee854_long_double in fpnum union.
1299 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
1300 signbit macro to retrieve sign from long double.
1301 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
1302 retrieve sign from long double.
1303 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
1304 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
1305 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
1306 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
1307 * math/test-misc.c (main): Don't use union ieee854_long_double.
1308
4cf69995
AM
13092013-10-04 Alan Modra <amodra@gmail.com>
1310
1311 [BZ #15680]
1312 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
1313 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
1314 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
1315 calculation. Remove unnecessary test for denormal exponent.
1316 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
1317 Correct handling of denormals. Avoid undefined shift behaviour.
1318 Correct normalisation of low mantissa when low double is denormal.
1319 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
1320 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
1321 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
1322 Correct normalisation of low mantissa. Test for overflow of high
1323 mantissa and normalise.
1324 (ldbl_nearbyint): Use more readable constant for two52.
1325 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
1326 (__mpn_construct_long_double): Fix test for overflow of high
1327 mantissa and correct normalisation. Avoid undefined shift.
1328
9605ca6c
AM
13292013-10-04 Alan Modra <amodra@gmail.com>
1330
1331 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
1332 (union ibm_extended_long_double): Define as an array of ieee754_double.
1333 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
1334 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
1335 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
1336 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1337 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1338 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
1339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1340 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
1344
975569d0
JM
13452013-10-03 Joseph Myers <joseph@codesourcery.com>
1346
d3d23756
JM
1347 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
1348 page size instead of calling getpagesize.
1349
975569d0
JM
1350 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
1351 (LOCFILE_ALIGN_MASK): Likewise.
1352 (LOCFILE_ALIGN_UP): Likewise.
1353 (LOCFILE_ALIGNED_P): Likewise.
1354 * locale/programs/ld-collate.c (collate_output): Use the new
1355 macros instead of __alignof__ (int32_t).
1356 * locale/weight.h (findidx): Likewise.
1357
b1fe1f2b
OB
13582013-10-03 Ondřej Bílka <neleai@seznam.cz>
1359
1360 [BZ #431]
1361 * manual/string.texi: Fix strncat and wcsncat.
1362
5f855e35
BM
13632013-10-03 Brooks Moses <bmoses@google.com>
1364
1365 [BZ #15915]
1366 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
1367 * Makerules: ...here, and adjust associated comments.
1368
3cef6009
WN
13692013-10-02 Will Newton <will.newton@linaro.org>
1370
1371 * malloc/Makefile: Add tst-pvalloc.
1372 * malloc/tst-pvalloc.c: New file.
1373
7815420b
WN
13742013-10-02 Will Newton <will.newton@linaro.org>
1375
1376 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
1377 improve test coverage.
1378
4868b204
WN
13792013-10-02 Will Newton <will.newton@linaro.org>
1380
1381 * malloc/Makefile: Add tst-posix_memalign.
1382 * malloc/tst-posix_memalign.c: New file.
1383
29c793b3
EB
13842013-10-01 Eric Blake <eblake@redhat.com>
1385
1386 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
1387 Use __THROWNL rather than __THROW on static functions.
1388
fd967522
PM
13892013-09-30 Petr Machata <pmachata@redhat.com>
1390
1391 * elf/elf.h (R_AARCH64_ABS16): New macro.
1392 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
1393 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
1394 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
1395 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
1396 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
1397 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
1398 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
1399 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
1400 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
1401 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
1402 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
1403 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
1404 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
1405 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
1406 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
1407 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
1408 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
1409 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
1410 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
1411 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
1412 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
1413 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
1414 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
1415 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
1416 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
1417 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
1418 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
1419 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
1420 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
1421 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
1422 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
1423 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
1424 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
1425 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
1426 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
1427 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
1428 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
1429 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
1430 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
1431 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
1432 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
1433 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
1434 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
1435 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
1436 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
1437 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
1438 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
1439 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
1440 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
1441 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
1442 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
1443 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
1444 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
1445 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
1446 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
1447 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
1448 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
1449 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
1450 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
1451 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
1452 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
1453 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
1454 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
1455 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
1456 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
1457 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
1458 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
1459 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
1460 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
1461 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
1462 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
1463 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
1464 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
1465 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
1466 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
1467 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
1468 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
1469 (R_AARCH64_TLSDESC_LDR): Likewise.
1470 (R_AARCH64_TLSDESC_ADD): Likewise.
1471 (R_AARCH64_TLSDESC_CALL): Likewise.
1472
b2179107
AS
14732013-09-30 Andreas Schwab <schwab@suse.de>
1474
1475 [BZ #15048]
1476 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
1477 the nss database lookup.
1478 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1479 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1480
47f28d0a
MF
14812013-09-28 Mike Frysinger <vapier@gentoo.org>
1482
1483 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
1484
14852013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
1486
1487 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
1488 ${Bash-specific parameter/pattern/string} parameter expansion.
1489 * sysdeps/unix/make-syscalls.sh: Likewise.
1490
f4518a17
KK
14912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1492
1493 * sysdeps/sh/stackguard-macros.h: New file.
1494
dc1a95c7
OB
14952013-09-26 Ondřej Bílka <neleai@seznam.cz>
1496
1497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
1498 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
1499 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
1500 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
1501 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
1502 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
1503
5ebbff8f
AZ
15042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1505
1506 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
1507 Fix thread ID register.
1508
4fd2cf9f
JM
15092013-09-25 Joseph Myers <joseph@codesourcery.com>
1510
1511 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
1512 [POSIX || UNIX98]: Require rather than permitting all symbols from
1513 <time.h>.
1514 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
1515 element of struct sched_param.
1516 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
1517 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
1518 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
1519 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
1520 constant.
1521
12c22bc4
OL
15222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
1523
1524 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
1525 argument calculation.
1526
a03d8ea7
JM
15272013-09-24 Joseph Myers <joseph@codesourcery.com>
1528
1529 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
1530 Expect macro.
1531 [POSIX] (pthread_attr_t): Do not require type.
1532 [POSIX] (pthread_cond_t): Likewise.
1533 [POSIX] (pthread_condattr_t): Likewise.
1534 [POSIX] (pthread_key_t): Likewise.
1535 [POSIX] (pthread_mutex_t): Likewise.
1536 [POSIX] (pthread_mutexattr_t): Likewise.
1537 [POSIX] (pthread_once_t): Likewise.
1538 [POSIX] (pthread_t): Likewise.
1539 [POSIX-based standards] (pthread_atfork): Expect function.
1540
6055173a
JM
15412013-09-24 Joseph Myers <joseph@codesourcery.com>
1542 Richard Sandiford <richard@codesourcery.com>
1543
1544 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
1545 (swap_endianness_p): New extern variable.
1546 (set_big_endian): New inline function.
1547 (maybe_swap_uint32): Likewise.
1548 (maybe_swap_uint32_array): Likewise.
1549 (maybe_swap_uint32_obstack): Likewise.
1550 * locale/programs/locfile.c: Include <stdbool.h>.
1551 (swap_endianness_p): New variable.
1552 (add_locale_uint32): Call maybe_swap_uint32.
1553 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
1554 (write_locale_data): Call maybe_swap_uint32_array.
1555 * locale/programs/ld-collate.c (obstack_int32_grow): Call
1556 maybe_swap_uint32.
1557 (obstack_int32_grow_fast): Likewise.
1558 (output_weightwc): Call maybe_swap_uint32_obstack.
1559 (collate_output): Likewise.
1560 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
1561 (OPT_LITTLE_ENDIAN): Likewise.
1562 (options): Add --little-endian and --big-endian options.
1563 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
1564 * locale/programs/locarchive.c: Include "locfile.h".
1565 (GET): New macro.
1566 (SET): Likewise.
1567 (INC): Likewise.
1568 (create_archive): Use the new macros to access fields of
1569 structures directly mapped from or written to locale archives.
1570 (oldlocrecentcmp): Likewise.
1571 (enlarge_archive): Likewise.
1572 (insert_name): Likewise.
1573 (add_alias): Likewise.
1574 (add_locale): Likewise.
1575 (delete_locales_from_archive): Likewise.
1576 (show_archive_content): Likewise.
1577 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
1578 locale data.
1579
39bf0bb4
RM
15802013-09-24 Roland McGrath <roland@hack.frob.com>
1581
1582 * manual/freemanuals.texi: Updated from (newly) canonical copy at
1583 http://www.gnu.org/doc/freemanuals.texi.
1584 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
1585
f02eed10
WN
15862013-09-24 Will Newton <will.newton@linaro.org>
1587
1588 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
1589 macro.
1590
a3a6c312
JM
15912013-09-23 Joseph Myers <joseph@codesourcery.com>
1592
1593 * locale/hashval.h (compute_hashval): Interpret bytes of key as
1594 unsigned char.
1595
107375ac
MR
15962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
1597
1598 * manual/threads.texi (POSIX Threads): Fix a typo.
1599
141f3a77
SP
16002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
1601
303e567a
SP
1602 [BZ #14547]
1603 * string/tst-strcoll-overflow.c: New test case.
1604 * string/Makefile (xtests): Add tst-strcoll-overflow.
1605 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
1606 cache if string sizes may cause integer overflow.
1607
141f3a77
SP
1608 [BZ #14547]
1609 * string/strcoll_l.c (coll_seq): New members rule, idx,
1610 save_idx and back_us.
1611 (get_next_seq_nocache): New function.
1612 (do_compare_nocache): New function.
1613 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
1614 when malloc fails.
1615
c61b4d41
CD
16162013-09-23 Carlos O'Donell <carlos@redhat.com>
1617
0b1f8e35
CD
1618 [BZ #15754]
1619 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
1620 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
1621 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
1622
c61b4d41
CD
1623 [BZ #15754]
1624 * elf/Makefile (tests): Add tst-ptrguard1.
1625 (tests-static): Add tst-ptrguard1-static.
1626 (tst-ptrguard1-ARGS): Define.
1627 (tst-ptrguard1-static-ARGS): Define.
1628 * elf/tst-ptrguard1.c: New file.
1629 * elf/tst-ptrguard1-static.c: New file.
1630 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
1631 * sysdeps/i386/stackguard-macros.h: Likewise.
1632 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
1633 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
1634 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
1635 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
1636 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
1637 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
1638
16392013-09-23 Hector Marco <hecmargi@upv.es>
1640 Ismael Ripoll <iripoll@disca.upv.es>
1641 Carlos O'Donell <carlos@redhat.com>
1642
1643 [BZ #15754]
1644 * sysdeps/generic/stackguard-macros.h: Define
1645 __pointer_chk_guard_local and POINTER_CHK_GUARD.
1646 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
1647 Define __pointer_chk_guard_local.
1648 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
1649 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
1650
f5f4e7b4
VV
16512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
1652
1653 [BZ #15859]
1654 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
1655
5bb43a43
AS
16562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
1657
1658 * include/string.h (__ffs): Declare as hidden.
1659 * string/ffs.c (__ffs): Define as hidden.
1660 * sysdeps/i386/ffs.c (__ffs): Likewise.
1661 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
1662 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
1663 * sysdeps/s390/ffs.c (__ffs): Likewise.
1664 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
1665
3ea5be54
AO
16662013-09-20 Alexandre Oliva <aoliva@redhat.com>
1667
ffb89e53
AO
1668 * NEWS: Mention malloc probes.
1669
322dea08
AO
1670 * malloc/arena.c (new_heap): New memory_heap_new probe.
1671 (grow_heap): New memory_heap_more probe.
1672 (shrink_heap): New memory_heap_less probe.
1673 (heap_trim): New memory_heap_free probe.
1674 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
1675 (systrim): New memory_sbrk_less probe.
1676 * manual/probes.texi: Document them.
1677
655673f3
AO
1678 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
1679 * manual/probes.texi: Document it.
1680
35fed6f1
AO
1681 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
1682 (__libc_realloc): Add memory_realloc_retry probe.
1683 (__libc_memalign): Add memory_memalign_retry probe.
1684 (__libc_valloc): Add memory_valloc_retry probe.
1685 (__libc_pvalloc): Add memory_pvalloc_retry probe.
1686 (__libc_calloc): Add memory_calloc_retry probe.
1687 * manual/probes.texi: Document them.
1688
6999d38c
AO
1689 * malloc/arena.c (get_free_list): Add probe
1690 memory_arena_reuse_free_list.
1691 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
1692 and memory_arena_reuse.
1693 (arena_get2) [!PER_THREAD]: Likewise.
1694 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
1695 memory_arena_reuse_realloc.
1696 * manual/probes.texi: Document them.
1697
0653427f
AO
1698 * malloc/malloc.c (__libc_free): Add
1699 memory_mallopt_free_dyn_thresholds probe.
1700 (__libc_mallopt): Add multiple memory_mallopt probes.
1701 * manual/probes.texi: Document them.
1702
3ea5be54
AO
1703 * malloc/malloc.c: Include stap-probe.h.
1704 (__libc_mallopt): Add memory_mallopt probe.
1705 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
1706 * manual/probes.texi: New.
1707 * manual/Makefile (chapters): Add probes.
1708 * manual/threads.texi: Set next node.
1709
e35696c3 17102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 1711
e35696c3
CL
1712 [BZ #15963, #13985]
1713 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
1714 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
1715 Add `Chinese' to `nan' entry name.
1716
4aafb73c
SP
17172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1718
1719 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
1720 (POLYNOMIAL): Likewise.
1721 (TAYLOR_SINCOS): Likewise.
1722 (TAYLOR_SLOW): Likewise.
1723 (__sin): Use TAYLOR_SINCOS.
1724 (__cos): Likewise.
1725 (slow): Use TAYLOR_SLOW.
1726 (sloww): Likewise.
1727 (bsloww): Likewise.
1728 (csloww): Likewise.
1729
d84f25c7
LD
17302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
1731
1732 * stdlib/strtod_l.c: Fix buffer overrun.
1733
5eea0404
SP
17342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
1735
7849ff93
SP
1736 * benchtests/Makefile (bench): Add sincos.
1737 * benchtests/bench-sincos.c: New file.
1738
cfa3c886
SP
1739 * math/libm-test.inc (cos_test_data): New test inputs.
1740 (sin_test_data): Likewise.
1741
b348e1e3
SP
1742 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
1743 macro.
1744 (__sin): Use it.
1745 (__cos): Likewise.
1746 (slow1): Likewise.
1747 (slow2): Likewise.
1748 (sloww1): Likewise.
1749 (sloww2): Likewise.
1750 (bsloww1): Likewise.
1751 (bsloww2): Likewise.
1752 (cslow2): Likewise.
1753 (csloww1): Likewise.
1754 (csloww2): Likewise.
1755
6cce25f8
SP
1756 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
1757 function.
1758 (__sin): Use it.
1759 (__cos): Likewise.
1760
5eea0404
SP
1761 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
1762 gotos.
1763 (__cos): Likewise.
1764
9c21573c
MR
17652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
1766
1767 * config.h.in (HAVE_MIPS_NAN2008): New macro.
1768 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
1769 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
1770 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
1771 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
1772 * elf/cache.c (print_entry): Handle the new cache flags.
1773
24d22e65
JM
17742013-09-18 Joseph Myers <joseph@codesourcery.com>
1775 Aldy Hernandez <aldyh@redhat.com>
1776
1777 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
1778 Change condition to [_SOFT_FLOAT].
1779 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
1780 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
1781 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
1782 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
1783 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
1784 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
1785 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
1786 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
1787 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
1788 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
1789 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
1790 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
1791 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
1792 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
1793 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
1794 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
1795 declaration.
1796
d13ef066
JM
17972013-09-18 Joseph Myers <joseph@codesourcery.com>
1798
2e071de0
JM
1799 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
1800 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1801 (__longjmp): Use LOAD_GP to load saved GPRs.
1802 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
1803 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
1804 (__sigsetjmp): Use SAVE_GP to save GPRs.
1805
d13ef066
JM
1806 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
1807 Do not append -msoft-float.
1808 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
1809
97a0650b
SP
18102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1811
1812 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
1813
11ca09e9
JM
18142013-09-17 Joseph Myers <joseph@codesourcery.com>
1815
1816 [BZ #15966]
1817 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
1818 (_FPU_GETCW): Use initial "__" on variable and field names but not
1819 on macro parameter name.
1820 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
1821 parentheses around reference to macro parameter.
1822
08ffcf34
RS
18232013-09-13 Richard Sandiford <richard@codesourcery.com>
1824
1825 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
1826 prototype.
1827 (ctype_startup): Use uint32_t in cast and sizeof for
1828 ctype->charnames.
1829
ae7080d3
JL
18302013-09-11 Jia Liu <proljc@gmail.com>
1831
1832 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
1833 __daddr_t_defined.
1834 [__FreeBSD__]: Likewise.
1835
5905e7b3
OB
18362013-09-11 Ondřej Bílka <neleai@seznam.cz>
1837
1838 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1839 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
1840 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
1841 (strchr): Remove __strchr_sse42 ifunc selection.
1842 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
1843 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
1844
b987c776
WN
18452013-09-11 Will Newton <will.newton@linaro.org>
1846
1847 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
1848 parameter to RES. Remove hardcoded 1000 value.
1849 * benchtests/bench-skeleton.c (main): Pass RES parameter
1850 to TIMING_INIT and multiply result by 1000.
1851
ddf985af
AZ
18522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1853
1854 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1855
ffdd3181
AS
18562013-09-11 Andreas Schwab <schwab@suse.de>
1857
1858 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
1859 if not defined.
1860 (O_TMPFILE) [__USE_GNU]: Define.
1861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
1862 Define.
1863
b73ed247
WN
18642013-09-11 Will Newton <will.newton@linaro.org>
1865
1866 [BZ #15857]
1867 * malloc/malloc.c (__libc_memalign): Check the value of bytes
1868 does not overflow.
1869
55e17aad
WN
18702013-09-11 Will Newton <will.newton@linaro.org>
1871
1872 [BZ #15856]
1873 * malloc/malloc.c (__libc_valloc): Check the value of bytes
1874 does not overflow.
1875
1159a193
WN
18762013-09-11 Will Newton <will.newton@linaro.org>
1877
1878 [BZ #15855]
1879 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
1880 does not overflow.
1881
5905e7b3 18822013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
1883
1884 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
1885 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1887 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1888 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1889
cdfc721b
AM
18902013-09-10 Allan McRae <allan@archlinux.org>
1891
aa04af00
AM
1892 [BZ #15748]
1893 * manual/arith.texi (Parsing of Floats): Clarify
1894 cross-reference.
1895
cdfc721b
AM
1896 [BZ #15849]
1897 * manual/install.texi (Running make install): Mention
1898 --enable-pt-chown.
1899 * INSTALL: Regenerated.
1900
95e7cf29
MR
19012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
1902
1903 * csu/init-first.c (_init): Remove the !SHARED condition around
1904 FPU control word initialization.
1905 * elf/dl-support.c (_dl_fpu_control): New variable.
1906 (_dl_aux_init) <AT_FPUCW>: Initialize it.
1907 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
1908 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
1909 * math/test-fpucw-static.c: New file.
1910 * math/test-fpucw-ieee.c: New file.
1911 * math/test-fpucw-ieee-static.c: New file.
1912 * math/Makefile (tests): Add `test-fpucw-ieee' and
1913 `$(tests-static)'.
1914 (tests-static): New variable.
1915 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
1916 dependency to...
1917 [($(build-shared),yes)]
1918 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
1919 ... this.
1920 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
1921 New dependency.
1922
83e43bf0
AM
19232013-09-09 Allan McRae <allan@archlinux.org>
1924
a9f5ce09
AM
1925 [BZ #15939]
1926 * manual/string.texi (Collation Functions): Fix typo in
1927 strcoll example.
1928 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
1929
34829bc2
AM
1930 [BZ #15893]
1931 * stdlib/isomac.c (get_null_defines): Fix memory leak.
1932
3932737d
AM
1933 [BZ #15892]
1934 * libio/memstream.c (open_memstream): Fix memory leak.
1935 * libio/wmemstream.c (open_wmemstream): Likewise.
1936
83e43bf0
AM
1937 [BZ #15895]
1938 * nscd/netgroupcache.c: Fix nesting of ifdefs.
1939
0c66b8e9
WN
19402013-09-09 Will Newton <will.newton@linaro.org>
1941
1942 * malloc/Makefile: Add tst-realloc to tests.
1943 * malloc/tst-realloc.c: New file.
1944
f6b00fd1
AM
19452013-09-09 Allan McRae <allan@archlinux.org>
1946
1947 [BZ #15844]
1948 * COPYING: Update from GNU website to fix FSF address.
1949 * COPYING.LIB: Likewise.
1950
eec55e16
DM
19512013-09-06 David S. Miller <davem@davemloft.net>
1952
1953 * po/zh_TW.po: Update Chinese (traditional) translation from
1954 translation project.
1955
1ecbb381
RS
19562013-09-06 Richard Sandiford <richard@codesourcery.com>
1957 Joseph Myers <joseph@codesourcery.com>
1958
1959 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
1960 "localeinfo.h".
1961 (obstack_chunk_alloc): New macro.
1962 (obstack_chunk_free): Likewise.
1963 (record_offset): New function.
1964 (init_locale_data): Likewise.
1965 (align_locale_data): Likewise.
1966 (add_locale_empty): Likewise.
1967 (add_locale_raw_data): Likewise.
1968 (add_locale_raw_obstack): Likewise.
1969 (add_locale_string): Likewise.
1970 (add_locale_wstring): Likewise.
1971 (add_locale_uint32): Likewise.
1972 (add_locale_uint32_array): Likewise.
1973 (add_locale_char): Likewise.
1974 (start_locale_structure): Likewise.
1975 (end_locale_structure): Likewise.
1976 (start_locale_prelude): Likewise.
1977 (end_locale_prelude): Likewise.
1978 (write_locale_data): Take locale_file structure rather than an
1979 iovec.
1980 * locale/programs/locfile.h: Include "obstack.h".
1981 (struct locale_file): Change to store locale file contents instead
1982 of header.
1983 (init_locale_data): New prototype.
1984 (align_locale_data): Likewise.
1985 (add_locale_empty): Likewise.
1986 (add_locale_raw_data): Likewise.
1987 (add_locale_raw_obstack): Likewise.
1988 (add_locale_string): Likewise.
1989 (add_locale_wstring): Likewise.
1990 (add_locale_uint32): Likewise.
1991 (add_locale_uint32_array): Likewise.
1992 (add_locale_char): Likewise.
1993 (start_locale_structure): Likewise.
1994 (end_locale_structure): Likewise.
1995 (start_locale_prelude): Likewise.
1996 (end_locale_prelude): Likewise.
1997 (write_locale_data): Update prototype.
1998 * locale/programs/3level.h (struct TABLE): Remove result field.
1999 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
2000 Use new locale_file interface.
2001 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
2002 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
2003 * locale/programs/ld-address.c (address_output): Use new
2004 locale_file interface.
2005 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
2006 NO_ADD_LOCALE.
2007 (collate_finish): Don't call collseq_table_finalize.
2008 (collate_output): Use new locale_file interface.
2009 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
2010 in file.
2011 (NO_FINALIZE): Change to NO_ADD_LOCALE.
2012 (TABLE): Move defines earlier in file.
2013 (ELEMENT): Likewise.
2014 (DEFAULT): Likewise.
2015 (wctrans_table_add): Move macro and inline function earlier in
2016 file.
2017 (struct wctype_table): Move type earlier in file.
2018 (add_locale_wctype_table): New static prototype.
2019 (struct locale_ctype_t): Use logical types instead of struct iovec
2020 pointers for members.
2021 (ctype_output): Use new locale_file interface.
2022 (wctype_table_finalize): Change to add_locale_wctype_table. Use
2023 new locale_file interface.
2024 (allocate_arrays): Update for use of new locale_file interface.
2025 * locale/programs/ld-identification.c (identification_output): Use
2026 new locale_file interface.
2027 * locale/programs/ld-measurement.c (measurement_output): Likewise.
2028 * locale/programs/ld-messages.c (messages_output): Likewise.
2029 * locale/programs/ld-monetary.c (monetary_output): Likewise.
2030 * locale/programs/ld-name.c (name_output): Likewise.
2031 * locale/programs/ld-numeric.c (numeric_output): Likewise.
2032 * locale/programs/ld-paper.c (paper_output): Likewise.
2033 * locale/programs/ld-telephone.c (telephone_output): Likewise.
2034 * locale/programs/ld-time.c (time_output): Likewise.
2035
e029e2e5
AZ
20362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2037
2038 * benchtests/Makefile: Add memrchr benchmark.
2039 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
2040 benchmark as memrchr.
2041 * benchtests/bench-memrchr-ifunc.c: New file.
2042 * benchtests/bench-memrchr.c: New file.
2043
bbf6e8e4
WN
20442013-09-06 Will Newton <will.newton@linaro.org>
2045
2046 * benchtests/Makefile (string-bench): Add memcpy.
2047
6c82a2f8
CD
20482013-09-05 Carlos O'Donell <carlos@redhat.com>
2049 Cong Wang <amwang@redhat.com>
2050
2051 * sysdeps/unix/sysv/linux/bits/in.h
2052 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
2053 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
2054 before __USE_KERNEL_IPV6_DEFS uses.
2055 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
2056 IPPROTO_BEETPH.
2057 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
2058 sockaddr_in6, or ipv6_mreq.
2059
5430fc65
AZ
20602013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2061
2062 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
2063 memory access for final bytes in some large inputs.
2064 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
2065
4660856c
AZ
20662013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2067
2068 * string/test-memrchr.c: New file.
2069 * string/test-memrchr-ifunc.c: New file.
2070 * string/Makefile: Add new memrchr testcase.
2071
bb8ea713
MF
20722013-09-05 Mike Frysinger <vapier@gentoo.org>
2073
2074 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
2075 fanotify_init returns EPERM.
2076
b92a20b5
JM
20772013-09-04 Joseph Myers <joseph@codesourcery.com>
2078
2079 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
2080 errors.
2081 (top level): Treat second token from macro or constant entries for
2082 allowed headers as allowed.
2083 * include/complex.h: Condition internal declarations on
2084 [!_ISOMAC].
2085 * include/fenv.h: Condition include of <stdbool.h> and internal
2086 declarations on [!_ISOMAC].
7447ccd9
CL
2087
20882013-09-04 Chris Leonard <cjl@sugarlabs,.org>
2089
3e181dda 2090 [BZ #15923]
7447ccd9
CL
2091 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
2092
3f2e46a4
JM
20932013-09-04 Joseph Myers <joseph@codesourcery.com>
2094
2095 * configure.in (--enable-versioning): Remove configure option.
2096 (libc_cv_asm_symver_directive): Remove configure test.
2097 (libc_cv_ld_version_script_option): Likewise.
2098 (VERSIONING): Remove variable and AC_SUBST.
2099 (DO_VERSIONING): Remove AC_DEFINE.
2100 * configure: Regenerated.
2101 * config.h.in (DO_VERSIONING): Remove macro.
2102 * Makerules [$(versioning) = yes]: Change conditionals to
2103 [$(build-shared) = yes].
2104 * config.make.in (versioning): Remove variable.
2105 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
2106 [$(build-shared) = yes].
2107 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
2108 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
2109 * elf/Makefile [$(versioning) = yes]: Change conditionals to
2110 [$(build-shared) = yes].
2111 * extra-lib.mk [$(versioning) = yes]: Likewise.
2112 * hurd/Makefile [$(versioning) = yes]: Likewise.
2113 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
2114 [SHARED].
2115 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
2116 [SHARED].
2117 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2118 [SHARED && !NO_HIDDEN].
2119 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
2120 [SHARED].
2121 [SHARED && DO_VERSIONING]: Likewise..
2122 * libio/Makefile [$(versioning) = yes]: Change conditionals to
2123 [$(build-shared) = yes].
2124 * manual/install.texi (--disable-versioning): Remove
2125 documentation.
2126 * INSTALL: Regenerated.
2127 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
2128 to [SHARED].
2129 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
2130 [$(build-shared) = yes].
2131 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
2132 * sysdeps/i386/i686/multiarch/strstr-c.c
2133 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
2134 [SHARED && !NO_HIDDEN].
2135 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
2136 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
2137 * sysdeps/powerpc/powerpc32/dl-machine.c
2138 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
2139 * sysdeps/powerpc/powerpc32/sysdep.h
2140 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
2141 to [SHARED && PIC && !NO_HIDDEN].
2142 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
2143 conditional to [SHARED].
2144
44558701
WN
21452013-09-04 Will Newton <will.newton@linaro.org>
2146
2147 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
2148 * benchtests/bench-string.h: Include bench-timing.h instead
2149 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
2150 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
2151 call to HP_TIMING_DIFF_INIT.
2152 * benchtests/bench-memccpy.c: Use bench-timing.h macros
2153 instead of hp-timing.h macros.
2154 * benchtests/bench-memchr.c: Likewise.
2155 * benchtests/bench-memcmp.c: Likewise.
2156 * benchtests/bench-memcpy.c: Likewise.
2157 * benchtests/bench-memmem.c: Likewise.
2158 * benchtests/bench-memmove.c: Likewise.
2159 * benchtests/bench-memset.c: Likewise.
2160 * benchtests/bench-rawmemchr.c: Likewise.
2161 * benchtests/bench-strcasecmp.c: Likewise.
2162 * benchtests/bench-strcasestr.c: Likewise.
2163 * benchtests/bench-strcat.c: Likewise.
2164 * benchtests/bench-strchr.c: Likewise.
2165 * benchtests/bench-strcmp.c: Likewise.
2166 * benchtests/bench-strcpy.c: Likewise.
2167 * benchtests/bench-strcpy_chk.c: Likewise.
2168 * benchtests/bench-strlen.c: Likewise.
2169 * benchtests/bench-strncasecmp.c: Likewise.
2170 * benchtests/bench-strncat.c: Likewise.
2171 * benchtests/bench-strncmp.c: Likewise.
2172 * benchtests/bench-strncpy.c: Likewise.
2173 * benchtests/bench-strnlen.c: Likewise.
2174 * benchtests/bench-strpbrk.c: Likewise.
2175 * benchtests/bench-strrchr.c: Likewise.
2176 * benchtests/bench-strspn.c: Likewise.
2177 * benchtests/bench-strstr.c: Likewise.
2178
cae16d66
WN
21792013-09-04 Will Newton <will.newton@linaro.org>
2180
2181 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
2182
ffa3cd7f
JM
21832013-09-03 Joseph Myers <joseph@codesourcery.com>
2184
2185 [BZ #15427]
2186 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2187 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
2188 * math/libm-test.inc (lgamma_test_data): Add more tests.
2189 * sysdeps/i386/fpu/libm-test-ulps: Update.
2190 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2191
8f02859f
OB
21922013-09-03 Ondřej Bílka <neleai@seznam.cz>
2193
2194 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
2195 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2196 Add ifunc.
2197 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2198 Add strcmp-sse2-unaligned
2199 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
2200
18d43716
MF
22012013-09-02 Mike Frysinger <vapier@gentoo.org>
2202
2203 * Versions.def (libc): Add GLIBC_2.19.
2204
ac444012
MF
22052013-09-02 Mike Frysinger <vapier@gentoo.org>
2206
2207 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
2208 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
2209
b7835e32
JM
22102013-09-02 Joseph Myers <joseph@codesourcery.com>
2211
2212 [BZ #14155]
2213 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
2214 intermediate calculations in recurrence.
2215 (__ieee754_ynf): Likewise.
2216 * math/libm-test.inc (jn_test_data): Do not allow spurious
2217 underflow exception. Add more tests.
2218 (yn_test_data): Add more tests.
2219 * sysdeps/i386/fpu/libm-test-ulps: Update.
2220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2221
8220f4f0
OB
22222013-09-02 Ondřej Bílka <neleai@seznam.cz>
2223
2224 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
2225
f24a6d08
OB
22262013-08-30 Ondřej Bílka <neleai@seznam.cz>
2227
2228 * csu/init-first.c: Fix then/than typos.
2229 * locale/programs/ld-collate.c: Likewise.
2230 * locale/programs/linereader.h: Likewise.
2231 * manual/charset.texi: Likewise.
2232 * manual/filesys.texi: Likewise.
2233 * manual/stdio.texi: Likewise.
2234 * manual/string.texi: Likewise.
2235 * stdlib/fmtmsg.c: Likewise.
2236 * sysdeps/i386/stpncpy.S: Likewise.
2237 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2238 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2239 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2240 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2241
382466e0
OB
22422013-08-30 Ondřej Bílka <neleai@seznam.cz>
2243
2244 * elf/dl-open.c: Fix typos.
2245 * iconvdata/gbbig5.c: Likewise.
2246 * iconvdata/iso-2022-jp.c: Likewise.
2247 * iconv/gconv_int.h: Likewise.
2248 * iconv/loop.c: Likewise.
2249 * nis/rpcsvc/nis.h: Likewise.
2250 * resolv/ns_name.c: Likewise.
2251 * stdio-common/vfscanf.c: Likewise.
2252 * streams/stropts.h: Likewise.
2253 * sunrpc/rpc_thread.c: Likewise.
2254 * sysdeps/i386/strpbrk.S: Likewise.
2255 * sysdeps/ieee754/k_standard.c: Likewise.
2256 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2258 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
2259 * sysdeps/mach/hurd/profil.c: Likewise.
2260 * sysdeps/s390/dl-procinfo.h: Likewise.
2261 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
2262 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2263 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
2264 * sysdeps/x86_64/dl-trampoline.S: Likewise.
2265 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
2266
0186c6e9
OB
22672013-08-30 Ondřej Bílka <neleai@seznam.cz>
2268
2269 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
2270 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
2271
d4e16af1
OB
22722013-08-29 Ondřej Bílka <neleai@seznam.cz>
2273
2274 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
2275 aix specific files.
2276 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
2277 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
2278 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
2279 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
2280 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
2281 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
2282 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
2284
88335980
TS
22852013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2286 Roland McGrath <roland@hack.frob.com>
2287
2288 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
2289 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2290
ed479b02
ST
22912013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
2292
2293 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
2294 __executable_start symbol instead of _start.
2295
f1cc4c86
TS
22962013-08-29 Thomas Schwinge <thomas@codesourcery.com>
2297
d821f07c
TS
2298 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
2299 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
2300 Move macros to...
2301 * sysdeps/gnu/ldsodefs.h: ... this new file.
2302
c54290cf
TS
2303 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
2304 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
2305 instead of ELFOSABI_LINUX.
2306
0007fc9b 2307 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
2308 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
2309 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
2310 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
2311 Likewise.
2312 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
2313 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
2314 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
2315 Likewise.
2316 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2317 (ibm_extended_long_double): Add ieee_nan member.
2318 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
2319 (do_test): New function.
2320
f1cc4c86
TS
2321 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
2322 TEST_TRUNC.
2323 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
2324 functions, renamed from truncdfsf_test, trunctfsf_test,
2325 trunctfdf_test.
2326 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
2327 functions.
2328 (do_test): Run all these.
2329
6f65e668
OB
23302013-08-29 Ondřej Bílka <neleai@seznam.cz>
2331
2332 * argp/argp-help.c: Fix typos.
2333 * argp/argp-parse.c: Likewise.
2334 * debug/backtracesyms.c: Likewise.
2335 * elf/elf.h: Likewise.
2336 * malloc/malloc.c: Likewise.
2337 * nis/nis_print.c: Likewise.
2338 * resolv/res_comp.c: Likewise.
2339 * stdlib/stdlib.h: Likewise.
2340 * sunrpc/clnt_tcp.c: Likewise.
2341 * sunrpc/clnt_udp.c: Likewise.
2342 * sunrpc/clnt_unix.c: Likewise.
2343 * sysdeps/unix/bsd/ptsname.c: Likewise.
2344 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
2347 Likewise.
2348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
2349 Likewise.
2350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
2351 Likewise.
6f65e668
OB
2352 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
2353
3a309239
SP
23542013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
2356 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
2357 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2358
3b813b29
MF
23592013-08-27 Mike Frysinger <vapier@gentoo.org>
2360
2361 [BZ #15897]
2362 * dlfcn/Makefile (tests): Add bug-dl-leaf.
2363 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
2364 ($(objpfx)bug-dl-leaf): New rule.
2365 ($(objpfx)bug-dl-leaf.so): Likewise.
2366 ($(objpfx)bug-dl-leaf.out): Likewise.
2367 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
2368 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
2369 * dlfcn/bug-dl-leaf.c: New test.
2370 * dlfcn/bug-dl-leaf-lib.c: Likewise.
2371 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
2372 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
2373 (dlclose): Likewise.
2374 (dlmopen): Likewise.
2375
8cc3269f
RM
23762013-08-27 Roland McGrath <roland@hack.frob.com>
2377
7f9d0034
RM
2378 * include/netdb.h [!_ISOMAC]:
2379 Don't include <tls.h>.
2380 (h_errno, __libc_h_errno): Move declaration and macros out of
2381 [_LIBC_REENTRANT].
2382
fb431262
RM
2383 * include/resolv.h [_RESOLV_H_]:
2384 Don't include <tls.h>.
2385 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
2386 * resolv/res_libc.c: Don't include <tls.h>.
2387 (_res): Use __attribute__ ((nocommon)) in place of
2388 __attribute__ ((section (".bss"))).
2389
bd81123a
RM
2390 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
2391 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
2392
c4e42566
RM
2393 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
2394
f890a59b
RM
2395 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
2396 only under [SIOCGIFCONF && SIOCGIFNETMASK].
2397
2398 * resolv/res_mkquery.c: Include <sys/time.h>.
2399
5d1f0a09
RM
2400 * inet/ifreq.c: Moved to ...
2401 * sysdeps/unix/ifreq.c: ... here.
2402 * inet/ifreq.c: New file, true stub version.
2403
6fcf28b3
RM
2404 * socket/sa_len.c: New file.
2405 * socket/Makefile (aux): Add it.
2406 * sysdeps/unix/sysv/linux/Makefile
2407 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
2408 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
2409 and #include <socket/sa_len.c>.
2410 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
2411 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
2412
e041fb8b
RM
2413 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
2414 * bits/socket.h: ... here.
2415
8cc3269f
RM
2416 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
2417 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
2418 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
2419
5d228a43
AS
24202013-08-27 Andreas Schwab <schwab@suse.de>
2421
45b8accc
AS
2422 [BZ #15736]
2423 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
2424 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
2425 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
2426 * string/test-strcasecmp.c (test_main): Run tests in several
2427 locales.
2428 * string/test-strncasecmp.c (test_main): Likewise.
2429
5d228a43
AS
2430 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
2431 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
2432 to __strcasecmp_nonascii and __strncasecmp_nonascii.
2433 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
2434 (__strncasecmp_ssse3) [PIC]: Likewise.
2435
59d112a4
RM
24362013-08-26 Roland McGrath <roland@hack.frob.com>
2437
53234cc3
RM
2438 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
2439
59d112a4
RM
2440 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
2441 instead of explicitly declaring xdecrypt.
2442 * nis/nss_nis/nis-publickey.c: Likewise.
2443
595aba70
SP
24442013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2445
2446 [BZ #15890]
2447 * nscd/aicache.c: Include res_hconf.h.
2448 (addhstaiX): Initialize res_hconf.
2449
ffabd393
AS
24502013-08-26 Andreas Schwab <schwab@suse.de>
2451
2452 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
2453 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
2454
e0a69f5c
SP
24552013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2456
2457 * nscd/aicache.c (addhstaiX): Fix indentation.
2458
8c12f01d
MF
24592013-08-25 Mike Frysinger <vapier@gentoo.org>
2460
2461 * configure.ac: Quote $build_pt_chown test.
2462 * configure: Regenerated.
2463
8fe89494
JM
24642013-08-23 Joseph Myers <joseph@codesourcery.com>
2465
2466 [BZ #15532]
2467 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
2468 * math/s_cexpf.c (__cexpf): Likewise.
2469 * math/s_cexpl.c (__cexpl): Likewise.
2470 * math/libm-test.inc (cexp_test_data): Correct expected return
2471 value for NaN + i0. Add another test.
2472
75b181d6
DM
24732013-08-22 David S. Miller <davem@davemloft.net>
2474
2475 * po/ca.po: Update Catalan translation from translation project.
936241e4 2476 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 2477
acd06bb1
JM
24782013-08-21 Joseph Myers <joseph@codesourcery.com>
2479
2480 [BZ #15797]
2481 * math/s_fdim.c (__fdim): Check for infinite arguments if result
2482 is infinite, not alongside NaN test.
2483 * math/s_fdimf.c (__fdimf): Likewise.
2484 * math/s_fdiml.c (__fdiml): Likewise.
2485 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
2486 errno is unchanged.
2487
c0c3f78a
OB
24882013-08-21 Ondřej Bílka <neleai@seznam.cz>
2489
2490 * argp/argp-help.c: Fix typos.
2491 * crypt/speeds.c: Likewise.
2492 * csu/check_fds.c: Likewise.
2493 * elf/dl-load.c: Likewise.
2494 * elf/dl-open.c: Likewise.
2495 * elf/reldep3.c: Likewise.
2496 * elf/reldep.c: Likewise.
2497 * elf/sprof.c: Likewise.
2498 * iconv/iconv_charmap.c: Likewise.
2499 * iconv/skeleton.c: Likewise.
2500 * iconv/strtab.c: Likewise.
2501 * io/lockf64.c: Likewise.
2502 * libio/libioP.h: Likewise.
2503 * resolv/gai_notify.c: Likewise.
2504 * resolv/ns_name.c: Likewise.
2505 * resolv/ns_samedomain.c: Likewise.
2506 * resolv/res_send.c: Likewise.
2507 * stdlib/random.c: Likewise.
2508 * sunrpc/rpc/xdr.h: Likewise.
2509 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
2510 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
2511 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
2512 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
2513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
2514 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
2515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
2516 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
2517 * sysdeps/mach/hurd/check_fds.c: Likewise.
2518 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
2519 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2520 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2521 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2523 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2524 * sysdeps/pthread/aio_notify.c: Likewise.
2525 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
2526 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
2527 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
2528 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2529 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
2530
46ed1038
LD
25312013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2532
2533 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
2534 version if bit_Slow_SSE4_2 is set.
2535 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
2536 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
2537
d400dcac
AZ
25382013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2539
2540 [BZ #15867]
2541 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
2542 trampoline stack frame information.
2543 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
2544 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
2545 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
2546 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
2547 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
2548 * sysdeps/unix/sysv/linux/powerpc/init-first.c
2549 (_libc_vdso_platform_setup): Initialize the signal trampolines.
2550 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
2551 sa_flags value.
2552 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
2553 interrupting a syscall and set with option SA_SIGINFO.
2554
42c8fdd8
JM
25552013-08-20 Joseph Myers <joseph@codesourcery.com>
2556
c980f2f4
JM
2557 [BZ #15531]
2558 * math/s_cproj.c (__cproj): Only return an infinity if one part of
2559 argument is infinite.
2560 * math/s_cprojf.c (__cprojf): Likewise.
2561 * math/s_cprojl.c (__cprojl): Likewise.
2562 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
2563 * math/libm-test.inc (cproj_test_data): Add more tests.
2564
0716c4fc
JM
2565 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
2566
42c8fdd8
JM
2567 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
2568 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
2569 size. Use __ffs to determine corresponding shift.
2570
b31469d0
JM
25712013-08-20 Joseph Myers <joseph@codesourcery.com>
2572 Roland McGrath <roland@hack.frob.com>
2573
2574 * Makefile (INSTALL): Remove trailing blank lines from output of
2575 makeinfo.
2576
4e39af6e
AK
25772013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2578
2579 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
2580 Align 32 bit compat elf_greg to 8 bytes.
2581
f315524e
AA
25822013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2583
2584 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
2585
1326ba1a
SP
25862013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
2587
2588 * string/strcoll_l.c (coll_seq): New structure.
2589 (get_next_seq_cached): New function.
2590 (get_next_seq): New function.
2591 (do_compare): New function.
2592 (STRCOLL): Use GNU style definition. Simplify implementation
2593 by using get_next_seq, get_next_seq_cached and do_compare.
2594
91ce4085
FW
25952013-08-16 Florian Weimer <fweimer@redhat.com>
2596
2597 [BZ #14699]
2598 CVE-2013-4237
2599 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
2600 member.
2601 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
2602 member.
2603 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
2604 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
2605 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
2606 conditional.
2607 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
2608 GETDENTS_64BIT_ALIGNED.
2609 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
2610 * manual/filesys.texi (Reading/Closing Directory): Document
2611 ENAMETOOLONG return value of readdir_r. Recommend readdir more
2612 strongly.
2613 * manual/conf.texi (Limits for Files): Add portability note to
2614 NAME_MAX, PATH_MAX.
2615 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
2616
ca0a6bc4
AS
26172013-08-13 Andreas Schwab <schwab@suse.de>
2618
2619 [BZ #15749]
2620 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
2621 of fabs.
2622 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
2623 LDBL_MAX_EXP >= 16384]: Add tests for it.
2624
6c1fd795
DM
26252013-08-12 David S. Miller <davem@davemloft.net>
2626
2627 * version.h (RELEASE): Set to "development".
2628 (VERSION): Set to "2.18.90".
2629 * NEWS: Add 2.19 section.
2630
31ad488d
DM
26312013-08-03 David S. Miller <davem@davemloft.net>
2632
2633 * po/ko.po: Update Korean translation from translation project.
2634
db24e684
DM
26352013-08-01 David S. Miller <davem@davemloft.net>
2636
2637 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
2638 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
2639 Bilka.
2640
f723285b
DM
26412013-07-30 David S. Miller <davem@davemloft.net>
2642
2643 * po/fr.po: Update French translation from translation project.
2644
3cbc52db
DM
26452013-07-28 David S. Miller <davem@davemloft.net>
2646
30bbc0cc
DM
2647 * po/cs.po: Update Czech translation from translation project.
2648
3cbc52db
DM
2649 * po/sv.po: Update Swedish translation from translation project.
2650
d492e6d0
DM
26512013-07-27 David S. Miller <davem@davemloft.net>
2652
f1a7f492
DM
2653 * po/eo.po: Update Esperanto translation from translation project.
2654
90e62a4a
DM
2655 * po/vi.po: Update Vietnamese translation from translation project.
2656
d492e6d0
DM
2657 * po/de.po: Update German translation from translation project.
2658
d4baa62d
DM
26592013-07-26 David S. Miller <davem@davemloft.net>
2660
641aa7b4
DM
2661 * po/bg.po: Update Bulgarian translation from translation project.
2662
d4baa62d
DM
2663 * po/nl.po: Update Dutch translation from translation project.
2664 * po/pl.po: Update Polish translation from translation project.
2665 * po/ru.po: Update Russian translation from translation project.
2666
61a9dcb9
DM
26672013-07-24 David S. Miller <davem@davemloft.net>
2668
2669 * po/libc.pot: Update.
2670
7b1f8b58
AZ
26712013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2672
2673 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
2674 variable page size.
2675 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
2677 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
2678
a8fc7a03
AK
26792013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2680
2681 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
2682
e4608715
CD
26832013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2684 Andreas Schwab <schwab@suse.de>
2685 Roland McGrath <roland@hack.frob.com>
2686 Joseph Myers <joseph@codesourcery.com>
2687 Carlos O'Donell <carlos@redhat.com>
2688
2689 [BZ #15755]
2690 * config.h.in: Define HAVE_PT_CHOWN.
2691 * config.make.in (build-pt-chown): New variable.
2692 * configure.in (--enable-pt_chown): New configure option.
2693 * configure: Regenerate.
2694 * login/Makefile: Include Makeconfig. Build pt_chown only if
2695 build-pt-chown is enabled.
2696 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
2697 pt_chown to fix pty ownership.
2698 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
2699 CLOSE_ALL_FDS.
2700 * manual/install.texi (Configuring and compiling): Mention
2701 --enable-pt_chown. Add @findex for grantpt.
2702 * INSTALL: Regenerate.
2703
da2d62df
DM
27042013-07-20 David S. Miller <davem@davemloft.net>
2705
2706 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
2707 difference between 32-bit and 64-bit.
2708
d7e06450
CD
27092013-07-15 Carlos O'Donell <carlos@redhat.com>
2710
2711 [BZ #15711]
2712 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
2713 Avoid system header dependency with -ffreestanding.
2714 ($(objpfx)bits/syscall%d): Likewise.
2715
f959cfd7
DM
27162013-07-13 David S. Miller <davem@davemloft.net>
2717
2718 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
2719 underflows from atanl/atan2l due to bug 15319.
2720 (casinh_test_data): Likewise.
2721
c61f8513
DM
27222013-07-07 David S. Miller <davem@davemloft.net>
2723
2724 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2725
72c90ed0
JA
27262013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
2727
2728 * sysdeps/i386/fpu/libm-test-ulps: Update.
2729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2730
52dfbe13
SP
27312013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2732
2733 * configure.in (--enable-lock-elision): Fix message text.
2734 * INSTALL: Regenerate.
2735 * configure: Regenerate.
2736
3f169543
AZ
27372013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2738
2739 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2740
521c6785
AJ
27412013-07-03 Andreas Jaeger <aj@suse.de>
2742
2743 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
2744 define.
2745 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
2746 (ptrace_peeksiginfo_args): Add.
2747 (__ptrace_peeksiginfo_flags): Add.
2748 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
2749 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
2750 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
2751
d2cc15cb
AM
27522013-07-03 Allan McRae <allan@archlinux.org>
2753
2754 * sysdeps/i386/fpu/libm-test-ulps: Update.
2755
3aaeeca7
DM
27562013-07-02 David S. Miller <davem@davemloft.net>
2757
2758 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2759
5314ed1a
MT
27602013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
2761
2762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2763
67338156
JM
27642013-07-02 Joseph Myers <joseph@codesourcery.com>
2765
2766 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
2767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2768
1717da59
AK
27692013-07-02 Andi Kleen <ak@linux.intel.com>
2770
2771 * config.h.in (ENABLE_LOCK_ELISION): Add.
2772 * configure.in (--enable-lock-elision): Add option.
2773 * manual/install.texi: Document --enable lock elision.
2774 * configure: Regenerate
2775 * INSTALL: Regenerate.
2776
1c81621c
L
27772013-07-02 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
2780 SSE4.2 strcasecmp for libc.a.
2781 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
2782
77f01ab5
JM
27832013-07-02 Joseph Myers <joseph@codesourcery.com>
2784
2785 [BZ #13304]
2786 * soft-fp/op-common.h (_FP_FMA): New macro.
2787 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
2788 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
2789 (_FP_MUL_MEAT_1_imm): ... here.
2790 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
2791 (_FP_MUL_MEAT_1_wide): ... here.
2792 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
2793 (_FP_MUL_MEAT_1_hard): ... here.
2794 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
2795 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
2796 (_FP_MUL_MEAT_2_wide): ... here.
2797 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
2798 (_FP_MUL_MEAT_2_wide_3mul): ... here.
2799 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
2800 (_FP_MUL_MEAT_2_gmp): ... here.
2801 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
2802 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
2803 (_FP_MUL_MEAT_4_wide): ... here.
2804 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
2805 (_FP_MUL_MEAT_4_gmp): ... here.
2806 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
2807 (_FP_WFRACBITS_DW_S): Likewise.
2808 (_FP_WFRACXBITS_DW_S): Likewise.
2809 (_FP_HIGHBIT_DW_S): Likewise.
2810 (FP_FMA_S): Likewise.
2811 (_FP_FRAC_HIGH_DW_S): Likewise.
2812 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
2813 (_FP_WFRACBITS_DW_D): Likewise.
2814 (_FP_WFRACXBITS_DW_D): Likewise.
2815 (_FP_HIGHBIT_DW_D): Likewise.
2816 (FP_FMA_D): Likewise.
2817 (_FP_FRAC_HIGH_DW_D): Likewise.
2818 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
2819 (_FP_WFRACBITS_DW_E): Likewise.
2820 (_FP_WFRACXBITS_DW_E): Likewise.
2821 (_FP_HIGHBIT_DW_E): Likewise.
2822 (FP_FMA_E): Likewise.
2823 (_FP_FRAC_HIGH_DW_E): Likewise.
2824 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
2825 (_FP_WFRACBITS_DW_Q): Likewise.
2826 (_FP_WFRACXBITS_DW_Q): Likewise.
2827 (_FP_HIGHBIT_DW_Q): Likewise.
2828 (FP_FMA_Q): Likewise.
2829 (_FP_FRAC_HIGH_DW_Q): Likewise.
2830 * soft-fp/fmasf4.c: New file.
2831 * soft-fp/fmadf4.c: Likewise.
2832 * soft-fp/fmatf4.c: Likewise.
2833
6308fd9a
LD
28342013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2835
2836 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
2837 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
2838 Silvermont.
2839 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
2840 macro.
2841 (index_Slow_SSE4_2): Likewise.
2842 (index_Prefer_PMINUB_for_stringop): Likewise.
2843 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
2844 bit_Slow_SSE4_2 is set.
2845 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2846 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2847
89cd9569
RA
28482013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2849
2850 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
2851 rtld_global._dl_hwcap2.
2852 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
2853 POWER8.
2854 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
2855 POWER8 feature descriptions defined in _dl_hwcap2.
2856 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
2857 string handling for POWER8 feature bits.
2858 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
2859 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
2860 _dl_powerpc_cap_flags.
2861 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
2862 * sysdeps/powerpc/rtld-global-offsets.sym
2863 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
2864 _dl_hwcap2 in the rtld_global_ro structure.
2865
1ae8bfe0
RA
28662013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2867
2868 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
2869 hardware capabilities in support of AT_HWCAP2.
2870 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
2871 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
2872 GLRO(dl_hwcap2).
2873 (_dl_show_auxv): Add support for calling _dl_procinfo to display
2874 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
2875 explicitly the unknown a_type display mechanism is used.
2876 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
2877 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
2878 struct member.
2879 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
2880 to macro prototype for AT_HWCAP2 support.
2881 * sysdeps/i386/dl-procinfo.h: Likewise.
2882 * sysdeps/s390/dl-procinfo.h: Likewise.
2883 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
2884 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
2885 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
2886 return -1 for unknown a_type display fallback.
2887 * sysdeps/sparc/dl-procinfo.h: Likewise.
2888 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
2889 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2890
8fbec010
JM
28912013-06-28 Joseph Myers <joseph@codesourcery.com>
2892
2893 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
2894 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
2895
0432680e
PY
28962013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
2897
2898 [BZ #12492]
2899 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
2900 mprotect making __stack_prot writable.
2901
ce61a2ad
NF
29022013-06-28 Nathan Froyd <froydnj@codesourcery.com>
2903 Joseph Myers <joseph@codesourcery.com>
2904
2905 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
2906 as being properly aligned.
2907
f91f1c0f
MR
29082013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
2909
3d0f5d0c
MR
2910 * dlfcn/modstatic5.c: New file.
2911 * dlfcn/tststatic5.c: New file.
2912 * dlfcn/Makefile (tests): Add tststatic5.
2913 (tests-static): Likewise.
2914 (modules-names): Add modstatic5.
2915 (tststatic5-ENV): New variable.
2916 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
2917
f91f1c0f
MR
2918 [BZ #15022]
2919 * elf/dl-support.c (_dl_main_map): New variable.
2920 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
2921 (_dl_nns, _dl_load_adds): Set to 1.
2922 (_dl_initial_searchlist): Refer to _dl_main_map.
2923 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
2924 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
2925 call to _dl_get_origin.
2926 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
2927 around call_map.
2928 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
2929 * dlfcn/modstatic3.c: New file.
2930 * dlfcn/tststatic3.c: New file.
2931 * dlfcn/tststatic4.c: New file.
2932 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
2933 (tests-static): Likewise.
2934 (modules-names): Add modstatic3.
2935 (tststatic3-ENV, tststatic4-ENV): New variables.
2936 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
2937 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
2938
cbe7d24b
JM
29392013-06-26 Joseph Myers <joseph@codesourcery.com>
2940
2941 * configure.in (CC): Require GCC version 4.4 or later.
2942 * configure: Regenerated.
2943 * manual/install.texi (Tools for Compilation): Update GCC version
2944 requirement.
2945 * INSTALL: Regenerated.
2946
11b8a0e1
LD
29472013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2948
2949 [BZ #15674]
bb5bb87c
L
2950 * string/test-memcmp.c (check2): New.
2951 (main): Call check2.
2952
11b8a0e1
LD
2953 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
2954
b0037103
MR
29552013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
2956
2957 [BZ #15022]
2958 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
2959 over to...
2960 (dl_open_worker) [!SHARED]: ... here.
2961
c18c701d
RA
29622013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2963
2964 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
2965
1d17fa5f
RH
29662013-06-25 Richard Henderson <rth@redhat.com>
2967
2968 * locale/programs/locarchive.c: Include <libc-internal.h>
2969
8fcb833a
JM
29702013-06-25 Joseph Myers <joseph@codesourcery.com>
2971
2972 * manual/texinfo.tex: Update to version 2013-06-21.17, with
2973 trailing whitespace removed.
2974
17db6e8d
MF
29752013-06-24 Mike Frysinger <vapier@gentoo.org>
2976
2977 [BZ #10283]
17db6e8d
MF
2978 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
2979 * locale/programs/locarchive.c: Include libc-mmap.h.
2980 (prepare_address_space): Take two new outputs (the mmap base and len).
2981 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
2982 values.
2983 (create_archive): Declare new mmap base and len values for
2984 prepare_address_space, and store the result in ah.
2985 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
2986 (enlarge_archive): If ah->mmap_base is not NULL, use that and
2987 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2988 Declare new mmap base and len values for
2989 prepare_address_space, and store the result in new_ah.
2990 (open_archive): Declare new mmap base and len values for
2991 prepare_address_space, and store the result in ah.
2992 (close_archive): If ah->mmap_base is not NULL, use that and
2993 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
2994 * sysdeps/generic/libc-mmap.h: New file.
2995
d605071e
MF
29962013-06-24 Mike Frysinger <vapier@gentoo.org>
2997
2998 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
2999 (ALIGN_UP): Likewise.
3000 (PTR_ALIGN_DOWN): Likewise.
3001 (PTR_ALIGN_UP): Likewise.
3002
2f063a6e
RA
30032013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3004
3005 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
3006 entry mapped to PPC_PLATFORM_POWER8.
3007 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
3008 POWER8.
3009 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
3010 (_dl_string_platform): Add case for exporting platform position for
3011 POWER8.
3012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
3013 search path to sysdeps/powerpc/powerpc32/power8 directory.
3014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
3015 search path to sysdeps/powerpc/powerpc64/power8 directory.
3016 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
3017 power7 directories.
3018 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
3019 power7 directories.
3020
a31ee4b3
SP
30212013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3022
a74ca98f
SP
3023 * INSTALL: Regenerate.
3024
a31ee4b3
SP
3025 * nscd/connections.c (nscd_init): Fix comment.
3026
695c378f
JM
30272013-06-22 Joseph Myers <joseph@codesourcery.com>
3028
d8412221
JM
3029 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
3030
695c378f
JM
3031 [BZ #15667]
3032 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
3033 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
3034
d1d54715
MR
30352013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3036
3037 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
3038 DL_DST_REQ_STATIC.
3039 (DL_DST_REQ_STATIC): Remove macro.
3040
8fdda7af
JM
30412013-06-21 Joseph Myers <joseph@codesourcery.com>
3042
3043 [BZ #7006]
3044 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
3045 with a shift of 0 bits.
3046
f3bc5e5a
MR
30472013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
3048
3049 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
3050 $(tststatic-ENV).
3051
be09e8c9
KK
30522013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3053
3054 [BZ #15655]
3055 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
3056
85c2e611
AZ
30572013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3058
3059 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
3060 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
3061 accepts -fno-tree-loop-distribute-patterns.
3062 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
3063 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
3064 recursive call.
3065 * string/memset.c (memset): Likewise.
3066 * string/test-memmove.c (simple_memmove): Disable loop transformation
3067 to library calls.
3068 * string/test-memset.c (simple_memset): Likewise.
3069 * benchtests/bench-memmove.c (simple_memmove): Likewise.
3070 * benchtests/bench-memset.c (simple_memset): Likewise.
3071 * configure: Regenerated.
3072
c91e0825
JM
30732013-06-20 Joseph Myers <joseph@codesourcery.com>
3074
b8c792af
JM
3075 * math/test-misc.c (main): Ignore fesetround failure when failures
3076 of subsequent rounding tests would be ignored.
3077
c91e0825
JM
3078 [BZ #15654]
3079 * math/fedisblxcpt.c (fedisableexcept): Return 0.
3080 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
3081 * math/fegetenv.c (__fegetenv): Return 0.
3082 * math/fegetexcept.c (fegetexcept): Return 0.
3083 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
3084 FE_TONEAREST.
3085 * math/feholdexcpt.c (feholdexcept): Return 0.
3086 * math/fesetenv.c (__fesetenv): Return 0.
3087 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
3088 argument FE_TONEAREST.
3089 * math/feupdateenv.c (__feupdateenv): Return 0.
3090 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
3091
bfcacbde
RM
30922013-06-18 Roland McGrath <roland@hack.frob.com>
3093
3094 * elf/rtld-Rules (rtld-compile-command.S): New variable.
3095 (rtld-compile-command.s, rtld-compile-command.c): New variables.
3096 ($(objpfx)rtld-%.os rules): Use them.
3097
e55a9b25
AZ
30982013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3099
3100 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
3101 fields.
3102
346d65b3
RM
31032013-06-17 Roland McGrath <roland@hack.frob.com>
3104
12086fb4
RM
3105 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
3106 length of target pattern, then descending length of dependency pattern.
3107 * configure.in (AWK): Require gawk 3.1.2 or newer.
3108 * manual/install.texi (Tools for Compilation): Say that we do.
3109 * configure: Regenerated.
3110
346d65b3
RM
3111 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
3112 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
3113 * scripts/sysd-rules.awk: ... this new script.
3114 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
3115 than a glob-style pattern.
3116
1a846317
JM
31172013-06-17 Joseph Myers <joseph@codesourcery.com>
3118
3119 * math/test-misc.c (main): Do not treat incorrectly rounded
3120 conversions as failure unless ROUNDING_TESTS passes.
3121
8fc75e6f
JM
31222013-06-15 Joseph Myers <joseph@codesourcery.com>
3123
3711a167
JM
3124 [BZ #15631]
3125 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
3126 restore exception state around main square root computation, then
3127 check for inexactness explicitly.
3128
8fc75e6f
JM
3129 * math/libm-test.inc (fma_test_data): Add another test.
3130
61dd6208
SP
31312013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
3132
adf23d2c
SP
3133 * manual/threads.texi (Non-POSIX Extensions): New document
3134 node. Document pthread_getattr_default_np and
3135 pthread_setattr_default_np.
3136
61dd6208
SP
3137 * Versions.def (libpthread): Add GLIBC_2.18.
3138 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
3139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
3140 Likewise.
3141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
3142 Likewise.
3143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
3144 Likewise.
3145 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
3146 Likewise.
3147 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
3148 Likewise.
3149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
3150 Likewise.
3151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
3152 Likewise.
3153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
3154 Likewise.
3155 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
3156 Likewise.
3157
d086fc7b
LD
31582013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3159
3160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3161 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
3162
747ef469
SP
31632013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3164 H.J. Lu <hjl.tools@gmail.com>
3165
3166 [BZ #15627]
3167 * sysdeps/x86_64/rtld-memset.c: Remove file.
3168 * sysdeps/x86_64/rtld-memset.S: New file.
3169
1b2feed2
JM
31702013-06-14 Joseph Myers <joseph@codesourcery.com>
3171
3172 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
3173 (test_in_one_mode): Take arguments for whether the rounding mode
3174 is supported for each floating-point type.
3175 (do_test): Pass new arguments to test_in_one_mode using
3176 ROUNDING_TESTS.
3177
a58ad3f8
RM
31782013-06-13 Roland McGrath <roland@hack.frob.com>
3179
3180 * posix/tst-waitid.c (do_test): Distinguish different instances of
3181 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
3182 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
3183 before entering the kernel for waitpid.
3184
c204ab28
SP
31852013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3186
3187 * NEWS: Fix note on clock function precision. Text by Roland
3188 McGrath.
3189
f4a29fba
RM
31902013-06-13 Roland McGrath <roland@hack.frob.com>
3191
3192 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
3193 it into place only when and if the sanity check passes.
3194
1f24b9ad
JM
31952013-06-13 Joseph Myers <joseph@codesourcery.com>
3196
3197 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
3198 output for whether conversion result is exact. Take argument
3199 indicating whether type is IBM long double.
3200 (round_for_all): Change need_exact field to ibm_ld.
3201 * stdlib/tst-strtod-round.c (struct exactness): New type.
3202 (struct test): Change bool ld_ok field to struct exactness exact.
3203 (TEST): Update all definitions for change to field.
3204 (tests): Regenerate array contents.
3205 (test_in_one_mode): Take pointer to new field instead of old ld_ok
3206 field value. Check for IBM long double here.
3207 (do_test): Update calls to test_in_one_mode.
3208
58206c68
SP
32092013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3210
3211 [BZ #12515]
3212 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
3213 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
3214
2d6f4c5b 32152013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
3216
3217 [BZ #15605]
3218 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
3219 generated by the compiler on loop optimizations.
3220 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
3221 general definitions.
3222
94f2c076
JM
32232013-06-12 Joseph Myers <joseph@codesourcery.com>
3224
3225 * math/bug-nextafter.c: Include <math-tests.h>.
3226 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3227 the relevant type.
3228 * math/bug-nexttoward.c: Include <math-tests.h>.
3229 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3230 the relevant type.
3231 * math/test-misc.c: Include <math-tests.h>.
3232 (main): Only test for exceptions if EXCEPTION_TESTS is true for
3233 the relevant type.
3234
e0e50a0a
AJ
32352013-06-12 Andreas Jaeger <aj@suse.de>
3236
3237 * po/ia.po: Update Interlingua translation from translation
3238 project.
3239
25061094
SP
32402013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3241
3242 * include/fenv.h: Include stdbool.h.
3243 (struct rm_ctx): New structure.
3244 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
3245 Define macro.
3246 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
3247 (SET_RESTORE_ROUNDF): Likewise.
3248 (SET_RESTORE_ROUNDL): Likewise.
3249 (SET_RESTORE_ROUND_NOEX): Likewise.
3250 (SET_RESTORE_ROUND_NOEXF): Likewise.
3251 (SET_RESTORE_ROUND_NOEXL): Likewise.
3252 (SET_RESTORE_ROUND_53BIT): Likewise.
3253 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
3254 (libc_feresetround_noexf_ctx): Likewise.
3255 (libc_feresetround_noexl_ctx): Likewise.
3256 (libc_feholdsetround_53bit_ctx): Likewise.
3257 (libc_feresetround_53bit_ctx): Likewise.
3258 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
3259 (libc_feholdexcept_setround_sse_ctx): New function.
3260 (libc_fesetenv_sse_ctx): Likewise.
3261 (libc_feupdateenv_sse_ctx): Likewise.
3262 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
3263 (libc_feholdexcept_setround_387_ctx): Likewise.
3264 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
3265 (libc_feholdsetround_387_prec_ctx): Likewise.
3266 (libc_feholdsetround_387_ctx): Likewise.
3267 (libc_feholdsetround_387_53bit_ctx): Likewise.
3268 (libc_feholdsetround_sse_ctx): Likewise.
3269 (libc_feresetround_sse_ctx): Likewise.
3270 (libc_feresetround_387_ctx): Likewise.
3271 (libc_feupdateenv_387_ctx): Likewise.
3272 (libc_feholdexcept_setroundf_ctx): Define macro.
3273 (libc_fesetenvf_ctx): Likewise.
3274 (libc_feupdateenvf_ctx): Likewise.
3275 (libc_feholdsetroundf_ctx): Likewise.
3276 (libc_feresetroundf_ctx): Likewise.
3277 (libc_feholdexcept_setround_ctx): Likewise.
3278 (libc_fesetenv_ctx): Likewise.
3279 (libc_feupdateenv_ctx): Likewise.
3280 (libc_feholdsetround_ctx): Likewise.
3281 (libc_feresetround_ctx): Likewise.
3282 (libc_feholdexcept_setroundl_ctx): Likewise.
3283 (libc_feupdateenvl_ctx): Likewise.
3284 (libc_feholdsetroundl_ctx): Likewise.
3285 (libc_feresetroundl_ctx): Likewise.
3286 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
3287 (libc_feresetround_53bit_ctx): Likewise.
3288
59b30555
SP
32892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3290
3291 * locale/iso-639.def: Convert to UTF-8.
3292
f1d73d30
JM
32932013-06-11 Joseph Myers <joseph@codesourcery.com>
3294
3295 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
3296 (EXCEPTION_TESTS_double): Likewise.
3297 (EXCEPTION_TESTS_long_double): Likewise.
3298 (EXCEPTION_TESTS): Likewise.
3299 * math/libm-test.inc (test_exceptions): Only test exceptions if
3300 EXCEPTION_TESTS (FLOAT).
3301
94aca5e7
SP
33022013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3303
3304 * benchtests/Makefile (string-bench): Add strcpy_chk and
3305 stpcpy_chk.
3306 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
3307 * benchtests/bench-stpcpy_chk.c: New file.
3308 * benchtests/bench-strcpy_chk-ifunc.c: New file.
3309 * benchtests/bench-strcpy_chk.c: New file.
3310 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
3311 code.
3312 (do_test): Likewise.
3313
fac0c5f2
RA
33142013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
3315
3316 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
3317 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
3318 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
3319 with tabs where appropriate.
3320 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
3321 dl-procinfo.h.
3322 [PPC_PLATFORM_PPC440]: Likewise.
3323 [PPC_PLATFORM_PPC464]: Likewise.
3324 [PPC_PLATFORM_PPC476]: Likewise.
3325 (_dl_string_platform): Add support for detecting ppc405, ppc440,
3326 ppc464, and ppc476 platform strings merging from ports/
3327 dl-procinfo.h.
3328
f22bc486
AS
33292013-06-11 Andreas Schwab <schwab@suse.de>
3330
3331 [BZ #14991]
3332 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
3333 (from_ucs4_idx): Regenerate.
3334 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
3335 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
3336 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
3337 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
3338 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
3339 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
3340 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
3341 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
3342 from FROM_LOOP and TO_LOOP specific macros.
3343 (BODY): Handle combining characters.
3344 * iconvdata/BIG5HKSCS.irreversible: Update.
3345 * iconvdata/BIG5HKSCS.precomposed: New file.
3346 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
3347 characters.
3348 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
3349
c1f75dc3
SP
33502013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3351
4eacded2
SP
3352 * include/sys/time.h: Fix indentation and add copyright header.
3353
fec799f8
SP
3354 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
3355 (do_test): Likewise.
3356 * string/test-memchr.c (do_one_test): Likewise.
3357 (do_test): Likewise.
3358 * string/test-memcmp.c (do_one_test): Likewise.
3359 (do_test): Likewise.
3360 * string/test-memcpy.c (do_one_test): Likewise.
3361 (do_test): Likewise.
3362 * string/test-memmem.c (do_one_test): Likewise.
3363 (do_test): Likewise.
3364 (do_random_tests): Likewise.
3365 * string/test-memmove.c (do_one_test): Likewise.
3366 (do_test): Likewise.
3367 * string/test-memset.c (do_one_test): Likewise.
3368 (do_test): Likewise.
3369 * string/test-rawmemchr.c (do_one_test): Likewise.
3370 (do_test): Likewise.
3371 * string/test-strcasecmp.c (do_one_test): Likewise.
3372 (do_test): Likewise.
3373 * string/test-strcasestr.c (do_one_test): Likewise.
3374 (do_test): Likewise.
3375 * string/test-strcat.c (do_one_test): Likewise.
3376 (do_test): Likewise.
3377 * string/test-strchr.c (do_one_test): Likewise.
3378 (do_test): Likewise.
3379 * string/test-strcmp.c (do_one_test): Likewise.
3380 (do_test): Likewise.
3381 * string/test-strcpy.c (do_one_test): Likewise.
3382 (do_test): Likewise.
3383 * string/test-string.h: Likewise.
3384 (test_init): Likewise.
3385 * string/test-strlen.c (do_one_test): Likewise.
3386 (do_test): Likewise.
3387 * string/test-strncasecmp.c (do_one_test): Likewise.
3388 (do_test): Likewise.
3389 * string/test-strncat.c (do_one_test): Likewise.
3390 (do_test): Likewise.
3391 * string/test-strncmp.c (do_one_test): Likewise.
3392 (do_test_limit): Likewise.
3393 (do_test): Likewise.
3394 * string/test-strncpy.c (do_one_test): Likewise.
3395 (do_test): Likewise.
3396 * string/test-strnlen.c (do_one_test): Likewise.
3397 (do_test): Likewise.
3398 * string/test-strpbrk.c (do_one_test): Likewise.
3399 (do_test): Likewise.
3400 * string/test-strrchr.c (do_one_test): Likewise.
3401 (do_test): Likewise.
3402 * string/test-strspn.c (do_one_test): Likewise.
3403 (do_test): Likewise.
3404 * string/test-strstr.c (do_one_test): Likewise.
3405 (do_test): Likewise.
3406
97020474
SP
3407 * benchtests/Makefile (string-bench): Add string benchmarks.
3408 * benchtests/bench-bcopy-ifunc.c: New file.
3409 * benchtests/bench-bcopy.c: New file.
3410 * benchtests/bench-bzero-ifunc.c: New file.
3411 * benchtests/bench-bzero.c: New file.
3412 * benchtests/bench-memccpy-ifunc.c: New file.
3413 * benchtests/bench-memccpy.c: New file.
3414 * benchtests/bench-memchr-ifunc.c: New file.
3415 * benchtests/bench-memchr.c: New file.
3416 * benchtests/bench-memcmp-ifunc.c: New file.
3417 * benchtests/bench-memcmp.c: New file.
3418 * benchtests/bench-memmem-ifunc.c: New file.
3419 * benchtests/bench-memmem.c: New file.
3420 * benchtests/bench-memmove-ifunc.c: New file.
3421 * benchtests/bench-memmove.c: New file.
3422 * benchtests/bench-mempcpy-ifunc.c: New file.
3423 * benchtests/bench-mempcpy.c: New file.
3424 * benchtests/bench-memset-ifunc.c: New file.
3425 * benchtests/bench-memset.c: New file.
3426 * benchtests/bench-rawmemchr-ifunc.c: New file.
3427 * benchtests/bench-rawmemchr.c: New file.
3428 * benchtests/bench-stpcpy-ifunc.c: New file.
3429 * benchtests/bench-stpcpy.c: New file.
3430 * benchtests/bench-stpncpy-ifunc.c: New file.
3431 * benchtests/bench-stpncpy.c: New file.
3432 * benchtests/bench-strcasecmp-ifunc.c: New file.
3433 * benchtests/bench-strcasecmp.c: New file.
3434 * benchtests/bench-strcasestr-ifunc.c: New file.
3435 * benchtests/bench-strcasestr.c: New file.
3436 * benchtests/bench-strcat-ifunc.c: New file.
3437 * benchtests/bench-strcat.c: New file.
3438 * benchtests/bench-strchr-ifunc.c: New file.
3439 * benchtests/bench-strchr.c: New file.
3440 * benchtests/bench-strchrnul-ifunc.c: New file.
3441 * benchtests/bench-strchrnul.c: New file.
3442 * benchtests/bench-strcmp-ifunc.c: New file.
3443 * benchtests/bench-strcmp.c: New file.
3444 * benchtests/bench-strcpy-ifunc.c: New file.
3445 * benchtests/bench-strcpy.c: New file.
3446 * benchtests/bench-strcspn-ifunc.c: New file.
3447 * benchtests/bench-strcspn.c: New file.
3448 * benchtests/bench-strlen-ifunc.c: New file.
3449 * benchtests/bench-strlen.c: New file.
3450 * benchtests/bench-strncasecmp-ifunc.c: New file.
3451 * benchtests/bench-strncasecmp.c: New file.
3452 * benchtests/bench-strncat-ifunc.c: New file.
3453 * benchtests/bench-strncat.c: New file.
3454 * benchtests/bench-strncmp-ifunc.c: New file.
3455 * benchtests/bench-strncmp.c: New file.
3456 * benchtests/bench-strncpy-ifunc.c: New file.
3457 * benchtests/bench-strncpy.c: New file.
3458 * benchtests/bench-strnlen-ifunc.c: New file.
3459 * benchtests/bench-strnlen.c: New file.
3460 * benchtests/bench-strpbrk-ifunc.c: New file.
3461 * benchtests/bench-strpbrk.c: New file.
3462 * benchtests/bench-strrchr-ifunc.c: New file.
3463 * benchtests/bench-strrchr.c: New file.
3464 * benchtests/bench-strspn-ifunc.c: New file.
3465 * benchtests/bench-strspn.c: New file.
3466 * benchtests/bench-strstr-ifunc.c: New file.
3467 * benchtests/bench-strstr.c: New file.
3468
c1f75dc3
SP
3469 * benchtests/Makefile: Disable parallel execution of targets.
3470 (string-bench): Add memcpy.
3471 (benchset): New variable to store a list of benchmark sets.
3472 (bench-func): Renamed from bench.
3473 (bench-set): New target.
3474 (bench): Depend on bench-func and bench-set.
3475 * benchtests/README: Add section on benchmark sets.
3476 * benchtests/bench-memcpy-ifunc.c: New file.
3477 * benchtests/bench-memcpy.c: New file.
3478 * benchtests/bench-string.h: New file.
3479
50fd745b
AS
34802013-06-11 Andreas Schwab <schwab@suse.de>
3481
3482 [BZ #15577]
3483 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
3484 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
3485 values in the triple.
3486 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
3487 terminator in the group key.
3488
3ee7e9fe
AJ
34892013-06-11 Andreas Jaeger <aj@suse.de>
3490
3491 * po/zh_TW.po: Update Chinese (traditional) translation from
3492 translation project.
3493
89fb6835
SP
34942013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
3495
3496 * include/time.h (__clock_gettime): Add libc_hidden_proto.
3497 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
3498 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
3499 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
3500 (clock_getcpuclockid): Likewise.
3501 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
3502 Add weak_alias and libc_hidden_def.
3503 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
3504 * rt/clock_gettime.c (clock_gettime): Rename to
3505 __clock_gettime. Add weak_alias and libc_hidden_def.
3506 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
3507 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
3508 __clock_nanosleep. Add weak_alias and libc_hidden_def.
3509 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
3510 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
3511 Likewise.
3512 * rt/clock_settime.c (clock_settime): Rename to
3513 __clock_settime. Add weak_alias and libc_hidden_def.
3514 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
3515
0efa6f8b
JM
35162013-06-10 Joseph Myers <joseph@codesourcery.com>
3517
b8c61b4b
JM
3518 * mach/err_boot.sub: Remove trailing whitespace.
3519 * mach/err_ipc.sub: Likewise.
3520 * mach/err_mach.sub: Likewise.
3521
0efa6f8b
JM
3522 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
3523 (ROUNDING_TESTS_double): Likewise.
3524 (ROUNDING_TESTS_long_double): Likewise.
3525 (ROUNDING_TESTS): Likewise.
3526 * math/libm-test.inc: Include <math-tests.h>.
3527 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
3528 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3529 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3530 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3531
50b818bf
SP
35322013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3533
3534 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
3535 of assigning.
3536
60d2f8f3
JM
35372013-06-08 Joseph Myers <joseph@codesourcery.com>
3538
4902d2c3
JM
3539 * sysdeps/gnu/errlist.awk: Do not generate space at end of
3540 otherwise empty TRANS lines.
3541 * sysdeps/gnu/errlist.c: Regenerated.
3542
60d2f8f3
JM
3543 * catgets/gencat.c (error_print): Use (void) in function
3544 definition.
3545 * crypt/crypt_util.c (__init_des): Likewise.
3546 * crypt/speeds.c (Stop): Likewise.
3547 (main): Likewise.
3548 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
3549 * inet/ruserpass.c (token): Likewise.
3550 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
3551 * intl/localealias.c (extend_alias_table): Likewise.
3552 * intl/plural-exp.c (init_germanic_plural): Likewise.
3553 * libio/fcloseall.c (__fcloseall): Likewise.
3554 * libio/genops.c (_IO_flush_all): Likewise.
3555 (_IO_flush_all_linebuffered): Likewise.
3556 (_IO_cleanup): Likewise.
3557 (_IO_iter_begin): Likewise.
3558 (_IO_iter_end): Likewise.
3559 (_IO_list_lock): Likewise.
3560 (_IO_list_unlock): Likewise.
3561 (_IO_list_resetlock): Likewise.
3562 * libio/getchar.c (getchar): Likewise.
3563 * libio/getchar_u.c (getchar_unlocked): Likewise.
3564 * libio/getwchar.c (getwchar): Likewise.
3565 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3566 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
3567 * login/getpt.c (__getpt): Likewise.
3568 * login/tst-utmp.c (main): Likewise.
3569 * malloc/hooks.c (__malloc_check_init): Likewise.
3570 * malloc/malloc.c (__malloc_stats): Likewise.
3571 * malloc/mtrace.c (tr_break): Likewise.
3572 (mtrace): Likewise.
3573 (muntrace): Likewise.
3574 * misc/fstab.c (endfsent): Likewise.
3575 * misc/getclktck.c (__getclktck): Likewise.
3576 * misc/getdtsz.c (__getdtablesize): Likewise.
3577 * misc/gethostid.c (gethostid): Likewise.
3578 * misc/getpagesize.c (__getpagesize): Likewise.
3579 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
3580 (__get_nprocs): Likewise.
3581 (__get_phys_pages): Likewise.
3582 (__get_avphys_pages): Likewise.
3583 * misc/getttyent.c (getttyent): Likewise.
3584 (setttyent): Likewise.
3585 (endttyent): Likewise.
3586 * misc/getusershell.c (getusershell): Likewise.
3587 (endusershell): Likewise.
3588 (setusershell): Likewise.
3589 (initshells): Likewise.
3590 * misc/hsearch.c (__hdestroy): Likewise.
3591 * misc/sync.c (sync): Likewise.
3592 * misc/syslog.c (closelog_internal): Likewise.
3593 (closelog): Likewise.
3594 * misc/ttyslot.c (ttyslot): Likewise.
3595 * misc/vhangup.c (vhangup): Likewise.
3596 * posix/fork.c (__fork): Likewise.
3597 * posix/getegid.c (__getegid): Likewise.
3598 * posix/geteuid.c (__geteuid): Likewise.
3599 * posix/getgid.c (__getgid): Likewise.
3600 * posix/getpid.c (__getpid): Likewise.
3601 * posix/getppid.c (__getppid): Likewise.
3602 * posix/getuid.c (__getuid): Likewise.
3603 * posix/pause.c (pause): Likewise.
3604 * posix/setpgrp.c (setpgrp): Likewise.
3605 * posix/setsid.c (__setsid): Likewise.
3606 * posix/test-vfork.c (noop): Likewise.
3607 * resolv/gethnamaddr.c (_endhtent): Likewise.
3608 (_gethtent): Likewise.
3609 (ht_endhostent): Likewise.
3610 (gethostent): Likewise.
3611 (dns_service): Likewise.
3612 * stdlib/drand48.c (drand48): Likewise.
3613 * stdlib/lrand48.c (lrand48): Likewise.
3614 * stdlib/mrand48.c (mrand48): Likewise.
3615 * stdlib/rand.c (rand): Likewise.
3616 * stdlib/random.c (__random): Likewise.
3617 * stdlib/setenv.c (clearenv): Likewise.
3618 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
3619 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
3620 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
3621 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
3622 (__get_nprocs): Likewise.
3623 (__get_phys_pages): Likewise.
3624 (__get_avphys_pages): Likewise.
3625 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
3626 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
3627 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
3628 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
3629 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
3630 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
3631 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
3632 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
3633 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
3634 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
3635 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
3636 * sysdeps/mach/hurd/sync.c (sync): Likewise.
3637 * sysdeps/posix/clock.c (clock): Likewise.
3638 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
3639 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
3640 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
3641 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
3642 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
3643 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
3644 (__get_nprocs_conf): Likewise.
3645 (__get_phys_pages): Likewise.
3646 (__get_avphys_pages): Likewise.
3647 * time/clock.c (clock): Likewise.
3648 * time/tzset.c (__tzname_max): Likewise.
3649
2e09a79a
JM
36502013-06-07 Joseph Myers <joseph@codesourcery.com>
3651
3652 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
3653 (__bswap_32): Do not use "register".
3654 * crypt/crypt.c (_ufc_doit_r): Likewise.
3655 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3656 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3657 * gmon/gmon.c (__monstartup): Likewise.
3658 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
3659 * hurd/hurdmalloc.c (more_memory): Likewise.
3660 (malloc): Likewise.
3661 (free): Likewise.
3662 (realloc): Likewise.
3663 (malloc_fork_prepare): Likewise.
3664 (malloc_fork_parent): Likewise.
3665 (malloc_fork_child): Likewise.
3666 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
3667 (_svcauth_des): Likewise.
3668 * inet/inet_lnaof.c (inet_lnaof): Likewise.
3669 * inet/inet_net.c (inet_network): Likewise.
3670 * inet/inet_netof.c (inet_netof): Likewise.
3671 * inet/rcmd.c (__validuser2_sa): Likewise.
3672 * io/fts.c (fts_open): Likewise.
3673 (fts_load): Likewise.
3674 (fts_close): Likewise.
3675 (fts_read): Likewise.
3676 (fts_children): Likewise.
3677 (fts_build): Likewise.
3678 (fts_stat): Likewise.
3679 (fts_sort): Likewise.
3680 (fts_alloc): Likewise.
3681 (fts_lfree): Likewise.
3682 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
3683 (_IO_file_xsgetn): Likewise.
3684 (_IO_file_xsgetn_mmap): Likewise.
3685 * libio/iofopncook.c (_IO_cookie_read): Likewise.
3686 (_IO_cookie_write): Likewise.
3687 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
3688 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
3689 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
3690 * malloc/obstack.c (_obstack_begin): Likewise.
3691 (_obstack_begin_1): Likewise.
3692 (_obstack_newchunk): Likewise.
3693 (_obstack_allocated_p): Likewise.
3694 (obstack_free): Likewise.
3695 (_obstack_memory_used): Likewise.
3696 * misc/getttyent.c (getttynam): Likewise.
3697 (getttyent): Likewise.
3698 (skip): Likewise.
3699 (value): Likewise.
3700 * misc/getusershell.c (initshells): Likewise.
3701 * misc/syslog.c (__vsyslog_chk): Likewise.
3702 * misc/ttyslot.c (ttyslot): Likewise.
3703 * nis/nis_hash.c (__nis_hash): Likewise.
3704 * posix/fnmatch_loop.c (FCT): Likewise.
3705 * posix/getconf.c (print_all): Likewise.
3706 (main): Likewise.
3707 * posix/getopt.c (exchange): Likewise.
3708 * posix/glob.c (globfree): Likewise.
3709 (prefix_array): Likewise.
3710 (__glob_pattern_type): Likewise.
3711 * resolv/arpa/nameser.h (NS_GET16): Likewise.
3712 (NS_GET32): Likewise.
3713 (NS_PUT16): Likewise.
3714 (NS_PUT32): Likewise.
3715 * resolv/gethnamaddr.c (getanswer): Likewise.
3716 (gethostbyname2): Likewise.
3717 (gethostbyaddr): Likewise.
3718 (_gethtent): Likewise.
3719 (_gethtbyname2): Likewise.
3720 (_gethtbyaddr): Likewise.
3721 * resolv/ns_print.c (dst_s_get_int16): Likewise.
3722 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3723 * resolv/res_init.c (__res_vinit): Likewise.
3724 (net_mask): Likewise.
3725 * resolv/res_mkquery.c (outchar): Likewise.
3726 (PRINT): Likewise.
3727 * stdio-common/printf_fp.c (outchar): Likewise.
3728 (PRINT): Likewise.
3729 * stdio-common/printf_fphex.c (outchar): Likewise.
3730 (PRINT): Likewise.
3731 * stdio-common/printf_size.c (outchar): Likewise.
3732 (PRINT): Likewise.
3733 * stdio-common/test_rdwr.c (main): Likewise.
3734 * stdio-common/tfformat.c (matches): Likewise.
3735 * stdio-common/vfprintf.c (outchar): Likewise.
3736 (printf_unknown): Likewise.
3737 (buffered_vfprintf): Likewise.
3738 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
3739 * stdio-common/xbug.c (AppendToBuffer): Likewise.
3740 (ReadFile): Likewise.
3741 * stdlib/qsort.c (SWAP): Likewise.
3742 (_quicksort): Likewise.
3743 * stdlib/setenv.c (__add_to_environ): Likewise.
3744 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
3745 * stdlib/strtol_l.c (__strtol_l): Likewise.
3746 * stdlib/tst-strtod.c (main): Likewise.
3747 * stdlib/tst-strtol.c (main): Likewise.
3748 * stdlib/tst-strtoll.c (main): Likewise.
3749 * string/bits/string2.h (__strcmp_cc): Likewise.
3750 (__strcmp_cg): Likewise.
3751 (__strcspn_c1): Likewise.
3752 (__strcspn_c2): Likewise.
3753 (__strcspn_c3): Likewise.
3754 (__strspn_c1): Likewise.
3755 (__strspn_c2): Likewise.
3756 (__strspn_c3): Likewise.
3757 (__strsep_1c): Likewise.
3758 (__strsep_2c): Likewise.
3759 (__strsep_3c): Likewise.
3760 * string/memccpy.c (__memccpy): Likewise.
3761 * string/stpcpy.c (__stpcpy): Likewise.
3762 * string/strcmp.c (strcmp): Likewise.
3763 * string/strrchr.c (strrchr): Likewise.
3764 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
3765 Likewise.
3766 * sysdeps/mach/hurd/getcwd.c
3767 (_hurd_canonicalize_directory_name_internal): Likewise.
3768 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
3769 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
3770 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
3771 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
3772 Likewise, in both definitions.
3773 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
3774 definitions.
3775 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
3776 64] (__bswap_64): Likewise.
3777 * time/test_time.c (main): Likewise.
3778 * time/tzfile.c (__tzfile_read): Likewise.
3779 (__tzfile_compute): Likewise.
3780 * time/tzset.c (__tzset_parse_tz): Likewise.
3781 (tzset_internal): Likewise.
3782 (compute_change): Likewise.
3783 * wcsmbs/wcscat.c (__wcscat): Likewise.
3784 * wcsmbs/wcschr.c (wcschr): Likewise.
3785 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
3786 * wcsmbs/wcscspn.c (wcscspn): Likewise.
3787 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
3788 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
3789 * wcsmbs/wcsspn.c (wcsspn): Likewise.
3790 * wcsmbs/wcsstr.c (wcsstr): Likewise.
3791 * wcsmbs/wmemchr.c (wmemchr): Likewise.
3792 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
3793 * wcsmbs/wmemset.c (wmemset): Likewise.
3794
9e54314b
JM
37952013-06-06 Joseph Myers <joseph@codesourcery.com>
3796
3797 * scripts/config.guess: Update to version 2013-05-16.
3798 * scripts/config.sub: Update to version 2013-04-24.
3799 * scripts/install-sh: Update to version 2011-11-20.07.
3800 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
3801 * scripts/move-if-change: Update to version 2012-01-06 07:23.
3802
350635a5
OB
38032013-06-06 Ondřej Bílka <neleai@seznam.cz>
3804
3805 * debug/fgetws_u_chk.c: Fix leading whitespaces.
3806 * elf/sln.c: Likewise.
3807 * hurd/hurd/ioctl.h: Likewise.
3808 * hurd/hurdmalloc.c: Likewise.
3809 * hurd/xattr.c: Likewise.
3810 * include/shlib-compat.h: Likewise.
3811 * inet/ruserpass.c: Likewise.
3812 * libio/iofgets_u.c: Likewise.
3813 * libio/iofgetws_u.c: Likewise.
3814 * locale/programs/ld-identification.c: Likewise.
3815 * locale/programs/ld-time.c: Likewise.
3816 * mach/msg-destroy.c: Likewise.
3817 * nss/nss_files/files-netgrp.c: Likewise.
3818 * resolv/res_data.c: Likewise.
3819 * soft-fp/op-1.h: Likewise.
3820 * soft-fp/op-2.h: Likewise.
3821 * soft-fp/op-4.h: Likewise.
3822 * soft-fp/op-common.h: Likewise.
3823 * stdio-common/printf_fphex.c: Likewise.
3824 * stdlib/strtod_l.c: Likewise.
3825 * sunrpc/rpc/clnt.h: Likewise.
3826 * sysdeps/generic/framestate.c: Likewise.
3827 * sysdeps/i386/bsd-_setjmp.S: Likewise.
3828 * sysdeps/i386/bsd-setjmp.S: Likewise.
3829 * sysdeps/i386/__longjmp.S: Likewise.
3830 * sysdeps/i386/setjmp.S: Likewise.
3831 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3832 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3835 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3836 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
3837 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3838 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3839 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3840 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
3841 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
3842 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3843 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3844 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3845 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3846 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3847 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
3848 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
3849 * sysdeps/ieee754/support.c: Likewise.
3850 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3851 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
3852 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
3853 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
3854 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
3855 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
3856 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
3857 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
3858 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
3859 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
3860 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
3861 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
3862 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
3863 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
3864 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
3865 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
3866 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
3867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3868
44a988af
OB
38692013-06-05 Ondřej Bílka <neleai@seznam.cz>
3870
25506f09 3871 * posix/transbug.c: Remove executable mode.
44a988af 3872
9c84384c
JM
38732013-06-05 Joseph Myers <joseph@codesourcery.com>
3874
3875 * crypt/speeds.c: Remove trailing whitespace.
3876 * dlfcn/default.c: Likewise.
3877 * elf/ifuncdep2.c: Likewise.
3878 * elf/ifuncmain1.c: Likewise.
3879 * elf/ifuncmain1vis.c: Likewise.
3880 * elf/testobj.h: Likewise.
3881 * elf/tst-stackguard1.c: Likewise.
3882 * gmon/sys/gmon.h: Likewise.
3883 * hurd/hurdmsg.c: Likewise.
3884 * hurd/new-fd.c: Likewise.
3885 * hurd/ports-get.c: Likewise.
3886 * iconvdata/ibm1008_420.c: Likewise.
3887 * inet/tst-getni1.c: Likewise.
3888 * inet/tst-getni2.c: Likewise.
3889 * libio/ioungetc.c: Likewise.
3890 * libio/wfiledoalloc.c: Likewise.
3891 * manual/libm-err-tab.pl: Likewise.
3892 * math/w_dremf.c: Likewise.
3893 * misc/ftruncate.c: Likewise.
3894 * posix/bug-glob2.c: Likewise.
3895 * posix/tst-pcre.c: Likewise.
3896 * posix/wait4.c: Likewise.
3897 * resolv/README: Likewise.
3898 * resolv/res_debug.h: Likewise.
3899 * resolv/tst-inet_ntop.c: Likewise.
3900 * setjmp/bug269-setjmp.c: Likewise.
3901 * soft-fp/extended.h: Likewise.
3902 * soft-fp/op-1.h: Likewise.
3903 * soft-fp/op-2.h: Likewise.
3904 * soft-fp/op-4.h: Likewise.
3905 * soft-fp/op-8.h: Likewise.
3906 * soft-fp/testit.c: Likewise.
3907 * stdio-common/bug16.c: Likewise.
3908 * stdlib/random.c: Likewise.
3909 * sunrpc/rpcsvc/rquota.x: Likewise.
3910 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
3911 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3912 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3913 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3914 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3915 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3916 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3917 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3918 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3919 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3920 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3921 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3922 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3923 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3924 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3925 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3926 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3927 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3928 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3929 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3930 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3931 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3932 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3933 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
3934 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
3935 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
3936 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3937 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3938 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3939 * sysdeps/ieee754/s_lib_version.c: Likewise.
3940 * sysdeps/mach/hurd/check_fds.c: Likewise.
3941 * sysdeps/mach/hurd/getsockname.c: Likewise.
3942 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
3943 * sysdeps/mach/hurd/recvfrom.c: Likewise.
3944 * sysdeps/powerpc/bits/link.h: Likewise.
3945 * sysdeps/powerpc/dl-procinfo.c: Likewise.
3946 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
3947 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
3948 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
3949 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
3950 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
3951 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
3952 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
3953 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
3954 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
3955 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3956 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3957 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
3958 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
3959 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
3960 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
3961 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3962 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3963 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
3964 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
3965 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
3966 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
3967 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3968 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3969 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
3970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3971 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3972 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
3973 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
3974 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3975 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3976 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3977 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3978 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
3979 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
3980 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
3981 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
3982 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3983 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3984 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
3985 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
3987 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
3988 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
3989 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3990 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
3991 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
3992 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3993 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
3994 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
3995 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3996 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3997 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3998 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3999 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
4000 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4001 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4002 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4003 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
4004 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4005 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
4006 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
4007 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
4008 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
4009 * sysdeps/powerpc/sysdep.h: Likewise.
4010 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
4011 * sysdeps/s390/s390-64/sub_n.S: Likewise.
4012 * sysdeps/sh/dl-trampoline.S: Likewise.
4013 * sysdeps/sh/memset.S: Likewise.
4014 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
4015 * sysdeps/sh/strlen.S: Likewise.
4016 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
4017 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
4018 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
4019 * sysdeps/sparc/sparc32/rem.S: Likewise.
4020 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
4021 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
4022 * sysdeps/sparc/sparc32/strchr.S: Likewise.
4023 * sysdeps/sparc/sparc32/udiv.S: Likewise.
4024 * sysdeps/sparc/sparc32/urem.S: Likewise.
4025 * sysdeps/sparc/sparc64/add_n.S: Likewise.
4026 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
4027 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
4028 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
4029 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
4030 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
4031 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
4032 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
4033 * sysdeps/unix/bsd/times.c: Likewise.
4034 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
4035 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
4036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
4037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
4038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
4039 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
4040 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4041 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
4042 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
4043 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
4044 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
4045 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
4046 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
4047 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
4048 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
4049 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
4050 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
4051 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
4052 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
4053 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
4054 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
4055 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
4056 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
4057 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
4058 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
4059 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4060 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
4061 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4062 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
4063 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
4064 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
4065 * sysdeps/x86_64/strcspn.S: Likewise.
4066
869378a5
RA
40672013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4068
4069 * locale/C-translit.h: Revert #include <stdint.h> because this is a
4070 generated file. Regenerate properly from gen-translit.pl.
4071 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
4072 locale/C-translit.h.
4073
840e2943
AS
40742013-06-05 Andreas Schwab <schwab@suse.de>
4075
4076 [BZ #15100]
4077 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
4078 week as 6 instead of -1.
4079 * time/tst-strptime.c (day_tests): Add test case.
4080
4c60cb0c
SP
40812013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4082
4083 * sysdeps/generic/math_private.h
4084 (libc_feholdexcept_setround_53bit): Replace with
4085 libc_feholdsetround_53bit.
4086 (libc_feupdateenv_53bit): Replace with
4087 libc_feresetround_53bit.
4088 (SET_RESTORE_ROUND_53BIT): Adjust.
4089
d180203e
SP
40902013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4091
96df079a
SP
4092 * string/test-strchrnul.c: Add copyright header.
4093
d180203e
SP
4094 * posix/tst-getaddrinfo4.c: Increase test timeout.
4095
8b0ccb2d
CD
40962013-06-03 Carlos O'Donell <carlos@redhat.com>
4097
4098 [BZ #15536]
4099 * math/libm-test.inc (MAX_EXP): Remove
4100 (MIN_EXP): Define.
4101 (ulp): Use MIN_EXP - MANT_DIG.
4102 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
4103
3b3c4d40
CD
41042013-05-31 Carlos O'Donell <carlos@redhat.com>
4105
4106 * po/be.po: Revert last change.
4107 * po/zh_CN.po: Likewise.
4108 * po/header.pot: Likewise.
4109
fab7ce3f
JM
41102013-05-31 Joseph Myers <joseph@codesourcery.com>
4111
4112 * Makefile ($(common-objpfx)linkobj/libc.so): Define
4113 link-libc-deps to empty as target-specific variable.
4114 * Makerules (link-libc-args): New variable.
4115 (libc-for-link): Likewise.
4116 (link-libc-deps): Likewise.
4117 (lib%.so): Depend on $(link-libc-deps). Link with
4118 $(link-libc-args).
4119 (build-module): Link with $(link-libc-args).
4120 (build-module-asneeded): Likewise.
4121 (build-module-helper-objlist): Filter out $(link-libc-deps) from
4122 list of objects.
4123 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
4124 target-specific variable.
4125 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
4126 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
4127 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
4128 libc.
4129 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
4130 libc and ld.so.
4131 ($(objpfx)libpcprofile.so): Likewise.
4132 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
4133 libc_nonshared.a.
4134 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
4135 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
4136 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
4137 $(link-libc-deps).
4138 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
4139 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
4140 * login/Makefile ($(objpfx)libutil.so): Likewise.
4141 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
4142 * math/Makefile ($(objpfx)libm.so): Likewise.
4143 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
4144 $(objpfx)libnsl.so): Define libc-for-link as target-specific
4145 variable instead of depending directly on libc.
4146 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
4147 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
4148 $(link-libc-deps).
4149 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
4150 libc.
4151 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
4152 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
4153 ($(objpfx)libanl.so): Likewise.
4154 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
4155 ld.so.
4156 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
4157 $(link-libc-deps).
4158 * sysdeps/i386/fpu/Makefile: Remove file.
4159 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
4160 ($(objpfx)libm.so): Remove dependency on ld.so.
4161
eca5920c
PF
41622013-05-30 Patsy Franklin <pfrankli@redhat.com>
4163
4164 [BZ # 15553]
4165 * nis/yp_xdr.c (XDRMAXNAME): Define.
4166 (XDRMAXRECORD): Define.
4167 (xdr_domainname): Use XDRMAXNAME.
4168 (xdr_mapname): Likewise.
4169 (xdr_peername): Likewise.
4170 (xdr_keydat): Use XDRMAXRECORD.
4171 (xdr_valdat): Likewise.
4172
41732013-05-30 Jeff Law <law@redhat.com>
96945714
JL
4174
4175 [BZ #14256]
4176 * manual/errno.texi (ESTALE): Update to account for more than
4177 just NFS file systems.
4178 * sysdeps/gnu/errlist.c: Regenerated.
4179
b9375348
SP
41802013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4181
4182 [BZ #15465]
4183 * elf/Makefile (tests): Add tst-null-argv.
4184 (modules-names): Add tst-null-argv-lib.
4185 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
4186 (tst-null-argv-ENV): Set environment for tst-null-argv.
4187 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
4188 (RTLD_PROGNAME): New macro.
4189 * elf/tst-null-argv.c: New test case.
4190 * elf/tst-null-argv-lib.c: Library for test case.
4191 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
4192 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
4193 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
4194 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
4195 * elf/dl-init.c (call_init): Likewise.
4196 (_dl_init): Likewise.
4197 * elf/dl-load.c (print_search_path): Likewise.
4198 (_dl_map_object): Likewise.
4199 * elf/dl-lookup.c (do_lookup_x): Likewise.
4200 (add_dependency): Likewise.
4201 (_dl_lookup_symbol_x): Likewise.
4202 (_dl_debug_bindings): Likewise.
4203 * elf/dl-open.c (_dl_show_scope): Likewise.
4204 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
4205 * elf/dl-version.c (match_symbol): Likewise.
4206 (_dl_check_map_versions): Likewise.
4207 * elf/rtld.c (dl_main): Likewise.
4208 (print_unresolved): Use RTLD_PROGNAME.
4209 (print_missing_version): Likewise.
4210 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
4211 (elf_machine_rela): Likewise.
4212 * sysdeps/powerpc/powerpc32/dl-machine.c
4213 (__process_machine_rela): Likewise.
4214 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
4215 Likewise.
4216 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
4217 Likewise.
4218 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4219 Likewise.
4220 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4221 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
4222 Likewise.
4223 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
4224 Likewise.
4225 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4226
8a9f20c8
CD
42272013-05-28 Carlos O'Donell <carlos@redhat.com>
4228
4229 * po/be.po: Add descriptive title.
4230 * po/zh_CN.po: Likewise.
4231 * po/header.pot: Likewise.
4232
0e60d68e
MF
42332013-05-28 Mike Frysinger <vapier@gentoo.org>
4234
4235 * locale/programs/locarchive.c (create_archive): Inlucde fname in
4236 error message.
4237 (enlarge_archive): Likewise.
4238
56b672e9
BN
42392013-05-28 Ben North <ben@redfrontdoor.org>
4240
4241 * manual/arith.texi (frexp): It is the magnitude of the return
4242 value which lies in [0.5, 1), not the return value itself.
4243
5e056687
AZ
42442013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4245
4246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4247
2b66ef5d
TS
42482013-05-26 Thomas Schwinge <thomas@codesourcery.com>
4249
528c2405
TS
4250 * stdio-common/bug26.c (main): Correct fscanf template.
4251
07b4c13d
TS
4252 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
4253 declare _dl_skip_args.
4254
ec9dd97c
TS
4255 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
4256 Don't declare.
4257
2b66ef5d
TS
4258 * manual/platform.texi: Add missing @end deftypefun.
4259
4f8dfe27
JM
42602013-05-24 Joseph Myers <joseph@codesourcery.com>
4261
0323d086
JM
4262 [BZ #15529]
4263 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
4264 bit of mantissa of 2^16382.
4265 * math/libm-test.inc (hypot_test_data): Add more tests.
4266
dd4259b9
JM
4267 * math/libm-test.inc: Add drem and pow10 to list of tested
4268 functions.
4269 (pow10_test): New function.
4270 (drem_test): Likewise.
4271 (drem_test_tonearest): Likewise.
4272 (drem_test_towardzero): Likewise.
4273 (drem_test_downward): Likewise.
4274 (drem_test_upward): Likewise.
4275 (main): Call the new functions.
4276
4f8dfe27
JM
4277 * math/libm-test.inc (finite_test_data): Remove.
4278 (finite_test): Run tests from isfinite_test_data.
4279 (gamma_test_data): Remove.
4280 (gamma_test): Run tests from lgamma_test_data.
4281 * sysdeps/i386/fpu/libm-test-ulps: Update.
4282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4283
d116b7c4
AZ
42842013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4285
4286 * manual/platform.texi: Add PowerPC PPR function set documentation.
4287 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
4288 implementation.
4289
e96e3767
CD
42902013-05-24 Carlos O'Donell <carlos@redhat.com>
4291
4292 * math/libm-test.inc (MAX_EXP): Define.
4293 (ULPDIFF): Define.
4294 (ulp): New function.
4295 (check_float_internal): Use ULPDIFF.
4296 (cpow_test): Disable failing test.
4297 (check_ulp): Test ulp() implemetnation.
4298 (main): Call check_ulp before starting tests.
4299
b679a606
JM
43002013-05-24 Joseph Myers <joseph@codesourcery.com>
4301
e8bdba36
JM
4302 * math/gen-libm-test.pl (generate_testfile): Do not handle
4303 START_DATA and END_DATA.
4304 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
4305 END_DATA.
4306 (acos_tonearest_test_data): Likewise.
4307 (acos_towardzero_test_data): Likewise.
4308 (acos_downward_test_data): Likewise.
4309 (acos_upward_test_data): Likewise.
4310 (acosh_test_data): Likewise.
4311 (asin_test_data): Likewise.
4312 (asin_tonearest_test_data): Likewise.
4313 (asin_towardzero_test_data): Likewise.
4314 (asin_downward_test_data): Likewise.
4315 (asin_upward_test_data): Likewise.
4316 (asinh_test_data): Likewise.
4317 (atan_test_data): Likewise.
4318 (atanh_test_data): Likewise.
4319 (atan2_test_data): Likewise.
4320 (cabs_test_data): Likewise.
4321 (cacos_test_data): Likewise.
4322 (cacosh_test_data): Likewise.
4323 (carg_test_data): Likewise.
4324 (casin_test_data): Likewise.
4325 (casinh_test_data): Likewise.
4326 (catan_test_data): Likewise.
4327 (catanh_test_data): Likewise.
4328 (cbrt_test_data): Likewise.
4329 (ccos_test_data): Likewise.
4330 (ccosh_test_data): Likewise.
4331 (ceil_test_data): Likewise.
4332 (cexp_test_data): Likewise.
4333 (cimag_test_data): Likewise.
4334 (clog_test_data): Likewise.
4335 (clog10_test_data): Likewise.
4336 (conj_test_data): Likewise.
4337 (copysign_test_data): Likewise.
4338 (cos_test_data): Likewise.
4339 (cos_tonearest_test_data): Likewise.
4340 (cos_towardzero_test_data): Likewise.
4341 (cos_downward_test_data): Likewise.
4342 (cos_upward_test_data): Likewise.
4343 (cosh_test_data): Likewise.
4344 (cosh_tonearest_test_data): Likewise.
4345 (cosh_towardzero_test_data): Likewise.
4346 (cosh_downward_test_data): Likewise.
4347 (cosh_upward_test_data): Likewise.
4348 (cpow_test_data): Likewise.
4349 (cproj_test_data): Likewise.
4350 (creal_test_data): Likewise.
4351 (csin_test_data): Likewise.
4352 (csinh_test_data): Likewise.
4353 (csqrt_test_data): Likewise.
4354 (ctan_test_data): Likewise.
4355 (ctan_tonearest_test_data): Likewise.
4356 (ctan_towardzero_test_data): Likewise.
4357 (ctan_downward_test_data): Likewise.
4358 (ctan_upward_test_data): Likewise.
4359 (ctanh_test_data): Likewise.
4360 (ctanh_tonearest_test_data): Likewise.
4361 (ctanh_towardzero_test_data): Likewise.
4362 (ctanh_downward_test_data): Likewise.
4363 (ctanh_upward_test_data): Likewise.
4364 (erf_test_data): Likewise.
4365 (erfc_test_data): Likewise.
4366 (exp_test_data): Likewise.
4367 (exp_tonearest_test_data): Likewise.
4368 (exp_towardzero_test_data): Likewise.
4369 (exp_downward_test_data): Likewise.
4370 (exp_upward_test_data): Likewise.
4371 (exp10_test_data): Likewise.
4372 (exp2_test_data): Likewise.
4373 (expm1_test_data): Likewise.
4374 (fabs_test_data): Likewise.
4375 (fdim_test_data): Likewise.
4376 (finite_test_data): Likewise.
4377 (floor_test_data): Likewise.
4378 (fma_test_data): Likewise.
4379 (fma_towardzero_test_data): Likewise.
4380 (fma_downward_test_data): Likewise.
4381 (fma_upward_test_data): Likewise.
4382 (fmax_test_data): Likewise.
4383 (fmin_test_data): Likewise.
4384 (fmod_test_data): Likewise.
4385 (fpclassify_test_data): Likewise.
4386 (frexp_test_data): Likewise.
4387 (gamma_test_data): Likewise.
4388 (hypot_test_data): Likewise.
4389 (ilogb_test_data): Likewise.
4390 (isfinite_test_data): Likewise.
4391 (isgreater_test_data): Likewise.
4392 (isgreaterequal_test_data): Likewise.
4393 (isinf_test_data): Likewise.
4394 (isless_test_data): Likewise.
4395 (islessequal_test_data): Likewise.
4396 (islessgreater_test_data): Likewise.
4397 (isnan_test_data): Likewise.
4398 (isnormal_test_data): Likewise.
4399 (issignaling_test_data): Likewise.
4400 (isunordered_test_data): Likewise.
4401 (j0_test_data): Likewise.
4402 (j1_test_data): Likewise.
4403 (jn_test_data): Likewise.
4404 (ldexp_test_data): Likewise.
4405 (lgamma_test_data): Likewise.
4406 (lrint_test_data): Likewise.
4407 (lrint_tonearest_test_data): Likewise.
4408 (lrint_towardzero_test_data): Likewise.
4409 (lrint_downward_test_data): Likewise.
4410 (lrint_upward_test_data): Likewise.
4411 (llrint_test_data): Likewise.
4412 (llrint_tonearest_test_data): Likewise.
4413 (llrint_towardzero_test_data): Likewise.
4414 (llrint_downward_test_data): Likewise.
4415 (llrint_upward_test_data): Likewise.
4416 (log_test_data): Likewise.
4417 (log10_test_data): Likewise.
4418 (log1p_test_data): Likewise.
4419 (log2_test_data): Likewise.
4420 (logb_test_data): Likewise.
4421 (logb_downward_test_data): Likewise.
4422 (lround_test_data): Likewise.
4423 (llround_test_data): Likewise.
4424 (modf_test_data): Likewise.
4425 (nearbyint_test_data): Likewise.
4426 (nextafter_test_data): Likewise.
4427 (nexttoward_test_data): Likewise.
4428 (pow_test_data): Likewise.
4429 (pow_tonearest_test_data): Likewise.
4430 (pow_towardzero_test_data): Likewise.
4431 (pow_downward_test_data): Likewise.
4432 (pow_upward_test_data): Likewise.
4433 (remainder_test_data): Likewise.
4434 (remainder_tonearest_test_data): Likewise.
4435 (remainder_towardzero_test_data): Likewise.
4436 (remainder_downward_test_data): Likewise.
4437 (remainder_upward_test_data): Likewise.
4438 (remquo_test_data): Likewise.
4439 (rint_test_data): Likewise.
4440 (rint_tonearest_test_data): Likewise.
4441 (rint_towardzero_test_data): Likewise.
4442 (rint_downward_test_data): Likewise.
4443 (rint_upward_test_data): Likewise.
4444 (round_test_data): Likewise.
4445 (scalb_test_data): Likewise.
4446 (scalbn_test_data): Likewise.
4447 (scalbln_test_data): Likewise.
4448 (signbit_test_data): Likewise.
4449 (sin_test_data): Likewise.
4450 (sin_tonearest_test_data): Likewise.
4451 (sin_towardzero_test_data): Likewise.
4452 (sin_downward_test_data): Likewise.
4453 (sin_upward_test_data): Likewise.
4454 (sincos_test_data): Likewise.
4455 (sinh_test_data): Likewise.
4456 (sinh_tonearest_test_data): Likewise.
4457 (sinh_towardzero_test_data): Likewise.
4458 (sinh_downward_test_data): Likewise.
4459 (sinh_upward_test_data): Likewise.
4460 (sqrt_test_data): Likewise.
4461 (tan_test_data): Likewise.
4462 (tan_tonearest_test_data): Likewise.
4463 (tan_towardzero_test_data): Likewise.
4464 (tan_downward_test_data): Likewise.
4465 (tan_upward_test_data): Likewise.
4466 (tanh_test_data): Likewise.
4467 (tgamma_test_data): Likewise.
4468 (trunc_test_data): Likewise.
4469 (y0_test_data): Likewise.
4470 (y1_test_data): Likewise.
4471 (yn_test_data): Likewise.
4472 (significand_test_data): Likewise.
4473
b679a606
JM
4474 * math/gen-libm-test.pl (@functions): Remove variable.
4475 (generate_testfile): Don't handle START and END lines.
4476 * math/libm-test.inc (START): New macro.
4477 (END): Likewise.
4478 (END_COMPLEX): Likewise.
4479 (acos_test): Use END macro without arguments.
4480 (acos_test_tonearest): Likewise.
4481 (acos_test_towardzero): Likewise.
4482 (acos_test_downward): Likewise.
4483 (acos_test_upward): Likewise.
4484 (acosh_test): Likewise.
4485 (asin_test): Likewise.
4486 (asin_test_tonearest): Likewise.
4487 (asin_test_towardzero): Likewise.
4488 (asin_test_downward): Likewise.
4489 (asin_test_upward): Likewise.
4490 (asinh_test): Likewise.
4491 (atan_test): Likewise.
4492 (atanh_test): Likewise.
4493 (atan2_test): Likewise.
4494 (cabs_test): Likewise.
4495 (cacos_test): Use END_COMPLEX macro without arguments.
4496 (cacosh_test): Likewise.
4497 (carg_test): Use END macro without arguments.
4498 (casin_test): Use END_COMPLEX macro without arguments.
4499 (casinh_test): Likewise.
4500 (catan_test): Likewise.
4501 (catanh_test): Likewise.
4502 (cbrt_test): Use END macro without arguments.
4503 (ccos_test): Use END_COMPLEX macro without arguments.
4504 (ccosh_test): Likewise.
4505 (ceil_test): Use END macro without arguments.
4506 (cexp_test): Use END_COMPLEX macro without arguments.
4507 (cimag_test): Use END macro without arguments.
4508 (clog_test): Use END_COMPLEX macro without arguments.
4509 (clog10_test): Likewise.
4510 (conj_test): Likewise.
4511 (copysign_test): Use END macro without arguments.
4512 (cos_test): Likewise.
4513 (cos_test_tonearest): Likewise.
4514 (cos_test_towardzero): Likewise.
4515 (cos_test_downward): Likewise.
4516 (cos_test_upward): Likewise.
4517 (cosh_test): Likewise.
4518 (cosh_test_tonearest): Likewise.
4519 (cosh_test_towardzero): Likewise.
4520 (cosh_test_downward): Likewise.
4521 (cosh_test_upward): Likewise.
4522 (cpow_test): Use END_COMPLEX macro without arguments.
4523 (cproj_test): Likewise.
4524 (creal_test): Use END macro without arguments.
4525 (csin_test): Use END_COMPLEX macro without arguments.
4526 (csinh_test): Likewise.
4527 (csqrt_test): Likewise.
4528 (ctan_test): Likewise.
4529 (ctan_test_tonearest): Likewise.
4530 (ctan_test_towardzero): Likewise.
4531 (ctan_test_downward): Likewise.
4532 (ctan_test_upward): Likewise.
4533 (ctanh_test): Likewise.
4534 (ctanh_test_tonearest): Likewise.
4535 (ctanh_test_towardzero): Likewise.
4536 (ctanh_test_downward): Likewise.
4537 (ctanh_test_upward): Likewise.
4538 (erf_test): Use END macro without arguments.
4539 (erfc_test): Likewise.
4540 (exp_test): Likewise.
4541 (exp_test_tonearest): Likewise.
4542 (exp_test_towardzero): Likewise.
4543 (exp_test_downward): Likewise.
4544 (exp_test_upward): Likewise.
4545 (exp10_test): Likewise.
4546 (exp2_test): Likewise.
4547 (expm1_test): Likewise.
4548 (fabs_test): Likewise.
4549 (fdim_test): Likewise.
4550 (finite_test): Likewise.
4551 (floor_test): Likewise.
4552 (fma_test): Likewise.
4553 (fma_test_towardzero): Likewise.
4554 (fma_test_downward): Likewise.
4555 (fma_test_upward): Likewise.
4556 (fmax_test): Likewise.
4557 (fmin_test): Likewise.
4558 (fmod_test): Likewise.
4559 (fpclassify_test): Likewise.
4560 (frexp_test): Likewise.
4561 (gamma_test): Likewise.
4562 (hypot_test): Likewise.
4563 (ilogb_test): Likewise.
4564 (isfinite_test): Likewise.
4565 (isgreater_test): Likewise.
4566 (isgreaterequal_test): Likewise.
4567 (isinf_test): Likewise.
4568 (isless_test): Likewise.
4569 (islessequal_test): Likewise.
4570 (islessgreater_test): Likewise.
4571 (isnan_test): Likewise.
4572 (isnormal_test): Likewise.
4573 (issignaling_test): Likewise.
4574 (isunordered_test): Likewise.
4575 (j0_test): Likewise.
4576 (j1_test): Likewise.
4577 (jn_test): Likewise.
4578 (ldexp_test): Likewise.
4579 (lgamma_test): Likewise.
4580 (lrint_test): Likewise.
4581 (lrint_test_tonearest): Likewise.
4582 (lrint_test_towardzero): Likewise.
4583 (lrint_test_downward): Likewise.
4584 (lrint_test_upward): Likewise.
4585 (llrint_test): Likewise.
4586 (llrint_test_tonearest): Likewise.
4587 (llrint_test_towardzero): Likewise.
4588 (llrint_test_downward): Likewise.
4589 (llrint_test_upward): Likewise.
4590 (log_test): Likewise.
4591 (log10_test): Likewise.
4592 (log1p_test): Likewise.
4593 (log2_test): Likewise.
4594 (logb_test): Likewise.
4595 (logb_test_downward): Likewise.
4596 (lround_test): Likewise.
4597 (llround_test): Likewise.
4598 (modf_test): Likewise.
4599 (nearbyint_test): Likewise.
4600 (nextafter_test): Likewise.
4601 (nexttoward_test): Likewise.
4602 (pow_test): Likewise.
4603 (pow_test_tonearest): Likewise.
4604 (pow_test_towardzero): Likewise.
4605 (pow_test_downward): Likewise.
4606 (pow_test_upward): Likewise.
4607 (remainder_test): Likewise.
4608 (remainder_test_tonearest): Likewise.
4609 (remainder_test_towardzero): Likewise.
4610 (remainder_test_downward): Likewise.
4611 (remainder_test_upward): Likewise.
4612 (remquo_test): Likewise.
4613 (rint_test): Likewise.
4614 (rint_test_tonearest): Likewise.
4615 (rint_test_towardzero): Likewise.
4616 (rint_test_downward): Likewise.
4617 (rint_test_upward): Likewise.
4618 (round_test): Likewise.
4619 (scalb_test): Likewise.
4620 (scalbn_test): Likewise.
4621 (scalbln_test): Likewise.
4622 (signbit_test): Likewise.
4623 (sin_test): Likewise.
4624 (sin_test_tonearest): Likewise.
4625 (sin_test_towardzero): Likewise.
4626 (sin_test_downward): Likewise.
4627 (sin_test_upward): Likewise.
4628 (sincos_test): Likewise.
4629 (sinh_test): Likewise.
4630 (sinh_test_tonearest): Likewise.
4631 (sinh_test_towardzero): Likewise.
4632 (sinh_test_downward): Likewise.
4633 (sinh_test_upward): Likewise.
4634 (sqrt_test): Likewise.
4635 (tan_test): Likewise.
4636 (tan_test_tonearest): Likewise.
4637 (tan_test_towardzero): Likewise.
4638 (tan_test_downward): Likewise.
4639 (tan_test_upward): Likewise.
4640 (tanh_test): Likewise.
4641 (tgamma_test): Likewise.
4642 (trunc_test): Likewise.
4643 (y0_test): Likewise.
4644 (y1_test): Likewise.
4645 (yn_test): Likewise.
4646 (significand_test): Likewise.
4647
bae143d2
OB
46482013-05-24 Ondřej Bílka <neleai@seznam.cz>
4649
4650 [BZ #15381]
4651 * libio/genops.c (_IO_no_init): Initialize wide struct info.
4652
9323d39b
EM
46532013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
4654
d4ea44a0 4655 [BZ #14894]
9323d39b
EM
4656 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
4657 __ppc_mdoio and __ppc_mdoom.
4658 * manual/platform.texi: Document new functions __ppc_yield,
4659 __ppc_mdoio and __ppc_mdoom.
4660
13e23af7
CD
46612013-05-22 Carlos O'Donell <carlos@redhat.com>
4662
4663 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
4664 (main): Mention "tls" pseudo-hwcap is legacy.
4665 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
4666
351fe550
JM
46672013-05-22 Joseph Myers <joseph@codesourcery.com>
4668
4669 * math/gen-libm-test.pl (parse_args): Output only string of
4670 arguments as text for test name, not full call or descriptions of
4671 tests for extra outputs.
4672 (generate_testfile): Do not pass function name to parse_args.
4673 Generate this_func variable from START.
4674 * math/libm-test.inc (struct test_f_f_data): Rename test_name
4675 field to arg_str.
4676 (struct test_ff_f_data): Likewise.
4677 (test_ff_f_data_nexttoward): Likewise.
4678 (struct test_fi_f_data): Likewise.
4679 (struct test_fl_f_data): Likewise.
4680 (struct test_if_f_data): Likewise.
4681 (struct test_fff_f_data): Likewise.
4682 (struct test_c_f_data): Likewise.
4683 (struct test_f_f1_data): Likewise. Remove field extra_name.
4684 (struct test_fF_f1_data): Likewise.
4685 (struct test_ffI_f1_data): Likewise.
4686 (struct test_c_c_data): Rename test_name field to arg_str.
4687 (struct test_cc_c_data): Likewise.
4688 (struct test_f_i_data): Likewise.
4689 (struct test_ff_i_data): Likewise.
4690 (struct test_f_l_data): Likewise.
4691 (struct test_f_L_data): Likewise.
4692 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
4693 and extra2_name.
4694 (COMMON_TEST_SETUP): New macro.
4695 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
4696 (COMMON_TEST_CLEANUP): Likewise.
4697 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
4698 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
4699 macros.
4700 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
4701 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
4702 macros.
4703 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
4704 (RUN_TEST_fff_f): Take argument string. Call new setup and
4705 cleanup macros.
4706 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
4707 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
4708 macros.
4709 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
4710 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
4711 macros.
4712 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
4713 (RUN_TEST_fF_f1): Take argument string. Call new setup and
4714 cleanup macros.
4715 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
4716 (RUN_TEST_fI_f1): Take argument string. Call new setup and
4717 cleanup macros.
4718 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
4719 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
4720 cleanup macros.
4721 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
4722 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
4723 macros.
4724 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
4725 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
4726 macros.
4727 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
4728 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
4729 macros.
4730 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
4731 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
4732 cleanup macros.
4733 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
4734 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
4735 cleanup macros.
4736 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
4737 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
4738 macros.
4739 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
4740 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
4741 cleanup macros.
4742 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
4743 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
4744 macros.
4745 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
4746 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
4747 macros.
4748 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
4749 (RUN_TEST_fFF_11): Take argument string. Call new setup and
4750 cleanup macros.
4751 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
4752
85118d4d
EBM
47532013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
4754
4755 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
4756 to _sifields.sigfault.
4757 (si_addr_lsb): Define new macro.
4758 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
4759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
4760 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
4761
7a44c18f
CD
47622013-05-03 Carlos O'Donell <carlos at redhat.com>
4763
4764 [BZ #15441]
4765 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
4766 returns -1.
4767 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
4768 null return -1.
4769 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
4770 loading the domain.
4771
b50a7181
JM
47722013-05-22 Joseph Myers <joseph@codesourcery.com>
4773
4774 * math/gen-libm-test.pl (parse_args): Do not include expected
4775 result in test name.
4776 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
4777 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4778 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4779 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4782
051063c8
SP
47832013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4784
3ce9e010
SP
4785 * benchtests/Makefile: Sort function entries.
4786
051063c8
SP
4787 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
4788 tanh, asinh, acosh, atanh.
4789 * benchtests/acos-inputs: New file.
4790 * benchtests/acosh-inputs: New file.
4791 * benchtests/asin-inputs: New file.
4792 * benchtests/asinh-inputs: New file.
4793 * benchtests/atanh-inputs: New file.
4794 * benchtests/cosh-inputs: New file.
4795 * benchtests/log-inputs: New file.
4796 * benchtests/sinh-inputs: New file.
4797 * benchtests/tanh-inputs: New file.
4798
47c22455
DL
47992013-05-21 Dmitry V. Levin <ldv@altlinux.org>
4800
4801 [BZ #15339]
4802 * posix/tst-getaddrinfo4.c: New test.
4803 * posix/Makefile (tests): Add it.
4804
3d04f5db
SP
48052013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4806
4807 [BZ #15339]
4808 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
4809 when no services were used.
4810 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
4811 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
4812
d5dd6189
AS
48132013-05-21 Andreas Schwab <schwab@suse.de>
4814
4815 [BZ #15014]
4816 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
4817 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
4818 successful.
4819 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
4820 redundant variable declarations and reallocation of buffer when
4821 parsing as IPv6 address. Always set NSS status when called from
4822 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
4823 buffer too small. Correct computation of needed size.
4824 * nss/Makefile (tests): Add test-digits-dots.
4825 * nss/test-digits-dots.c: New test.
4826
fef94eab
SP
48272013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4828
4829 * benchtests/Makefile: Remove instructions for adding
4830 benchmark tests.
4831 * benchtests/README: New file to explain how to execute and
4832 enhance the benchmark tests.
4833
e39adf43
AS
48342013-05-21 Andreas Schwab <schwab@suse.de>
4835
4836 [BZ #15493]
4837 * setjmp/Makefile (tests): Add tst-sigsetjmp.
4838 * setjmp/tst-sigsetjmp.c: New test.
4839
b2b671b6
OB
48402013-05-20 Ondřej Bílka <neleai@seznam.cz>
4841
4842 * sysdeps/x86_64/memset.S (memset): New implementation.
4843 (__bzero): Likewise.
4844 (__memset_tail): New function.
4845
2d48b41c
OB
48462013-05-20 Ondřej Bílka <neleai@seznam.cz>
4847
4848 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
4849 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
4850 __memcpy_sse2_unaligned ifunc selection.
4851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4852 Add memcpy-sse2-unaligned.S.
4853 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4854 Add: __memcpy_sse2_unaligned.
4855
f16cc3eb
JM
48562013-05-19 Joseph Myers <joseph@codesourcery.com>
4857
3e694268
JM
4858 [BZ #15490]
4859 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
4860 math_force_eval before restoring floating-point envrionment.
4861 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
4862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
4863 Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
4865 <math_private.h>.
4866 (__nearbyintl): Use math_force_eval before restoring
4867 floating-point environment.
4868 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
4869
db62a907
JM
4870 * math/gen-libm-test.pl (special_functions): Remove.
4871 (parse_args): Don't handle TEST_extra. Handle functions with no
4872 return value.
4873 * math/libm-test.inc (struct test_sincos_data): Replace with
4874 struct test_fFF_11_data.
4875 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
4876 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
4877 (sincos_test_data): Change element type to struct
4878 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
4879 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
4880 RUN_TEST_LOOP_sincos.
4881 * math/README.libm-test: Don't mention special handling of
4882 individual functions.
4883 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
4884 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4885 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4886 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
4887 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889
f16cc3eb
JM
4890 * math/gen-libm-test.pl (get_variable): Remove function.
4891 (parse_args): Don't show pointer parameters to call in test
4892 names. Use "extra output N" in test names for extra outputs
4893 rather than naming variables.
4894
3779b5b6
JM
48952013-05-18 Joseph Myers <joseph@codesourcery.com>
4896
2ee094ff
JM
4897 [BZ #15488]
4898 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
4899 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
4900 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
4901 double tests.
4902 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
4903 disable.
4904 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
4905 check_long_double.
4906
3779b5b6
JM
4907 * math/gen-libm-test.pl (@tests): Remove variable.
4908 ($count): Likewise.
4909 (new_test): Remove function.
4910 (show_exceptions): New function.
4911 (special_functions): Use show_exceptions instead of new_test.
4912 (parse_args): Likewise.
4913 (generate_testfile): Pass only function name in generated call to
4914 print_max_error or print_complex_max_error.
4915 (get_ulps): Do not handle complex tests specially.
4916 (output_test): Rename to ...
4917 (get_all_ulps_for_test): ... this. Return a string rather than
4918 printing to a file. Require ulps to be present.
4919 (output_ulps): Generate arrays rather than #defines.
4920 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
4921 (struct ulp_data): New type.
4922 (BUILD_COMPLEX_ULP): Remove macro.
4923 (compare_ulp_data): New function.
4924 (find_ulps): Likewise.
4925 (find_test_ulps): Likewise.
4926 (find_function_ulps): Likewise.
4927 (find_complex_function_ulps): Likewise.
4928 (print_max_error): Determine allowed ulps using
4929 find_function_ulps.
4930 (print_complex_max_error): Determine allowed ulps using
4931 find_complex_function_ulps.
4932 (check_float_internal): Determine max ulps using find_test_ulps.
4933 (check_float): Do not take max_ulp parameter. Update call to
4934 check_float_internal.
4935 (check_complex): Likewise.
4936 (check_int): Do not take max_ulp parameter.
4937 (check_long): Likewise.
4938 (check_bool): Likewise.
4939 (check_longlong): Likewise.
4940 (struct test_f_f_data): Remove max_ulp field.
4941 (struct test_ff_f_data): Likewise.
4942 (struct test_ff_f_data_nexttoward): Likewise.
4943 (struct test_fi_f_data): Likewise.
4944 (struct test_fl_f_data): Likewise.
4945 (struct test_if_f_data): Likewise.
4946 (struct test_fff_f_data): Likewise.
4947 (struct test_c_f_data): Likewise.
4948 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
4949 (struct test_fF_f1_data): Likewise.
4950 (struct test_ffI_f1_data): Likewise.
4951 (struct test_c_c_data): Remove max_ulp field.
4952 (struct test_cc_c_data): Likewise.
4953 (struct test_f_i_data): Likewise.
4954 (struct test_ff_i_data): Likewise.
4955 (struct test_f_l_data): Likewise.
4956 (struct test_f_L_data): Likewise.
4957 (struct test_sincos_data): Likewise.
4958 (RUN_TEST_f_f): Do not handle ulps.
4959 (RUN_TEST_LOOP_f_f): Likewise.
4960 (RUN_TEST_2_f): Likewise.
4961 (RUN_TEST_LOOP_2_f): Likewise.
4962 (RUN_TEST_fff_f): Likewise.
4963 (RUN_TEST_LOOP_fff_f): Likewise.
4964 (RUN_TEST_c_f): Likewise.
4965 (RUN_TEST_LOOP_c_f): Likewise.
4966 (RUN_TEST_f_f1): Likewise.
4967 (RUN_TEST_LOOP_f_f1): Likewise.
4968 (RUN_TEST_fF_f1): Likewise.
4969 (RUN_TEST_LOOP_fF_f1): Likewise.
4970 (RUN_TEST_fI_f1): Likewise.
4971 (RUN_TEST_LOOP_fI_f1): Likewise.
4972 (RUN_TEST_ffI_f1): Likewise.
4973 (RUN_TEST_LOOP_ffI_f1): Likewise.
4974 (RUN_TEST_c_c): Likewise.
4975 (RUN_TEST_LOOP_c_c): Likewise.
4976 (RUN_TEST_cc_c): Likewise.
4977 (RUN_TEST_LOOP_cc_c): Likewise.
4978 (RUN_TEST_f_i): Likewise.
4979 (RUN_TEST_LOOP_f_i): Likewise.
4980 (RUN_TEST_f_i_tg): Likewise.
4981 (RUN_TEST_LOOP_f_i_tg): Likewise.
4982 (RUN_TEST_ff_i_tg): Likewise.
4983 (RUN_TEST_LOOP_ff_i_tg): Likewise.
4984 (RUN_TEST_f_b): Likewise.
4985 (RUN_TEST_LOOP_f_b): Likewise.
4986 (RUN_TEST_f_b_tg): Likewise.
4987 (RUN_TEST_LOOP_f_b_tg): Likewise.
4988 (RUN_TEST_f_l): Likewise.
4989 (RUN_TEST_LOOP_f_l): Likewise.
4990 (RUN_TEST_f_L): Likewise.
4991 (RUN_TEST_LOOP_f_L): Likewise.
4992 (RUN_TEST_sincos): Likewise.
4993 (RUN_TEST_LOOP_sincos): Likewise.
4994
8269107f
JM
49952013-05-17 Joseph Myers <joseph@codesourcery.com>
4996
bb38759d
JM
4997 [BZ #15480]
4998 [BZ #15485]
4999 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
5000 main case of finite arguments, set rounding mode to FE_TONEAREST
5001 and discard exceptions.
5002 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
5003 exceptions.
5004 (remainder_tonearest_test_data): New variable.
5005 (remainder_test_tonearest): New function.
5006 (remainder_towardzero_test_data): New variable.
5007 (remainder_test_towardzero): New function.
5008 (remainder_downward_test_data): New variable.
5009 (remainder_test_downward): New function.
5010 (remainder_upward_test_data): New variable.
5011 (remainder_test_upward): New function.
5012 (main): Call the new test functions.
5013
a00bdcf0
JM
5014 * math/libm-test.inc (struct test_f_f1_data): Remove field
5015 extra_init.
5016 (struct test_fF_f1_data): Likewise.
5017 (struct test_ffI_f1_data): Likewise.
5018 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
5019 based on value of EXTRA_EXPECTED.
5020 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
5021 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
5022 EXTRA_VAR based on value of EXTRA_EXPECTED.
5023 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
5024 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
5025 EXTRA_VAR based on value of EXTRA_EXPECTED.
5026 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
5027 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
5028 EXTRA_VAR based on value of EXTRA_EXPECTED.
5029 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
5030 * math/gen-libm-test.pl (parse_args): Don't output initializers
5031 for extra output values.
5032
de407f79
JM
5033 * math/libm-test.inc (check_int): Expect result to be exactly
5034 equal to expected value and do not handle ulps.
5035 (check_long): Likewise.
5036 (check_longlong): Likewise.
5037
8269107f
JM
5038 * math/libm-test.inc (ceil_test_data): Test for "inexact"
5039 exceptions.
5040 (cimag_test_data): Likewise.
5041 (conj_test_data): Likewise.
5042 (copysign_test_data): Likewise.
5043 (cproj_test_data): Likewise.
5044 (creal_test_data): Likewise.
5045 (fabs_test_data): Likewise.
5046 (fdim_test_data): Likewise.
5047 (finite_test_data): Likewise.
5048 (floor_test_data): Likewise.
5049 (fmax_test_data): Likewise.
5050 (fmin_test_data): Likewise.
5051 (fmod_test_data): Likewise.
5052 (fpclassify_test_data): Likewise.
5053 (frexp_test_data): Likewise.
5054 (ilogb_test_data): Likewise.
5055 (isfinite_test_data): Likewise.
5056 (isgreater_test_data): Likewise.
5057 (isgreaterequal_test_data): Likewise.
5058 (isinf_test_data): Likewise.
5059 (isless_test_data): Likewise.
5060 (islessequal_test_data): Likewise.
5061 (islessgreater_test_data): Likewise.
5062 (isnan_test_data): Likewise.
5063 (isnormal_test_data): Likewise.
5064 (issignaling_test_data): Likewise.
5065 (isunordered_test_data): Likewise.
5066 (ldexp_test_data): Likewise.
5067 (lrint_test_data): Likewise.
5068 (lrint_test_data) [TEST_FLOAT]: Disable one test.
5069 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
5070 (lrint_tonearest_test_data): Test for "inexact" exceptions.
5071 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5072 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
5073 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5074 test input.
5075 (lrint_towardzero_test_data): Test for "inexact" exceptions.
5076 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5077 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
5078 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
5079 that test input.
5080 (lrint_downward_test_data): Test for "inexact" exceptions.
5081 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5082 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
5083 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
5084 test input.
5085 (lrint_upward_test_data): Test for "inexact" exceptions.
5086 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
5087 test input.
5088 (llrint_test_data): Test for "inexact" exceptions.
5089 (llrint_test_data) [TEST_FLOAT]: Disable one test.
5090 (llrint_tonearest_test_data): Test for "inexact" exceptions.
5091 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
5092 (llrint_towardzero_test_data): Test for "inexact" exceptions.
5093 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
5094 (llrint_downward_test_data): Test for "inexact" exceptions.
5095 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
5096 (llrint_upward_test_data): Test for "inexact" exceptions.
5097 (logb_test_data): Likewise.
5098 (logb_downward_test_data): Likewise.
5099 (nextafter_test_data): Likewise.
5100 (nexttoward_test_data): Likewise.
5101 (remainder_test_data): Likewise.
5102 (remquo_test_data): Likewise.
5103 (scalbn_test_data): Likewise.
5104 (scalbln_test_data): Likewise.
5105 (signbit_test_data): Likewise.
5106 (sqrt_test_data): Likewise.
5107 (significand_test_data): Likewise.
5108
48a18de1
SP
51092013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 [BZ #15424]
5112 * benchtests/bench-modf.c (struct args): Mark arg0 as
5113 volatile.
5114 * scripts/bench.pl: Mark members of struct args as volatile.
5115
13d3b41a
AZ
51162013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5117
68191c1d 5118 [BZ # 15497]
13d3b41a
AZ
5119 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
5120 negative infinity on POWER6 or lower.
5121 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
5122
2848b105
MR
51232013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
5124
5125 [BZ #15442]
5126 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
5127 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
5128 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
5129 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
5130 (_FP_SETQNAN): New macro.
5131 (_FP_SETQNAN_SEMIRAW): Likewise.
5132 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
5133 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
5134 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
5135 (FP_EXTEND): Use _FP_FRAC_SNANP.
5136 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
5137 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
5138 into account.
5139 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5140 New macro.
5141 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
5142 Likewise.
5143
323e5cb7
JM
51442013-05-16 Joseph Myers <joseph@codesourcery.com>
5145
c58b274f
JM
5146 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
5147 with DIVIDE_BY_ZERO_EXCEPTION.
5148 (gamma_test_data): Likewise.
5149 (lgamma_test_data): Likewise.
5150 (log_test_data): Likewise.
5151 (log10_test_data): Likewise.
5152 (log2_test_data): Likewise.
5153 (tgamma_test_data): Likewise.
5154
0ab34904
JM
5155 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
5156 (acos_test_tonearest): Likewise.
5157 (acos_test_towardzero): Likewise.
5158 (acos_test_downward): Likewise.
5159 (acos_test_upward): Likewise.
5160 (acosh_test): Likewise.
5161 (asin_test): Likewise.
5162 (asin_test_tonearest): Likewise.
5163 (asin_test_towardzero): Likewise.
5164 (asin_test_downward): Likewise.
5165 (asin_test_upward): Likewise.
5166 (asinh_test): Likewise.
5167 (atan_test): Likewise.
5168 (atanh_test): Likewise.
5169 (atan2_test): Likewise.
5170 (cabs_test): Likewise.
5171 (cacos_test): Likewise.
5172 (cacosh_test): Likewise.
5173 (casin_test): Likewise.
5174 (casinh_test): Likewise.
5175 (catan_test): Likewise.
5176 (catanh_test): Likewise.
5177 (cbrt_test): Likewise.
5178 (ccos_test): Likewise.
5179 (ccosh_test): Likewise.
5180 (cexp_test): Likewise.
5181 (clog_test): Likewise.
5182 (clog10_test): Likewise.
5183 (cos_test): Likewise.
5184 (cos_test_tonearest): Likewise.
5185 (cos_test_towardzero): Likewise.
5186 (cos_test_downward): Likewise.
5187 (cos_test_upward): Likewise.
5188 (cosh_test): Likewise.
5189 (cosh_test_tonearest): Likewise.
5190 (cosh_test_towardzero): Likewise.
5191 (cosh_test_downward): Likewise.
5192 (cosh_test_upward): Likewise.
5193 (cpow_test): Likewise.
5194 (csin_test): Likewise.
5195 (csinh_test): Likewise.
5196 (csqrt_test): Likewise.
5197 (ctan_test): Likewise.
5198 (ctan_test_tonearest): Likewise.
5199 (ctan_test_towardzero): Likewise.
5200 (ctan_test_downward): Likewise.
5201 (ctan_test_upward): Likewise.
5202 (ctanh_test): Likewise.
5203 (ctanh_test_tonearest): Likewise.
5204 (ctanh_test_towardzero): Likewise.
5205 (ctanh_test_downward): Likewise.
5206 (ctanh_test_upward): Likewise.
5207 (erf_test): Likewise.
5208 (erfc_test): Likewise.
5209 (exp_test): Likewise.
5210 (exp_test_tonearest): Likewise.
5211 (exp_test_towardzero): Likewise.
5212 (exp_test_downward): Likewise.
5213 (exp_test_upward): Likewise.
5214 (exp10_test): Likewise.
5215 (exp2_test): Likewise.
5216 (expm1_test): Likewise.
5217 (fmod_test): Likewise.
5218 (gamma_test): Likewise.
5219 (hypot_test): Likewise.
5220 (j0_test): Likewise.
5221 (j1_test): Likewise.
5222 (jn_test): Likewise.
5223 (lgamma_test): Likewise.
5224 (log_test): Likewise.
5225 (log10_test): Likewise.
5226 (log1p_test): Likewise.
5227 (log2_test): Likewise.
5228 (logb_test_downward): Likewise.
5229 (pow_test): Likewise.
5230 (pow_test_tonearest): Likewise.
5231 (pow_test_towardzero): Likewise.
5232 (pow_test_downward): Likewise.
5233 (pow_test_upward): Likewise.
5234 (remainder_test): Likewise.
5235 (remquo_test): Likewise.
5236 (sin_test): Likewise.
5237 (sin_test_tonearest): Likewise.
5238 (sin_test_towardzero): Likewise.
5239 (sin_test_downward): Likewise.
5240 (sin_test_upward): Likewise.
5241 (sincos_test): Likewise.
5242 (sinh_test): Likewise.
5243 (sinh_test_tonearest): Likewise.
5244 (sinh_test_towardzero): Likewise.
5245 (sinh_test_downward): Likewise.
5246 (sinh_test_upward): Likewise.
5247 (sqrt_test): Likewise.
5248 (tan_test): Likewise.
5249 (tan_test_tonearest): Likewise.
5250 (tan_test_towardzero): Likewise.
5251 (tan_test_downward): Likewise.
5252 (tan_test_upward): Likewise.
5253 (tanh_test): Likewise.
5254 (tgamma_test): Likewise.
5255 (y0_test): Likewise.
5256 (y1_test): Likewise.
5257 (yn_test): Likewise.
5258
323e5cb7
JM
5259 * math/gen-libm-test.pl (adjust_arg): Remove function.
5260 (special_function): Remove argument $in_func. Only handle
5261 generating output for tables of tests, not inside functions.
5262 (parse_args): Likewise.
5263 (generate_testfile): Remove variable $in_func. Update call to
5264 parse_args.
5265 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
5266 (MINUS_ZERO_INIT): Rename macro to minus_zero.
5267 (PLUS_INFTY_INIT): Rename macro to plus_infty.
5268 (MINUS_INFTY_INIT): Rename macro to minus_infty.
5269 (QNAN_VALUE_INIT): Rename macro to qnan_value.
5270 (MAX_VALUE_INIT): Rename macro to max_value.
5271 (MIN_VALUE_INIT): Rename macro to min_value.
5272 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
5273 (plus_zero): Remove variable.
5274 (minus_zero): Likewise.
5275 (plus_infty): Likewise.
5276 (minus_infty): Likewise.
5277 (qnan_value): Likewise.
5278 (max_value): Likewise.
5279 (min_value): Likewise.
5280 (min_subnorm_value): Likewise.
5281
e054f494
RA
52822013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5283
5284 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
5285 uint64_t or uint32_t usage.
5286 * crypt/sha256-block.c: Likewise.
5287 * crypt/sha256-crypt.c: Likewise.
5288 * crypt/sha256.c: Likewise.
5289 * crypt/sha512-block.c: Likewise.
5290 * crypt/sha512-crypt.c: Likewise.
5291 * crypt/sha512.c: Likewise.
5292 * debug/backtrace-tst.c: Likewise.
5293 * debug/pcprofiledump.c: Likewise.
5294 * elf/cache.c: Likewise.
5295 * elf/dl-cache.c: Likewise.
5296 * elf/dl-misc.c: Likewise.
5297 * elf/dl-profile.c: Likewise.
5298 * elf/dl-support.c: Likewise.
5299 * elf/ldconfig.c: Likewise.
5300 * elf/sprof.c: Likewise.
5301 * iconv/dummy-repertoire.c: Likewise.
5302 * iconv/iconv_charmap.c: Likewise.
5303 * iconv/skeleton.c: Likewise.
5304 * iconvdata/8bit-generic.c: Likewise.
5305 * iconvdata/cp737.h: Likewise.
5306 * iconvdata/cp775.h: Likewise.
5307 * iconvdata/ibm1008.h: Likewise.
5308 * iconvdata/ibm1025.h: Likewise.
5309 * iconvdata/ibm1046.h: Likewise.
5310 * iconvdata/ibm1097.h: Likewise.
5311 * iconvdata/ibm1112.h: Likewise.
5312 * iconvdata/ibm1122.h: Likewise.
5313 * iconvdata/ibm1123.h: Likewise.
5314 * iconvdata/ibm1124.h: Likewise.
5315 * iconvdata/ibm1129.h: Likewise.
5316 * iconvdata/ibm1130.h: Likewise.
5317 * iconvdata/ibm1132.h: Likewise.
5318 * iconvdata/ibm1133.h: Likewise.
5319 * iconvdata/ibm1137.h: Likewise.
5320 * iconvdata/ibm1140.h: Likewise.
5321 * iconvdata/ibm1141.h: Likewise.
5322 * iconvdata/ibm1142.h: Likewise.
5323 * iconvdata/ibm1143.h: Likewise.
5324 * iconvdata/ibm1144.h: Likewise.
5325 * iconvdata/ibm1145.h: Likewise.
5326 * iconvdata/ibm1146.h: Likewise.
5327 * iconvdata/ibm1147.h: Likewise.
5328 * iconvdata/ibm1148.h: Likewise.
5329 * iconvdata/ibm1149.h: Likewise.
5330 * iconvdata/ibm1153.h: Likewise.
5331 * iconvdata/ibm1154.h: Likewise.
5332 * iconvdata/ibm1155.h: Likewise.
5333 * iconvdata/ibm1156.h: Likewise.
5334 * iconvdata/ibm1157.h: Likewise.
5335 * iconvdata/ibm1158.h: Likewise.
5336 * iconvdata/ibm1160.h: Likewise.
5337 * iconvdata/ibm1161.h: Likewise.
5338 * iconvdata/ibm1162.h: Likewise.
5339 * iconvdata/ibm1163.h: Likewise.
5340 * iconvdata/ibm1164.h: Likewise.
5341 * iconvdata/ibm1166.h: Likewise.
5342 * iconvdata/ibm1167.h: Likewise.
5343 * iconvdata/ibm12712.h: Likewise.
5344 * iconvdata/ibm1390.h: Likewise.
5345 * iconvdata/ibm1399.h: Likewise.
5346 * iconvdata/ibm16804.h: Likewise.
5347 * iconvdata/ibm4517.h: Likewise.
5348 * iconvdata/ibm4899.h: Likewise.
5349 * iconvdata/ibm4909.h: Likewise.
5350 * iconvdata/ibm4971.h: Likewise.
5351 * iconvdata/ibm5347.h: Likewise.
5352 * iconvdata/ibm803.h: Likewise.
5353 * iconvdata/ibm856.h: Likewise.
5354 * iconvdata/ibm901.h: Likewise.
5355 * iconvdata/ibm902.h: Likewise.
5356 * iconvdata/ibm9030.h: Likewise.
5357 * iconvdata/ibm9066.h: Likewise.
5358 * iconvdata/ibm921.h: Likewise.
5359 * iconvdata/ibm922.h: Likewise.
5360 * iconvdata/ibm9448.h: Likewise.
5361 * iconvdata/isiri-3342.h: Likewise.
5362 * iconvdata/jis0201.h: Likewise.
5363 * include/link.h: Likewise.
5364 * include/netdb.h: Likewise.
5365 * inet/check_native.c: Likewise.
5366 * inet/check_pf.c: Likewise.
5367 * inet/getipv4sourcefilter.c: Likewise.
5368 * inet/getnameinfo.c: Likewise.
5369 * inet/getsourcefilter.c: Likewise.
5370 * inet/htonl.c: Likewise.
5371 * inet/setipv4sourcefilter.c: Likewise.
5372 * inet/setsourcefilter.c: Likewise.
5373 * inet/test-inet6_opt.c: Likewise.
5374 * inet/tst-network.c: Likewise.
5375 * locale/C-collate.c: Likewise.
5376 * locale/C-ctype.c: Likewise.
5377 * locale/C-time.c: Likewise.
5378 * locale/C-translit.h: Likewise.
5379 * locale/loadarchive.c: Likewise.
5380 * locale/programs/3level.h: Likewise.
5381 * locale/programs/charmap.c: Likewise.
5382 * locale/programs/charmap.h: Likewise.
5383 * locale/programs/ld-address.c: Likewise.
5384 * locale/programs/ld-collate.c: Likewise.
5385 * locale/programs/ld-ctype.c: Likewise.
5386 * locale/programs/ld-identification.c: Likewise.
5387 * locale/programs/ld-measurement.c: Likewise.
5388 * locale/programs/ld-messages.c: Likewise.
5389 * locale/programs/ld-monetary.c: Likewise.
5390 * locale/programs/ld-name.c: Likewise.
5391 * locale/programs/ld-numeric.c: Likewise.
5392 * locale/programs/ld-paper.c: Likewise.
5393 * locale/programs/ld-telephone.c: Likewise.
5394 * locale/programs/ld-time.c: Likewise.
5395 * locale/programs/linereader.c: Likewise.
5396 * locale/programs/locale.c: Likewise.
5397 * locale/programs/locarchive.c: Likewise.
5398 * locale/programs/locfile.h: Likewise.
5399 * locale/programs/repertoire.c: Likewise.
5400 * locale/programs/simple-hash.c: Likewise.
5401 * locale/programs/simple-hash.h: Likewise.
5402 * malloc/memusage.c: Likewise.
5403 * malloc/memusagestat.c: Likewise.
5404 * nis/nis_defaults.c: Likewise.
5405 * nis/nis_hash.c: Likewise.
5406 * nis/nis_print.c: Likewise.
5407 * nis/nis_xdr.c: Likewise.
5408 * nscd/connections.c: Likewise.
5409 * nscd/hstcache.c: Likewise.
5410 * nscd/nscd_gethst_r.c: Likewise.
5411 * nscd/nscd_getserv_r.c: Likewise.
5412 * nscd/nscd_helper.c: Likewise.
5413 * nscd/servicescache.c: Likewise.
5414 * nss/makedb.c: Likewise.
5415 * nss/nss_db/db-XXX.c: Likewise.
5416 * nss/nss_db/db-initgroups.c: Likewise.
5417 * nss/nss_db/db-netgrp.c: Likewise.
5418 * nss/nss_files/files-network.c: Likewise.
5419 * nss/nss_files/files-parse.c: Likewise.
5420 * posix/bug-regex5.c: Likewise.
5421 * posix/fnmatch_loop.c: Likewise.
5422 * posix/regcomp.c: Likewise.
5423 * posix/regexec.c: Likewise.
5424 * posix/tst-rfc3484-2.c: Likewise.
5425 * posix/tst-rfc3484-3.c: Likewise.
5426 * posix/tst-rfc3484.c: Likewise.
5427 * resolv/nss_dns/dns-canon.c: Likewise.
5428 * resolv/nss_dns/dns-network.c: Likewise.
5429 * resolv/res_init.c: Likewise.
5430 * resolv/res_mkquery.c: Likewise.
5431 * resolv/tst-aton.c: Likewise.
5432 * stdlib/cxa_atexit.c: Likewise.
5433 * stdlib/cxa_finalize.c: Likewise.
5434 * stdlib/gen-fpioconst.c: Likewise.
5435 * stdlib/strtol_l.c: Likewise.
5436 * string/tst-endian.c: Likewise.
5437 * sunrpc/auth_des.c: Likewise.
5438 * sunrpc/clnt_udp.c: Likewise.
5439 * sunrpc/rtime.c: Likewise.
5440 * sunrpc/svcauth_des.c: Likewise.
5441 * sunrpc/xdr.c: Likewise.
5442 * sunrpc/xdr_intXX_t.c: Likewise.
5443 * sunrpc/xdr_rec.c: Likewise.
5444 * sysdeps/generic/ldconfig.h: Likewise.
5445 * sysdeps/generic/ldsodefs.h: Likewise.
5446 * sysdeps/generic/memusage.h: Likewise.
5447 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
5448 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
5449 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
5450 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
5451 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5452 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
5453 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
5454 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
5455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5457 * sysdeps/posix/getaddrinfo.c: Likewise.
5458 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
5459 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
5460 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
5461 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5462 * sysdeps/powerpc/test-gettimebase.c: Likewise.
5463 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5464 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
5465 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
5466 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5467 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
5468 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5469 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5470 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
5471 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
5473 * sysdeps/x86_64/dl-tls.h: Likewise.
5474 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
5475 * time/alt_digit.c: Likewise.
5476 * time/era.c: Likewise.
5477 * wcsmbs/tst-c16c32-1.c: Likewise.
5478
8c75f674
JM
54792013-05-16 Joseph Myers <joseph@codesourcery.com>
5480
5481 * math/libm-test.inc (struct test_sincos_data): New type.
5482 (RUN_TEST_LOOP_sincos): New macro.
5483 (sincos_test_data): New variable.
5484 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
5485
e6e49e59
RH
54862013-05-16 Richard Henderson <rth@redhat.com>
5487
5488 * math/atest-exp2.c (LIMB64): New macro.
5489 (CONSTSZ): New macro.
5490 (mp_exp1, mp_exp_m1, mp_log2): New variables.
5491 (hexdig): Move ...
5492 (print_mpn_fp): ... to function scope.
5493 (read_mpn_hex): Remove.
5494 (get_log2): Remove.
5495 (exp2_mpn): Use mp_log2.
5496 (main): Use mp_exp1.
5497
15c7c18d
JM
54982013-05-16 Joseph Myers <joseph@codesourcery.com>
5499
105a07df
JM
5500 * math/libm-test.inc: Remove comment about not testing "inexact"
5501 exceptions.
5502 (INEXACT_EXCEPTION): New macro.
5503 (NO_INEXACT_EXCEPTION): Likewise.
5504 (INVALID_EXCEPTION_OK): Update value.
5505 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
5506 (OVERFLOW_EXCEPTION_OK): Likewise.
5507 (UNDERFLOW_EXCEPTION_OK): Likewise.
5508 (IGNORE_ZERO_INF_SIGN): Likewise.
5509 (ERRNO_UNCHANGED): Likewise.
5510 (ERRNO_EDOM): Likewise.
5511 (ERRNO_ERANGE): Likewise.
5512 (test_exceptions): Handle testing "inexact" exceptions.
5513 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
5514 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
5515 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
5516 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
5517 INEXACT_EXCEPTION.
5518 (rint_towardzero_test_data): Likewise.
5519 (rint_downward_test_data): Likewise.
5520 (rint_upward_test_data): Likewise.
5521
e9eee333
JM
5522 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
5523 with OVERFLOW_EXCEPTION.
5524 (exp10_test_data): Likewise.
5525 (exp2_test_data): Likewise.
5526 (expm1_test_data): Likewise.
5527 (lgamma_test_data): Likewise.
5528 (pow_test_data): Likewise.
5529 (tgamma_test_data): Likewise.
5530 (yn_test_data): Remove duplicate test of overflow.
5531
1c38ff73
JM
5532 * math/libm-test.inc (struct test_cc_c_data): New type.
5533 (RUN_TEST_LOOP_cc_c): New macro.
5534 (cpow_test_data): New variable.
5535 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
5536
15c7c18d
JM
5537 * math/libm-test.inc (struct test_f_L_data): New type.
5538 (RUN_TEST_LOOP_f_L): New macro.
5539 (llrint_test_data): New variable.
5540 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
5541 (llrint_tonearest_test_data): New variable.
5542 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
5543 (llrint_towardzero_test_data): New variable.
5544 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
5545 (llrint_downward_test_data): New variable.
5546 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
5547 (llrint_upward_test_data): New variable.
5548 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
5549 (llround_test_data): New variable.
5550 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
5551
f137ff13
PC
55522013-05-13 Peter Collingbourne <pcc@google.com>
5553
5554 * math/atest-exp2.c (get_log2): Remove const attribute.
5555
3608cb24
JM
55562013-05-15 Joseph Myers <joseph@codesourcery.com>
5557
5558 * math/libm-test.inc (struct test_f_l_data): New type.
5559 (RUN_TEST_LOOP_f_l): New macro.
5560 (lrint_test_data): New variable.
5561 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
5562 (lrint_tonearest_test_data): New variable.
5563 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
5564 (lrint_towardzero_test_data): New variable.
5565 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
5566 (lrint_downward_test_data): New variable.
5567 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
5568 (lrint_upward_test_data): New variable.
5569 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
5570 (lround_test_data): New variable.
5571 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
5572
39b1f617
PC
55732013-05-15 Peter Collingbourne <pcc@google.com>
5574
1deff3dc
PC
5575 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
5576 (EXTRACT_WORDS64) Use where appropriate.
5577 (INSERT_WORDS64) Likewise.
5578
791f3ba0
PC
5579 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
5580 constraints with x constraints.
5581 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
5582
39b1f617
PC
5583 * malloc/obstack.c (_obstack_compat): Add initializer.
5584
12fba011
EM
55852013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
5586
5587 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
5588 si_trapno and add si_addr_lsb to _sifields.sigfault.
5589 (si_trapno): Remove macro.
5590 (si_addr_lsb): Define new macro.
5591 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
5592
d369f531
JM
55932013-05-15 Joseph Myers <joseph@codesourcery.com>
5594
b861c6c4
JM
5595 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
5596 instead of TEST_f_l.
5597 (llrint_test_tonearest): Likewise.
5598 (llrint_test_towardzero): Likewise.
5599 (llrint_test_downward): Likewise.
5600 (llrint_test_upward): Likewise.
5601 (llround_test): Likewise.
5602
7abeee12
JM
5603 * math/libm-test.inc (struct test_f_i_data): Add comment.
5604 (RUN_TEST_LOOP_f_b): New macro.
5605 (RUN_TEST_LOOP_f_b_tg): Likewise.
5606 (finite_test_data): New variable.
5607 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
5608 (isfinite_test_data): New variable.
5609 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5610 (isinf_test_data): New variable.
5611 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5612 (isnan_test_data): New variable.
5613 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5614 (isnormal_test_data): New variable.
5615 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5616 (issignaling_test_data): New variable.
5617 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5618 (signbit_test_data): New variable.
5619 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
5620
cbe8c4d3
JM
5621 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
5622 with INVALID_EXCEPTION.
5623 (acosh_test_data): Likewise.
5624 (asin_test_data): Likewise.
5625 (atanh_test_data): Likewise.
5626 (fmod_test_data): Likewise.
5627 (log_test_data): Likewise.
5628 (log10_test_data): Likewise.
5629 (log2_test_data): Likewise.
5630 (pow_test_data): Likewise.
5631 (sqrt_test_data): Likewise.
5632 (y0_test_data): Likewise.
5633 (y1_test_data): Likewise.
5634 (yn_test_data): Likewise.
5635
5575c0e5
JM
5636 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
5637 function contents.
5638
d369f531
JM
5639 * math/libm-test.inc (struct test_ff_i_data): New type.
5640 (RUN_TEST_LOOP_ff_i_tg): New macro.
5641 (isgreater_test_data): New variable.
5642 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5643 (isgreaterequal_test_data): New variable.
5644 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5645 (isless_test_data): New variable.
5646 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5647 (islessequal_test_data): New variable.
5648 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5649 (islessgreater_test_data): New variable.
5650 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5651 (isunordered_test_data): New variable.
5652 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
5653
781fd748
DM
56542013-05-14 David S. Miller <davem@davemloft.net>
5655
5656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5657
87aa21df
JM
56582013-05-14 Joseph Myers <joseph@codesourcery.com>
5659
5e908270
JM
5660 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
5661
f71172e5
JM
5662 * math/libm-test.inc (struct test_fF_f1_data): Change type of
5663 extra_test to int.
5664 (struct test_f_i_data): Change type of max_ulp to int.
5665
8cfa635a
JM
5666 * math/libm-test.inc (test_ffI_f1_data): New type.
5667 (RUN_TEST_LOOP_ffI_f1): New macro.
5668 (remquo_test_data): New variable.
5669 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
5670
2bcb36b2
JM
5671 * setjmp/tst-setjmp-fp.c: New file.
5672 * setjmp/Makefile (tests): Add tst-setjmp-fp.
5673 (link-libm): New variable.
5674 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
5675
acbd839a
JM
5676 * math/libm-test.inc (struct test_f_i_data): New type.
5677 (RUN_TEST_LOOP_f_i): New macro.
5678 (RUN_TEST_LOOP_f_i_tg): Likewise.
5679 (fpclassify_test_data): New variable.
5680 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
5681 (ilogb_test_data): New variable.
5682 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
5683
e414d745
JM
5684 * math/libm-test.inc (scalbln_test): Correct function name in END
5685 call.
5686
d9c2a0fd
JM
5687 * math/libm-test.inc (struct test_f_f1_data): Add comment.
5688 (RUN_TEST_LOOP_fI_f1): New macro.
5689 (frexp_test_data): New variable.
5690 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
5691
9dc9095d
JM
5692 * math/libm-test.inc (struct test_fF_f1_data): New type.
5693 (RUN_TEST_LOOP_fF_f1): New macro.
5694 (modf_test_data): New variable.
5695 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
5696
87aa21df
JM
5697 * math/libm-test.inc (struct test_f_f1_data): New type.
5698 (RUN_TEST_LOOP_f_f1): New macro.
5699 (gamma_test_data): New variable.
5700 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5701 (lgamma_test_data): New variable.
5702 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
5703
141af660
CD
57042013-05-13 Carlos O'Donell <carlos@redhat.com>
5705
5706 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
5707 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
5708 (main): Comment "tls" pseudo-hwcap.
5709
6d33265c
JM
57102013-05-13 Joseph Myers <joseph@codesourcery.com>
5711
68fc074c
JM
5712 * math/libm-test.inc (struct test_fl_f_data): New type.
5713 (RUN_TEST_LOOP_fl_f): New variable.
5714 (scalbln_test_data): New variable.
5715 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
5716
243216e1
JM
5717 * math/libm-test.inc (struct test_fi_f_data): New type.
5718 (RUN_TEST_LOOP_fi_f): New macro.
5719 (ldexp_test_data): New variable.
5720 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
5721 (scalbn_test_data): New variable.
5722 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
5723
6a1992e2
JM
5724 * math/libm-test.inc (struct test_c_f_data): New type.
5725 (RUN_TEST_LOOP_c_f): New macro.
5726 (cabs_test_data): New variable.
5727 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
5728 (carg_test_data): New variable.
5729 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
5730 (cimag_test_data): New variable.
5731 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
5732 (creal_test_data): New variable.
5733 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
5734
0e400df5
JM
5735 * math/libm-test.inc (struct test_if_f_data): New type.
5736 (RUN_TEST_LOOP_if_f): New macro.
5737 (jn_test_data): New variable.
5738 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
5739 (yn_test_data): New variable.
5740 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
5741
6d33265c
JM
5742 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
5743
f98ece5f
AZ
57442013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5745
5746 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
5747 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
5748
0f7d347b
SP
57492013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5750
43fe811b
SP
5751 * benchtests/Makefile (CPPFLAGS-nonlib): Add
5752 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
5753 (bench-deps): Add bench-timing.h.
5754 * benchtests-bench-skeleton.c: Include bench-timing.h.
5755 (main): Use TIMING_* macros instead of clock_gettime.
5756 * benchtests/bench-timing.h: New file.
5757
0f7d347b
SP
5758 [BZ #14582]
5759 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
5760 Renamed from _LIB_VERSION.
5761 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
5762
601a3a5f
JM
57632013-05-12 Joseph Myers <joseph@codesourcery.com>
5764
4f184d30
JM
5765 * math/libm-test.inc (struct test_fff_f_data): New type.
5766 (RUN_TEST_LOOP_fff_f): New macro.
5767 (fma_test_data): New variable.
5768 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
5769 (fma_towardzero_test_data): New variable.
5770 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
5771 (fma_downward_test_data): New variable.
5772 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
5773 (fma_upward_test_data): New variable.
5774 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
5775
08198877
JM
5776 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
5777 (struct test_c_c_data): New type.
5778 (RUN_TEST_LOOP_c_c): New macro.
5779 (cacos_test_data): New variable.
5780 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
5781 (cacosh_test_data): New variable.
5782 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
5783 (casin_test_data): New variable.
5784 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
5785 (casinh_test_data): New variable.
5786 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
5787 (catan_test_data): New variable.
5788 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
5789 (catanh_test_data): New variable.
5790 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
5791 (ccos_test_data): New variable.
5792 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
5793 (ccosh_test_data): New variable.
5794 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
5795 (cexp_test_data): New variable.
5796 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
5797 (clog_test_data): New variable.
5798 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
5799 (clog10_test_data): New variable.
5800 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
5801 (conj_test_data): New variable.
5802 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
5803 (cproj_test_data): New variable.
5804 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
5805 (csin_test_data): New variable.
5806 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
5807 (csinh_test_data): New variable.
5808 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
5809 (csqrt_test_data): New variable.
5810 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
5811 (ctan_test_data): New variable.
5812 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
5813 (ctan_tonearest_test_data): New variable.
5814 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5815 (ctan_towardzero_test_data): New variable.
5816 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5817 (ctan_downward_test_data): New variable.
5818 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5819 (ctan_upward_test_data): New variable.
5820 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5821 (ctanh_test_data): New variable.
5822 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
5823 (ctanh_tonearest_test_data): New variable.
5824 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
5825 (ctanh_towardzero_test_data): New variable.
5826 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
5827 (ctanh_downward_test_data): New variable.
5828 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
5829 (ctanh_upward_test_data): New variable.
5830 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
5831 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
5832 of BUILD_COMPLEX.
5833
601a3a5f
JM
5834 * math/libm-test.inc (struct test_ff_f_data): New type.
5835 (struct test_ff_f_data_nexttoward): Likewise.
5836 (RUN_TEST_LOOP_2_f): New macro.
5837 (RUN_TEST_LOOP_ff_f): Likewise.
5838 (atan2_test_data): New variable.
5839 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
5840 (copysign_test_data): New variable.
5841 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
5842 (fdim_test_data): New variable.
5843 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
5844 (fmax_test_data): New variable.
5845 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
5846 (fmin_test_data): New variable.
5847 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
5848 (fmod_test_data): New variable.
5849 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
5850 (hypot_test_data): New variable.
5851 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
5852 (nextafter_test_data): New variable.
5853 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
5854 (nexttoward_test_data): New variable.
5855 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
5856 (pow_test_data): New variable.
5857 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
5858 (pow_tonearest_test_data): New variable.
5859 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
5860 (pow_towardzero_test_data): New variable.
5861 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
5862 (pow_downward_test_data): New variable.
5863 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
5864 (pow_upward_test_data): New variable.
5865 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
5866 (remainder_test_data): New variable.
5867 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
5868 (scalb_test_data): New variable.
5869 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
5870 * sysdeps/i386/fpu/libm-test-ulps: Update.
5871
74c57478
JM
58722013-05-11 Joseph Myers <joseph@codesourcery.com>
5873
8329e4da
JM
5874 * math/libm-test.inc (fma_test): Use max_value instead of local
5875 variable fltmax.
5876 (nextafter_test): Likewise.
5877
74c57478
JM
5878 * math/libm-test.inc (acos_towardzero_test_data): New variable.
5879 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5880 (acos_downward_test_data): New variable.
5881 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5882 (acos_upward_test_data): New variable.
5883 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5884 (acosh_test_data): New variable.
5885 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
5886 (asin_test_data): New variable.
5887 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
5888 (asin_tonearest_test_data): New variable.
5889 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5890 (asin_towardzero_test_data): New variable.
5891 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5892 (asin_downward_test_data): New variable.
5893 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5894 (asin_upward_test_data): New variable.
5895 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5896 (asinh_test_data): New variable.
5897 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
5898 (atan_test_data): New variable.
5899 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
5900 (atanh_test_data): New variable.
5901 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
5902 (cbrt_test_data): New variable.
5903 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
5904 (ceil_test_data): New variable.
5905 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
5906 (cos_test_data): New variable.
5907 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
5908 (cos_tonearest_test_data): New variable.
5909 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5910 (cos_towardzero_test_data): New variable.
5911 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5912 (cos_downward_test_data): New variable.
5913 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5914 (cos_upward_test_data): New variable.
5915 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5916 (cosh_test_data): New variable.
5917 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
5918 (cosh_tonearest_test_data): New variable.
5919 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5920 (cosh_towardzero_test_data): New variable.
5921 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5922 (cosh_downward_test_data): New variable.
5923 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5924 (cosh_upward_test_data): New variable.
5925 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5926 (erf_test_data): New variable.
5927 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
5928 (erfc_test_data): New variable.
5929 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
5930 (exp_test_data): New variable.
5931 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
5932 (exp_tonearest_test_data): New variable.
5933 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5934 (exp_towardzero_test_data): New variable.
5935 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5936 (exp_downward_test_data): New variable.
5937 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5938 (exp_upward_test_data): New variable.
5939 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5940 (exp10_test_data): New variable.
5941 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
5942 (exp2_test_data): New variable.
5943 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
5944 (expm1_test_data): New variable.
5945 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
5946 (fabs_test_data): New variable.
5947 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
5948 (floor_test_data): New variable.
5949 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
5950 (j0_test_data): New variable.
5951 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
5952 (j1_test_data): New variable.
5953 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
5954 (log_test_data): New variable.
5955 (log_test): Run tests with RUN_TEST_LOOP_f_f.
5956 (log10_test_data): New variable.
5957 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
5958 (log1p_test_data): New variable.
5959 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
5960 (log2_test_data): New variable.
5961 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
5962 (logb_test_data): New variable.
5963 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
5964 (logb_downward_test_data): New variable.
5965 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5966 (nearbyint_test_data): New variable.
5967 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
5968 (rint_test_data): New variable.
5969 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
5970 (rint_tonearest_test_data): New variable.
5971 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5972 (rint_towardzero_test_data): New variable.
5973 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5974 (rint_downward_test_data): New variable.
5975 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5976 (rint_upward_test_data): New variable.
5977 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5978 (round_test_data): New variable.
5979 (round_test): Run tests with RUN_TEST_LOOP_f_f.
5980 (sin_test_data): New variable.
5981 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
5982 (sin_tonearest_test_data): New variable.
5983 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5984 (sin_towardzero_test_data): New variable.
5985 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5986 (sin_downward_test_data): New variable.
5987 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5988 (sin_upward_test_data): New variable.
5989 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
5990 (sinh_test_data): New variable.
5991 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
5992 (sinh_tonearest_test_data): New variable.
5993 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
5994 (sinh_towardzero_test_data): New variable.
5995 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
5996 (sinh_downward_test_data): New variable.
5997 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
5998 (sinh_upward_test_data): New variable.
5999 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6000 (sqrt_test_data): New variable.
6001 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
6002 (tan_test_data): New variable.
6003 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
6004 (tan_tonearest_test_data): New variable.
6005 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6006 (tan_towardzero_test_data): New variable.
6007 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
6008 (tan_downward_test_data): New variable.
6009 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
6010 (tan_upward_test_data): New variable.
6011 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
6012 (tanh_test_data): New variable.
6013 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
6014 (tgamma_test_data): New variable.
6015 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
6016 (trunc_test_data): New variable.
6017 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
6018 (y0_test_data): New variable.
6019 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
6020 (y1_test_data): New variable.
6021 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
6022 (significand_test_data): New variable.
6023 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
6024
7187d844
CG
60252013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
6026
6027 [BZ #12387]
6028 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
6029
f63fae73
PT
60302013-05-10 Pino Toscano <toscano.pino@tiscali.it>
6031
6032 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
6033
8a67a4b3
AJ
60342013-05-10 Andreas Jaeger <aj@suse.de>
6035
6036 [BZ #15448]
6037 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
6038 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
6039
51df539d
JM
60402013-05-10 Joseph Myers <joseph@codesourcery.com>
6041
6042 * math/gen-libm-test.pl (adjust_arg): New function.
6043 (special_functions): Handle generating output in both functions
6044 and arrays.
6045 (parse_args): Likewise.
6046 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
6047 $in_func argument to parse_args.
6048 * math/libm-test.inc (struct test_f_f_data): New type.
6049 (IF_ROUND_INIT_): New macro.
6050 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
6051 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
6052 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
6053 (IF_ROUND_INIT_FE_UPWARD): Likewise.
6054 (ROUND_RESTORE_): Likewise.
6055 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
6056 (ROUND_RESTORE_FE_TONEAREST): Likewise.
6057 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
6058 (ROUND_RESTORE_FE_UPWARD): Likewise.
6059 (RUN_TEST_LOOP_f_f): New macro.
6060 (acos_test_data): New variable.
6061 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
6062 (acos_tonearest_test_data): New variable.
6063 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
6064
5c637fe5
SP
60652013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6066
6067 * benchtests/bench-skeleton.c (startup): Fix coding style.
6068
ab2b9461
JM
60692013-05-10 Joseph Myers <joseph@codesourcery.com>
6070
6071 [BZ #6809]
6072 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
6073 negative infinity argument.
6074 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
6075 negative infinity argument.
6076 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
6077 negative infinity argument.
6078 * math/libm-test.inc (tgamma_test): Expect errno to be set for
6079 domain errors.
6080
4c0fe6fe
FW
60812013-05-10 Florian Weimer <fweimer@redhat.com>
6082
6083 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
6084 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
6085 * iconv/iconv_prog.c (main): Likewise.
6086 * locale/programs/charmap-dir.c (charmap_readdir)
6087 (fopen_uncompressed): Likewise.
6088 * locale/programs/locfile.c (siblings_uncached)
6089 (write_locale_data): Use lstat64 instead of lstat.
6090 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
6091 stat.
6092
a3375d29
AJ
60932013-05-10 Andreas Jaeger <aj@suse.de>
6094
6095 [BZ #15395]
6096 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
6097 localization.
6098 Include <locale.h>.
6099
36129722
CD
61002013-05-09 Carlos O'Donell <carlos@redhat.com>
6101
6102 * elf/dl-close.c (_dl_close_worker): Add comments.
6103
faa7f811
JM
61042013-05-09 Joseph Myers <joseph@codesourcery.com>
6105
ed41ffef
JM
6106 [BZ #15359]
6107 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
6108 high part of pi/2.
6109 (__ieee754_rem_pio2l): Update comments.
6110
d0213cd0
JM
6111 [BZ #15429]
6112 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
6113 high part of pi/2.
6114 (__ieee754_rem_pio2l): Update comments.
6115
0d3e777a
JM
6116 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
6117 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
6118
24f56066
JM
6119 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
6120 M_PI_4l.
6121
faa7f811
JM
6122 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
6123 (M_PI_34_LOG10El): Likewise.
6124 (M_PI2_LOG10El): Likewise.
6125 (M_PI4_LOG10El): Likewise.
6126 (M_PI_LOG10El): Likewise.
6127
e9a5e0fd
AZ
61282013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6129
6130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6131
d8cd06db
JM
61322013-05-08 Joseph Myers <joseph@codesourcery.com>
6133
a0d9f9d7
JM
6134 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
6135 (MINUS_ZERO_INIT): Likewise.
6136 (PLUS_INFTY_INIT): Likewise.
6137 (MINUS_INFTY_INIT): Likewise.
6138 (QNAN_VALUE_INIT): Likewise.
6139 (MAX_VALUE_INIT): Likewise.
6140 (MIN_VALUE_INIT): Likewise.
6141 (MIN_SUBNORM_VALUE_INIT): Likewise.
6142 (plus_zero): Initialize with PLUS_ZERO_INIT.
6143 (minus_zero): Initialize with MINUS_ZERO_INIT.
6144 (plus_infty): Initialize with PLUS_INFTY_INIT.
6145 (minus_infty): Initialize with MINUS_INFTY_INIT.
6146 (qnan_value): Initialize with QNAN_VALUE_INIT.
6147 (max_value): Initialize with MAX_VALUE_INIT.
6148 (min_value): Initialize with MIN_VALUE_INIT.
6149 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
6150
ae08db3b
JM
6151 * math/libm-test.inc (RUN_TEST_if_f): New macro.
6152 (jn_test): Use TEST_if_f instead of TEST_ff_f.
6153 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
6154 (yn_test): Use TEST_if_f instead of TEST_ff_f.
6155
f44bf14a
JM
6156 * math/libm-test.inc (RUN_TEST_f_f): New macro.
6157 (RUN_TEST_2_f): Likewise.
6158 (RUN_TEST_ff_f): Likewise.
6159 (RUN_TEST_fi_f): Likewise.
6160 (RUN_TEST_fl_f): Likewise.
6161 (RUN_TEST_fff_f): Likewise.
6162 (RUN_TEST_c_f): Likewise.
6163 (RUN_TEST_f_f1): Likewise.
6164 (RUN_TEST_fF_f1): Likewise.
6165 (RUN_TEST_fI_f1): Likewise.
6166 (RUN_TEST_ffI_f1): Likewise.
6167 (RUN_TEST_c_c): Likewise.
6168 (RUN_TEST_cc_c): Likewise.
6169 (RUN_TEST_f_i): Likewise.
6170 (RUN_TEST_f_i_tg): Likewise.
6171 (RUN_TEST_ff_i_tg): Likewise.
6172 (RUN_TEST_f_b): Likewise.
6173 (RUN_TEST_f_b_tg): Likewise.
6174 (RUN_TEST_f_l): Likewise.
6175 (RUN_TEST_f_L): Likewise.
6176 (RUN_TEST_sincos): Likewise.
6177 * math/gen-libm-test.pl (new_test): Take new argument to indicate
6178 whether to show exceptions. Do not include ");\n" in return
6179 value.
6180 (special_functions): Output call to RUN_TEST_sincos instead of
6181 check_float calls. Update calls to new_test.
6182 (parse_args): Output call to single RUN_TEST_* macro instead of
6183 check_* calls and other assignments. Update calls to new_test.
6184
d8cd06db
JM
6185 [BZ #2546]
6186 [BZ #2560]
6187 [BZ #5159]
6188 [BZ #15426]
6189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
6190 input to result for tgamma overflow.
6191 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
6192 (gamma_coeff): New variable.
6193 (NCOEFF): New macro.
6194 (gamma_positive): New function.
6195 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
6196 underflow here. Use gamma_positive instead of exp (lgamma) for
6197 other arguments.
6198 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
6199 (gamma_coeff): New variable.
6200 (NCOEFF): New macro.
6201 (gammaf_positive): New function.
6202 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
6203 underflow here. Use gamma_positive instead of exp (lgamma) for
6204 other arguments.
6205 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
6206 (gamma_coeff): New variable.
6207 (NCOEFF): New macro.
6208 (gammal_positive): New function.
6209 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
6210 underflow here. Use gamma_positive instead of exp (lgamma) for
6211 other arguments.
6212 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
6213 (gamma_coeff): New variable.
6214 (NCOEFF): New macro.
6215 (gammal_positive): New function.
6216 (__ieee754_gammal_r): Handle positive infinity, overflow and
6217 underflow here. Handle NaN the same as positive infinity. Remove
6218 check x < 0xffffffff for negative integers. Use gamma_positive
6219 instead of exp (lgamma) for other arguments.
6220 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
6221 (gamma_coeff): New variable.
6222 (NCOEFF): New macro.
6223 (gammal_positive): New function.
6224 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
6225 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
6226 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
6227 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
6228 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
6229 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
6230 * sysdeps/generic/math_private.h (__gamma_productf): New
6231 prototype.
6232 (__gamma_product): Likewise.
6233 (__gamma_productl): Likewise.
6234 * math/Makefile (libm-calls): Add gamma_product.
6235 * math/libm-test.inc (tgamma_test): Add more tests.
6236 * sysdeps/i386/fpu/libm-test-ulps: Update.
6237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6238
bb7cf681
OB
62392013-05-08 Ondřej Bílka <neleai@seznam.cz>
6240
6241 * benchtests/bench-skeleton.c (main): Preheat CPU.
6242
ba853947
AJ
62432013-05-07 Aurelien Jarno <aurelien@aurel32.net>
6244
6245 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
6246
8347c74c
RM
62472013-05-07 Roland McGrath <roland@hack.frob.com>
6248
6249 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
6250 and _dl_skip_args_internal.
6251
e8dd4791
CD
62522013-05-07 Carlos O'Donell <carlos@redhat.com>
6253
6254 * manual/message.texi (Message Translation): Talk about users.
6255 Message to key mapping impacts design.
6256
c7405830
RM
62572013-05-06 Roland McGrath <roland@hack.frob.com>
6258
a9173057
RM
6259 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
6260
976e2f03
RM
6261 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
6262
9723ffc5
RM
6263 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
6264 * sysdeps/wordsize-64/glob64.c: ... here.
6265
962e6658
RM
6266 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
6267 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
6268 New macros.
6269
ee586a6d
RM
6270 * debug/getlogin_r_chk.c: Moved to ...
6271 * login/getlogin_r_chk.c: ... here.
6272 * debug/Makefile (routines): Move getlogin_r_chk to ...
6273 * login/Makefile (routines): ... here.
6274 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
6275 * login/Versions (libc: GLIBC_2.4): ... here.
6276
355f9165
RM
6277 * io/poll.c (__poll): Renamed from poll.
6278 Add libc_hidden_def.
6279 (poll): Define as weak alias.
6280
bd9ffde6
RM
6281 * debug/ptsname_r_chk.c: Moved to ...
6282 * login/ptsname_r_chk.c: ... here.
6283 * debug/Makefile (routines): Move ptsname_r_chk to ...
6284 * login/Makefile (routines): ... here.
6285 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
6286 * login/Versions (libc: GLIBC_2.4): ... here.
6287
8fb16a04
RM
6288 * posix/getlogin.c: Moved to ...
6289 * login/getlogin.c: ... here.
6290 * posix/getlogin_r.c: Moved to ...
6291 * login/getlogin_r.c: ... here.
6292 * posix/getlogin_r.c: Moved to ...
6293 * login/getlogin_r.c: ... here.
6294 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
6295 * login/Makefile (routines): ... here.
6296 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
6297 * login/Versions (libc: GLIBC_2.0): ... here.
6298
b99b892f
RM
6299 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
6300 (setrlimit): Define as weak alias.
6301
c7405830
RM
6302 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
6303 Call __ names for open, ftruncate, and close.
6304 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
6305 (truncate): Define as weak alias.
6306
5bf96de5
JM
63072013-05-06 Joseph Myers <joseph@codesourcery.com>
6308
9ea3513c
JM
6309 * math/gen-libm-test.pl (parse_args): Initialize x before each
6310 test of frexp, modf and remquo.
6311
5bf96de5
JM
6312 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
6313 test signgam value.
6314
16e616a7
AZ
63152013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6316
6317 [BZ #15418]
6318 [BZ #15419]
6319 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
6320 internal tests.
6321 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6322
d5e82754
RM
63232013-05-06 Roland McGrath <roland@hack.frob.com>
6324
6325 * elf/dl-writev.h: New file.
6326 * elf/dl-misc.c: Include it.
6327 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
6328 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
6329
a7548d41
JM
63302013-05-04 Joseph Myers <joseph@codesourcery.com>
6331
b7dab1e4
JM
6332 * math/libm-test.inc (noXFails): Remove variable.
6333 (noXPasses): Likewise.
6334 (BUILD_COMPLEX_INT): Remove macro.
6335 (print_screen): Remove xfail argument.
6336 (print_screen_max_error): Likewise.
6337 (update_stats): Likewise.
6338 (print_max_error): Likewise. Update calls to other affected
6339 functions.
6340 (print_complex_max_error): Likewise.
6341 (test_single_exception): Update calls to print_screen.
6342 (test_single_errno): Likewise.
6343 (check_float_internal): Remove xfail argument. Update calls to
6344 other affected functions.
6345 (check_float): Likewise.
6346 (check_complex): Likewise.
6347 (check_int): Likewise.
6348 (check_long): Likewise.
6349 (check_bool): Likewise.
6350 (check_longlong): Likewise.
6351 (main): Don't print noXFails and noXPasses.
6352 * math/gen-libm-test.pl (top level): Don't mention expected
6353 failure handling in comment.
6354 (new_test): Don't handle expected failures.
6355 (parse_args): Don't mention expected failure handling in comment.
6356 (generate_testfile): Don't handle expected failures.
6357 (parse_ulps): Likewise.
6358 (print_ulps_file): Likewise.
6359 (get_failure): Remove function.
6360 (output_test): Don't handle expected failures.
6361 * make/README.libm-test: Don't mention expected failure handling.
6362
a7548d41
JM
6363 * math/libm-test.inc (plus_zero): Make const. Add initializer.
6364 (minus_zero): Likewise.
6365 (plus_infty): Likewise.
6366 (minus_infty): Likewise.
6367 (qnan_value): Likewise.
6368 (max_value): Likewise.
6369 (min_value): Likewise.
6370 (min_subnorm_value): Likewise.
6371 (initialize): Do not initialize those variables dynamically.
6372
60bfd54c
RM
63732013-05-03 Roland McGrath <roland@hack.frob.com>
6374
cc0e6ed8
RM
6375 * io/open.c (__open_2): Moved to ...
6376 * io/open_2.c: ... this new file.
6377 * io/open64.c (__open64_2): Moved to ...
6378 * io/open64_2.c: ... this new file.
6379 * io/openat.c (__openat_2): Moved to ...
6380 * io/openat_2.c: ... this new file.
6381 * io/openat64.c (__openat64_2): Moved to ...
6382 * io/openat64_2.c: ... this new file.
6383 * io/Makefile (routines): Add them.
6384 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
6385 * sysdeps/unix/sysv/linux/open_2.c: File removed.
6386 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
6387 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
6388 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
6389 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
6390 (__openat64): Add hidden_ver.
6391 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
6392 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
6393
60bfd54c
RM
6394 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
6395 Separately conditionalize setting of GLRO(dl_sysinfo) so
6396 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
6397 as well, but the actual setting is only under [NEED_DL_SYSINFO].
6398
83e7640f
AZ
63992013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6400
6401 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
6402 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
6403 definition.
6404 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
6405 * sysdeps/unix/sysv/linux/powerpc/init-first.c
6406 (_libc_vdso_platform_setup): Add __vdso_time initialization.
6407 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
6408 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
6409
d5dc2af3
JM
64102013-05-03 Joseph Myers <joseph@codesourcery.com>
6411
c31a5b1e
JM
6412 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
6413 test signgam value.
6414
d5dc2af3
JM
6415 * math/libm-test.inc (hypot_test): Do not use
6416 IGNORE_ZERO_INF_SIGN.
6417
164fd39d
AJ
64182013-05-03 Andreas Jaeger <aj@suse.de>
6419
6420 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
6421 Linux 3.9.
6422 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
6423 (PF_MAX): Adjust for VSOCK change.
6424
8237f48c
AZ
64252013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6426
6427 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6428
9df02941
CD
64292013-05-02 Carlos O'Donell <carlos@redhat.com>
6430
6431 [BZ #15264]
6432 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
6433 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
6434 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
6435
d422395e
DM
64362013-05-02 David S. Miller <davem@davemloft.net>
6437
6438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6439
a07c5731
OB
64402013-05-01 Ondřej Bílka <neleai@seznam.cz>
6441
6442 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
6443
1324e37f
RM
64442013-05-01 Roland McGrath <roland@hack.frob.com>
6445
6446 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
6447
0695940b
RS
64482013-05-01 Richard Smith <richard@metafoo.co.uk>
6449
bb5f27ad 6450 [BZ #14952]
0695940b
RS
6451 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
6452 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6453 Use __attribute__ ((__gnu_inline__)).
6454 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
6455 Don't use __attribute__ ((__gnu_inline__)).
6456
10de07f5
JM
64572013-05-01 Joseph Myers <joseph@codesourcery.com>
6458
6459 [BZ #15423]
6460 * math/s_catan.c (__catan): Handle small real or imaginary part of
6461 input specially to avoid spurious underflow.
6462 * math/s_catanf.c (__catanf): Likewise.
6463 * math/s_catanh.c (__catanh): Likewise.
6464 * math/s_catanhf.c (__catanhf): Likewise.
6465 * math/s_catanhl.c (__catanhl): Likewise.
6466 * math/s_catanl.c (__catanl): Likewise.
6467 * math/libm-test.inc (catan_test): Add more tests.
6468 (catanh_test): Likewise.
6469 * sysdeps/i386/fpu/libm-test-ulps: Update.
6470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6471
cb4d5414
AZ
64722013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6473
6474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6475
caf84319
JM
64762013-04-30 Joseph Myers <joseph@codesourcery.com>
6477
6478 [BZ #15416]
6479 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
6480 accurately for denominator in atan2.
6481 * math/s_catanf.c (__catanf): Likewise.
6482 * math/s_catanh.c (__catanh): Likewise.
6483 * math/s_catanhf.c (__catanhf): Likewise.
6484 * math/s_catanhl.c (__catanhl): Likewise.
6485 * math/s_catanl.c (__catanl): Likewise.
6486 * math/libm-test.inc (catan_test): Add more tests.
6487 (catanh_test): Likewise.
6488 * sysdeps/i386/fpu/libm-test-ulps: Update.
6489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6490
d569c6ee
SP
64912013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6492
6dbe713d
SP
6493 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
6494
f0ee064b
SP
6495 * benchtests/Makefile (bench): Remove slow benchmarks.
6496 * benchtests/atan-inputs: Add slow benchmark inputs.
6497 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
6498 (BENCH_FUNC): Accept variant offset.
6499 (VARIANT): Define.
6500 * benchtests/bench-skeleton.c (main): Run benchmark for each
6501 variant.
6502 * benchtests/cos-inputs: Add slow benchmark inputs.
6503 * benchtests/exp-inputs: Likewise.
6504 * benchtests/pow-inputs: Likewise.
6505 * benchtests/sin-inputs: Likewise.
6506 * benchtests/slowatan-inputs: Remove.
6507 * benchtests/slowatan.c: Remove.
6508 * benchtests/slowcos-inputs: Remove.
6509 * benchtests/slowcos.c: Remove.
6510 * benchtests/slowexp-inputs: Remove.
6511 * benchtests/slowexp.c: Remove.
6512 * benchtests/slowpow-inputs: Remove.
6513 * benchtests/slowpow.c: Remove.
6514 * benchtests/slowsin-inputs: Remove.
6515 * benchtests/slowsin.c: Remove.
6516 * benchtests/slowtan-inputs: Remove.
6517 * benchtests/slowtan.c: Remove.
6518 * benchtests/tan-inputs: Add slow benchmark inputs.
6519 * scripts/bench.pl: Parse comments and directives.
6520
d569c6ee
SP
6521 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
6522 in CPPFLAGS.
6523 ($(objpfx)bench-%.c): Remove *-ITER.
6524 * benchtests/bench-modf.c: Remove definition of ITER.
6525 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
6526 (main): Loop for DURATION seconds instead of fixed number of
6527 iterations.
6528 * scripts/bench.pl: Don't expect iterations in parameters.
6529
a6a242fe
RM
65302013-04-29 Roland McGrath <roland@hack.frob.com>
6531
6532 * io/fchdir.c (__fchdir): Renamed from fchdir.
6533 (fchdir): Define as weak alias.
6534
f2da7793
JM
65352013-04-29 Joseph Myers <joseph@codesourcery.com>
6536
6537 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
6538 (ERRNO_EDOM): Likewise.
6539 (ERRNO_ERANGE): Likewise.
6540 (noErrnoTests): New variable.
6541 (init_max_error): Set errno to 0.
6542 (test_single_errno): New function.
6543 (test_errno): Likewise.
6544 (check_float_internal): Call test_errno. Set errno to 0.
6545 (check_complex): Refer to errno tests in comment.
6546 (check_int): Call test_errno. Set errno to 0.
6547 (check_long): Likewise.
6548 (check_bool): Likewise.
6549 (check_longlong): Likewise.
6550 (cos_test): Use ERRNO_* flags for errno tests instead of
6551 check_int.
6552 (expm1_test): Likewise.
6553 (fmod_test): Likewise.
6554 (ilogb_test): Likewise.
6555 (lgamma_test): Likewise.
6556 (pow_test): Likewise.
6557 (remainder_test): Likewise.
6558 (sin_test): Likewise.
6559 (tan_test): Likewise.
6560 (yn_test): Likewise.
6561 (initialize): Set errno to 0.
6562 (main): Print number of errno tests.
6563 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
6564
b1a36ceb
AJ
65652013-04-29 Andreas Jaeger <aj@suse.de>
6566
c3ed8088
AJ
6567 [BZ #15084]
6568 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
6569 and RES_USEVC.
6570
f1a24198
AJ
6571 [BZ #15085]
6572 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
6573 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
6574 unimplemented.
6575
9ce3b2cb
AJ
6576 [BZ #15380]
6577 * stdlib/random.c (__initstate): Return NULL if
6578 __initstate fails.
6579
f1a24198 6580 [BZ #15086]
b1a36ceb
AJ
6581 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
6582 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
6583 RES_SNGLKUPREOP.
6584
7e7b6f36
AZ
65852013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6586
6587 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6588
4d14f449
JM
65892013-04-29 Joseph Myers <joseph@codesourcery.com>
6590
6591 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
6592 of individual tests.
6593 (casin_test): Likewise.
6594 (casinh_test): Likewise.
6595
5b4217d7
JM
65962013-04-27 Joseph Myers <joseph@codesourcery.com>
6597
6598 [BZ #15409]
6599 * math/s_catan.c (__catan): Handle arguments with large real or
6600 imaginary part separately without squaring.
6601 * math/s_catanf.c (__catanf): Likewise.
6602 * math/s_catanh.c (__catanh): Likewise.
6603 * math/s_catanhf.c (__catanhf): Likewise.
6604 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6605 and redefine.
6606 (__catanhl): Handle arguments with large real or imaginary part
6607 separately without squaring.
6608 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6609 and redefine.
6610 (__catanl): Handle arguments with large real or imaginary part
6611 separately without squaring.
6612 * math/libm-test.inc (catan_test): Add more tests.
6613 (catanh_test): Likewise.
6614 * sysdeps/i386/fpu/libm-test-ulps: Update.
6615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6616
4220c3ef
AJ
66172013-04-27 Andreas Jaeger <aj@suse.de>
6618
6619 [BZ #15007]
6620 * stdlib/stdlib.h: Update guards for qecvt.
6621 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
6622 <stdlib.h>.
6623
4721b2d1
AM
66242013-04-27 Allan McRae <allan@archlinux.org>
6625
6626 * sysdeps/i386/fpu/libm-test-ulps: Update.
6627
f0302940
JM
66282013-04-26 Joseph Myers <joseph@codesourcery.com>
6629
9457fd95
JM
6630 [BZ #15406]
6631 * math/s_catan.c: Include <float.h>.
6632 (__catan): Ensure underflow exception occurs for underflowed
6633 result.
6634 * math/s_catanf.c: Include <float.h>.
6635 (__catanf): Ensure underflow exception occurs for underflowed
6636 result.
6637 * math/s_catanh.c: Include <float.h>.
6638 (__catanh): Ensure underflow exception occurs for underflowed
6639 result.
6640 * math/s_catanhf.c: Include <float.h>.
6641 (__catanhf): Ensure underflow exception occurs for underflowed
6642 result.
6643 * math/s_catanhl.c: Include <float.h>.
6644 (__catanhl): Ensure underflow exception occurs for underflowed
6645 result.
6646 * math/s_catanl.c: Include <float.h>.
6647 (__catanl): Ensure underflow exception occurs for underflowed
6648 result.
6649 * math/libm-test.inc (catan_test): Add more tests.
6650 (catanh_test): Likewise.
6651
f0302940
JM
6652 [BZ #15405]
6653 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
6654 underflowed result.
6655 * math/s_ccoshf.c (__ccoshf): Likewise.
6656 * math/s_ccoshl.c (__ccoshl): Likewise.
6657 * math/s_csin.c (__csin): Likewise.
6658 * math/s_csinf.c (__csinf): Likewise.
6659 * math/s_csinh.c (__csinh): Likewise.
6660 * math/s_csinhf.c (__csinhf): Likewise.
6661 * math/s_csinhl.c (__csinhl): Likewise.
6662 * math/s_csinl.c (__csinl): Likewise.
6663 * math/libm-test.inc (ccos_test): Add more tests.
6664 (ccosh_test): Likewise.
6665 (csin_test): Likewise.
6666 (csinh_test): Likewise.
6667
aa630f59
AZ
66682013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6669
6670 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
6671 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
6672 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
6673 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
6674 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
6675 powerpc/power5+/fpu folders.
6676 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
6677
6678
1b835983
MT
66792013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
6680
6681 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6682
73709b26
JM
66832013-04-25 Joseph Myers <joseph@codesourcery.com>
6684
6685 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
6686 additions to variable.
6687 [$(config-machine) = x86_64] (modules-names): Likewise.
6688 ($(objpfx)tst-audit3): Remove dependency.
6689 ($(objpfx)tst-audit3.out): Likewise.
6690 ($(objpfx)tst-audit4): Likewise.
6691 ($(objpfx)tst-audit4.out): Likewise.
6692 ($(objpfx)tst-audit5): Likewise.
6693 ($(objpfx)tst-audit5.out): Likewise.
6694 ($(objpfx)tst-audit6): Likewise.
6695 ($(objpfx)tst-audit6.out): Likewise.
6696 ($(objpfx)tst-audit7): Likewise.
6697 ($(objpfx)tst-audit7.out): Likewise.
6698 (tst-audit3-ENV): Remove variable.
6699 (tst-audit4-ENV): Likewise.
6700 (tst-audit5-ENV): Likewise.
6701 (tst-audit6-ENV): Likewise.
6702 (tst-audit7-ENV): Likewise.
6703 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
6704 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
6705 addition to variable.
6706 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
6707 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
6708 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
6709 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
6710 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
6711 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
6712 tst-audit3, tst-audit4 and tst-audit5.
6713 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
6714 tst-audit6 and tst-audit7.
6715 [$(subdir) = elf] (modules-names): Add audit modules for those
6716 tests.
6717 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
6718 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
6719 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
6720 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
6721 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
6722 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
6723 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
6724 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
6725 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
6726 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
6727 [$(subdir) = elf] (tst-audit3-ENV): New variable.
6728 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
6729 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
6730 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
6731 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
6732 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
6733 Likewise.
6734 [$(subdir) = elf && $(config-cflags-avx) = yes]
6735 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
6736 [$(subdir) = elf && $(config-cflags-avx) = yes]
6737 (CFLAGS-tst-auditmod4a.c): Likewise.
6738 [$(subdir) = elf && $(config-cflags-avx) = yes]
6739 (CFLAGS-tst-auditmod4b.c): Likewise.
6740 [$(subdir) = elf && $(config-cflags-avx) = yes]
6741 (CFLAGS-tst-auditmod6b.c): Likewise.
6742 [$(subdir) = elf && $(config-cflags-avx) = yes]
6743 (CFLAGS-tst-auditmod6c.c): Likewise.
6744 [$(subdir) = elf && $(config-cflags-avx) = yes]
6745 (CFLAGS-tst-auditmod7b.c): Likewise.
6746 * elf/tst-audit3.c: Move to ...
6747 * sysdeps/x86_64/tst-audit3.c: ... here.
6748 * elf/tst-audit4.c: Move to ...
6749 * sysdeps/x86_64/tst-audit4.c: ... here.
6750 * elf/tst-audit5.c: Move to ...
6751 * sysdeps/x86_64/tst-audit5.c: ... here.
6752 * elf/tst-audit6.c: Move to ...
6753 * sysdeps/x86_64/tst-audit6.c: ... here.
6754 * elf/tst-audit7.c: Move to ...
6755 * sysdeps/x86_64/tst-audit7.c: ... here.
6756 * elf/tst-auditmod3a.c: Move to ...
6757 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
6758 * elf/tst-auditmod3b.c: Move to ...
6759 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
6760 * elf/tst-auditmod4a.c: Move to ...
6761 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
6762 * elf/tst-auditmod4b.c: Move to ...
6763 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
6764 * elf/tst-auditmod5a.c: Move to ...
6765 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
6766 * elf/tst-auditmod5b.c: Move to ...
6767 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
6768 * elf/tst-auditmod6a.c: Move to ...
6769 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
6770 * elf/tst-auditmod6b.c: Move to ...
6771 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
6772 * elf/tst-auditmod6c.c: Move to ...
6773 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
6774 * elf/tst-auditmod7a.c: Move to ...
6775 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
6776 * elf/tst-auditmod7b.c: Move to ...
6777 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
6778
1ef74943
PP
67792013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
6780
6781 [BZ #15366]
6782 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
6783 define unconditionally.
6784 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
6785 define unconditionally.
6786 (INT8_C, INT16_C, etc.): Likewise.
6787
93fd48c5
MR
67882013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
6789
ae9552cf
MR
6790 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
6791 __ehdr_start with hidden visibility.
6792
93fd48c5
MR
6793 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
6794
418601aa
CD
67952013-04-24 Carlos O'Donell <carlos@redhat.com>
6796
6797 * math/libm-test.inc (cos_test): Use accurate hex constants.
6798 (sincost_test): Likewise.
6799
2f38fbfe
JM
68002013-04-24 Joseph Myers <joseph@codesourcery.com>
6801
5e221800
JM
6802 * math/libm-test.inc (catan_test): Add more tests.
6803 (catanh_test): Likewise.
6804
77f143fd
JM
6805 * math/s_catanf.c (__catanf): Use suffixed floating-point
6806 constants.
6807 * math/s_catanhf.c (__catanhf): Likewise.
6808 * math/s_catanhl.c (__catanhl): Likewise.
6809 * math/s_catanl.c (__catanl): Likewise.
6810
2f38fbfe
JM
6811 [BZ #15394]
6812 * math/s_catan.c (__catan): Calculate imaginary part of result
6813 with log1p not log unless computing log of number close to 0.
6814 * math/s_catanf.c (__catanf): Likewise.
6815 * math/s_catanl.c (__catanl): Likewise.
6816 * math/s_catanh.c (__catanh): Calculate real part of result with
6817 log1p not log unless computing log of number close to 0.
6818 * math/s_catanhf.c (__catanhf): Likewise.
6819 * math/s_catanhl.c (__catanhl): Likewise.
6820 * math/libm-test.inc (catan_test): Add more tests.
6821 (catanh_test): Likewise.
6822 * sysdeps/i386/fpu/libm-test-ulps: Update.
6823 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6824
45d69176
SP
68252013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
6826
6827 * benchtests/Makefile: Mention files in which fast and slow
6828 paths of math functions are implemented.
6829
87f51853
RM
68302013-04-23 Roland McGrath <roland@hack.frob.com>
6831
6832 * sysdeps/posix/timespec_get.c: New file.
6833
3c026539
AZ
68342013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6835
6836 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
6837 POWER.
6838 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
6839 for POWER.
6840 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
6841 powerpc/power5/fpu folders.
6842 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
6843 * benchtests/Makefile: Add modf testcase.
6844 * benchtests/bench-modf.c: New file: Benchmark test for mo
6845
ff491d14
SP
68462013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
6847
6848 [BZ #14888]
6849 * time/Makefile (tests): Add tst-strptime-whitespace.
6850 * time/strptime_l.c (get_number): Use ISSPACE.
6851 (__strptime_internal): Likewise.
6852 * time/tst-strptime-whitespace.c: New test case.
6853
7ed3f4e8
AS
68542013-04-23 Andreas Schwab <schwab@linux-m68k.org>
6855
6856 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
6857 member.
6858 (_nss_files_init): Set it here.
6859
5c95f7b6
HC
68602013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
6861
6862 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
6863 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
6864 unsigned.
6865
d34c9158
JBG
68662013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
6867
6868 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
6869
2169712d
SP
68702013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6871
6872 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
6873 size just once.
6874
29c5de99
DM
68752013-04-21 David S. Miller <davem@davemloft.net>
6876
6877 * po/ru.po: Update Russion translation from translation project.
6878
ccdad15d
AC
68792013-04-17 Adam Conrad <adconrad@0c3.net>
6880
6881 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
6882 and setfsgid.
6883
0f122b8d
CD
68842013-04-17 Carlos O'Donell <carlos@redhat.com>
6885
5c5b07da 6886 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 6887 * configure: Regenerate.
5c5b07da 6888 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
6889 Add example to error message.
6890 * sysdeps/i386/configure: Regenerate.
6891
037714dd
SP
68922013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6893
6894 * benchtests/Makefile (bench): Add cos, tan, slowcos and
6895 slowtan.
6896 * benchtests/cos-inputs: New file.
6897 * benchtests/slowcos-inputs: New file.
6898 * benchtests/slowcos.c: New file.
6899 * benchtests/slowtan-inputs: New file.
6900 * benchtests/slowtan.c: New file.
6901 * benchtests/tan-inputs: New file.
6902
e913141d
RM
69032013-04-16 Roland McGrath <roland@hack.frob.com>
6904
6905 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
6906 considered kosher.
6907
a2964074
SP
69082013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6909
4856bcd2
SP
6910 * benchtests/Makefile: Include cppflags-iterator.mk to add
6911 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
6912
a2964074
SP
6913 * Makefile.in (bench-clean): New target.
6914 * benchtests/Makefile (bench-clean): Likewise.
6915
9fbf9aca
DH
69162013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
6917
6918 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
6919
207d1e2a
TS
69202013-04-15 Thomas Schwinge <thomas@codesourcery.com>
6921
6922 * stdio-common/tstdiomisc.c: Fix coding-style violation.
6923
306dfba9
AS
69242013-04-15 Andreas Schwab <schwab@suse.de>
6925
6926 * nscd/grpcache.c (cache_addgr): Properly check for short write.
6927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6928 * nscd/pwdcache.c (cache_addpw): Likewise.
6929 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
6930 more than recsize.
6931
206a6699
SP
69322013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6933
6934 * benchtests/Makefile (bench): Write all output to
6935 bench-out.tmp together.
6936
0582f6b3
AS
69372013-04-15 Andreas Schwab <schwab@suse.de>
6938
6939 * nscd/nscd.c (main): Don't fork again after closing files.
6940
acb4325f
SP
69412013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6942
5cb26d0a
SP
6943 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
6944
acb4325f
SP
6945 * benchtests/Rules (bench-deps): Collect dependencies into a
6946 single variable. Add Makefile to dependencies.
6947 ($(objpfx)bench-%.c): Depend on bench-deps.
6948
47792506
RM
69492013-04-12 Roland McGrath <roland@hack.frob.com>
6950 Xavier Roche <roche+kml2@exalead.com>
6951
6952 [BZ #15361]
6953 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
6954 just that it's a file descriptor.
6955 * manual/llio.texi (Synchronizing AIO Operations): Update description
6956 for EBADF error from aio_fsync.
6957
8fc1bee5
SP
69582013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6959
6960 * Rules (bench): Move target definition...
6961 * benchtests/Makefile: ... here.
6962
aba5e333
CD
69632013-04-11 Carlos O'Donell <carlos@redhat.com>
6964
6965 * math/libm-test.inc (cos_test): Fix PI/2 test.
6966 (sincos_test): Likewise.
6967 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6968 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
6969
273cdee8
AS
69702013-04-11 Andreas Schwab <schwab@suse.de>
6971
6ecec3b6
AS
6972 [BZ #13988]
6973 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
6974 accept exponent character only when digits were seen.
6975 * stdio-common/Makefile (tests): Add bug26.
6976 * stdio-common/bug26.c: New file.
6977
273cdee8
AS
6978 [BZ #14293]
6979 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
6980 non-freeable.
6981
8da491f5
SP
69822013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6983
01dc6df9
SP
6984 * Makeconfig (rtld-prefix): Define built linker prefix.
6985 * Rules (run-bench): Use it.
6986 * math/Makefile (run-regen-ulps): Likewise.
6987
8da491f5
SP
6988 * Rules (bench): Remove eval.
6989
abe7f530
SP
69902013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6991 Roland McGrath <roland@hack.frob.com>
6992 Ondrej Bilka <neleai@seznam.cz>
6993
6994 [BZ #15346]
6995 * time/getdate.c: Include ctype.h and alloca.h.
6996 (__getdate_r): Trim leading and trailing spaces of input.
6997 * time/tst-getdate.c (tests): Add tests with leading and
6998 trailing spaces.
6999
61c23e62
RM
70002013-04-08 Roland McGrath <roland@hack.frob.com>
7001
7002 [BZ #14280]
7003 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
7004 when computing value.
7005
7208a313
CD
70062013-04-06 Carlos O'Donell <carlos@redhat.com>
7007
085b2d41
CD
7008 * math/README.libm-test (How can I generate "libm-test-ulps"?):
7009 Use testrun.sh to run libm tests.
7010
7208a313
CD
7011 [BZ #15309]
7012 * elf/dl-open.c (dl_open_worker): memset all of seen array.
7013
872c0acd
MM
70142013-04-06 Marko Myllynen <myllynen@redhat.com>
7015
7016 [BZ #15264]
7017 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
7018
26510bdd
CD
70192013-04-06 Carlos O'Donell <carlos@redhat.com>
7020
7021 * Makefile.in (regen-ulps): New target.
7022 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
7023 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
7024 [ifneq (no,$(PERL)] (regen-ulps): New target.
7025 [ifeq (no,$(PERL)] (regen-ulps): New target.
7026 * math/libm-test.inc (ulps_file_name): Define.
7027 (output_dir): New variable.
7028 (options): Add "output-dir" option.
7029 (parse_opt): Handle 'o' case.
7030 (main): If output_dir is non-NULL use it as a prefix
7031 otherwise use "".
7032 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
7033
a01f19c8
CD
70342013-04-06 Carlos O'Donell <carlos@redhat.com>
7035
7036 [BZ #10060, #10062]
7037 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
7038 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
7039 fail configure if __sync_val_compare_and_swap is not inlined.
7040 * sysdeps/i386/configure: Regenerate.
7041 * configure.in: Build for i686 when configured for i386.
7042 * configure: Regenerate.
7043 * README: Remove i386 reference.
7044
b7a329a5
CD
70452013-04-06 Carlos O'Donell <carlos@redhat.com>
7046
7047 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
7048 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7049
bf0f50df
TS
70502013-04-05 Thomas Schwinge <thomas@codesourcery.com>
7051
ee091edf
TS
7052 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
7053 (lmsnanval): New variables.
7054 (F): Add conversion tests.
7055 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
7056 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
7057
a8b792d6
TS
7058 * stdio-common/tstdiomisc.c (F): Properly collect individual
7059 tests' results.
7060
a1cbf437
TS
7061 [BZ #14686, #15336]
7062 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
7063 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
7064 Instead, use input NaN values or generate a qNaN by arithmetic
7065 operation. Also fix bugs to comply with the standard.
7066 * math/libm-test.inc (remainder_test): Add more tests.
7067
8b43a0c9
TS
7068 [BZ #15335, #15342]
7069 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
7070 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
7071 input NaN values or generate a qNaN by arithmetic operation.
7072
d91da4ce
TS
7073 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
7074 unreachable code.
7075
bf0f50df
TS
7076 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
7077 definitions.
7078
05e166c8
JM
70792013-04-03 Joseph Myers <joseph@codesourcery.com>
7080
7081 [BZ #14478]
7082 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
7083 underflowed result.
7084 * math/s_cexpf.c (__cexpf): Likewise.
7085 * math/s_cexpl.c (__cexpl): Likewise.
7086 * math/libm-test.inc (cexp_test): Add more tests.
7087
1cef1b19
AS
70882013-04-03 Andreas Schwab <schwab@suse.de>
7089
7090 [BZ #15330]
7091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
7092 order arrays from heap if bigger than alloca cutoff.
7093
74d87055
TS
70942013-04-03 Thomas Schwinge <thomas@codesourcery.com>
7095
7096 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
7097 (SNAN_TESTS_double): Refer to GCC PR56831.
7098 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
7099 GCC PR56828.
7100
d755bba4
SP
71012013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7102
90d5d5bb
SP
7103 * Rules (bench): Move bench.out after the run is complete.
7104
73e0cd5d
SP
7105 * Rules (bench): Echo currently running benchmark.
7106
64aabd4b
SP
7107 * benchtests/Makefile (bench): Add atan and slowatan.
7108 * benchtests/atan-inputs: New file.
7109 * benchtests/slowatan-inputs: New file.
7110 * benchtests/slowatan.c: New file.
7111
c871eccd
SP
7112 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
7113 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
7114 its value.
7115
d755bba4
SP
7116 [BZ #15305]
7117 * sysdeps/unix/sysv/linux/kernel-features.h
7118 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
7119 __ASSUME_XFS_RESTRICTED_CHOWN.
7120 * sysdeps/unix/sysv/linux/pathconf.c
7121 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7122 Save and restore errno.
7123
52ce4860
JM
71242013-04-02 Joseph Myers <joseph@codesourcery.com>
7125
7126 [BZ #15327]
7127 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
7128 arguments using __kernel_casinh.
7129 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
7130 arguments using __kernel_casinhf.
7131 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
7132 arguments using __kernel_casinhl.
7133 * math/libm-test.inc (cacosh_test): Add more tests.
7134 * sysdeps/i386/fpu/libm-test-ulps: Update.
7135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7136
81f311c2
SP
71372013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7138
e7906a47
SP
7139 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
7140 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
7141
92e3664b
SP
7142 * bench/Makefile (bench): Add sin and slowsin.
7143 * benchtests/sin-inputs: New file.
7144 * benchtests/slowsin-inputs: New file.
7145 * benchtests/slowsin.c: New file.
7146
81f311c2
SP
7147 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
7148 (bench): Add slowexp and slowpow.
7149 (exp-ITER): Increase iterations.
7150 (pow-ITER): Likewise.
7151 * benchtests/exp-inputs: Change input.
7152 * benchtests/pow-inputs: Likewise.
7153 * benchtests/slowexp-inputs: New file.
7154 * benchtests/slowexp.c: New file.
7155 * benchtests/slowpow-inputs: New file.
7156 * benchtests/slowpow.c: New file.
7157
ab0f1aa9
AZ
71582013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7159
7160 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
7161 instructions.
7162 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7163 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
7164 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
7165 * benchtests/Makefile: Add rint benchtest.
7166 * benchtests/rint-inputs: Input for rint benchtest.
7167
57267616
TS
71682013-04-02 Thomas Schwinge <thomas@codesourcery.com>
7169
7170 * Versions.def (libm): Add GLIBC_2.18.
7171 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
7172 hidden libm prototypes.
7173 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
7174 * math/Makefile (libm-calls): Add s_issignaling.
7175 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
7176 __issignalingf, __issignalingl. Adjust all libm.abilist files.
7177 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
7178 declaration.
7179 * math/math.h [__USE_GNU] (issignaling): New macro.
7180 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
7181 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
7182 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
7183 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
7184 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7185 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
7186 * manual/arith.texi (issignaling): New section.
7187 * manual/libm-err-tab.pl (@all_functions): Update comment.
7188 * math/gen-libm-test.pl (parse_args): Apply special handling for
7189 issignaling.
7190 * math/libm-test.inc (print_float, issignaling_test): New
7191 functions.
7192 (check_float_internal): Add issignaling checks.
7193 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
7194 default definition.
7195 * sysdeps/powerpc/math-tests.h: New file.
7196 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
7197 tests.
7198 * math/test-snan.c (TEST_FUNC): Likewise.
7199
6142896d
DM
72002013-03-30 David S. Miller <davem@davemloft.net>
7201
7202 * po/de.po: Update from translation team.
7203
ccc8cadf
JM
72042013-03-30 Joseph Myers <joseph@codesourcery.com>
7205
7206 [BZ #10357]
7207 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7208 imaginary part less than 1.0 and real part less than 0.5
7209 specially.
7210 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7211 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7212 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
7213 (cacos_test): Add more tests.
7214 (casin_test): Likewise.
7215 (casinh_test): Likewise.
7216 * sysdeps/i386/fpu/libm-test-ulps: Update.
7217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7218
0f6a8d4b
SP
72192013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7220
0d1029de
SP
7221 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
7222 ONE with its value.
7223
c2d94018
SP
7224 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
7225 (__pow_mp): Replace ONE and MONE with their values.
7226 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
7228 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7229 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
7230 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7231 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7232
27ec37f1
SP
7233 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
7234
a64d7e0e
SP
7235 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
7236 (__pow_mp): Replace ZERO and MZERO with their values.
7237 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7239 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
7240 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
7241 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7242 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
7243 (__sqr): Likewise.
7244
d26dd3eb
SP
7245 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
7246
0f6a8d4b
SP
7247 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
7248
e57b0c61
RM
72492013-03-28 Roland McGrath <roland@hack.frob.com>
7250
7251 * include/stdlib.h [!SHARED] (__call_tls_dtors):
7252 Declare with __attribute__ ((weak)).
7253 * stdlib/exit.c (__libc_atexit) [!SHARED]:
7254 Call __call_tls_dtors only if it's not NULL.
7255
356b3480
RM
72562013-03-28 Roland McGrath <roland@hack.frob.com>
7257
288f7d79
RM
7258 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
7259 didn't do it already, then set _dl_phdr and _dl_phnum based on the
7260 magic __ehdr_start linker symbol if it's defined.
7261 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
7262 them up here if it was already done.
7263
dc0a0263
RM
7264 * elf/dl-support.c (_dl_phdr): Make pointer to const.
7265 (_dl_aux_init): Use const in cast when setting it.
7266 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
7267 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
7268 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
7269
3d3436ae
RM
7270 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
7271 Declare them here.
7272 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
7273 * csu/libc-tls.c: Nor here.
7274 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
7275
356b3480
RM
7276 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
7277 (__libc_message): Never call vsyslog.
7278
b0f1246a
AM
72792013-03-28 Alan Modra <amodra@gmail.com>
7280
7281 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
7282 Define as empty.
7283 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
7284 Likewise.
7285
fbbe2b9a
AZ
72862013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7287
7288 [BZ #15214]
7289 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
7290 underflow.
7291 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7292
1728ab37
SP
72932013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7294
7a86be6e
SP
7295 [BZ #15304]
7296 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7297 Don't add gid passed as argument.
7298
1728ab37
SP
7299 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
7300
3a7182a1
JM
73012013-03-27 Joseph Myers <joseph@codesourcery.com>
7302
7303 [BZ #15307]
7304 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7305 imaginary part between 1.0 and 1.5 and real part less than 0.5
7306 specially.
7307 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7308 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7309 * math/libm-test.inc (cacos_test): Add more tests.
7310 (casin_test): Likewise.
7311 (casinh_test): Likewise.
7312 * sysdeps/i386/fpu/libm-test-ulps: Update.
7313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7314
6f2e90e7
SP
73152013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
7316
5739f705
SP
7317 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
7318 constants.
7319 (norm): Likewise.
7320 (denorm): Likewise.
7321 (__dbl_mp): Likewise.
7322 (add_magnitudes): Likewise.
7323 (sub_magnitudes): Likewise.
7324 (__add): Likewise.
7325 (__sub): Likewise.
7326 (__mul): Likewise.
7327 (__sqr): Likewise.
7328 (__inv): Likewise.
7329 (__dvd): Likewise.
7330
e375e83d
SP
7331 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
7332 commented code.
7333 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
7334 (__dubcos): Likewise.
7335 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
7336 (__ieee754_acos): Likewise.
7337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
7338 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
7339 (__exp1): Likewise.
7340 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7341 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7342 (log1): Likewise.
7343 (my_log2): Likewise.
7344 (checkint): Likewise.
7345 * sysdeps/ieee754/dbl-64/e_remainder.c
7346 (__ieee754_remainder): Likewise.
7347 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
7348 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
7349 (bsloww): Likewise.
7350 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
7351
6f2e90e7
SP
7352 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7353 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
7354 MANTISSA_STORE_T to store computations on mantissa. Use
7355 macros for rounding and division.
7356 (denorm): Likewise.
7357 (__dbl_mp): Likewise.
7358 (add_magnitudes): Likewise.
7359 (sub_magnitudes): Likewise.
7360 (__mul): Likewise.
7361 (__sqr): Likewise.
7362 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7363 powers of two in terms of TWOPOW macro.
7364 (mp_no): Make type of mantissa as MANTISSA_T.
7365 [!RADIXI]: Define RADIXI.
7366 [!TWO52]: Define TWO52.
7367 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7368
fce14d4e
AZ
73692013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7370
7371 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
7372 llroundl symbol when building for PPC32.
7373
9ad027fb
MW
73742013-03-24 Mark H Weaver <mhw@netris.org>
7375
7376 * manual/arith.texi (Normalization Functions): Fix prototypes for
7377 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
7378
e42a38dd
AZ
73792013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7380
7381 [BZ #13889]
7382 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
7383 high value to check if expl overflow.
7384 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
7385 to check for underflow and overflow.
7386 * math/libm-test.inc: Add exp test.
7387
2e0fb521
DL
73882013-03-21 Dmitry V. Levin <ldv@altlinux.org>
7389
7390 [BZ #11120]
7391 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
7392 with NOT_IN_libc.
7393
b5784d95
AZ
73942013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7395
7396 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
7397 symbol.
7398
5aa4a1a1
TS
73992013-03-21 Thomas Schwinge <thomas@codesourcery.com>
7400
bdef0be7
TS
7401 * math/gen-libm-test.pl (parse_args, special_functions): Properly
7402 wrap blocks consisting of several statements.
7403
5aa4a1a1
TS
7404 * sysdeps/generic/math-tests.h: New file.
7405 * sysdeps/i386/fpu/math-tests.h: Likewise.
7406 * math/test-snan.c: Include it.
7407 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
7408
98c48fe5
JM
74092013-03-21 Joseph Myers <joseph@codesourcery.com>
7410
7411 [BZ #15285]
7412 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
7413 (__ieee754_j0l): Do not improve calculations using cos of twice
7414 input for inputs above LDBL_MAX / 2.0L.
7415 (__ieee754_y0l): Likewise.
7416 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
7417 (__ieee754_j1l): Do not improve calculations using cos of twice
7418 input for inputs above LDBL_MAX / 2.0L.
7419 (__ieee754_y1l): Likewise.
7420 * math/libm-test.inc (j0_test): Add another test.
7421 (j1_test): Likewise.
7422 (y0_test): Likewise.
7423 (y1_test): Likewise.
7424 * sysdeps/i386/fpu/libm-test-ulps: Update.
7425
3775a8bc
SP
74262013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7427
7428 * Rules ($(objpfx)bench-%.c): Include code from a C source
7429 file.
7430
0a1b2ae6
JM
74312013-03-21 Joseph Myers <joseph@codesourcery.com>
7432
7433 [BZ #15287]
7434 * math/k_casinh.c (__kernel_casinh): Handle arguments with
7435 imaginary part 1.0 and real part less than 0.5 specially.
7436 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7437 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7438 * math/libm-test.inc (cacos_test): Add more tests.
7439 (casin_test): Likewise.
7440 (casinh_test): Likewise.
7441 * sysdeps/i386/fpu/libm-test-ulps: Update.
7442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7443
b33d4ce4
SP
74442013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
7445
7446 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
7447 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
7448
bef0b507
JM
74492013-03-20 Joseph Myers <joseph@codesourcery.com>
7450
7451 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
7452 * config.make.in (config-cflags-sse4): Remove variable.
7453 (config-cflags-avx): Likewise.
7454 (config-cflags-sse2avx): Likewise.
7455 (config-cflags-novzeroupper): Likewise.
7456 (config-asflags-i686): Likewise.
7457 (have-mfma4): Likewise.
7458 (have-as-vis3): Likewise.
7459 (MIG): Likewise.
7460 * configure.in (MIG): Do not AC_SUBST.
7461 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
7462 (libc_cv_cc_sse4): Do not AC_SUBST.
7463 (libc_cv_cc_avx): Likewise.
7464 (libc_cv_cc_sse2avx): Likewise.
7465 (libc_cv_cc_novzeroupper): Likewise.
7466 (libc_cv_cc_fma4): Likewise.
7467 (libc_cv_as_i686): Likewise.
7468 (libc_cv_sparc_as_vis3): Likewise.
7469 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
7470 LIBC_CONFIG_VAR.
7471 (config-asflags-i686): Likewise.
7472 (config-cflags-avx): Likewise.
7473 (config-cflags-sse2avx): Likewise.
7474 (have-mfma4): Likewise.
7475 (config-cflags-novzeroupper): Likewise.
7476 * sysdeps/mach/configure.in (MIG): Likewise.
7477 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
7478 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
7479 LIBC_CONFIG_VAR.
7480 (config-cflags-avx): Likewise.
7481 (config-cflags-sse2avx): Likewise.
7482 (have-mfma4): Likewise.
7483 (config-cflags-novzeroupper): Likewise.
7484 * configure: Regenerated.
7485 * sysdeps/i386/configure: Likewise.
7486 * sysdeps/mach/configure: Likewise.
7487 * sysdeps/sparc/configure: Likewise.
7488 * sysdeps/x86_64/configure: Likewise.
7489
912cc4b3
RM
74902013-03-20 Roland McGrath <roland@hack.frob.com>
7491
7492 [BZ #14812]
7493 * locale/programs/localedef.c (options): Put N_ translation marker
7494 on argument names, not just descriptions.
7495
04eed2b0
MS
74962013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
7497
7498 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
7499
a065ceff
OB
75002013-03-20 Ondřej Bílka <neleai@seznam.cz>
7501
9bb2a810 7502 [BZ #14176]
a065ceff
OB
7503 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
7504
a600e5ce
RM
75052013-03-19 Roland McGrath <roland@hack.frob.com>
7506
7507 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
7508 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
7509 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
7510 [!BEFORE_ABORT] (before_abort): New function.
7511 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
7512 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
7513 (writev_for_fatal): New function.
7514 (WRITEV_FOR_FATAL): New macro; call that.
7515 (backtrace_and_maps): New function.
7516 (BEFORE_ABORT): New macro; call that.
7517 (struct str_list): Type removed.
7518 (__libc_message, __libc_fatal): Functions removed.
7519 Include <sysdeps/posix/libc_fatal.c> instead.
7520
6b18bea6
JM
75212013-03-19 Joseph Myers <joseph@codesourcery.com>
7522
7523 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
7524 constants.
7525 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
7526 double constants.
7527
aaa8cb4b
AS
75282013-03-19 Andreas Schwab <schwab@suse.de>
7529
44673770
AS
7530 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
7531 * sysdeps/gnu/configure: Regenerate.
7532
aaa8cb4b
AS
7533 * configure.in: Substitute libc_cv_rtlddir.
7534 * configure: Regenerate.
7535 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
7536 * Makeconfig (rtlddir, inst_rtlddir): New variables.
7537 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
7538 * elf/Makefile (install-others, CFLAGS-interp.c)
7539 (ldso_install, common-ldd-rewrite): Likewise.
7540 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
7541 $(inst_slibdir)/$(rtld-installed-name).
7542 * scripts/rellns-sh: Add -p option.
7543 * Makerules (make-shlib-link): Use rellns-sh to get relative name
7544 for source.
7545
d3cfc668
SP
75462013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
7547
7548 * manual/nptl.texi: Renamed to ...
7549 * manual/threads.texi: ... this.
7550 * manual/Makefile (chapters): Update.
7551
0e2b9cdd
RM
75522013-03-18 Roland McGrath <roland@hack.frob.com>
7553
7554 [BZ #14812]
7555 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
7556 on argument names, not just descriptions.
0e2b9cdd
RM
7557 * malloc/memusagestat.c (options): Likewise.
7558 * nss/getent.c (options): Likewise.
63270c24
RM
7559
75602013-03-18 Benno Schulenberg <bensberg@justemail.net>
7561
7562 [BZ #14812]
7563 * iconv/iconv_prog.c (options): Put N_ translation marker
7564 on argument names, not just descriptions.
7565 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 7566
b2e1393c
OB
75672013-03-18 Ondrej Bilka <neleai@seznam.cz>
7568
7569 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
7570 implementation which is faster on all x86_64 architectures.
7571 Tested on AMD, Intel Nehalem, SNB, IVB.
7572 * sysdeps/x86_64/strnlen.S: Likewise.
7573
7574 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7575 Remove all multiarch strlen and strnlen versions.
7576 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7577 Remove strlen and strnlen related parts.
7578
7579 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
7580 Inline strlen part.
7581 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7582
7583 * sysdeps/x86_64/multiarch/strlen.S: Remove.
7584 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
7585 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
7586 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
7587 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
7588 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
7589
ec4ff04d
CD
75902013-03-17 Carlos O'Donell <carlos@redhat.com>
7591
7592 * manual/memory.texi (Malloc Tunable Parameters):
7593 Sort parameters alphabetically. Add comments for missing entries.
7594
cd18e90a
DM
75952013-03-17 David S. Miller <davem@davemloft.net>
7596
7597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7598
2a185d32
JM
75992013-03-16 Joseph Myers <joseph@codesourcery.com>
7600
d2f9799e
JM
7601 [BZ #15283]
7602 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
7603 for arguments at most half maximum finite value.
7604 * math/libm-test.inc (j0_test): Add more tests.
7605 (j1_test): Likewise.
7606 (y0_test): Likewise.
7607 (y1_test): Likewise.
7608 * sysdeps/i386/fpu/libm-test-ulps: Update.
7609 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7610
2a185d32
JM
7611 [BZ #14155]
7612 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
7613 1 / x and functions P and Q for arguments above 0x1p256L.
7614 (__ieee754_y0l): Likewise.
7615 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7616 (__ieee754_y1l): Likewise.
7617 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
7618 (j1_test): Likewise.
7619 (y0_test): Likewise.
7620 (y1_test): Likewise.
7621
6cbec759
TS
76222013-03-16 Thomas Schwinge <thomas@codesourcery.com>
7623
7624 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
7625 variable.
7626
bc16e260
RM
76272013-03-15 Roland McGrath <roland@hack.frob.com>
7628
aefc9b8c
RM
7629 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
7630 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
7631 zero since it's initialized to EXEC_PAGESIZE.
7632
bc16e260
RM
7633 * sysdeps/unix/sysv/linux/ldsodefs.h
7634 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
7635 * sysdeps/generic/ldsodefs.h: ... here.
7636
a57da955
TS
76372013-03-15 Thomas Schwinge <thomas@codesourcery.com>
7638
af00a34d
TS
7639 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
7640
495ded2c
TS
7641 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
7642 math/test-snan.c.
7643 * math/test-snan.c: Renamed from
7644 sysdeps/powerpc/fpu/test-powerpc-snan.c.
7645 * math/Makefile (tests): Add test-snan.
7646 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
7647 test-powerpc-snan.
7648
777b0332
TS
7649 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
7650 SUFFIX. Initialize qNaN_var with __builtin_nan family of
7651 functions.
7652 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
7653 __builtin_nan family of functions.
7654 * math/libm-test.inc (initialize): Initialize qnan_value with
7655 __builtin_nan family of functions.
7656 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
7657 Remove variables.
7658 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
7659 Remove functions.
7660 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
7661 storage class. Initialize qNaN_var and sNaN_var with
7662 __builtin_nan and __builtin_nans families of functions,
7663 respectively.
7664
64d063b8
TS
7665 * math/libm-test.inc (acosh_test): Also test with qNaN input.
7666 (sqrt_test): Remove duplicate test with qNaN input.
7667 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
7668 (round_test, signbit_test, significand_test): Note missing +/-Inf
7669 as well as qNaN tests.
7670
67e971f1
TS
7671 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
7672 qNaN_var. Fix a few strings, too.
7673 * math/libm-test.inc (nan_value): Rename to qnan_value.
7674 * math/gen-libm-test.pl (%beautify): Adjust to that.
7675 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
7676 * math/test-misc.c (main): Likewise.
7677 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
7678 to __qnan_bytes, and __qnan_union, respectively.
7679 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
7680 Likewise.
7681 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
7682 and lqnanval, respectively.
7683 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
7684 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
7685 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
7686 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
7687
64487e12
TS
7688 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
7689 * math/test-misc.c (main) [__x86_64__]: Enable test for long
7690 doubles.
7691
e015e27b
TS
7692 * math/test-misc.c (main): Fix copy'n'pastos.
7693 * misc/tst-efgcvt.c (special): Likewise.
7694
a57da955
TS
7695 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
7696 Remove declarations.
7697
1e380345
SP
76982013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7699
7700 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
7701 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
7702 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
7703 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
7704
ef26eece
AZ
77052013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706
7707 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
7708 macro to return vdso values correctly in IFUNC implementations.
7709 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
7710 Optimization by using IFUNC.
7711
8cfdb7e0
SP
77122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7713 Richard Henderson <rth@redhat.com>
7714 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7715
7716 * Makefile.in (bench): New target.
7717 * NEWS: Mention the benchmark framework.
7718 * Rules (bench): Likewise.
7719 (binaries-bench): Generate binaries for functions to
7720 benchmark.
7721 * benchtests/Makefile: New makefile for benchmark tests.
7722 * benchtests/bench-skeleton.c: New skeleton file for benchmark
7723 programs.
7724 * benchtests/exp-inputs: New input file for EXP function.
7725 * benchtests/pow-inputs: New input file for POW function.
7726 * scripts/bench.pl: New script to generate source files for
7727 benchmark programs.
7728
bcda9880
SP
77292013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
7730
d22ca8cd
SP
7731 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
7732 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
7733 computations on mantissa. Use macros for rounding and
7734 division.
7735 (denorm): Likewise.
7736 (__dbl_mp): Likewise.
7737 (add_magnitudes): Likewise.
7738 (sub_magnitudes): Likewise.
7739 (__mul): Likewise.
7740 (__sqr): Likewise.
7741 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
7742 powers of two in terms of TWOPOW macro.
7743 (mp_no): Make type of mantissa as MANTISSA_T.
7744 [!RADIXI]: Define RADIXI.
7745 [!TWO52]: Define TWO52.
7746 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
7747
bcda9880
SP
7748 * manual/nptl.texi (cindex): Modify threads to pthreads.
7749
06d5adfb
JM
77502013-03-15 Joseph Myers <joseph@codesourcery.com>
7751
7752 * sysdeps/x86_64/preconfigure: Regenerated.
7753
41c7328e
JM
77542013-03-14 Joseph Myers <joseph@codesourcery.com>
7755
7756 [BZ #14155]
7757 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
7758 0x1p28 and above.
7759 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
7760 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
7761 0x1p28 and above.
7762 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
7763 * math/libm-test.inc (j0_test): Do not allow one spurious
7764 underflow exception.
7765 (y1_test): Likewise.
7766
e25cfa60
SP
77672013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7768
0409959c
SP
7769 * manual/Makefile (chapters): Add nptl.
7770 * manual/debug.texi (Debugging Support): Add link to Threads
7771 chapter.
7772 * manual/nptl.texi: New file.
7773
e25cfa60
SP
7774 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
7775
58a1335e
PB
77762013-03-14 Petr Baudis <pasky@ucw.cz>
7777
7778 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
7779 for non-NULL pointer before the memory validity test. Pointed
7780 out by Holger Brunck <holger.brunck@keymile.com>.
7781
9dc7c64f
AS
77822013-03-13 Andreas Schwab <schwab@suse.de>
7783
7784 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
7785 instead of .os.
7786
54206aa6
JM
77872013-03-13 Joseph Myers <joseph@codesourcery.com>
7788
7789 * timezone/zic.c: Update from tzcode 2013b.
7790
e98cdb38
CD
77912013-03-12 Carlos O'Donell <carlos@redhat.com>
7792
7793 * manual/install.texi (Configuring and compiling):
7794 Mention i686 and i586.
7795 * INSTALL: Regenerate.
7796
9967e003
RM
77972013-03-12 Roland McGrath <roland@hack.frob.com>
7798
7799 * sysdeps/init_array/elf-init.c: New file.
7800 * csu/elf-init.c
7801 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
7802 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
7803
7804 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
7805 __gmon_start__ as global, but as static with a .preinit_array pointer.
7806 * sysdeps/init_array/gmon-start.c: New file. Use that.
7807 * sysdeps/init_array/crti.S: New file, empty except for comments.
7808 * sysdeps/init_array/crtn.S: Likewise.
7809
e6b5a293 78102013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
7811
7812 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
7813 definining bcopy.
80f844c9
OB
7814 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7815 Remove Prefer_SSE_for_memop.
7816 * sysdeps/x86_64/multiarch/init-arch.h: Remove
7817 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
7818 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
7819 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7820 memset-x86-64.
80f844c9 7821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 7822 Remove bzero, memset ifunc support.
80f844c9
OB
7823 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
7824 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
7825 * sysdeps/x86_64/multiarch/memset.S: Likewise.
7826 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7827
fb6b0fcb
AS
78282013-03-11 Andreas Schwab <schwab@suse.de>
7829
7830 [BZ #15234]
7831 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
7832 by SHLIB_COMPAT.
7833 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
7834 (GLIBC_2.16): Remove pthread_atfork.
7835
3e6bd4b1
PP
78362013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
7837
7838 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
7839 (ptestcases.h): Likewise.
7840
222d7f00
RM
78412013-03-08 Roland McGrath <roland@hack.frob.com>
7842
7843 * Makeconfig ($(common-objpfx)config.status): Depend on
7844 sysdeps/*/preconfigure{,.in} too.
7845
1ba4f030
JM
78462013-03-08 Joseph Myers <joseph@codesourcery.com>
7847
a222d91a
JM
7848 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
7849 (__free_hook): Use void * instead of __malloc_ptr_t.
7850 (__malloc_hook): Likewise.
7851 (__realloc_hook): Likewise.
7852 (__memalign_hook): Likewise.
7853 (__after_morecore_hook): Likewise.
7854 * malloc/arena.c (save_malloc_hook): Likewise.
7855 (save_free_hook): Likewise.
7856 * malloc/hooks.c (malloc_hook_ini): Likewise.
7857 (realloc_hook_ini): Likewise.
7858 (memalign_hook_ini): Likewise.
7859 * malloc/malloc.c (malloc_hook_ini): Likewise.
7860 (realloc_hook_ini): Likewise.
7861 (memalign_hook_ini): Likewise.
7862 (__free_hook): Likewise.
7863 (__malloc_hook): Likewise.
7864 (__realloc_hook): Likewise.
7865 (__memalign_hook): Likewise.
7866 (__libc_malloc): Likewise.
7867 (__libc_free): Likewise.
7868 (__libc_realloc): Likewise.
7869 (__libc_memalign): Likewise.
7870 (__libc_valloc): Likewise.
7871 (__libc_pvalloc): Likewise.
7872 (__libc_calloc): Likewise.
7873 (__posix_memalign): Likewise.
7874 * malloc/morecore.c (__sbrk): Likewise.
7875 (__default_morecore): Likewise.
7876
5cc45e10
JM
7877 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
7878
dd54b864
JM
7879 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
7880 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
7881 __malloc_ptrdiff_t.
7882
1ba4f030
JM
7883 * malloc/malloc.h (__malloc_size_t): Remove macro.
7884 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
7885 __malloc_size_t.
7886 (old_memalign_hook): Likewise.
7887 (old_realloc_hook): Likewise.
7888 (struct hdr): Likewise.
7889 (flood): Likewise.
7890 (mallochook): Likewise.
7891 (memalignhook): Likewise.
7892 (reallochook): Likewise.
7893 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
7894 (tr_old_realloc_hook): Likewise.
7895 (tr_old_memalign_hook): Likewise.
7896 (tr_mallochook): Likewise.
7897 (tr_reallochook): Likewise.
7898 (tr_memalignhook): Likewise.
7899
edf66e57
AZ
79002013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7901
7902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
7903 default_ldbl_pack and using as default implementation.
7904 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
7905 implementation.
7906 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
7907 redundant definition.
7908 (ldbl_insert_mantissa): Likewise.
7909 (ldbl_canonicalize): Likewise.
7910 (ldbl_nearbyint): Likewise.
7911 (ldbl_pack): Rename to ldbl_pack_ppc.
7912 (ldbl_unpack): Rename to ldbl_unpack_ppc.
7913 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
7914 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
7915
6d9145d8
SP
79162013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7917
7918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
7919 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
7920 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
7921 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
7922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
7923 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
7924 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
7925 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
7926
4dd4e157
AJ
79272013-03-07 Andreas Jaeger <aj@suse.de>
7928
7929 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7930 bits/mman-linux.h.
7931
adbb8027
SP
79322013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
7933
ce544b5b
SP
7934 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
7935 Include mpa.h and declare __MPEXP.
7936 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
7937 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7938 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
7940 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7941 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
7942 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
7943
4cc149fd
SP
7944 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
7945 (__slowpow): Use long double EXPL and LOGL functions to
7946 compute POW.
7947 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
7948 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7949 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
7950 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
7951 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
7952 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
7953
e6ebd4a7
SP
7954 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
7955 intermediate variable to calculate exponent.
7956 (__sqr): Likewise.
7957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
7958 Likewise.
7959 (__sqr): Likewise.
7960
82a9811d
SP
7961 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
7962 [!NO__SQR]: Define __sqr.
7963 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
7964 and NO__SQR. Remove all code except __mul and __sqr. Include
7965 sysdeps/ieee754/dbl-64/mpa.c.
7966 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7967
adbb8027
SP
7968 [BZ #12723]
7969 * posix/Makefile (tests): Add tst-pathconf.
7970 * posix/tst-pathconf.c: New test case.
7971 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
7972 _PC_PIPE_BUF.
7973 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
7974
39120df9
PF
79752013-03-06 Patsy Franklin <pfrankli@redhat.com>
7976
7977 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
7978
67525cb8
AJ
79792013-03-06 Andreas Jaeger <aj@suse.de>
7980
664a9ce4
AJ
7981 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
7982 definition via __MAP_ANONYMOUS.
7983
8e39047d
AJ
7984 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
7985 it's not part of Linux headers.
7986
67525cb8
AJ
7987 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
7988 (MAP_HUGE_MASK): Define.
7989
7990 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7991 Define.
7992 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7994 Define.
7995 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7996 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
7997 Define.
7998 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
7999 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
8000 Define.
8001 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
8002
8003 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
8004 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
8005 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
8006 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
8007 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
8008 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
8009
8010 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
8011 Handle f2fs.
8012
8013 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8014 Handle f2fs and efivarfs.
8015
8016 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
8017 f2fs.
8018
8019 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
8020 (EFIVARFS_MAGIC): Add.
8021 (F2FS_LINK_MAX): Add.
8022
e1b42695
PP
80232013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8024
8025 * stdio-common/vfprintf.c: Replace __builtin_expect with
8026 __glibc_unlikely.
8027
2d67d91a
JM
80282013-03-06 Joseph Myers <joseph@codesourcery.com>
8029
8030 [BZ #13550]
8031 * sysdeps/generic/bp-sym.h: Remove file.
8032 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
8033 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
8034 <bp-sym.h> and <bp-asm.h>.
8035 (__longjmp): Don't use BP_SYM.
8036 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
8037 and <bp-asm.h>.
8038 (memcpy): Don't use BP_SYM.
8039 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
8040 <bp-sym.h> and <bp-asm.h>.
8041 (memcpy): Don't use BP_SYM.
8042 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
8043 <bp-asm.h>.
8044 (memcpy): Don't use BP_SYM.
8045 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
8046 <bp-asm.h>.
8047 (memset): Don't use BP_SYM.
8048 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8049 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8050 (__bzero): Don't use BP_SYM.
8051 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8052 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8053 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
8054 <bp-sym.h> and <bp-asm.h>.
8055 (memcmp): Don't use BP_SYM. Remove comment about bounded
8056 pointers.
8057 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
8058 <bp-sym.h> and <bp-asm.h>.
8059 (memcpy): Don't use BP_SYM.
8060 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
8061 <bp-sym.h> and <bp-asm.h>.
8062 (memset): Don't use BP_SYM.
8063 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8064 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8065 (__bzero): Don't use BP_SYM.
8066 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8067 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8068 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
8069 <bp-sym.h> and <bp-asm.h>.
8070 (strncmp): Don't use BP_SYM. Remove comment about bounded
8071 pointers.
8072 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
8073 <bp-sym.h> and <bp-asm.h>.
8074 (memcpy): Don't use BP_SYM.
8075 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
8076 <bp-sym.h> and <bp-asm.h>.
8077 (memset): Don't use BP_SYM.
8078 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8079 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8080 (__bzero): Don't use BP_SYM.
8081 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8082 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8083 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
8084 <bp-sym.h> and <bp-asm.h>.
8085 (__memchr): Don't use BP_SYM.
8086 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
8087 <bp-sym.h> and <bp-asm.h>.
8088 (memcmp): Don't use BP_SYM. Remove comment about bounded
8089 pointers.
8090 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
8091 <bp-sym.h> and <bp-asm.h>.
8092 (memcpy): Don't use BP_SYM.
8093 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
8094 <bp-sym.h> and <bp-asm.h>.
8095 (__mempcpy): Don't use BP_SYM.
8096 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
8097 <bp-sym.h> and <bp-asm.h>.
8098 (__memrchr): Don't use BP_SYM.
8099 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
8100 <bp-sym.h> and <bp-asm.h>.
8101 (memset): Don't use BP_SYM.
8102 (__bzero): Likewise.
8103 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
8104 <bp-sym.h> and <bp-asm.h>.
8105 (__rawmemchr): Don't use BP_SYM.
8106 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
8107 <bp-sym.h> and <bp-asm.h>.
8108 (__STRCMP): Don't use BP_SYM.
8109 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
8110 <bp-sym.h> and <bp-asm.h>.
8111 (strchr): Don't use BP_SYM.
8112 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
8113 <bp-sym.h> and <bp-asm.h>.
8114 (__strchrnul): Don't use BP_SYM.
8115 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
8116 <bp-sym.h> and <bp-asm.h>.
8117 (strlen): Don't use BP_SYM.
8118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
8119 <bp-sym.h> and <bp-asm.h>.
8120 (strncmp): Don't use BP_SYM. Remove comment about bounded
8121 pointers.
8122 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
8123 <bp-sym.h> and <bp-asm.h>.
8124 (__strnlen): Don't use BP_SYM.
8125 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
8126 <bp-sym.h> and <bp-asm.h>.
8127 (__GI__setjmp): Don't use BP_SYM.
8128 (_setjmp): Likewise.
8129 (__sigsetjmp): Likewise.
8130 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
8131 (L(start_addresses)): Don't use BP_SYM.
8132 (_start): Likewise.
8133 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
8134 <bp-asm.h>.
8135 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
8136 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
8137 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8138 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8139 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
8140 <bp-asm.h>.
8141 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
8142 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
8143 about bounded pointers.
8144 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8145 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8146 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
8147 <bp-asm.h>.
8148 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8149 about bounded pointers. Remove GKM FIXME comments.
8150 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8151 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
8152 <bp-asm.h>.
8153 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
8154 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
8155 Remove GKM FIXME comments.
8156 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8157 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8158 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
8159 <bp-asm.h>.
8160 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
8161 about bounded pointers. Remove GKM FIXME comment.
8162 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
8163 and <bp-asm.h>.
8164 (strncmp): Don't use BP_SYM. Remove comment about bounded
8165 pointers.
8166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
8167 <bp-sym.h> and <bp-asm.h>.
8168 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
8170 <bp-sym.h> and <bp-asm.h>.
8171 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8172 comment.
8173
cdcf361f
PP
81742013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8175
8176 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
8177 call free(NULL).
8178
3c4a2b15
DM
81792013-03-05 David S. Miller <davem@davemloft.net>
8180
8181 * po/es.po: Update from translation team.
8182
cdcf361f 81832013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
8184
8185 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
8186 <bits/mman-linux.h>.
8187 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8188 is fine.
8189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
8190 <bits/mman-linux.h> to end of file.
8191 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8192 is fine.
8193 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
8194 <bits/mman-linux.h> to end of file.
8195 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
8196 is fine.
8197 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
8198 <bits/mman-linux.h> to end of file.
8199
8200 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
8201 (MCL_CURRENT, MCL_FUTURE): Define here.
8202
5f67c04f
AK
82032013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8204
8a4473cc 8205 [BZ #15232]
5f67c04f
AK
8206 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
8207 attribute_hidden.
8208 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
8209
c3e94a95
AK
82102013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8211
8212 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
8213 fourth parameter needed for rt_sigprocmask syscall.
8214 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
8215 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
8216 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
8217 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
8218 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
8219 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
8220
cfb6382a
JM
82212013-03-04 Joseph Myers <joseph@codesourcery.com>
8222
8223 [BZ #13550]
8224 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
8225 comment about bounded pointers.
8226 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
8227 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
8228
539d8e01
AJ
82292013-03-04 Andreas Jaeger <aj@suse.de>
8230
8231 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
8232 common definitions.
8233
8234 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
8235 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
8236 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
8237 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
8238 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
8239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
8240
2e167a70 82412013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
8242
8243 [BZ #15055]
8244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
8245 __ieee754_sqrl instead of __sqrl.
8246
68508633
JM
82472013-03-01 Joseph Myers <joseph@codesourcery.com>
8248
8249 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
8250 * sysdeps/powerpc/fpu_control.h: ... here.
8251 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
8252 * sysdeps/powerpc/bits/fenvinline.h: ... here.
8253 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
8254 * sysdeps/powerpc/bits/mathinline.h: ... here.
8255
7775448e
RM
82562013-03-01 Roland McGrath <roland@hack.frob.com>
8257
8258 * elf/dl-hwcaps.c (_dl_important_hwcaps):
8259 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
8260 to just [NEED_DL_SYSINFO_DSO].
8261 * elf/dl-support.c: Likewise.
8262 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
8263 * elf/rtld.c (dl_main): Likewise.
8264 * elf/setup-vdso.h (setup_vdso): Likewise.
8265 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
8266 * sysdeps/unix/sysv/linux/dl-sysdep.c
8267 (_dl_discover_osversion): Likewise.
8268
4e9b5995
CD
82692013-03-01 Carlos O'Donell <carlos@redhat.com>
8270
8271 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
8272 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8273
e23872c8
SP
82742013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8275
e5c74c63
SP
8276 * NEWS: Mention libm performance improvements and non-x86 PI
8277 futex support.
8278
e23872c8
SP
8279 * csu/libc-start.c (__pthread_initialize_minimal): Change
8280 function arguments.
8281 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
8282
b5510883
JM
82832013-02-28 Joseph Myers <joseph@codesourcery.com>
8284
8285 [BZ #13550]
8286 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
8287 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
8288 <bp-sym.h> and <bp-asm.h>.
8289 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8290 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
8291 and <bp-asm.h>.
8292 (memcpy): Don't use BP_SYM.
8293 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
8294 <bp-asm.h>.
8295 (__mpn_add_n): Don't use BP_SYM.
8296 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
8297 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
8298 and <bp-asm.h>.
8299 (__mpn_addmul_1): Don't use BP_SYM.
8300 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8301 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
8302 <bp-sym.h>.
8303 (_setjmp): Don't use BP_SYM.
8304 (__novmx_setjmp): Likewise.
8305 (__GI__setjmp): Likewise.
8306 (__vmx_setjmp): Likewise.
8307 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
8308 <bp-sym.h>.
8309 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
8310 (__bzero): Don't use BP_SYM.
8311 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
8312 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
8313 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
8314 <bp-sym.h> and <bp-asm.h>.
8315 (memcpy): Don't use BP_SYM.
8316 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
8317 <bp-sym.h> and <bp-asm.h>.
8318 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8319 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
8320 <bp-sym.h> and <bp-asm.h>.
8321 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
8322 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
8323 <bp-asm.h>.
8324 (__mpn_lshift): Don't use BP_SYM.
8325 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8326 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
8327 <bp-asm.h>.
8328 (memset): Don't use BP_SYM.
8329 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
8330 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
8331 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
8332 <bp-asm.h>.
8333 (__mpn_mul_1): Don't use BP_SYM.
8334 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8335 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
8336 <bp-sym.h> and <bp-asm.h>.
8337 (memcmp): Don't use BP_SYM.
8338 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
8339 <bp-sym.h> and <bp-asm.h>.
8340 (memcpy): Don't use BP_SYM.
8341 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
8342 <bp-sym.h> and <bp-asm.h>.
8343 (memset): Don't use BP_SYM.
8344 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
8345 <bp-sym.h> and <bp-asm.h>.
8346 (strncmp): Don't use BP_SYM.
8347 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
8348 <bp-sym.h> and <bp-asm.h>.
8349 (memcpy): Don't use BP_SYM.
8350 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
8351 <bp-sym.h> and <bp-asm.h>.
8352 (memset): Don't use BP_SYM.
8353 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
8354 <bp-sym.h> and <bp-asm.h>.
8355 (__memchr): Don't use BP_SYM.
8356 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
8357 <bp-sym.h> and <bp-asm.h>.
8358 (memcmp): Don't use BP_SYM.
8359 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
8360 <bp-sym.h> and <bp-asm.h>.
8361 (memcpy): Don't use BP_SYM.
8362 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
8363 <bp-sym.h> and <bp-asm.h>.
8364 (__mempcpy): Don't use BP_SYM.
8365 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
8366 <bp-sym.h> and <bp-asm.h>.
8367 (__memrchr): Don't use BP_SYM.
8368 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
8369 <bp-sym.h> and <bp-asm.h>.
8370 (memset): Don't use BP_SYM.
8371 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
8372 <bp-sym.h> and <bp-asm.h>.
8373 (__rawmemchr): Don't use BP_SYM.
8374 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
8375 <bp-sym.h> and <bp-asm.h>.
8376 (__STRCMP): Don't use BP_SYM.
8377 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
8378 <bp-sym.h> and <bp-asm.h>.
8379 (strchr): Don't use BP_SYM.
8380 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
8381 <bp-sym.h> and <bp-asm.h>.
8382 (__strchrnul): Don't use BP_SYM.
8383 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
8384 <bp-sym.h> and <bp-asm.h>.
8385 (strlen): Don't use BP_SYM.
8386 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
8387 <bp-sym.h> and <bp-asm.h>.
8388 (strncmp): Don't use BP_SYM.
8389 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
8390 <bp-sym.h> and <bp-asm.h>.
8391 (__strnlen): Don't use BP_SYM.
8392 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
8393 <bp-asm.h>.
8394 (__mpn_rshift): Don't use BP_SYM.
8395 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
8396 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
8397 <bp-sym.h> and <bp-asm.h>.
8398 (__sigsetjmp): Don't use BP_SYM.
8399 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
8400 (L(start_addresses)): Don't use BP_SYM.
8401 (_start): Likewise.
8402 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
8403 <bp-asm.h>.
8404 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
8405 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8406 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8407 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
8408 <bp-asm.h>.
8409 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
8410 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
8411 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
8412 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
8413 <bp-asm.h>.
8414 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8415 comments.
8416 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
8417 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
8418 <bp-asm.h>.
8419 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
8420 FIXME comments.
8421 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
8422 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
8423 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
8424 <bp-asm.h>.
8425 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
8426 comment.
8427 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
8428 and <bp-asm.h>.
8429 (strncmp): Don't use BP_SYM,
8430 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
8431 <bp-asm.h>.
8432 (__mpn_sub_n): Don't use BP_SYM.
8433 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
8434 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
8435 and <bp-asm.h>.
8436 (__mpn_submul_1): Don't use BP_SYM.
8437 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
8438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
8439 <bp-sym.h> and <bp-asm.h>.
8440 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
8441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
8442 <bp-sym.h> and <bp-asm.h>.
8443 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
8444 comment.
8445
8d19fe64
SP
84462013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8447
8448 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
8449 Use ZK to minimize writes to Z.
8450 (sub_magnitudes): Simplify code a bit.
8451 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
8452 Use ZK to minimize writes to Z.
8453 (sub_magnitudes): Simplify code a bit.
8454
85bd816a
RM
84552013-02-27 Roland McGrath <roland@hack.frob.com>
8456
8457 * csu/gmon-start.c: Add special exception to license text.
8458
b5977bf2
RH
84592013-02-27 Richard Henderson <rth@redhat.com>
8460
8461 * scripts/config.guess: Update from config.git.
8462 * scripts/config.sub: Likewise.
8463
11d6e2f2
SP
84642013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8465
09c14ed2
SP
8466 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
8467
a688864e
SP
8468 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
8469
6295157a
SP
8470 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
8471
b8de2202
SP
8472 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
8473
11d6e2f2
SP
8474 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
8475
7e80ddb8
RM
84762013-02-26 Roland McGrath <roland@hack.frob.com>
8477
8478 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
8479 [$(build-shared = yes].
7e80ddb8 8480
7da6d9ed
SP
84812013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8482
45f05884
SP
8483 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
8484 (__mul): Reduce iterations for calculating mantissa.
8485
2236d359
SP
8486 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
8487 MPTWO.
8488 (__mpranred): Likewise.
8489
7da6d9ed
SP
8490 [BZ #15160]
8491 * malloc/memusagestat.c (main): Draw graphs for heap and stack
8492 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
8493
b7688c42
PE
84942013-02-26 Paul Eggert <eggert@cs.ucla.edu>
8495
8496 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
8497 Define __attribute__.
8498
53a5c423
SP
84992013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8500
8501 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
8502 unused.
8503 * posix/regex_internal.h (__attribute): Remove.
8504 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
8505 (re_string_context_at): Likewise.
8506 (bitset_not): Use __attribute__ and mark function as possibly
8507 unused.
8508 (bitset_merge): Likewise.
8509 (bitset_mask): Likewise.
8510 (re_string_char_size_at): Likewise.
8511 (re_string_wchar_at): Likewise.
8512 (re_string_elem_size_at): Likewise.
8513
60f5a8b5
SP
85142013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8515
2a983a2e
SP
8516 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
8517 code.
8518 (cc32): Likewise.
8519
e69804d1
SP
8520 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
8521 (__acr): Likewise.
8522 (__cpy): Likewise.
8523 (norm): Likewise.
8524 (denorm): Likewise.
8525 (__dbl_mp): Likewise.
8526 (add_magnitudes): Likewise.
8527 (sub_magnitudes): Likewise.
8528 (__mul): Likewise.
8529 (__inv): Likewise.
8530
2f22a1e8
SP
8531 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
8532 style.
8533
8930ddc7
SP
8534 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
8535 style.
8536
dc60cb11
SP
8537 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
8538 code.
8539
60f5a8b5
SP
8540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
8541 up changes with default code.
8542 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
8543 Likewise.
8544
b4d1fd33
AM
85452013-02-24 Allan McRae <allan@archlinux.org>
8546
faf6f8bc
AM
8547 * manual/socket.texi (The Internet Namespace): Order menu items
8548 to match that in the file.
8549
b4d1fd33
AM
8550 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
8551 node listing of the info page menu.
8552
2366713d
JM
85532013-02-21 Joseph Myers <joseph@codesourcery.com>
8554
8555 [BZ #13550]
8556 * sysdeps/i386/bp-asm.h: Remove file.
8557 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8558 (PARMS): Do not use macros from bp-asm.h.
8559 (S1): Likewise.
8560 (S2): Likewise.
8561 (SIZE): Likewise.
8562 (__mpn_add_n): Do not use BP_SYM
8563 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
8564 "bp-asm.h".
8565 (PARMS): Do not use macros from bp-asm.h.
8566 (S1): Likewise.
8567 (SIZE): Likewise.
8568 (__mpn_addmul_1): Do not use BP_SYM
8569 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
8570 "bp-asm.h".
8571 (PARMS): Do not use macros from bp-asm.h.
8572 (SIGMSK): Likewise.
8573 (_setjmp): Likewise. Do not use BP_SYM.
8574 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
8575 "bp-asm.h".
8576 (PARMS): Do not use macros from bp-asm.h.
8577 (SIGMSK): Likewise.
8578 (setjmp): Likewise. Do not use BP_SYM.
8579 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
8580 "bp-asm.h".
8581 (PARMS): Do not use macros from bp-asm.h.
8582 (__frexp): Do not use BP_SYM.
8583 (frexp): Likewise.
8584 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
8585 "bp-asm.h".
8586 (PARMS): Do not use macros from bp-asm.h.
8587 (__frexpf): Do not use BP_SYM.
8588 (frexpf): Likewise.
8589 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
8590 "bp-asm.h".
8591 (PARMS): Do not use macros from bp-asm.h.
8592 (__frexpl): Do not use BP_SYM.
8593 (frexpl): Likewise.
8594 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
8595 "bp-asm.h".
8596 (PARMS): Do not use macros from bp-asm.h.
8597 (__remquo): Do not use BP_SYM.
8598 (remquo): Likewise.
8599 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
8600 "bp-asm.h".
8601 (PARMS): Do not use macros from bp-asm.h.
8602 (__remquof): Do not use BP_SYM.
8603 (remquof): Likewise.
8604 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
8605 "bp-asm.h".
8606 (PARMS): Do not use macros from bp-asm.h.
8607 (__remquol): Do not use BP_SYM.
8608 (remquol): Likewise.
8609 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
8610 "bp-asm.h".
8611 (PARMS): Do not use macros from bp-asm.h.
8612 (DEST): Likewise.
8613 (SRC): Likewise.
8614 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
8615 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
8616 "bp-asm.h".
8617 (PARMS): Do not use macros from bp-asm.h.
8618 (strlen): Do not use BP_SYM.
8619 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
8620 "bp-asm.h".
8621 (PARMS): Do not use macros from bp-asm.h.
8622 (S1): Likewise.
8623 (S2): Likewise.
8624 (SIZE): Likewise.
8625 (__mpn_add_n): Do not use BP_SYM.
8626 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
8627 "bp-asm.h".
8628 (PARMS): Do not use macros from bp-asm.h.
8629 (S1): Likewise.
8630 (SIZE): Likewise.
8631 (__mpn_addmul_1): Do not use BP_SYM.
8632 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
8633 weak_alias.
8634 (bzero): Likewise.
8635 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
8636 "bp-asm.h".
8637 (PARMS): Do not use macros from bp-asm.h.
8638 (S): Likewise.
8639 (SIZE): Likewise.
8640 (__mpn_lshift): Do not use BP_SYM.
8641 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
8642 "bp-asm.h".
8643 (PARMS): Do not use macros from bp-asm.h.
8644 (DEST): Likewise.
8645 (SRC): Likewise.
8646 (LEN): Likewise.
8647 (memcpy): Likewise. Do not use BP_SYM.
8648 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
8649 libc_hidden_def and weak_alias.
8650 (mempcpy): Do not use BP_SYM in weak_alias.
8651 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
8652 "bp-asm.h".
8653 (PARMS): Do not use macros from bp-asm.h.
8654 (DEST): Likewise.
8655 (LEN): Likewise.
8656 [!BZERO_P] (CHR): Likewise.
8657 (memset): Likewise. Do not use BP_SYM.
8658 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
8659 "bp-asm.h".
8660 (PARMS): Do not use macros from bp-asm.h.
8661 (S1): Likewise.
8662 (SIZE): Likewise.
8663 (__mpn_mul_1): Do not use BP_SYM.
8664 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
8665 "bp-asm.h".
8666 (PARMS): Do not use macros from bp-asm.h.
8667 (S): Likewise.
8668 (SIZE): Likewise.
8669 (__mpn_rshift): Do not use BP_SYM.
8670 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
8671 "bp-asm.h".
8672 (PARMS): Do not use macros from bp-asm.h.
8673 (STR): Likewise.
8674 (CHR): Likewise.
8675 (strchr): Likewise. Do not use BP_SYM.
8676 (index): Do not use BP_SYM in weak_alias.
8677 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
8678 "bp-asm.h".
8679 (PARMS): Do not use macros from bp-asm.h.
8680 (DEST): Likewise.
8681 (SRC): Likewise.
8682 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
8683 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
8684 "bp-asm.h".
8685 (PARMS): Do not use macros from bp-asm.h.
8686 (strlen): Do not use BP_SYM.
8687 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
8688 "bp-asm.h".
8689 (PARMS): Do not use macros from bp-asm.h.
8690 (S1): Likewise.
8691 (S2): Likewise.
8692 (SIZE): Likewise.
8693 (__mpn_sub_n): Do not use BP_SYM.
8694 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
8695 "bp-asm.h".
8696 (PARMS): Do not use macros from bp-asm.h.
8697 (S1): Likewise.
8698 (SIZE): Likewise.
8699 (__mpn_submul_1): Do not use BP_SYM.
8700 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
8701 "bp-asm.h".
8702 (PARMS): Do not use macros from bp-asm.h.
8703 (S1): Likewise.
8704 (S2): Likewise.
8705 (SIZE): Likewise.
8706 (__mpn_add_n): Do not use BP_SYM.
8707 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
8708 weak_alias.
8709 (bzero): Likewise.
8710 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
8711 "bp-asm.h".
8712 (PARMS): Do not use macros from bp-asm.h.
8713 (BLK2): Likewise.
8714 (LEN): Likewise.
8715 (memcmp): Do not use BP_SYM.
8716 (bcmp): Do not use BP_SYM in weak_alias.
8717 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
8718 "bp-asm.h".
8719 (PARMS): Do not use macros from bp-asm.h.
8720 (DEST): Likewise.
8721 (SRC): Likewise.
8722 (LEN): Likewise.
8723 (memcpy): Likewise. Do not use BP_SYM.
8724 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
8725 "bp-asm.h".
8726 (PARMS): Do not use macros from bp-asm.h.
8727 (DEST): Likewise.
8728 (SRC): Likewise.
8729 (LEN): Likewise.
8730 (memmove): Likewise. Do not use BP_SYM.
8731 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
8732 "bp-asm.h".
8733 (PARMS): Do not use macros from bp-asm.h.
8734 (DEST): Likewise.
8735 (SRC): Likewise.
8736 (LEN): Likewise.
8737 (__mempcpy): Likewise. Do not use BP_SYM.
8738 (mempcpy): Do not use BP_SYM in weak_alias.
8739 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
8740 "bp-asm.h".
8741 (PARMS): Do not use macros from bp-asm.h.
8742 (DEST): Likewise.
8743 (LEN): Likewise.
8744 [!BZERO_P] (CHR): Likewise.
8745 (memset): Likewise. Do not use BP_SYM.
8746 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
8747 "bp-asm.h".
8748 (PARMS): Do not use macros from bp-asm.h.
8749 (STR2): Likewise.
8750 (strcmp): Do not use BP_SYM.
8751 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
8752 "bp-asm.h".
8753 (PARMS): Do not use macros from bp-asm.h.
8754 (STR): Likewise.
8755 (DELIM): Likewise.
8756 [USE_AS_STRTOK_R] (SAVE): Likewise.
8757 (FUNCTION): Likewise. Do not use BP_SYM.
8758 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
8759 aliases.
8760 (strtok_r): Likewise.
8761 (__GI___strtok_r): Likewise.
8762 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8763 (PARMS): Do not use macros from bp-asm.h.
8764 (S): Likewise.
8765 (SIZE): Likewise.
8766 (__mpn_lshift): Do not use BP_SYM.
8767 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8768 (PARMS): Do not use macros from bp-asm.h.
8769 (STR): Likewise.
8770 (CHR): Likewise.
8771 (__memchr): Do not use BP_SYM.
8772 (memchr): Do not use BP_SYM in weak_alias.
8773 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8774 (PARMS): Do not use macros from bp-asm.h.
8775 (BLK2): Likewise.
8776 (LEN): Likewise.
8777 (memcmp): Do not use BP_SYM.
8778 (bcmp): Do not use BP_SYM in weak_alias.
8779 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
8780 (PARMS): Do not use macros from bp-asm.h.
8781 (S1): Likewise.
8782 (SIZE): Likewise.
8783 (__mpn_mul_1): Do not use BP_SYM.
8784 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
8785 "bp-asm.h".
8786 (PARMS): Do not use macros from bp-asm.h.
8787 (STR): Likewise.
8788 (CHR): Likewise.
8789 (__rawmemchr): Do not use BP_SYM.
8790 (rawmemchr): Do not use BP_SYM in weak_alias.
8791 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
8792 (PARMS): Do not use macros from bp-asm.h.
8793 (S): Likewise.
8794 (SIZE): Likewise.
8795 (__mpn_rshift): Do not use BP_SYM.
8796 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
8797 (PARMS): Do not use macros from bp-asm.h.
8798 (SIGMSK): Likewise.
8799 (__sigsetjmp): Likewise. Do not use BP_SYM.
8800 * sysdeps/i386/start.S: Do not include "bp-sym.h".
8801 (_start): Do not use BP_SYM.
8802 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
8803 (PARMS): Do not use macros from bp-asm.h.
8804 (DEST): Likewise.
8805 (SRC): Likewise.
8806 (__stpcpy): Likewise. Do not use BP_SYM.
8807 (stpcpy): Do not use BP_SYM in weak_alias.
8808 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
8809 "bp-asm.h".
8810 (PARMS): Do not use macros from bp-asm.h.
8811 (DEST): Likewise.
8812 (SRC): Likewise.
8813 (LEN): Likewise.
8814 (__stpncpy): Likewise. Do not use BP_SYM.
8815 (stpncpy): Do not use BP_SYM in weak_alias.
8816 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
8817 (PARMS): Do not use macros from bp-asm.h.
8818 (STR): Likewise.
8819 (CHR): Likewise.
8820 (strchr): Likewise. Do not use BP_SYM.
8821 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
8822 "bp-asm.h".
8823 (PARMS): Do not use macros from bp-asm.h.
8824 (STR): Likewise.
8825 (CHR): Likewise.
8826 (__strchrnul): Likewise. Do not use BP_SYM.
8827 (strchrnul): Do not use BP_SYM in weak_alias.
8828 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
8829 "bp-asm.h".
8830 (PARMS): Do not use macros from bp-asm.h.
8831 (STOP): Likewise.
8832 (strcspn): Do not use BP_SYM.
8833 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
8834 "bp-asm.h".
8835 (PARMS): Do not use macros from bp-asm.h.
8836 (STR): Likewise.
8837 (STOP): Likewise.
8838 (strpbrk): Likewise. Do not use BP_SYM.
8839 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
8840 "bp-asm.h".
8841 (PARMS): Do not use macros from bp-asm.h.
8842 (STR): Likewise.
8843 (CHR): Likewise.
8844 (strrchr): Likewise. Do not use BP_SYM.
8845 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
8846 (PARMS): Do not use macros from bp-asm.h.
8847 (SKIP): Likewise.
8848 (strspn): Do not use BP_SYM.
8849 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
8850 (PARMS): Do not use macros from bp-asm.h.
8851 (STR): Likewise.
8852 (DELIM): Likewise.
8853 (SAVE): Likewise.
8854 (FUNCTION): Likewise. Do not use BP_SYM.
8855 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
8856 aliases.
8857 (strtok_r): Likewise.
8858 (__GI___strtok_r): Likewise.
8859 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
8860 (PARMS): Do not use macros from bp-asm.h.
8861 (S1): Likewise.
8862 (S2): Likewise.
8863 (SIZE): Likewise.
8864 (__mpn_sub_n): Do not use BP_SYM.
8865 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
8866 "bp-asm.h".
8867 (PARMS): Do not use macros from bp-asm.h.
8868 (S1): Likewise.
8869 (SIZE): Likewise.
8870 (__mpn_submul_1): Do not use BP_SYM.
8871 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
8872 <bp-sym.h>.
8873 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
8874 and <bp-asm.h>.
8875 (PARMS): Do not use macros from bp-asm.h.
8876 (FLAGS): Likewise.
8877 (PTID): Likewise.
8878 (TLS): Likewise.
8879 (CTID): Likewise.
8880 (__clone): Do not use BP_SYM.
8881 (clone): Do not use BP_SYM in weak_alias.
8882 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
8883 and <bp-asm.h>.
8884 (PARMS): Do not use macros from bp-asm.h.
8885 (LEN): Likewise.
8886 (__mmap64): Do not use BP_SYM.
8887 (mmap64): Do not use BP_SYM in weak_alias.
8888 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
8889 <bp-sym.h> and <bp-asm.h>.
8890 (PARMS): Do not use macros from bp-asm.h.
8891 (__posix_fadvise64_l64): Do not use BP_SYM.
8892 * sysdeps/unix/sysv/linux/i386/semtimedop.S
8893 (PARMS): Do not use macros from bp-asm.h.
8894 (NSOPS): Likewise.
8895 (semtimedop): Do not use BP_SYM.
8896 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
8897 and <bp-asm.h>.
8898
582a3cff
AM
88992013-02-21 Allan McRae <allan@archlinux.org>
8900
8901 * manual/message.texi (Charset conversion in gettext):
8902 Move @end statement to beginning of line.
8903
bab8a695
SP
89042013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8905
80945231
SP
8906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
8907 static.
8908 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
8909 Likewise.
8910
bab8a695
SP
8911 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
8912 (denorm): Likewise.
8913 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
8914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
8915
e21d7aa7
AK
89162013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8917
8918 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
8919 tail-call to the resolved function if pltexit isn't needed.
8920
4c7a4263
SP
89212013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8922
8923 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
8924 or Y being zero as being unlikely.
8925 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
8926 Likewise.
8927
41f49342
CD
89282013-02-20 Carlos O'Donell <carlos@redhat.com>
8929
8930 * manual/nss.texi (System Databases and Name Service Switch):
8931 Remove frobnicate @pxref.
8932
50022a93
TS
89332013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8934
8935 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8936 __attribute__ ((unused)) to __attribute__ ((__unused__)).
8937
08cbd996
PM
89382013-02-20 Petr Machata <pmachata@redhat.com>
8939
8940 * elf/elf.h (R_ARM_TARGET1): New macro.
8941 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
8942 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
8943 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
8944 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
8945 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
8946 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
8947 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
8948 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
8949 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
8950 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
8951 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
8952 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
8953 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
8954 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
8955 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
8956 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
8957 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
8958 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
8959 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
8960 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
8961 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
8962 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
8963 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
8964 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
8965 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
8966 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
8967 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
8968 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
8969 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
8970 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
8971 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
8972 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
8973 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
8974 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
8975 (R_ARM_THM_GOT_BREL12): Likewise.
8976 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
8977 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
8978 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
8979 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
8980 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
8981 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
8982 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
8983 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
8984 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
8985
c7b275d6
TS
89862013-02-20 Thomas Schwinge <thomas@codesourcery.com>
8987
8988 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
8989 __attribute_used__ to __attribute__ ((unused)).
8990
20cd7fb3
SP
89912013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
8992
8993 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
8994 powerpc mpa.c.
8995 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
8996 comment formatting.
8997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
8998
92945b52
JM
89992013-02-19 Joseph Myers <joseph@codesourcery.com>
9000
9001 [BZ #13550]
9002 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
9003 Remove macro.
9004 (ENTER): Remove both macro definitions.
9005 (LEAVE): Likewise.
9006 (CHECK_BOUNDS_LOW): Likewise.
9007 (CHECK_BOUNDS_HIGH): Likewise.
9008 (CHECK_BOUNDS_BOTH): Likewise.
9009 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
9010 (RETURN_BOUNDED_POINTER): Likewise.
9011 (RETURN_NULL_BOUNDED_POINTER): Likewise.
9012 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
9013 (POP_ERRNO_LOCATION_RETURN): Likewise.
9014 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
9015 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9016 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
9017 macros.
9018 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9019 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
9020 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
9021 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
9022 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
9023 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
9024 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
9025 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
9026 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
9027 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
9028 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
9029 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
9030 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9031 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
9032 removed macros.
9033 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9034 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
9035 macros.
9036 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9037 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
9038 * sysdeps/i386/i586/memset.S (memset): Likewise.
9039 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
9040 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9041 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
9042 macros.
9043 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9044 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
9045 Change uses of L(2) to L(out).
9046 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
9047 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
9048 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
9049 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9050 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
9051 removed macros.
9052 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9053 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
9054 macros.
9055 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9056 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
9057 (RETURN): Do not use macro LEAVE.
9058 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
9059 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
9060 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
9061 * sysdeps/i386/i686/memset.S (memset): Likewise.
9062 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
9063 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
9064 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9065 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
9066 Likewise.
9067 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9068 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
9069 L(1_2) and L(1_3) into L(1).
9070 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9071 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
9072 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9073 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
9074 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9075 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
9076 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
9077 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9078 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
9079 macros.
9080 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
9081 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9082 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
9083 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
9084 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
9085 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9086 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
9087 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
9088 * sysdeps/i386/strcspn.S (strcspn): Likewise.
9089 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
9090 * sysdeps/i386/strrchr.S (strrchr): Likewise.
9091 * sysdeps/i386/strspn.S (strspn): Likewise.
9092 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
9093 conditional code.
9094 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9095 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
9096 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
9097 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
9098 L(1_3) into L(1_1).
9099 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
9100 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9101 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
9102 macros.
9103 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9104
2389741a
JJ
91052013-02-19 Jakub Jelinek <jakub@redhat.com>
9106
9107 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
9108 macro.
9109
2016b3cd
SP
91102013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9111
e4f22324
SP
9112 * math/atest-exp.c (exp_mpn): Remove ROUND.
9113 * math/atest-exp2.c (exp_mpn): Likewise.
9114 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
9115
2016b3cd
SP
9116 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
9117 * stdlib/tst-tls-atexit-lib.c: Likewise.
9118 * stdlib/tst-tls-atexit.c: Likewise.
9119
4be9b544
MF
91202013-02-18 Mike Frysinger <vapier@gentoo.org>
9121
9122 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
9123 and __attribute_alloc_size__.
9124
2f62b9ee
MF
91252013-02-18 Mike Frysinger <vapier@gentoo.org>
9126
9127 * include/programs/xmalloc.h: Change __attribute_alloc_size to
9128 __attribute_alloc_size__.
9129 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
9130 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
9131
6ff444c4
MF
91322013-02-18 Mike Frysinger <vapier@gentoo.org>
9133
9134 * include/programs/xmalloc.h: New file.
9135 * catgets/gencat.c: Include it.
9136 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
9137 * elf/pldd.c: Likewise.
9138 * iconv/iconv_charmap.c: Likewise.
9139 * iconv/iconvconfig.c: Likewise.
9140 * iconv/strtab.c: Likewise.
9141 * locale/programs/locale.c: Likewise.
9142 * locale/programs/localedef.h: Likewise.
9143 * locale/programs/simple-hash.c: Likewise.
9144 * nscd/nscd.h: Likewise.
9145 * nss/makedb.c: Likewise.
9146 * sysdeps/generic/ldconfig.h: Likewise.
9147
be179c8a
SP
91482013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
9149
ba384f6e
SP
9150 * Versions.def: Add GLIBC_2.18.
9151 * include/link.h (struct link_map): New member l_tls_dtor_count.
9152 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
9153 (__call_tls_dtors): Likewise.
9154 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
9155 __cxa_thread_atexit_impl.
9156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9157 Likewise.
9158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9159 Likewise.
9160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9161 Likewise.
9162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9163 Likewise.
9164 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
9165 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
9166 Likewise.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
9168 Likewise.
9169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
9170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
9171 Likewise.
9172 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
9173 (tests): Add test case tst-tls-atexit.
9174 (modules-names): Add shared library for tst-tls-atexit.
85891aca 9175 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
9176 (GLIBC_PRIVATE): Add __call_tls_dtors.
9177 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
9178 for libstdc++.
9179 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
9180 * stdlib/tst-tls-atexit.c: New test case.
9181 * stdlib/tst-tls-atexit-lib.c: New test case.
9182
ffaa74cf 9183 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 9184
be179c8a
SP
9185 * elf/Versions (ld): Add _dl_find_dso_for_object.
9186 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
9187 * elf/dl-open.c (_dl_find_dso_for_object): New function.
9188 (dl_open_worker): Use _dl_find_dso_for_object.
9189 * elf/dl-sym.c (do_sym): Likewise.
9190 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
9191
f78b5caa
AK
91922013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9193
9194 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
9195 Syntactic changes only.
9196 (_dl_runtime_profile): Do a tail-call to the resolved function.
9197
29691210
JM
91982013-02-17 Joseph Myers <joseph@codesourcery.com>
9199
9200 [BZ #13550]
9201 * sysdeps/x86_64/bp-asm.h: Remove file.
9202 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
9203 <bp-sym.h> and <bp-asm.h>.
9204 (__clone): Do not use BP_SYM.
9205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
9206 <bp-sym.h> and <bp-asm.h>.
9207 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9208 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
9209 "bp-asm.h".
9210 (_setjmp): Do not use BP_SYM.
9211 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
9212 "bp-asm.h".
9213 (setjmp): Do not use BP_SYM.
9214 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
9215 libc_hidden_def.
9216 (mempcpy): Do not use BP_SYM in weak_alias.
9217 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
9218 "bp-asm.h".
9219 (strchr): Do not use BP_SYM.
9220 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
9221 "bp-asm.h".
9222 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
9223 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
9224 (_start): Do not use BP_SYM.
9225 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
9226 "bp-asm.h".
9227 (strcat): Do not use BP_SYM.
9228 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
9229 "bp-asm.h".
9230 (STRCMP): Do not use BP_SYM.
9231 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
9232 "bp-asm.h".
9233 (STRCPY): Do not use BP_SYM.
9234 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
9235 "bp-asm.h".
9236 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
9237 "bp-asm.h".
9238 (FUNCTION): Do not use BP_SYM.
9239 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
9240 weak_alias.
9241 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
9242
f238fd19
AJ
92432013-02-17 Andreas Jaeger <aj@suse.de>
9244
9245 * time/Versions: Sort entries.
9246 * string/Versions: Likewise.
9247 * resolv/Versions: Likewise.
9248 * posix/Versions: Likewise.
9249 * iconv/Versions: Likewise.
9250 * elf/Versions: Likewise.
9251 * wcsmbs/Versions: Likewise.
9252
bd07f23c 92532013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 9254
22af19f9
SP
9255 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
9256 loop termination condition.
9257
4709fe76
SP
9258 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
9259 variable to calculate EZ.
9260 (__sqr): Likewise.
2d0e0f29
SP
9261
9262 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
9263 the lower precision input.
9264
daaa7713
JM
92652013-02-15 Joseph Myers <joseph@codesourcery.com>
9266
9267 [BZ #13550]
9268 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
9269 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
9270 (run-via-rtld-prefix): Do not handle %-bp tests.
9271 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
9272 (all-object-suffixes): Remove .ob.
9273 (bppfx): Remove variable.
9274 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
9275 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
9276 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
9277 [$(build-bounded) = yes] (libtype.ob): Likewise.
9278 * Makerules (elide-routines.ob): Remove variable.
9279 (do-tests-clean): Do not handle *-bp.out.
9280 (common-mostlyclean): Do not handle *-bp and *-bp.out.
9281 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
9282 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
9283 (tests): Do not include $(tests-bp.out).
9284 (xtests): Do not include $(xtests-bp.out).
9285 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
9286 [$(build-bounded) = yes] ($(addprefix
9287 $(objpfx),$(binaries-bounded))): Remove rule.
9288 ($(objpfx)%-bp.out): Remove rule.
9289 * config.make.in (build-bounded): Remove variable.
9290 * crypt/Makefile [$(build-bounded) = yes]
9291 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
9292 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
9293 append to variable.
9294 [$(build-bounded) = yes] (install-lib): Likewise.
9295 [$(build-bounded) = yes] (generated): Likewise.
9296 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
9297 Remove rule.
9298 * intl/Makefile [$(build-bounded) = yes]
9299 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
9300 * math/Makefile [$(build-bounded) = yes]
9301 ($(tests:%=$(objpfx)%-bp): Likewise.
9302 * misc/Makefile [$(build-bounded) = yes]
9303 ($(objpfx)tst-tsearch-bp): Likewise.
9304 * nptl/Makeconfig (bounded-thread-library): Remove variable.
9305 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
9306 Remove dependency.
9307 * string/Makefile (o-objects.ob): Remove variable.
9308 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
9309 (CFLAGS-.ob): Remove variable.
9310 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
9311 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
9312 both definitions of variable.
9313 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
9314 (ASFLAGS-.ob): Remove variable.
9315
e97ed6dd
JM
93162013-02-14 Joseph Myers <joseph@codesourcery.com>
9317
2bdd4ca6
JM
9318 [BZ #13550]
9319 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
9320 Remove __BOUNDED_POINTERS__ from condition.
9321 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
9322 * string/bits/string2.h [!__NO_STRING_INLINES &&
9323 !__BOUNDED_POINTERS__]: Likewise.
9324 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
9325 Likewise.
9326 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
9327 Remove conditional code.
9328 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
9329 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
9330 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
9331 condition.
9332
e97ed6dd
JM
9333 [BZ #13550]
9334 * csu/libc-start.c: Do not include <bp-sym.h>.
9335 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
9336 * elf/dl-open.c: Do not include <bp-sym.h>.
9337 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
9338 * math/fegetenv.c: Do not include <bp-sym.h>.
9339 (fegetenv): Do not use BP_SYM in versioned symbols.
9340 * nptl/sysdeps/pthread/bits/libc-lockP.h
9341 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
9342 <bp-sym.h>.
9343 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9344 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
9345 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9346 (__pthread_mutex_destroy): Likewise.
9347 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9348 (__pthread_mutex_lock): Likewise.
9349 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9350 (__pthread_mutex_trylock): Likewise.
9351 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9352 (__pthread_mutex_unlock): Likewise.
9353 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9354 (__pthread_mutexattr_init): Likewise.
9355 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9356 (__pthread_mutexattr_destroy): Likewise.
9357 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9358 (__pthread_mutexattr_settype): Likewise.
9359 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9360 (__pthread_rwlock_init): Likewise.
9361 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9362 (__pthread_rwlock_destroy): Likewise.
9363 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9364 (__pthread_rwlock_rdlock): Likewise.
9365 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9366 (__pthread_rwlock_tryrdlock): Likewise.
9367 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9368 (__pthread_rwlock_wrlock): Likewise.
9369 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9370 (__pthread_rwlock_trywrlock): Likewise.
9371 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9372 (__pthread_rwlock_unlock): Likewise.
9373 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9374 (__pthread_key_create): Likewise.
9375 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9376 (__pthread_setspecific): Likewise.
9377 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9378 (__pthread_getspecific): Likewise.
9379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
9380 Likewise.
9381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9382 (_pthread_cleanup_push_defer): Likewise.
9383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9384 (_pthread_cleanup_pop_restore): Likewise.
9385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
9386 (pthread_setcancelstate): Likewise.
9387 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
9388 <bp-sym.h>.
9389 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
9390 (memchr): Do not use BP_SYM in weak_alias.
9391 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
9392 (fegetenv): Do not use BP_SYM in versioned symbols.
9393 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
9394 (fesetenv): Do not use BP_SYM in versioned symbols.
9395 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9396 (feupdateenv): Do not use BP_SYM in versioned symbols.
9397 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9398 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9399 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
9400 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
9401 (open64): Do not use BP_SYM in weak_alias.
9402 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
9403 (fegetenv): Do not use BP_SYM in versioned symbols.
9404 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
9405 (fesetenv): Do not use BP_SYM in versioned symbols.
9406 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
9407 (feupdateenv): Do not use BP_SYM in versioned symbols.
9408 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
9409 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
9410 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
9411 (feraiseexcept): Do not use BP_SYM in versioned symbols.
9412 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
9413 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
9414 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
9415 <bp-sym.h>.
9416 (__libc_start_main): Do not use BP_SYM.
9417
d6752ccd
SP
94182013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9419
cb57ce60
SP
9420 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
9421 redundant return line.
9422 (norm): Likewise.
9423 (denorm): Likewise.
9424 (dbl_mp): Likewise.
9425 (sub_magnitudes): Likewise.
9426 (__add): Likewise.
9427 (__sub): Likewise.
9428 (__mul): Likewise.
9429 (__inv): Likewise.
9430 (__dvd): Likewise.
9431 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
9432 (norm): Likewise.
9433 (denorm): Likewise.
9434 (dbl_mp): Likewise.
9435 (sub_magnitudes): Likewise.
9436 (__add): Likewise.
9437 (__sub): Likewise.
9438 (__mul): Likewise.
9439 (__inv): Likewise.
9440 (__dvd): Likewise.
9441
f414520d
SP
9442 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
9443 instead of __mul.
9444 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
9445 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
9446 (cc32): Likewise.
9447
d6752ccd
SP
9448 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
9449 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
9450 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
9451 of __mul for squares.
9452 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
9453 function
9454 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
9455 Likewise.
9456 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
9457 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
9458
70d9946a
JM
94592013-02-13 Joseph Myers <joseph@codesourcery.com>
9460
9461 [BZ #13550]
9462 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
9463 code.
9464 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
9465 prototype or function definition. Rename ubp_* variables and
9466 parameters. Remove argv definitions conditional on
9467 [__BOUNDED_POINTERS__].
9468 * debug/backtrace.c (__backtrace): Do not use __unbounded.
9469 * elf/dl-runtime.c (_dl_fixup): Likewise.
9470 * include/set-hooks.h (RUN_HOOK): Likewise.
9471 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
9472 definition.
9473 * string/strcpy.c (strcpy): Do not use __unbounded.
9474 * sysdeps/generic/frame.h (struct layout): Likewise.
9475 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
9476 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
9477 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
9478 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
9479 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
9480 (__backtrace): Likewise.
9481 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
9482 use __ptrvalue.
9483 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
9484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9485 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
9486 Likewise.
9487 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
9488 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
9489 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9490 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9491 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
9492 Do not use __unbounded.
9493 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
9494 Rename __unboundedrlimits parameter to rlimits in prototype.
9495 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
9496 Do not use __unbounded.
9497 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
9498 not use __ptrvalue.
9499 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9500 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
9501 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9502 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
9503 __ptrvalue or __unbounded.
9504 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
9505 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
9506 use __unbounded.
9507 (__new_msgctl): Do not use __ptrvalue.
9508 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
9509 __unbounded.
9510 (__libc_msgrcv): Do not use __ptrvalue.
9511 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
9512 startup_info): Do not use __unbounded.
9513 (__libc_start_main): Likewise. Rename ubp_* variables and
9514 parameters. Remove argv definitions conditional on
9515 [__BOUNDED_POINTERS__].
9516 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
9517 __ptrvalue.
9518 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
9519 use __unbounded.
9520 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
9521 or __ptrvalue.
9522 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
9523 use __unbounded.
9524 (__new_shmctl): Do not use __ptrvalue.
9525 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
9526 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
9527 Likewise.
9528 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
9529 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
9530 (__libc_sigaction): Likewise.
9531 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
9532 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
9533 Likewise.
9534 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
9535
cc7834d6
OB
95362013-02-13 Ondřej Bílka <neleai@seznam.cz>
9537
ffb1ec7b 9538 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
9539
9540 * string/mempcpy.c: Implement by calling memcpy.
9541
bdf02814
SP
95422013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
9543
c2af38aa
SP
9544 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
9545
4e92d59e
SP
9546 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
9547 evaluation.
9548
909279a5
SP
9549 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
9550 values in the mantissa.
9551
bdf02814
SP
9552 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
9553 minimize writes to Z.
9554 (sub_magnitudes): Simplify code a bit.
9555
cd525923
RM
95562013-02-12 Roland McGrath <roland@hack.frob.com>
9557
9558 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
9559 from the message. The linker prefixes all warnings with that already.
9560
7e2f0d2d
AS
95612013-02-12 Andreas Schwab <schwab@suse.de>
9562
a445af0b
AS
9563 [BZ #15078]
9564 * posix/regexec.c (extend_buffers): Add parameter min_len.
9565 (check_matching): Pass minimum needed length.
9566 (clean_state_log_if_needed): Likewise.
9567 (get_subexp): Likewise.
9568 * posix/Makefile (tests): Add bug-regex34.
9569 (bug-regex34-ENV): Define.
9570 * posix/bug-regex34.c: New file.
9571
7e2f0d2d
AS
9572 [BZ #11561]
9573 * posix/regcomp.c (parse_bracket_exp): When looking up collating
9574 elements compare against the byte sequence of it, not its name.
9575 * posix/Makefile (tests): Add bug-regex35.
9576 (bug-regex35-ENV): Define.
9577 * posix/bug-regex35.c: New file.
9578
a175b684
TV
95792013-02-11 Tom de Vries <tom@codesourcery.com>
9580
9581 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
9582 comment.
9583 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
9584 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
9585 (CHECK_EOL): Add undef.
9586
310998fe 95872013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
9588
9589 * bits/stdlib-bsearch.h: New file.
9590 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 9591 * stdlib/stdlib.h: Likewise.
41eda41d 9592
8ded91fb
RM
95932013-02-11 Roland McGrath <roland@hack.frob.com>
9594
9595 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
9596 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
9597 declaration.
9598 * manual/search.texi (Array Search Function): Add missing const in
9599 lfind prototype.
9600 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
9601 declaration to use rlim_t.
9602 (Basic Scheduling Functions): Remove erroneous const from
9603 sched_getparam prototype. Remove erroneous * from
9604 sched_get_priority_max and sched_get_priority_min prototypes.
9605 (Resource Usage): Fix summary @comment on vtimes to refer to
9606 sys/vtimes.h rather than vtimes.h.
9607 Add missing *s in vtimes prototype.
9608 (Limits on Resources): Fix ulimit prototype to return long int.
9609 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
9610 prototypes to use long int rather than double.
9611 (BSD Random): Fix initstate and setstate to use char *, not void *.
9612 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
9613 prototype to make second argument 'struct aiocb64 *const[]'.
9614 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
9615 (Status of AIO Operations): Remove erroneous const in aio_return and
9616 aio_return64 prototypes.
9617 (Synchronizing I/O): Fix sync prototype to return void.
9618 * manual/startup.texi (Suboptions): Remove an erroneous const in
9619 getsubopt prototype.
9620 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
9621 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
9622 use size_t rather than int.
9623 (Scanning All Users): Likewise for getpwent_r.
9624 (Setting Groups): Add missing const to setgroups prototype.
9625 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
9626 * manual/socket.texi (Host Names): Fix gethostbyaddr and
9627 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
9628 'const void *' rather than 'const char *'.
9629 (Host Address Functions): Likewise for inet_ntop.
9630 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
9631 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
9632 ssize_t for return value.
9633 (Sending Data): Likewise for send, sendto, sendmsg.
9634 (Socket Option Functions): Add a missing const in setsockopt prototype.
9635 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
9636 use wchar_t for the argument.
9637 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
9638 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
9639 take no arguments.
9640 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
9641 double/float/long double for second argument.
9642 Fix return types of significand, significandf, significandl.
9643 * manual/filesys.texi (Setting Permissions): Use mode_t for second
9644 argument in fchmod prototype.
9645 (File Owner): Use uid_t and gid_t in fchown prototype.
9646 (File Times): Add const to utimes, futimes, and lutimes prototypes.
9647 (Making Special Files): Use mode_t and dev_t in mknod prototype.
9648 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
9649 use 'const struct dirent **' as argument types to CMP function pointer
9650 argument.
9651 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
9652 (File Times): Fix summary magic @comment for struct utimbuf and utime
9653 to refer to utime.h, not time.h.
9654 * manual/string.texi (Argz Functions): Add missing const in
9655 argz_extract and argz_next prototypes.
9656 (Finding Tokens in a String): Likewise for basename.
9657 (String/Array Comparison): Fix typo in wcscasecmp prototype.
9658 (Copying and Concatenation): Fix typo in wmemmove prototype.
9659 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
9660 (Signal Stack): Remove erroneous const in sigstack prototype.
9661 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
9662 prototype.
9663 (Simple Calendar Time): Likewise for stime.
9664 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
9665 prototype.
9666 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
9667 say sys/sysctl.h instead.
9668 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
9669 and vsyslog prototypes.
9670
fe77fe6d
TV
96712013-02-11 Tom de Vries <tom@codesourcery.com>
9672
9673 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
9674 Remove.
9675
3a09b620
RM
96762013-02-11 Roland McGrath <roland@hack.frob.com>
9677
9678 * misc/sys/mman.h: Fix typo in mremap comment.
9679
550a0b89
RM
96802013-02-08 Roland McGrath <roland@hack.frob.com>
9681
9682 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
9683 the '\0' terminator.
9684
a2da1673
JM
96852013-02-08 Joseph Myers <joseph@codesourcery.com>
9686
9687 [BZ #13550]
9688 * debug/segfault.c: Don't include <bp-checks.h>.
9689 * sysdeps/generic/bp-checks.h: Remove file.
9690 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
9691 (__GETDENTS): Don't use CHECK_N.
9692 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
9693 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9694 (__getgroups): Don't use CHECK_N.
9695 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
9696 (setgroups): Don't use CHECK_N.
9697 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
9698 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
9699 (__libc_msgrcv): Don't use CHECK_N.
9700 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
9701 (__libc_msgsnd): Don't use CHECK_N.
9702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
9703 <bp-checks.h>.
9704 (__libc_pread): Don't use CHECK_N.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
9706 include <bp-checks.h>.
9707 (__libc_pread64): Don't use CHECK_N.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
9709 include <bp-checks.h>.
9710 (__libc_pwrite): Don't use CHECK_N.
9711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
9712 include <bp-checks.h>.
9713 (__libc_pwrite64): Don't use CHECK_N.
9714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
9715 <bp-checks.h>.
9716 (__libc_pread): Don't use CHECK_N.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
9718 include <bp-checks.h>.
9719 (__libc_pread64): Don't use CHECK_N.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
9721 include <bp-checks.h>.
9722 (__libc_pwrite): Don't use CHECK_N.
9723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
9724 include <bp-checks.h>.
9725 (__libc_pwrite64): Don't use CHECK_N.
9726 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
9727 (do_pread): Don't use CHECK_N.
9728 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
9729 (do_pread64): Don't use CHECK_N.
9730 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
9731 (do_pwrite): Don't use CHECK_N.
9732 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
9733 (do_pwrite64): Don't use CHECK_N.
9734 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
9735 (__libc_readv): Don't use CHECK_N.
9736 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
9737 (semop): Don't use CHECK_N.
9738 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
9739 <bp-checks.h>.
9740 (semtimedop): Don't use CHECK_N.
9741 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
9742 (__libc_pread): Don't use CHECK_N.
9743 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
9744 <bp-checks.h>.
9745 (__libc_pread64): Don't use CHECK_N.
9746 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
9747 <bp-checks.h>.
9748 (__libc_pwrite): Don't use CHECK_N.
9749 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
9750 <bp-checks.h>.
9751 (__libc_pwrite64): Don't use CHECK_N.
9752 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
9753 <bp-checks.h>.
9754 (__libc_msgrcv): Don't use CHECK_N.
9755 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
9756 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
9757 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
9758 (__libc_writev): Don't use CHECK_N.
9759
b84660a8
RM
97602013-02-08 Roland McGrath <roland@hack.frob.com>
9761
7f3e75f8
RM
9762 * string/strcpy.c: Removed unused variable.
9763
b84660a8
RM
9764 * Makeconfig (+sysdep-includes): Define with := rather than =.
9765 Use an existing include/ subdir of each sysdeps dir before it.
9766
471514d3
CD
97672013-02-08 Carlos O'Donell <carlos@redhat.com>
9768
9769 * nscd/connection.c (register_traced_file): Comment function.
9770 [HAVE_INOTIFY] (union __inev): Define.
9771 [HAVE_INOTIFY] (inotify_check_files): New function.
9772 [HAVE_INOTIFY] (clear_db_cache): Likewise.
9773 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
9774 clear_db_cache.
9775 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
9776
b2d3c3be
CD
97772013-02-08 Carlos O'Donell <carlos@redhat.com>
9778
9779 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
9780 loaded if not already and that a failure is permanent.
9781
b39949d2
CD
97822013-02-08 Carlos O'Donell <carlos@redhat.com>
9783
ddacd1db 9784 [BZ #15006]
b39949d2
CD
9785 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
9786 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
9787
b2c9eff4
JM
97882013-02-08 Joseph Myers <joseph@codesourcery.com>
9789
f3aae3f3
JM
9790 [BZ #13550]
9791 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
9792 (CHECK_1_NULL_OK): Likewise.
9793 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
9794 (__fxstat): Do not use CHECK_1.
9795 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
9796 <bp-checks.h>.
9797 (___fxstat64): Do not use CHECK_1.
9798 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9799 <bp-checks.h>.
9800 (__fxstatat): Do not use CHECK_1.
9801 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9802 <bp-checks.h>.
9803 (__fxstatat64): Do not use CHECK_1.
9804 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
9805 <bp-checks.h>.
9806 (__fxstat): Do not use CHECK_1.
9807 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9808 <bp-checks.h>.
9809 (__fxstatat): Do not use CHECK_1.
9810 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
9811 <bp-checks.h>.
9812 (__getresgid): Do not use CHECK_1.
9813 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
9814 <bp-checks.h>.
9815 (__getresuid): Do not use CHECK_1.
9816 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
9817 <bp-checks.h>.
9818 (__lxstat): Do not use CHECK_1.
9819 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
9820 <bp-checks.h>.
9821 (__old_msgctl): Do not use CHECK_1.
9822 (__new_msgctl): Likewise.
9823 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
9824 <bp-checks.h>.
9825 (__new_setrlimit): Do not use CHECK_1.
9826 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
9827 <bp-checks.h>.
9828 (__old_shmctl): Do not use CHECK_1.
9829 (__new_shmctl): Likewise.
9830 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
9831 <bp-checks.h>.
9832 (__xstat): Do not use CHECK_1.
9833 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
9834 (__lxstat): Do not use CHECK_1.
9835 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
9836 <bp-checks.h>.
9837 (___lxstat64): Do not use CHECK_1.
9838 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
9839 (__old_msgctl): Do not use CHECK_1.
9840 (__new_msgctl): Likewise.
9841 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
9842 <bp-checks.h>.
9843 (__gettimeofday): Do not use CHECK_1.
9844 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
9845 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
9846 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
9847 <bp-checks.h>.
9848 (__gettimeofday): Do not use CHECK_1.
9849 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
9850 (__old_shmctl): Do not use CHECK_1_NULL_OK.
9851 (__new_shmctl): Do not use CHECK_1.
9852 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
9853 <bp-checks.h>.
9854 (do_sigtimedwait): Do not use CHECK_1.
9855 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
9856 <bp-checks.h>.
9857 (do_sigwaitinfo): Do not use CHECK_1.
9858 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
9859 <bp-checks.h>.
9860 (msgctl): Do not use CHECK_1.
9861 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
9862 <bp-checks.h>.
9863 (shmctl): Do not use CHECK_1.
9864 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
9865 (ustat): Do not use CHECK_1.
9866 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
9867 <bp-checks.h>.
9868 (__fxstat): Do not use CHECK_1.
9869 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9870 <bp-checks.h>.
9871 (__fxstatat): Do not use CHECK_1.
9872 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
9873 <bp-checks.h>.
9874 (__lxstat): Do not use CHECK_1.
9875 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
9876 <bp-checks.h>.
9877 (__xstat): Do not use CHECK_1.
9878 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
9879 (__xstat): Do not use CHECK_1.
9880 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
9881 (___xstat64): Do not use CHECK_1.
9882
b2c9eff4
JM
9883 [BZ #13550]
9884 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
9885 definitions.
9886 (CHECK_BOUNDS_HIGH): Likewise.
9887 * string/strcpy.c: Do not include <bp-checks.h>.
9888 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
9889
f1d70dad
RM
98902013-02-07 Roland McGrath <roland@hack.frob.com>
9891
9892 * nscd/nscd-client.h (__nscd_drop_map_ref):
9893 Add __attribute__ ((unused)).
9894 * nis/nss-nisplus.h (niserr2nss): Likewise.
9895
9896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
9897 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
9898
9899 * csu/libc-tls.c (init_static_tls, init_slotinfo):
9900 Remove inline keyword.
9901 * include/rounding-mode.h (round_away): Likewise.
9902 * libio/wfileops.c (adjust_wide_data): Likewise.
9903 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
9904 (__m128i_strloadu_tolower): Likewise.
9905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
9906 (__m128i_strloadu_tolower): Likewise.
9907 * time/mktime.c (ydhms_diff): Likewise.
9908 * locale/elem-hash.h (elem_hash): Likewise.
9909 * locale/setlocale.c (setdata): Likewise.
9910 * posix/regex_internal.h (re_string_char_size_at): Likewise.
9911 (re_string_wchar_at): Likewise.
9912 (bitset_not, bitset_merge, bitset_mask): Likewise.
9913 [!(__GNUC__ > 3)] (inline): Remove macro.
9914 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
9915 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
9916 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
9917 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
9918 * string/memcmp.c (memcmp_bytes): Likewise.
9919 * locale/programs/locarchive.c (compute_hashval): Likewise.
9920 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
9921 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
9922 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
9923 * nss/getent.c (print_rpc, print_protocols): Likewise.
9924 (print_passwd, print_group, print_aliases): Likewise.
9925 * nis/nss-nisplus.h (niserr2nss): Likewise.
9926 * nscd/connections.c (restart_p): Likewise.
9927 Change return type to bool.
9928
eab55bfb
RM
99292013-02-05 Roland McGrath <roland@hack.frob.com>
9930
7bd642f5
RM
9931 * Makeconfig (all-Depend-files): Add existing
9932 $(sorted-subdirs:=/Depend) files.
9933 (all-subdirs): Remove nss.
9934 * sysdeps/unix/inet/Subdirs: Add it here instead.
9935 * hesiod/Depend: New file.
9936
573c29b2
RM
9937 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
9938 instead of calling alloca.
9939
b2e25af0
RM
9940 * io/lseek.c (__lseek): Rename to __libc_lseek.
9941 Define __lseek as an alias.
9942
eab55bfb
RM
9943 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
9944
9a0d1941
CD
99452013-02-04 Carlos O'Donell <carlos@redhat.com>
9946
9947 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
9948 else clause and remove check for non-standard endianness.
9949
b83bbec4
DM
99502013-02-04 David S. Miller <davem@davemloft.net>
9951
9952 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9953
6277fdab
JM
99542013-02-04 Joseph Myers <joseph@codesourcery.com>
9955
9956 [BZ #13550]
9957 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
9958 (__ubp_memchr): Remove prototype.
9959 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
9960 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9961 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
9962 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
9963 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
9964 Remove alias.
9965 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
9966 (__ubp_memchr): Likewise.
9967 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
9968 (__ubp_memchr): Likewise.
9969 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
9970 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
9971 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
9972 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
9973 CHECK_STRING.
9974 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9975 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
9976 (__getcwd): Do not use CHECK_STRING.
9977 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
9978 <bp-checks.h>.
9979 (__real_chown): Do not use CHECK_STRING.
9980 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
9981 <bp-checks.h>.
9982 (fchownat): Do not use CHECK_STRING.
9983 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
9984 CHECK_STRING.
9985 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
9986 <bp-checks.h>.
9987 (__lchown): Do not use CHECK_STRING.
9988 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
9989 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
9990 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
9991 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
9993 include <bp-checks.h>.
9994 (truncate64): Do not use CHECK_STRING.
9995 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
9996 <bp-checks.h>.
9997 (__real_chown): Do not use CHECK_STRING.
9998 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
9999 <bp-checks.h>.
10000 (__lchown): Do not use CHECK_STRING.
10001 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
10002 <bp-checks.h>.
10003 (__chown): Do not use CHECK_STRING.
10004 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
10005 <bp-checks.h>.
10006 (truncate64): Do not use CHECK_STRING.
10007 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
10008 Likewise.
10009 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
10010 (__xmknod): Do not use CHECK_STRING.
10011 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10012 <bp-checks.h>.
10013 (__xmknodat): Do not use CHECK_STRING.
10014 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10015 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10016
903ae060
AS
100172013-02-04 Andreas Schwab <schwab@suse.de>
10018
10019 [BZ #14142]
10020 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
10021 * include/netdb.h: Likewise for h_errno.
10022 * elf/tst-stackguard1.c: Include <tls.h>.
10023
542f9466
JK
100242013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
10025
10026 * elf/link.h (struct link_map): Extend the l_addr comment.
10027 * include/link.h (struct link_map): Likewise.
10028
e782a927
JM
100292013-02-01 Joseph Myers <joseph@codesourcery.com>
10030
10031 [BZ #13550]
10032 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
10033 (BOUNDED_1): Remove macro.
10034 * debug/backtrace.c: Don't include <bp-checks.h>.
10035 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
10036 (__backtrace): Likewise.
10037 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
10038 <bp-checks.h>.
10039 (__backtrace): Don't use BOUNDED_1.
10040 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
10041 <bp-checks.h>.
10042 (__backtrace): Don't use BOUNDED_1.
10043 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
10044 (__backtrace): Don't use BOUNDED_1.
10045 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
10046 (shmat): Don't use BOUNDED_N.
10047
8cf28c5e
JM
100482013-01-31 Joseph Myers <joseph@codesourcery.com>
10049
3a7ac8a0
JM
10050 [BZ #13550]
10051 * sysdeps/generic/bp-start.h: Remove file.
10052 * csu/libc-start.c: Don't include <bp-start.h>.
10053 (LIBC_START_MAIN): Set up __environ directly instead of using
10054 INIT_ARGV_and_ENVIRON.
10055 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
10056 <bp-start.h>.
10057
f3499f95
JM
10058 [BZ #13550]
10059 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
10060 definitions.
10061 (CHECK_FCNTL): Likewise.
10062 (CHECK_N_PAGES): Likewise.
10063
32a45bea
JM
10064 [BZ #13550]
10065 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
10066 definitions.
10067 (CHECK_SIGSET_NULL_OK): Likewise.
10068 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
10069 <bp-checks.h>.
10070 (sigpending): Don't use CHECK_SIGSET.
10071 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
10072 <bp-checks.h>.
10073 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10074 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
10075 <bp-checks.h>.
10076 (do_sigsuspend): Don't use CHECK_SIGSET.
10077 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
10078 use CHECK_SIGSET.
10079 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
10080 (do_sigwait): Don't use CHECK_SIGSET.
10081 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
10082 use CHECK_SIGSET.
10083 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
10084 include <bp-checks.h>.
10085 (sigpending): Don't use CHECK_SIGSET.
10086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
10087 include <bp-checks.h>.
10088 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10089 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
10090 <bp-checks.h>.
10091 (sigpending): Don't use CHECK_SIGSET.
10092 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
10093 <bp-checks.h>.
10094 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
10095
2e8a5c8c
JM
10096 [BZ #13550]
10097 * sysdeps/generic/bp-semctl.h: Remove file.
10098 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
10099 <bp-checks.h> and <bp-semctl.h>.
10100 (__old_semctl): Don't use CHECK_SEMCTL.
10101 (__new_semctl): Likewise.
10102 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
10103 and <bp-semctl.h>.
10104 (__old_semctl): Don't use CHECK_SEMCTL.
10105 (__new_semctl): Likewise.
10106 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
10107 <bp-checks.h> and <bp-semctl.h>.
10108 (__old_semctl): Don't use CHECK_SEMCTL.
10109 (__new_semctl): Likewise.
10110 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
10111 <bp-checks.h> and <bp-semctl.h>.
10112 (semctl): Don't use CHECK_SEMCTL.
10113
c2d54929
JM
10114 [BZ #13550]
10115 * Makerules (elide-bp-thunks): Remove variable.
10116 (elide-routines.oS): Don't use $(elide-bp-thunks).
10117 (elide-routines.os): Likewise.
10118 (elide-routines.o): Likewise.
10119 (elide-routines.op): Likewise.
10120 (elide-routines.og): Likewise.
10121 (objects): Don't use $(bp-thunks).
10122 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
10123 include.
10124 (common-generated): Do not add s-proto-bp.d.
10125 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
10126 (int): Likewise.
10127 (typ): Likewise.
10128 Do not generate makefile rules for bounded-pointer thunks.
10129 * sysdeps/generic/bp-thunks.h: Remove file.
10130 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
10131 * sysdeps/unix/s-proto-bp.S: Likewise.
10132
8cf28c5e
JM
10133 [BZ #15062]
10134 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
10135 parts of result separately when argument is not close to line from
10136 -i to i and one part of argument is small.
10137 * math/k_casinhf.c (__kernel_casinhf): Likewise.
10138 * math/k_casinhl.c (__kernel_casinhl): Likewise.
10139 * math/libm-test.inc (cacos_test): Add more tests.
10140 (casin_test): Likewise.
10141 (casinh_test): Likewise.
10142 * sysdeps/i386/fpu/libm-test-ulps: Update.
10143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10144
c4e33b8d
DM
101452013-01-31 David S. Miller <davem@davemloft.net>
10146
10147 * po/de.po: Update from translation team.
10148
3b60b421
MK
101492013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
10150
10151 * time/tzfile.c: Include stdint.h for SIZE_MAX.
10152
bb931195
TS
101532013-01-25 Thomas Schwinge <thomas@codesourcery.com>
10154
b5a5da23
TS
10155 * configure.in (_AC_PROG_CC_C89): New definition.
10156 * configure: Regenerate.
10157
bb931195
TS
10158 * configure.in (AC_PROG_CPP): New definition.
10159 * configure: Regenerate.
10160
8c53a12c
JM
101612013-01-23 Joseph Myers <joseph@codesourcery.com>
10162
10163 * debug/tst-backtrace.h: New file.
10164 * debug/tst-backtrace2.c: Include tst-backtrace.h.
10165 (ret): Remove variable.
10166 (x): Likewise.
10167 (FAIL): Remove macro.
10168 (NO_INLINE): Likewise.
10169 (fn1): Use match function instead of strstr.
10170 * debug/tst-backtrace3.c: Include tst-backtrace.h.
10171 (ret): Remove variable.
10172 (x): Likewise.
10173 (FAIL): Remove macro.
10174 (NO_INLINE): Likewise.
10175 (fn): Use match function instead of strstr.
10176 * debug/tst-backtrace4.c: Include tst-backtrace.h.
10177 (ret): Remove variable.
10178 (x): Likewise.
10179 (FAIL): Remove macro.
10180 (NO_INLINE): Likewise.
10181 (handle_signal): Use match function instead of strstr.
10182 * debug/tst-backtrace5.c: Include tst-backtrace.h.
10183 (ret): Remove variable.
10184 (x): Likewise.
10185 (FAIL): Remove macro.
10186 (NO_INLINE): Likewise.
10187 (handle_signal): Use match function instead of strstr.
10188
4858fa2a
RM
101892013-01-23 Roland McGrath <roland@hack.frob.com>
10190
10191 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
10192
bae8e7f5
DM
101932013-01-23 David S. Miller <davem@davemloft.net>
10194
10195 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
10196 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
10197 argument of CAS if possible.
10198 * sysdeps/sparc/sparc64/bits/atomic.h
10199 (__arch_compare_and_exchange_val_32_acq): Likewise.
10200 (__arch_compare_and_exchange_val_64_acq): Likewise.
10201
9cbbc4ae
PT
102022013-01-23 Pino Toscano <toscano.pino@tiscali.it>
10203
10204 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
10205 * sysdeps/posix/ulimit.c: ... this.
92a601b8 10206 Include <limits.h>.
67b3f58c 10207 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 10208
5655a0b5
AC
102092013-01-23 Adam Conrad <adconrad@0c3.net>
10210
10211 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
10212 (LDFLAGS-tst-array5): Likewise.
10213
052aff95
JM
102142013-01-23 Joseph Myers <joseph@codesourcery.com>
10215
10216 [BZ #15036]
10217 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
10218 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
10219 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
10220 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
10221
7c1e01aa
DM
102222013-01-21 David S. Miller <davem@davemloft.net>
10223
10224 * sysdeps/sparc/backtrace.c: New file.
10225 * sysdeps/sparc/sparc32/backtrace.h: New file.
10226 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
10227 * sysdeps/sparc/sparc64/backtrace.h: New file.
10228 * sysdeps/sparc/sparc64/backtrace.c: Delete.
10229 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
10230 -funwind-tables.
10231
ab087e0a
AS
102322013-01-21 Andreas Schwab <schwab@suse.de>
10233
10234 [BZ #15020]
10235 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
10236 closed its stdout.
10237
ed689c2f
AS
102382013-01-20 Andreas Schwab <schwab@linux-m68k.org>
10239
10240 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
10241 "mpa2.h".
10242 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10243
31d470ac
JM
102442013-01-18 Joseph Myers <joseph@codesourcery.com>
10245 Mark Mitchell <mark@codesourcery.com>
10246 Tom de Vries <tom@codesourcery.com>
10247 Paul Pluzhnikov <ppluzhnikov@google.com>
10248
10249 * debug/tst-backtrace2.c: New file.
10250 * debug/tst-backtrace3.c: Likewise.
10251 * debug/tst-backtrace4.c: Likewise.
10252 * debug/tst-backtrace5.c: Likewise.
10253 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
10254 (CFLAGS-tst-backtrace3.c): Likewise.
10255 (CFLAGS-tst-backtrace4.c): Likewise.
10256 (CFLAGS-tst-backtrace5.c): Likewise.
10257 (LDFLAGS-tst-backtrace2): Likewise.
10258 (LDFLAGS-tst-backtrace3): Likewise.
10259 (LDFLAGS-tst-backtrace4): Likewise.
10260 (LDFLAGS-tst-backtrace5): Likewise.
10261 (tests): Add new tests tst-backtrace2, tst-backtrace3,
10262 tst-backtrace4 and tst-backtrace5.
10263
90567f30 102642013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
10265 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
10266
10267 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
10268 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
10269 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
10270 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
10271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
10272 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
10273 "+r" and remove output regs list as redundant. Add explicit inline
10274 asm to specify register of return val to work around compiler codegen
10275 bug. Remove (int) cast on return value. Add return type parameter to
10276 use in macro so that this macro does not truncate return value for
10277 64-bit values.
10278 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
10279 pass to INTERNAL_VSYSCALL_NCS.
10280 (INLINE_VSYSCALL): Add 'long int' as return type to
10281 INTERNAL_VSYSCALL_NCS macro invocation.
10282 (INTERNAL_VSYSCALL): Add 'long int' as return type to
10283 INTERNAL_VSYSCALL_NCS macro invocation.
10284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10285
d3b9ea61
SP
102862013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10287
0b57daeb
SP
10288 [BZ #14496]
10289 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
10290 Fix application of SIMD FP exception mask.
10291
caa99d06
SP
10292 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
10293 mp_no from a power of two.
10294 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
10295 __mpexp_twomm1. Use __pow_mp.
10296
d3b9ea61
SP
10297 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
10298 multiplication.
10299
1dbaee3c
DM
103002013-01-17 David S. Miller <davem@davemloft.net>
10301
10302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10303
728d7b43
JM
103042013-01-17 Joseph Myers <joseph@codesourcery.com>
10305
10306 [BZ #15023]
10307 * include/complex.h: Condition contents on [!_COMPLEX_H].
10308 (__kernel_casinhf): New prototype.
10309 (__kernel_casinh): Likewise.
10310 (__kernel_casinhl): Likewise.
10311 * math/Makefile (libm_calls): Add k_casinh.
10312 * math/k_casinh.c: New file.
10313 * math/k_casinhf.c: Likewise.
10314 * math/k_casinhl.c: Likewise.
10315 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
10316 finite nonzero arguments.
10317 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
10318 finite nonzero arguments.
10319 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
10320 finite nonzero arguments.
10321 * math/s_casinh.c: Do not include <float.h>.
10322 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
10323 * math/s_casinhf.c: Do not include <float.h>.
10324 (__casinhf): Move code for finite nonzero arguments to
10325 k_casinhf.c.
10326 * math/s_casinhl.c: Do not include <float.h>.
10327 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
10328 redefine.
10329 (__casinhl): Move code for finite nonzero arguments to
10330 k_casinhl.c.
10331 * math/libm-test.inc (cacos_test): Add more tests.
10332 * sysdeps/i386/fpu/libm-test-ulps: Update.
10333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10334
2a26ef3a
PT
103352013-01-17 Pino Toscano <toscano.pino@tiscali.it>
10336
10337 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
10338 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
10339 [!HAVE_MREMAP]: Remove [defined linux] case.
10340 * malloc/arena.c: Do not include <malloc-sysdep.h>.
10341
a897655d
SP
103422013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
10343
10344 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
10345
881ebe89 103462013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
10347
10348 * elf/elf.h (R_386_SIZE32): New relocation.
10349 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
10350 R_386_SIZE32.
10351 (elf_machine_rela): Likewise.
10352 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
10353 R_X86_64_SIZE64 and R_X86_64_SIZE32.
10354
59981e9b
JM
103552013-01-17 Joseph Myers <joseph@codesourcery.com>
10356
10357 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
10358 (FP_FAST_FMA): Do not define.
10359 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
10360 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
10361 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
10362 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
10363 !_SOFT_FLOAT]: Likewise.
10364 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
10365 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
10366 value.
10367 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
10368 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
10369 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
10370 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
10371 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
10372 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
10373 file.
10374
cfa8054f
AS
103752013-01-16 Andreas Schwab <schwab@suse.de>
10376
10377 [BZ #14327]
10378 * include/stdlib.h (__mktemp): Add declaration.
10379 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
10380 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
10381
dd930cc5
SP
103822013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
10383
881ebe89
SP
10384 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
10385 definitions.
10386 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
10387 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
10388 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
10389 definitions here.
10390 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
10391 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
10392 definitions.
10393 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
10394 and ONE.
10395 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
10396 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
10397 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
10398 definitions.
10399 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
10400 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
10401 definitions.
10402 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 10403
dd930cc5
SP
10404 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
10405
c19a9f89
DM
104062013-01-15 David S. Miller <davem@davemloft.net>
10407
1aa61767
DM
10408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10409 trunc{,f} to libm-sysdep_routes.
10410 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
10412 file.
10413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
10414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
10415 file.
10416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
10417 file.
10418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
10419 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
10420 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
10421 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
10422 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
10423 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
10424 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
10425 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
10426
c42d5e98
DM
10427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10428 nearbyint{,f} to libm-sysdep_routes.
10429 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
10431 New file.
10432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
10433 file.
10434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
10435 New file.
10436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
10437 file.
10438 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
10439 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
10440 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
10441 file.
10442 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
10443 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
10444 file.
10445 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
10446 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
10447 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
10448
c19a9f89
DM
10449 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
10450 libc_feholdexcept and libc_fesetenv.
10451
357679d2
MF
104522013-01-15 Mike Frysinger <vapier@gentoo.org>
10453
10454 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
10455
65a82e3d
DM
104562013-01-14 David S. Miller <davem@davemloft.net>
10457
8b954ab9
DM
10458 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
10459 (SPARC_ASM_VIS2_IFUNC): Likewise.
10460 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
10461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
10462 use of 'siam' instruction.
10463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
10464 Likewise.
10465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
10466 Likewise.
10467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
10468 Likewise.
10469 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
10470 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
10471 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
10472 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
10473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
10474 file.
10475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
10476 file.
10477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
10478 file.
10479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
10480 file.
10481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
10482 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
10483 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
10484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
10485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
10486 new VIS2 routines.
10487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
10488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
10489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
10490 Likewise.
10491 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
10492 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
10493 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
10494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
10495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
10496 routines to libm-sysdep_routines.
10497 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
10498
65a82e3d
DM
10499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
10500 fdim/fdimf to libm-sysdep_routines.
10501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
10502 file.
10503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
10504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
10505 file.
10506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
10507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
10508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
10509 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
10510 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
10511 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
10512 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
10513
e34ab705
SP
105142013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10515
2a91b573
SP
10516 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
10517 to optimize copies.
10518
1066a534
SP
10519 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
10520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10522
e34ab705
SP
10523 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
10524 local variable MPTWO.
10525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10526 Likewise.
10527
aba5e596
MF
105282013-01-13 Mike Frysinger <vapier@gentoo.org>
10529
10530 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
10531 GLOB_NOESCAPE.
10532
e557e9e5
MF
105332013-01-13 Mike Frysinger <vapier@gentoo.org>
10534
10535 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
10536
0428cec9
MF
105372013-01-13 Mike Frysinger <vapier@gentoo.org>
10538
10539 * manual/pattern.texi (glob_t): Document gl_flags.
10540 (glob64_t): Likewise.
10541
8794a964
DM
105422013-01-11 David S. Miller <davem@davemloft.net>
10543
66438c3f
RM
10544 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
10545 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
10546 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
10547 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
10548 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
10549 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
10550 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
10551 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
10552 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
10553 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
10554 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
10555 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
10556 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
10557
4ae4244d
DM
10558 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10559 sparc V9 rather than using V8 code.
10560 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10561 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10562
8794a964
DM
10563 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
10564 Move to...
10565 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
10566 Here.
10567
6270516e
RM
105682013-01-11 Roland McGrath <roland@hack.frob.com>
10569
10570 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
10571 not in the main loop.
10572 * configure: Regenerated.
10573
6a57d931
JM
105742013-01-11 Joseph Myers <joseph@codesourcery.com>
10575
10576 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
10577 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
10578 to just #else.
10579 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
10580 [!__GLIBC_HAVE_LONG_LONG] case.
10581 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
10582 condition to just #else.
10583 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
10584 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
10585 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
10586 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
10587 unconditional.
10588 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
10589 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10590 #elif condition to just #else.
10591 * sysdeps/unix/sysv/linux/sys/sysmacros.h
10592 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
10593 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
10594 #elif condition to just #else.
10595
0e8529e9
SE
105962013-01-11 Steve Ellcey <sellcey@mips.com>
10597
10598 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
10599 (EF_MIPS_ARCH_64): Fix value.
10600 (EF_MIPS_ARCH_32R2): New.
10601 (EF_MIPS_ARCH_64R2): New.
10602
740b3dbe
L
106032013-01-11 H.J. Lu <hongjiu.lu@intel.com>
10604
10605 * Makeconfig (+link-pie-before-libc): New.
10606 (+link-pie-after-libc): Likewise.
10607 (+link-pie-tests): Likewise.
10608 (+link-pie): Rewritten.
10609 (link-before-libc): Remove $(config-LDFLAGS).
10610 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
10611 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
10612 (config-LDFLAGS): Renamed to ...
10613 (rtld-LDFLAGS): This.
10614 (rtld-tests-LDFLAGS): New macro.
10615 (link-libc-rpath-link): Likewise.
10616 (link-libc-tests-rpath-link): Likewise.
10617 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
10618 (link-libc): Prepand $(link-libc-rpath-link).
10619 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
10620 (test-program-prefix): New macro.
10621 (test-via-rtld-prefix): Likewise.
10622 (test-program-cmd): Likewise.
10623 (host-test-program-cmd): Likewise.
10624 * Makefile ($(common-objpfx)testrun.sh): Replace
10625 $(run-program-prefix) with $(test-program-prefix).
10626 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
10627 $(rtld-LDFLAGS).
10628 ($(common-objpfx)shlib.lds): Likewise.
10629 (build-module-helper): Likewise.
10630 ($(common-objpfx)format.lds): Likewise.
10631 * Rules (binaries-pie-tests): New.
10632 (binaries-pie-notests): Likewise.
10633 (binaries-pie): Rewritten.
10634 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
10635 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
10636 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
10637 (make-test-out): Replace $(host-built-program-cmd) with
10638 $(host-test-program-cmd).
10639 * config.make.in (build-hardcoded-path-in-tests): New variable.
10640 * configure.in (--enable-hardcoded-path-in-tests): New configure
10641 option.
10642 (hardcoded_path_in_tests): New AC_SUBST.
10643 * configure: Regenerated.
10644 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
10645 $(built-program-cmd) with $(test-program-cmd).
10646 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
10647 (test_program_cmd): This.
10648 * elf/Makefile ($(objpfx)order.out): Run test with
10649 $(test-program-prefix).
10650 ($(objpfx)order2.out): Likewise.
10651 ($(objpfx)tst-initorder.out): Likewise.
10652 ($(objpfx)tst-initorder2.out): Likewise.
10653 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
10654 $(test-program-cmd).
10655 ($(objpfx)tst-array1-static.out): Likewise.
10656 ($(objpfx)tst-array2.out): Likewise.
10657 ($(objpfx)tst-array3.out): Likewise.
10658 ($(objpfx)tst-array4.out): Likewise.
10659 ($(objpfx)tst-array5.out): Likewise.
10660 ($(objpfx)tst-array5-static.out): Likewise.
10661 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
10662 $(test-program-cmd).
10663 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
10664 $(run-program-prefix) with $(test-program-prefix).
10665 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
10666 (test_program_prefix): This.
10667 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
10668 $(run-program-prefix) with $(test-program-prefix).
10669 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
10670 (test_program_prefix): This.
10671 * iconvdata/tst-tables.sh: Likewise.
10672 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
10673 $(run-program-prefix) with $(test-program-prefix).
10674 ($(objpfx)tst-translit.out): Likewise.
10675 ($(objpfx)tst-gettext2.out): Likewise.
10676 ($(objpfx)tst-gettext4.out): Likewise.
10677 ($(objpfx)tst-gettext6.out): Likewise.
10678 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
10679 (test_program_prefix): This.
10680 * intl/tst-gettext2.sh: Likewise.
10681 * intl/tst-gettext4.sh Likewise.
10682 * intl/tst-gettext6.sh: Likewise.
10683 * intl/tst-translit.sh: Likewise.
10684 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
10685 with $(test-program-cmd).
10686 * libio/Makefile ($(objpfx)test-freopen.out): Replace
10687 $(run-program-prefix) with $(test-program-prefix).
10688 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
10689 (test_program_prefix): This.
10690 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
10691 $(run-program-prefix) with $(test-program-prefix).
10692 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
10693 (test_program_prefix): This.
10694 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
10695 * posix/Makefile ($(objpfx)globtest.out): Replace
10696 $(run-via-rtld-prefix) and $(test-wrapper) with
10697 $(test-program-prefix) and $(test-via-rtld-prefix).
10698 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
10699 $(test-program-prefix).
10700 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
10701 $(host-test-program-cmd).
10702 (tst-spawn-ARGS): Likewise.
10703 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
10704 $(test-program-prefix).
10705 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
10706 (test_via_rtld_prefix): This.
10707 (test_wrapper): Renamed to ...
10708 (test_program_prefix): This.
10709 (run_program_prefix): Replaced by test_program_prefix.
10710 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
10711 (test_program_prefix): This.
10712 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
10713 with $(host-test-program-cmd).
10714 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
10715 $(run-program-prefix) with $(test-program-prefix).
10716 ($(objpfx)tst-printf.out): Likewise.
10717 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
10718 $(test-program-cmd).
10719 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
10720 (test_program_prefix): This.
10721 * stdio-common/tst-unbputc.sh: Likewise.
10722 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
10723 $(run-program-prefix) with $(test-program-prefix).
10724 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
10725 (test_program_prefix): This.
10726 * string/Makefile ($(objpfx)tst-svc.out): Replace
10727 $(built-program-cmd) with $(test-program-cmd).
10728
c6fe55cf
AJ
107292013-01-11 Andreas Jaeger <aj@suse.de>
10730
10731 [BZ #15003]
10732 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
10733 value. Sync with Linux 3.7.
10734
9e6919c8
DM
107352013-01-10 David S. Miller <davem@davemloft.net>
10736
10737 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
10738 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10739 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10740
1c9f1a02
RM
107412013-01-10 Roland McGrath <roland@hack.frob.com>
10742
10743 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
10744 never set.
10745 * configure: Regenerated.
10746
b9de2dde
DM
107472013-01-10 David S. Miller <davem@davemloft.net>
10748
10749 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
10750 sparc V9 rather than using V8 code.
10751 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
10752 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
10753
e7f68ef4
RM
107542013-01-10 Roland McGrath <roland@hack.frob.com>
10755
10756 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
10757 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
10758 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
10759 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
10760 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
10761 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
10762 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
10763 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
10764 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
10765 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
10766 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
10767 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
10768 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
10769 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
10770 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
10771 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
10772 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
10773 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
10774 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
10775 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
10776 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
10777 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
10778 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
10779 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
10780 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
10781 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
10782 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
10783
5a47cc9c
DM
107842013-01-10 David S. Miller <davem@davemloft.net>
10785
10786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10787
4cf8f209
L
107882013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10789
10790 * posix/Makefile (tests-static): New variable.
10791 (tests): Add $(tests-static).
10792 (tst-exec-static-ARGS): New variable.
10793 (tst-spawn-static-ARGS): Likewise.
10794 * posix/tst-exec-static.c: New file.
10795 * posix/tst-spawn-static.c: Likewise.
10796 * posix/tst-exec.c: Support run directly.
10797 * posix/tst-spawn.c: Likewise.
10798
fed0faa1
JM
107992013-01-10 Joseph Myers <joseph@codesourcery.com>
10800
828beb13
JM
10801 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
10802 long.
10803 * math/bits/mathcalls.h (llrint): Likewise.
10804 (llround): Likewise.
10805 * stdlib/stdlib.h (struct drand48_data): Likewise.
10806 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
10807 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
10808 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
10809 Likewise.
10810 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
10811 Likewise.
10812 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
10813 (elf_greg_t): Likewise.
10814 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
10815 (__jmp_buf): Likewise.
10816 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
10817 definitions.
10818 (llrint): Likewise, for all definitions.
10819 (llrintl): Likewise.
10820
fed0faa1
JM
10821 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
10822 Remove [__GNUC__] condition.
10823 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
10824 condition to just [__USE_ISOC99].
10825 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
10826
1a20cb20
L
108272013-01-10 H.J. Lu <hongjiu.lu@intel.com>
10828
10829 [BZ #14200]
10830 * sysdeps/unix/sysv/linux/x86/bits/environments.h
10831 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
10832 defined.
10833 (_POSIX_V6_ILP32_OFF32): Likewise.
10834 (_XBS5_ILP32_OFF32): Likewise.
10835 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
10836 (__ILP32_OFFBIG_LDFLAGS): Likewise.
10837
751b85f7
SP
108382013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
10839
7490eb81
SP
10840 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
10841
751b85f7
SP
10842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
10843 doubles __mpexp_twomm1. Adjust usage.
10844 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
10845 Remove.
10846
988197f0
AS
108472013-01-10 Andreas Schwab <schwab@suse.de>
10848
10849 [BZ #14964]
10850 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
10851 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
10852
e83d7298
DM
108532013-01-09 David S. Miller <davem@davemloft.net>
10854
034ed64b 10855 [BZ #15003]
e83d7298
DM
10856 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
10857 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
10858 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
10859 TCP_FASTOPEN): Define.
10860 (tcp_repair_opt): New structure.
10861 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
10862 enum values.
10863 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
10864 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
10865 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
10866 (tcp_cookie_transactions): New structure.
10867
d5e0b9bd
AB
108682013-01-09 Anton Blanchard <anton@samba.org>
10869
10870 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
10871 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
10872 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
10873 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
10874
0c07e3ea
JM
108752013-01-09 Joseph Myers <joseph@codesourcery.com>
10876
10877 * include/features.h (__USE_ANSI): Remove.
10878
232f7002
RM
108792013-01-09 Roland McGrath <roland@hack.frob.com>
10880
ad98e30c
RM
10881 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
10882
232f7002
RM
10883 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
10884
950c99ca
SP
108852013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
10886
b5792741
SP
10887 * sysdeps/s390/fpu/libm-test-ulps: Update.
10888
47cf2278
SP
10889 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10890
950c99ca
SP
10891 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
10892 (__acr): Likewise.
10893 (__cpy): Likewise.
10894 (norm): Likewise.
10895 (denorm): Likewise.
10896 (__mp_dbl): Likewise.
10897 (__dbl_mp): Likewise.
10898 (add_magnitudes): Likewise.
10899 (sub_magnitudes): Likewise.
10900 (__add): Likewise.
10901 (__sub): Likewise.
10902 (__mul): Likewise.
10903 (__inv): Likewise.
10904 (__dvd): Likewise.
10905 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
10906 (__acr): Likewise.
10907 (__cpy): Likewise.
10908 (norm): Likewise.
10909 (denorm): Likewise.
10910 (__mp_dbl): Likewise.
10911 (__dbl_mp): Likewise.
10912 (add_magnitudes): Likewise.
10913 (sub_magnitudes): Likewise.
10914 (__add): Likewise.
10915 (__sub): Likewise.
10916 (__mul): Likewise.
10917 (__inv): Likewise.
10918 (__dvd): Likewise.
10919 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
10920 (__acr): Likewise.
10921 (__cpy): Likewise.
10922 (norm): Likewise.
10923 (denorm): Likewise.
10924 (__mp_dbl): Likewise.
10925 (__dbl_mp): Likewise.
10926 (add_magnitudes): Likewise.
10927 (sub_magnitudes): Likewise.
10928 (__add): Likewise.
10929 (__sub): Likewise.
10930 (__mul): Likewise.
10931 (__inv): Likewise.
10932 (__dvd): Likewise.
10933
eede9df9
JM
109342013-01-08 Joseph Myers <joseph@codesourcery.com>
10935
10936 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
10937 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
10938 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
10939 2 && __USE_EXTERN_INLINES]: Likewise.
10940
c40ea3d9
AJ
109412013-01-08 Andreas Jaeger <aj@suse.de>
10942
10943 [BZ# 14985]
10944 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
10945 Remove.
10946 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10947 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
10948
2ccdea26
AB
109492013-01-07 Anton Blanchard <anton@samba.org>
10950
10951 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
10952 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
10953 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
10954 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
10955 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
10957 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
10958 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
10959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
10960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
10961 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10962 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10963 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
10964 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10965 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
10966 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10967 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10968 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10969 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10971 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10972 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
10973 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
10974 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
10975 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
10976 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10977 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10978 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
10979 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
10980 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
10981 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10983 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
10984 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
10985 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10986 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
10987 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10988 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
10989 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
10990 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10991 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
10992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10993 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
10994
a9708fed
JM
109952013-01-07 Joseph Myers <joseph@codesourcery.com>
10996
375607b9
JM
10997 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
10998 (__MALLOC_PMT): Likewise.
10999 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
11000 [__GNUC__], only on [_LIBC].
11001 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11002 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
11003 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
11004 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
11005 forward declaration.
11006 (realloc_hook_ini): Likewise.
11007 (memalign_hook_ini): Likewise.
11008 (__libc_memalign): Do not use __MALLOC_PMT in variable
11009 declaration.
11010 (__libc_valloc): Likewise.
11011 (__libc_pvalloc): Likewise.
11012 (__libc_calloc): Likewise.
11013 (__posix_memalign): Likewise.
11014
a9708fed
JM
11015 [BZ #14996]
11016 * math/s_casinh.c: Include <float.h>.
11017 (__casinh): Do not do computation with squaring and square root
11018 for large arguments.
11019 * math/s_casinhf.c: Include <float.h>.
11020 (__casinhf): Do not do computation with squaring and square root
11021 for large arguments.
11022 * math/s_casinhl.c: Include <float.h>.
11023 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
11024 (__casinhl): Do not do computation with squaring and square root
11025 for large arguments.
11026 * math/libm-test.inc (casin_test): Add more tests.
11027 (casinh_test): Likewise.
11028 * sysdeps/i386/fpu/libm-test-ulps: Update.
11029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11030
afec409a
L
110312013-01-04 H.J. Lu <hongjiu.lu@intel.com>
11032
11033 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
11034 (__x86_64_raw_data_cache_size): Likewise.
11035 (__x86_64_data_cache_size_half): Likewise.
11036 (__x86_64_raw_data_cache_size_half): Likewise.
11037 (__x86_64_shared_cache_size): Likewise.
11038 (__x86_64_raw_shared_cache_size): Likewise.
11039 (__x86_64_shared_cache_size_half): Likewise.
11040 (__x86_64_raw_shared_cache_size_half): Likewise.
11041 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
11042 to ...
11043 (__x86_data_cache_size): This.
11044 (__x86_64_raw_data_cache_size): Renamed to ...
11045 (__x86_raw_data_cache_size): This.
11046 (__x86_64_data_cache_size_half): Renamed to ...
11047 (__x86_data_cache_size_half): This.
11048 (__x86_64_raw_data_cache_size_half): Renamed to ...
11049 (__x86_raw_data_cache_size_half): This.
11050 (__x86_64_shared_cache_size): Renamed to ...
11051 (__x86_shared_cache_size): This.
11052 (__x86_64_raw_shared_cache_size): Renamed to ...
11053 (__x86_raw_shared_cache_size): This.
11054 (__x86_64_shared_cache_size_half): Renamed to ...
11055 (__x86_shared_cache_size_half): This.
11056 (__x86_64_raw_shared_cache_size_half): Renamed to ...
11057 (__x86_raw_shared_cache_size_half): This.
11058 * sysdeps/x86_64/memcpy.S: Updated.
11059 * sysdeps/x86_64/memset.S: Likewise.
11060 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
11061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11062 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11063
0b3986d0
DM
110642013-01-04 David S. Miller <davem@davemloft.net>
11065
11066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11067
e47686e9
AS
110682013-01-04 Andreas Schwab <schwab@linux-m68k.org>
11069
d643bac1
AS
11070 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
11071 1 to avoid redefinition warning.
11072 (__USE_GNU): Don't define.
11073 (init_signaling_nan): Protoize.
11074
e47686e9
AS
11075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11076
b18decba
SP
110772013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11078
fffb407f
SP
11079 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
11080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
11081 (__cpymn): Likewise.
11082 (norm): Remove commented code.
11083 (denorm): Likewise.
11084 (__mp_dbl): Likewise.
11085 (__inv): Likewise.
11086 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
11087 (__cpymn): Likewise.
11088 (norm): Remove commented code.
11089 (denorm): Likewise.
11090 (__mp_dbl): Likewise.
11091 (__inv): Likewise.
11092
b18decba
SP
11093 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
11094 mp_no value for 1.0 and 2.0.
11095 (norm): Use RADIXI instead of radixi.d.
11096 (denorm): Likewise.
11097 (__mul): Use 0.0 instead of zero.d.
11098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
11099 mp_no value for 1.0 and 2.0.
11100 (norm): Use RADIXI instead of radixi.d.
11101 (denorm): Likewise.
11102 (__mul): Use 0.0 instead of zero.d.
11103
cdc1c96f
JM
111042013-01-04 Joseph Myers <joseph@codesourcery.com>
11105
11106 [BZ #14994]
11107 * math/s_casinh.c (__casinh): Reduce finite argument to first
11108 quadrant then set signs of results at the end.
11109 * math/s_casinhf.c (__casinhf): Likewise.
11110 * math/s_casinhl.c (__casinhl): Likewise.
11111 * math/libm-test.inc (casin_test): Add more tests.
11112 (casinh_test): Likewise.
11113 * sysdeps/i386/fpu/libm-test-ulps: Update.
11114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11115
302913e1
SP
111162013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11117
6420d207
SP
11118 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
11119
a9e48ab4
SP
11120 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
11121
b7837264
SP
11122 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
11123 declarations.
11124 (denorm): Likewise.
11125 (__mp_dbl): Likewise.
11126 (__inv): Likewise.
11127
f8af25d2
SP
11128 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
11129 and adjust the header comment.
11130
302913e1
SP
11131 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
11132 variable name from declaration.
11133
5d7dd1ca
L
111342013-01-03 H.J. Lu <hongjiu.lu@intel.com>
11135
11136 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11137 Initialize COMMON_CPUID_INDEX_7 element.
11138 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
11139 (CPUID_RTM): Likewise.
11140 (HAS_RTM): Likewise.
11141 (COMMON_CPUID_INDEX_7): New enum.
11142
2f5f40f4
AS
111432013-01-03 Andreas Schwab <schwab@linux-m68k.org>
11144
11145 [BZ #14981]
11146 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
11147 size is zero, record memory as freed.
11148
4056f4a0
AJ
111492013-01-03 Andreas Jaeger <aj@suse.de>
11150
11151 * po/ia.po: Add new Interlingua translation.
11152
ab15736f 111532012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
11154
11155 * locale/programs/localedef.c: Fix description of '--posix' flag.
11156
568035b7
JM
111572013-01-02 Joseph Myers <joseph@codesourcery.com>
11158
e6898b8d
JM
11159 * NEWS: Update dates in second copyright notice.
11160 * README: Update copyright dates in example.
11161 * manual/libc.texinfo: Update copyright dates.
11162 * scripts/test-installation.pl: Update copyright date in --version
11163 output.
11164
0e2f9562
JM
11165 * hurd/ctty-input.c: Fix copyright notice formatting.
11166 * hurd/ctty-output.c: Likewise.
11167 * hurd/dtable.c: Likewise.
11168 * hurd/hurd-raise.c: Likewise.
11169 * hurd/hurdprio.c: Likewise.
11170 * hurd/msgportdemux.c: Likewise.
11171 * misc/sys/file.h: Likewise.
11172 * misc/sys/ioctl.h: Likewise.
11173 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11174 * sysdeps/mach/hurd/chdir.c: Likewise.
11175 * sysdeps/mach/hurd/fchdir.c: Likewise.
11176 * sysdeps/mach/hurd/rename.c: Likewise.
11177 * sysdeps/mach/hurd/rmdir.c: Likewise.
11178 * sysdeps/mach/hurd/seekdir.c: Likewise.
11179 * sysdeps/mach/hurd/setsid.c: Likewise.
11180 * sysdeps/posix/wait3.c: Likewise.
11181
568035b7
JM
11182 * All files with FSF copyright notices: Update copyright dates
11183 using scripts/update-copyrights.
11184 * intl/plural.c: Regenerated.
11185 * locale/programs/charmap-kw.h: Likewise.
11186 * locale/programs/locfile-kw.h: Likewise.
11187
da08f647
SP
111882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11189
0f5477af
SP
11190 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
11191 four values.
11192
44e0d4c2
SP
11193 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
11194 calculation loop and add branch prediction.
11195
4d55b4e5
SP
11196 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
11197 check access beyond bounds of m1np.
11198
da08f647
SP
11199 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11200 MPTWO.
11201 (__inv): Remove local variable MPTWO to use the global
11202 constant.
11203 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
11204 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11205 variable MPTWO.
11206 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
11207 MP3HALFS static const.
11208
8e051029
DM
112092013-01-01 David S. Miller <davem@davemloft.net>
11210
11211 * po/ca.po: Update from translation team.
11212
f4cf5f2d
JM
112132013-01-01 Joseph Myers <joseph@codesourcery.com>
11214
11215 * scripts/update-copyrights: New file.
11216 * Makeconfig: Reformat copyright notice.
11217 * ctype/ctype.h: Likewise.
11218 * debug/swprintf_chk.c: Likewise.
11219 * elf/dl-cache.c: Likewise.
11220 * elf/dl-debug.c: Likewise.
11221 * elf/dl-object.c: Likewise.
11222 * grp/initgroups.c: Likewise.
11223 * hurd/Makefile: Likewise.
11224 * hurd/hurd/signal.h: Likewise.
11225 * hurd/hurdfault.c: Likewise.
11226 * hurd/hurdioctl.c: Likewise.
11227 * hurd/hurdlookup.c: Likewise.
11228 * hurd/intr-msg.c: Likewise.
11229 * iconv/gconv_open.c: Likewise.
11230 * libio/swprintf.c: Likewise.
11231 * locale/lc-ctype.c: Likewise.
11232 * locale/nl_langinfo.c: Likewise.
11233 * mach/Machrules: Likewise.
11234 * mach/Makefile: Likewise.
11235 * malloc/obstack.h: Likewise.
11236 * manual/Makefile: Likewise.
11237 * manual/tsort.awk: Likewise.
11238 * misc/bits/stab.def: Likewise.
11239 * nis/nis_print_group_entry.c: Likewise.
11240 * nis/nis_table.c: Likewise.
11241 * nis/nss_compat/compat-pwd.c: Likewise.
11242 * nis/nss_compat/compat-spwd.c: Likewise.
11243 * po/Makefile: Likewise.
11244 * posix/fnmatch.c: Likewise.
11245 * posix/regex.h: Likewise.
11246 * resolv/Makefile: Likewise.
11247 * resolv/nss_dns/dns-network.c: Likewise.
11248 * resolv/res_hconf.c: Likewise.
11249 * scripts/gen-sorted.awk: Likewise.
11250 * soft-fp/soft-fp.h: Likewise.
11251 * stdio-common/printf.h: Likewise.
11252 * stdlib/monetary.h: Likewise.
11253 * stdlib/random.c: Likewise.
11254 * stdlib/random_r.c: Likewise.
11255 * sysdeps/generic/Makefile: Likewise.
11256 * sysdeps/gnu/Makefile: Likewise.
11257 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11258 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11259 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11260 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11261 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11262 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11263 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11264 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
11265 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11266 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11267 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11268 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11269 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11270 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11271 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
11272 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11273 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11274 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11275 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11277 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11278 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11279 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11280 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
11281 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
11282 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
11283 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11284 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
11285 * sysdeps/mach/hurd/errnos.awk: Likewise.
11286 * sysdeps/mach/hurd/fork.c: Likewise.
11287 * sysdeps/mach/hurd/getcwd.c: Likewise.
11288 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
11289 * sysdeps/mach/hurd/mmap.c: Likewise.
11290 * sysdeps/mach/hurd/utimes.c: Likewise.
11291 * sysdeps/mach/hurd/xmknod.c: Likewise.
11292 * sysdeps/posix/profil.c: Likewise.
11293 * sysdeps/posix/readdir_r.c: Likewise.
11294 * sysdeps/powerpc/bits/mathdef.h: Likewise.
11295 * sysdeps/powerpc/bits/setjmp.h: Likewise.
11296 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
11297 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
11298 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11299 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
11300 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
11301 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
11302 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11303 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
11304 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
11305 * sysdeps/pthread/lio_listio.c: Likewise.
11306 * sysdeps/sparc/dl-procinfo.h: Likewise.
11307 * sysdeps/unix/i386/sysdep.S: Likewise.
11308 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
11309 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
11310 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
11311 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
11312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11313 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
11314 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
11315 * sysdeps/unix/sysv/linux/speed.c: Likewise.
11316 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
11317 * sysdeps/wordsize-32/divdi3.c: Likewise.
11318 * time/sys/time.h: Likewise.
11319 * wcsmbs/Makefile: Likewise.
11320
0549fbba
DM
113212013-01-01 David S. Miller <davem@davemloft.net>
11322
a141f1a7
DM
11323 * po/fr.po: Update from translation team.
11324
0549fbba
DM
11325 * catgets/gencat.c: Update copyright year.
11326 * csu/version.c: Likewise.
11327 * debug/catchsegv.sh: Likewise.
11328 * debug/pcprofiledump.c: Likewise.
11329 * debug/xtrace.sh: Likewise.
11330 * elf/ldconfig.c: Likewise.
11331 * elf/ldd.bash.in: Likewise.
11332 * elf/pldd.c: Likewise.
11333 * elf/sotruss.ksh: Likewise.
11334 * elf/sprof.c: Likewise.
11335 * iconv/iconv_prog.c: Likewise.
11336 * iconv/iconvconfig.c: Likewise.
11337 * locale/programs/locale.c: Likewise.
11338 * locale/programs/localedef.c: Likewise.
11339 * login/programs/pt_chown.c: Likewise.
11340 * malloc/memusage.sh: Likewise.
11341 * malloc/memusagestat.c: Likewise.
11342 * malloc/mtrace.pl: Likewise.
11343 * nscd/nscd.c: Likewise.
11344 * nss/getent.c: Likewise.
11345 * nss/makedb.c: Likewise.
11346 * posix/getconf.c: Likewise.
11347
18ea052c
SP
113482012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
11349
11350 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
11351 numbers.
11352
9c89fca6
MF
113532012-12-30 Mike Frysinger <vapier@gentoo.org>
11354
11355 * math/bits/mathcalls.h (modf): Use __nonnull.
11356
085ec079
SP
113572012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
11358
11359 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
11360 (split): Use macro CN instead of the bare value.
11361 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
11362 could be used.
11363 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
11364 instead of the bare value.
11365 (power1): Likewise.
11366
6d9f97e1
SP
113672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11368
d63f73be
SP
11369 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
11370 __ATAN_TWOM.
11371 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11372
6d9f97e1
SP
11373 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
11374 their values.
11375 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11376 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
11377 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
11378 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11379
4c4febf5
AJ
113802012-12-28 Andreas Jaeger <aj@suse.de>
11381
af5843ef
AJ
11382 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
11383 values are from Linux 3.7.
11384
4c4febf5
AJ
11385 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
11386 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
11387
99136f82
SP
113882012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11389
2f216c3c 11390 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
11391 TRUE case.
11392
99136f82
SP
11393 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
11394 (norm): Likewise.
11395 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
11396 variables with preprocessor constants.
11397 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11398 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11399 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11400
7fffbdff
BH
114012012-12-27 Bruno Haible <bruno@clisp.org>
11402
11403 [BZ #14317]
11404 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
11405 only if needed.
11406
b76eb5f0
SP
114072012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11408
31a7fe5c
SP
11409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
11410 and use variable directly.
11411 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
11412
b76eb5f0
SP
11413 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
11414 MPONE.
11415 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
11416 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
11417 variable MPONE.
11418 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
11419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
11420 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
11421 include directive. Remove local variable MPONE.
11422 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
11423 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
11424 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11425
2c8bfe7d
DM
114262012-12-25 David S. Miller <davem@davemloft.net>
11427
11428 * version.h (RELEASE): Set to "development".
11429 (VERSION): Set to "2.17.90".
11430 * NEWS: Add 2.18 section.
11431
147d03b0
DM
114322012-12-21 David S. Miller <davem@davemloft.net>
11433
11434 * po/hr.po: Update from translation team.
11435
a8ebb2b9
AK
114362012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11437
11438 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
11439
95b4f1b6
SE
114402012-12-19 Steve Ellcey <sellcey@mips.com>
11441
b2d94007 11442 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 11443
cedb2a90
MS
114442012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
11445
11446 * manual/contrib.texi (Contributors): Spelling correction.
11447
bbf527d6
DM
114482012-12-15 David S. Miller <davem@davemloft.net>
11449
11450 * po/ru.po: Update from translation team.
11451
bc38c906
DM
114522012-12-13 David S. Miller <davem@davemloft.net>
11453
85429b1a
DM
11454 * NEWS: Mention IFUNC testsuite enhancements.
11455
d283e353
DM
11456 * po/pl.po: Update from translation team.
11457 * po/bg.po: Likewise.
11458
bc38c906
DM
11459 * manual/contrib.texi (Contributors): Update entries for Hongjiu
11460 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
11461
a181b0d7
DM
114622012-12-11 David S. Miller <davem@davemloft.net>
11463
4641d57e
DM
11464 * po/sv.po: Update from translation team.
11465
f7bc6495
DM
11466 * po/vi.po: Update from translation team.
11467
6fc9048f
DM
11468 * po/cs.po: Update from translation team.
11469
a181b0d7
DM
11470 * po/de.po: Update from translation team.
11471 * po/eo.po: Likewise.
11472 * po/nl.po: Likewise.
11473
f70bfe80
SP
114742012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11475
3c8b4190
SP
11476 [BZ #14246]
11477 * manual/argp.texi (Argp Helper Functions): Move node to follow
11478 Argp Parsing State.
11479
f70bfe80
SP
11480 [BZ #14872]
11481 * manual/conf.texi (Limits on File System Capacity): Mention if
11482 terminating null is included in the max size.
11483
188f0adf
AJ
114842012-12-10 Andreas Jaeger <aj@suse.de>
11485
11486 * po/cs.po: Update from translation team.
11487
56e7d3ad
SP
114882012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
11489
11490 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
11491 void pointer and cast to uintptr_t.
11492 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
11493 path.
11494 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11495 * sysdeps/s390/s390-64/memset.S: Likewise.
11496
76f2d2ea 114972012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
11498
11499 [BZ #14833]
11500 * menual/message.texi (Message Translation): Fix typos.
11501 (Helper programs for gettext): Likewise.
11502
67cbf9a2
AS
115032012-12-07 Andreas Schwab <schwab@linux-m68k.org>
11504
11505 [BZ #14898]
11506 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
11507 Change to -1.
11508
682d0e9a
DM
115092012-12-07 David S. Miller <davem@davemloft.net>
11510
11511 * po/libc.pot: Update.
11512
573cd484
RH
115132012-12-07 Richard Henderson <rth@redhat.com>
11514
7e9da188 11515 [BZ #10114]
573cd484
RH
11516 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
11517 normal/normal case to before the switch.
11518 (_FP_DIV): Likewise.
11519
e933a943
MF
115202012-12-06 Carlos O'Donell <carlos@systemhalted.org>
11521 Mike Frysinger <vapier@gentoo.org>
11522
11523 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
11524 check for __NR_fadvise64_64.
11525
82123268
CM
115262012-12-06 Chris Metcalf <cmetcalf@tilera.com>
11527
11528 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
11529 0, not just to plain "0" as a statement.
11530 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
11531 with cw.
11532
d9814526
JM
115332012-12-06 Joseph Myers <joseph@codesourcery.com>
11534
11535 * NEWS: Use sourceware.org in Bugzilla URL.
11536
7728c574
SP
115372012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
11538
f16946dd
SP
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11540 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11541
5704bbcb
SP
11542 * stdio-common/tst-put-error.c (do_test): Add newline to the
11543 padded test to ensure flush.
11544
17aa0516
JL
115452012-12-05 Jeff Law <law@redhat.com>
11546
11547 * sunrpc/etc.rpc (fedfs_admin): Add entry.
11548
363313b5
JM
115492012-12-05 Joseph Myers <joseph@codesourcery.com>
11550
effbd42a
JM
11551 * README: Don't refer to ports add-on as distributed separately.
11552 Mention AArch64 in list of systems supported in the ports add-on.
11553
87600365
JM
11554 * LICENSES: Add more non-FSF copyright and license notices.
11555
a0d7066a
JM
11556 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
11557 ((unused)).
11558
66ca5a5b
JM
11559 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
11560
363313b5
JM
11561 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
11562 10000 as width of padded output.
11563
b37984ad
JM
115642012-12-04 Joseph Myers <joseph@codesourcery.com>
11565
9003570a
JM
11566 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
11567
b37984ad
JM
11568 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
11569 variable LX with __attribute__ ((unused)).
11570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11571 Likewise.
11572 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11573 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11574 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
11575 with __attribute__ ((unused)).
11576
c8df52ec
DM
115772012-12-04 David S. Miller <davem@abraco.davemloft.net>
11578
11579 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
11580
b3b099af
JM
115812012-12-04 Joseph Myers <joseph@codesourcery.com>
11582
c33aa6e3
JM
11583 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
11584 (CFLAGS-nldbl-acos.c): New variable.
11585 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
11586 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
11587 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
11588 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
11589 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
11590 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
11591 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
11592 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
11593 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
11594 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
11595 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
11596 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
11597 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
11598 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
11599 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
11600 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
11601 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
11602 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
11603 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
11604 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
11605 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
11606 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
11607 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
11608 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
11609 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
11610 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
11611 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
11612 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
11613 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
11614 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
11615 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
11616 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
11617 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
11618 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
11619 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
11620 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
11621 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
11622 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
11623 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
11624 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
11625 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
11626 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
11627 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
11628 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
11629 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
11630 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
11631 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
11632 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
11633 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
11634 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
11635 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
11636 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
11637 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
11638 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
11639 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
11640 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
11641 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
11642 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
11643 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
11644 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
11645 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
11646 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
11647 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
11648 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
11649 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
11650 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
11651 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
11652 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
11653 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
11654 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
11655 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
11656 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
11657 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
11658 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
11659 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
11660 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
11661 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
11662 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
11663 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
11664 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
11665 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
11666 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
11667 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
11668 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
11669 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
11670 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
11671 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
11672 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
11673 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
11674 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
11675 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
11676 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
11677 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
11678 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
11679 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
11680 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
11681 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
11682
20f0018d
JM
11683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11684 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
11685
b3b099af
JM
11686 [BZ #14914]
11687 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
11688 whole low double instead of just low 47 bits when splitting values
11689 into two parts.
11690
029264d1
AM
116912012-12-03 Allan McRae <allan@archlinux.org>
11692
11693 * manual/stdio.texi (Predefined Printf Handlers): Remove
11694 @hsep and @vsep usage.
11695
c9d6789e
MF
116962012-12-03 Mike Frysinger <vapier@gentoo.org>
11697
11698 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
11699 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
11700
4b7634a5
JL
117012012-12-03 Jeff Law <law@redhat.com>
11702
11703 * time/sys/time.h (settimeofday): Do not mark TV argument
11704 as __nonnull.
11705
eb6cbd24
MF
117062012-12-01 Mike Frysinger <vapier@gentoo.org>
11707
11708 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
11709 when currently writing and seek to current position when not.
11710 * libio/Makefile (tests): Remove bug-fclose1.
11711 * libio/bug-fclose1.c: Delete.
11712
f638872a
JM
117132012-12-01 Joseph Myers <joseph@codesourcery.com>
11714
11715 * manual/arith.texi (feenableexcept): Fix typo.
11716 (fedisableexcept): Likewise.
11717
48085d14
RM
117182012-11-30 Roland McGrath <roland@hack.frob.com>
11719
11720 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
11721 second, differently-typed declaration, rather than a cast.
11722
1a538b9f
SP
117232012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11724
11725 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
11726 * include/rpc/svc.h: ... here.
11727
d07f2ff1 117282012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
11729
11730 [BZ #13013]
11731 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
11732 depending n and resplen2 to catch cases where answer
11733 equals answerp2.
11734
c93ec1f0
CD
117352012-11-29 Carlos O'Donell <carlos@systemhalted.org>
11736
11737 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
11738 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
11739
37db69de
MF
117402012-11-29 Mike Frysinger <vapier@gentoo.org>
11741
11742 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
11743
e10c4e4f
RM
117442012-11-29 Roland McGrath <roland@hack.frob.com>
11745
11746 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
11747
2af1b328
JL
117482012-11-28 Jeff Law <law@redhat.com>
11749
11750 [BZ #13761]
11751 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
11752 dataset_temporary. Track alloca usage into alloca_used.
11753 If dataset is large allocate and release it via malloc/free.
11754
111db5b1
FW
117552012-06-04 Florian Weimer <fweimer@redhat.com>
11756
f06cc227 11757 [BZ #14197]
111db5b1
FW
11758 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
11759
dd694abd
DM
117602012-11-28 David S. Miller <davem@davemloft.net>
11761
11762 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11763
9984dd01
JM
117642012-11-28 Joseph Myers <joseph@codesourcery.com>
11765
11766 [BZ #14803]
11767 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
11768 of pi/2 rounded to nearest to 64 bits.
11769 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
11770 nearest to 64 bits.
11771 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
11772 bits.
11773
14bc93a9
JL
117742012-11-28 Jeff Law <law@redhat.com>
11775 Martin Osvald <mosvald@redhat.com>
11776
11777 [BZ #14889]
11778 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
11779 * sunrpc/svc.c: Include time.h.
11780 (__svc_accept_failed): New function.
11781 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
11782 any reason other than EINTR, call __svc_accept_failed.
11783 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
11784 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
11785
e3c6aa3a
AS
117862012-11-28 Andreas Schwab <schwab@suse.de>
11787
11788 * scripts/abilist.awk: Also handle indirect functions in .opd
11789 section.
11790
1bead169
JM
117912012-11-28 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #13881]
11794 * sysdeps/x86/fpu/powl_helper.c: New file.
11795 * sysdeps/x86/fpu/Makefile: Likewise.
11796 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
11797 (p3): New object.
11798 (__ieee754_powl): Use __powl_helper for finite arguments except
11799 integer exponents below 8.
11800 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
11801 (p3): New object.
11802 (__ieee754_powl): Use __powl_helper for finite arguments except
11803 integer exponents below 8.
11804 * math/libm-test.inc (pow_test): Add more tests and enable some
11805 previously disabled tests.
11806 * sysdeps/i386/fpu/libm-test-ulps: Update.
11807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11808
0817d63d
SP
118092012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
11810 Carlos O'Donell <carlos_odonell@mentor.com>
11811
11812 * nss/makedb.c (is_prime): Assert that input is odd and greater
11813 than 4. Note that fact in a comment too.
11814 (next_prime): Add 4 to input.
11815
de2fd463
SP
118162012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11817
11818 [BZ #11741]
11819 * libio/Makefile (tests): Add test case tst-fwrite-error.
11820 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
11821 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
11822 * libio/tst-fwrite-error.c: New test case.
11823
c515fb51
L
118242012-11-26 H.J. Lu <hongjiu.lu@intel.com>
11825
11826 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
11827 before casting to void *.
11828 * include/libc-internal.h (__pointer_type): New macro.
11829 (__integer_if_pointer_type_sub): Likewise.
11830 (__integer_if_pointer_type): Likewise.
11831 (cast_to_integer): Likewise.
11832 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
11833 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
11834 before casting to atomic64_t.
11835 (atomic_exchange_acq): Likewise.
11836 (__arch_exchange_and_add_body): Likewise.
11837 (__arch_add_body): Likewise.
11838 (atomic_add_negative): Likewise.
11839 (atomic_add_zero): Likewise.
11840
4cf77aa9
JM
118412012-11-26 Joseph Myers <joseph@codesourcery.com>
11842
11843 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
11844 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
11845 (add_fdes): Likewise.
11846 (linear_search_fdes): Likewise.
11847 (binary_search_unencoded_fdes): Likewise.
11848
d260b3b4
AS
118492012-11-26 Andreas Schwab <schwab@linux-m68k.org>
11850
11851 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
11852
67060746
AC
118532012-11-24 Adam Conrad <adconrad@0c3.net>
11854
11855 * configure.in: Autodetect C++ header directories.
11856 * configure: Regenerated.
11857
800938a1
MF
118582012-11-23 Mike Frysinger <vapier@gentoo.org>
11859
11860 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
11861
4e6e34e6
AS
118622012-11-23 Andreas Schwab <schwab@linux-m68k.org>
11863
11864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11865
7c7feb47
JM
118662012-11-22 Joseph Myers <joseph@codesourcery.com>
11867
7184dcdf
JM
11868 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
11869 LDBL_MANT_DIG == 106]: Disable some tests.
11870 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11871 Likewise.
11872 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
11873 Likewise.
11874
0a42601f
JM
11875 [BZ #14871]
11876 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
11877 input for small inputs. Return +/- pi/2 for large inputs.
11878 * math/libm-test.inc (atan_test): Add more tests.
11879
79c9b9fe
JM
11880 * sysdeps/generic/unwind-dw2-fde-glibc.c
11881 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
11882 __attribute__ ((unused)).
11883
c60d3bf2
JM
11884 [BZ #14645]
11885 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
11886 x * y if x and y are nonzero and z is zero.
11887
ef1e0867
JM
11888 [BZ #14811]
11889 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
11890 nonzero exponents with absolute value below 0x1p-117 to +/-
11891 0x1p-117.
11892
1468ded3
JM
11893 [BZ #14869]
11894 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
11895 up arguments below 2**-450, not just those below 2**-500.
11896 * math/libm-test.inc (hypot_test): Add another test.
11897
8e27e3cc
JM
11898 [BZ #14868]
11899 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
11900 Return a+b for ratio over 2**120, not 2**60.
11901 * math/libm-test.inc (hypot_test): Add another test.
11902
c9c0279b
JM
11903 * math/libm-test.inc (clog_test): Use
11904 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
11905 (clog10_test): Likewise.
11906
7c7feb47
JM
11907 [BZ #6778]
11908 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
11909
fff1530e
AS
119102012-11-22 Andreas Schwab <schwab@suse.de>
11911
11912 * sysdeps/i386/fpu/libm-test-ulps: Update.
11913
94558d30
PT
119142012-11-22 Pino Toscano <toscano.pino@tiscali.it>
11915
11916 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
11917 printf output with newline.
11918
7e1be741
L
119192012-11-21 H.J. Lu <hongjiu.lu@intel.com>
11920
6bfea974
L
11921 [BZ #14865]
11922 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
11923 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
11924 -z nodlopen, -z initfirst and -z execstack support.
11925 * configure: Regenerated.
11926
7e1be741
L
11927 * elf/elf.h (DF_1_NODIRECT): New macro.
11928 (DF_1_IGNMULDEF): Likewise.
11929 (DF_1_NOKSYMS): Likewise.
11930 (DF_1_NOHDR): Likewise.
11931 (DF_1_EDITED): Likewise.
11932 (DF_1_NORELOC): Likewise.
11933 (DF_1_SYMINTPOSE): Likewise.
11934 (DF_1_GLOBAUDIT): Likewise.
11935 (DF_1_SINGLETON): Likewise.
11936 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
11937 DT_1_SUPPORTED_MASK bits.
11938 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
11939
105ce2ce
CD
119402012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
11941
11942 * sysdeps/unix/make-syscalls.sh: Document prefixes.
11943
123be9de
TS
119442012-11-20 Thomas Schwinge <thomas@codesourcery.com>
11945
d072f3f7
TS
11946 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
11947 macro.
11948
123be9de
TS
11949 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
11950 (sendmmsg): Move declarations...
11951 * socket/sys/socket.h: ... here.
11952 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
11953 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
11954 include it from...
11955 * socket/recvmmsg.c: ... this new file.
11956 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
11957 (sendmmsg): Rename to __sendmmsg, create weak alias and make
11958 definition of __sendmmsg hidden.
11959 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
11960 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
11961 Move ENOSYS stub into and include it from...
11962 * socket/sendmmsg.c: ... this new file.
11963 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
11964 (sysdep_routines): Move recvmmsg and sendmmsg...
11965 * socket/Makefile (routines): ... here.
11966 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
11967 (GLIBC_PRIVATE): Add __sendmmsg.
11968 * include/sys/socket.h (__sendmmsg): Add declarations.
11969 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
11970 sendmmsg.
11971
cf9a5d18
JM
119722012-11-20 Joseph Myers <joseph@codesourcery.com>
11973
11974 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
11975 variable I1 with __attribute__ ((unused)).
11976 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
11977
ecd4caf9
JM
119782012-11-19 Joseph Myers <joseph@codesourcery.com>
11979
be14d48f
JM
11980 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
11981 DUMMY variables with __attribute__ ((unused)).
11982
ecd4caf9
JM
11983 * bits/byteswap.h: Include <bits/types.h>.
11984 (__bswap_64): Use __uint64_t instead of unsigned long long int.
11985
986cab95
PT
119862012-11-19 Pino Toscano <toscano.pino@tiscali.it>
11987
11988 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
11989 string_t. Do not manually set errno.
11990 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
11991 length with __strnlen. Make sure to both set errno and return it on
11992 failure.
11993
6d33cc9d
DM
119942012-11-19 David S. Miller <davem@davemloft.net>
11995
11996 With help from Joseph Myers.
11997 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
11998 very large arguments properly.
11999 * math/libm-test.inc (atan_test): New tests.
12000 (atan2_test): New tests.
12001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12003
ee663277
JM
120042012-11-19 Joseph Myers <joseph@codesourcery.com>
12005
877f2d8e
JM
12006 [BZ #14856]
12007 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
12008 Define to 3.
12009
116fc08a
JM
12010 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
12011 [POSIX] (EADDRNOTAVAIL): Likewise.
12012 [POSIX] (EAFNOSUPPORT): Likewise.
12013 [POSIX] (EALREADY): Likewise.
12014 [POSIX] (ECONNABORTED): Likewise.
12015 [POSIX] (ECONNREFUSED): Likewise.
12016 [POSIX] (ECONNRESET): Likewise.
12017 [POSIX] (EDESTADDRREQ): Likewise.
12018 [POSIX] (EDQUOT): Likewise.
12019 [POSIX] (EHOSTUNREACH): Likewise.
12020 [POSIX] (EIDRM): Likewise.
12021 [POSIX] (EISCONN): Likewise.
12022 [POSIX] (ELOOP): Likewise.
12023 [POSIX] (EMULTIHOP): Likewise.
12024 [POSIX] (ENETDOWN): Likewise.
12025 [POSIX] (ENETUNREACH): Likewise.
12026 [POSIX] (ENOBUFS): Likewise.
12027 [POSIX] (ENODATA): Likewise.
12028 [POSIX] (ENOLINK): Likewise.
12029 [POSIX] (ENOMSG): Likewise.
12030 [POSIX] (ENOPROTOOPT): Likewise.
12031 [POSIX] (ENOSR): Likewise.
12032 [POSIX] (ENOSTR): Likewise.
12033 [POSIX] (ENOTCONN): Likewise.
12034 [POSIX] (ENOTSOCK): Likewise.
12035 [POSIX] (EOPNOTSUPP): Likewise.
12036 [POSIX] (EOVERFLOW): Likewise.
12037 [POSIX] (EPROTO): Likewise.
12038 [POSIX] (EPROTONOSUPPORT): Likewise.
12039 [POSIX] (EPROTOTYPE): Likewise.
12040 [POSIX] (ESTALE): Likewise.
12041 [POSIX] (ETIME): Likewise.
12042 [POSIX] (ETXTBSY): Likewise.
12043 [POSIX] (EWOULDBLOCK): Likewise.
12044 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
12045 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
12046 [POSIX] (SEEK_CUR): Likewise.
12047 [POSIX] (SEEK_END): Likewise.
12048 [POSIX || UNIX98] (mode_t): Do not require.
12049 [POSIX] (off_t): Likewise.
12050 [POSIX] (pid_t): Likewise.
12051 [POSIX] (sys/stat.h): Do not allow header.
12052 [POSIX] (unistd.h): Likewise.
12053 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
12054 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
12055 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
12056 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
12057 require.
12058 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
12059 sigevent): Specify elements.
12060 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
12061 entry.
12062 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
12063 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
12064
a483863f
JM
12065 * conform/data/cpio.h-data [POSIX]: Disable whole file.
12066 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
12067 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
12068 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
12069 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
12070 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
12071 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
12072 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
12073 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
12074 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
12075 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
12076 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
12077 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
12078 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
12079 Likewise.
12080 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
12081 Likewise.
12082 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
12083 Likewise.
12084 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
12085 Likewise.
12086 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
12087 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
12088 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
12089 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
12090 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
12091 Specify lower bound on value.
12092 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
12093 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
12094 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
12095 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
12096 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
12097 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
12098 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
12099 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
12100 value.
12101 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
12102 as optional.
12103 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
12104 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
12105 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
12106 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
12107 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
12108 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
12109 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
12110 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
12111 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
12112 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
12113 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
12114 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
12115 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
12116 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
12117 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
12118 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
12119 entry.
12120 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
12121 optional.
12122 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
12123 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
12124 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
12125 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
12126 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
12127 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
12128 Likewise.
12129 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
12130 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
12131 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
12132 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
12133 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
12134 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
12135 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
12136 as optional.
12137 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
12138 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
12139 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
12140 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
12141 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
12142 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
12143 specify as optional.
12144 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
12145 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
12146 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
12147 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
12148 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
12149 [XPG3] (NL_LANGMAX): Likewise.
12150 [POSIX || XPG3] (NL_MSGMAX): Likewise.
12151 [POSIX || XPG3] (NL_NMAX): Likewise.
12152 [POSIX || XPG3] (NL_SETMAX): Likewise.
12153 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
12154 [XPG3] (NZERO): Likewise.
12155 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
12156 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
12157 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
12158 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
12159 (REG_ERANGE): Expect.
12160 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
12161 optional-constant.
12162 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
12163 Use (void) in prototype.
12164 [POSIX] (*_t): Allow.
12165 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
12166 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
12167 (WRDE_BADVAL): Expect.
12168
5ba924e3
JM
12169 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
12170 expect.
12171 [XPG3 || XPG4] (O_RSYNC): Likewise.
12172 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
12173 Likewise.
12174 [XPG3 || XPG4] (pthread_sigmask): Likewise.
12175 [XPG3 || XPG4] (sigqueue): Likewise.
12176 [XPG3 || XPG4] (sigtimedwait): Likewise.
12177 [XPG3 || XPG4] (sigwaitinfo): Likewise.
12178 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
12179 [XPG3 || XPG4] (vsnprintf): Likewise.
12180 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
12181 Likewise.
12182 [XPG3 || XPG4] (blksize_t): Likewise.
12183 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
12184 Likewise.
12185 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
12186 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12187 [XPG3 || XPG4] (struct itimerspec): Likewise.
12188 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
12189 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
12190 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
12191 [XPG3 || XPG4] (clockid_t): Likewise.
12192 [XPG3 || XPG4] (timer_t): Likewise.
12193 [XPG3 || XPG4] (clock_getres): Likewise.
12194 [XPG3 || XPG4] (clock_gettime): Likewise.
12195 [XPG3 || XPG4] (clock_settime): Likewise.
12196 [XPG3 || XPG4] (nanosleep): Likewise.
12197 [XPG3 || XPG4] (timer_create): Likewise.
12198 [XPG3 || XPG4] (timer_delete): Likewise.
12199 [XPG3 || XPG4] (timer_gettime): Likewise.
12200 [XPG3 || XPG4] (timer_getoverrun): Likewise.
12201 [XPG3 || XPG4] (timer_settime): Likewise.
12202 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
12203 [XPG3 || XPG4] (getlogin_r): Likewise.
12204 [XPG3 || XPG4] (pread): Likewise.
12205 [XPG3 || XPG4] (pthread_atfork): Likewise.
12206 [XPG3 || XPG4] (pwrite): Likewise.
12207
ee663277
JM
12208 [BZ #14835]
12209 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
12210 <bits/siginfo.h>.
12211
942caa16
PT
122122012-11-19 Pino Toscano <toscano.pino@tiscali.it>
12213
e19af380
PT
12214 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
12215 finalizing MALLSTREAM.
12216
942caa16
PT
12217 * sysdeps/mach/hurd/syncfs.c: New file.
12218
cfde9b46
SP
122192012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 [BZ #14719]
12222 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
12223 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
12224 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
12225 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
12226 (_nss_dns_gethostbyname4_r): Likewise.
12227 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
12228 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
12229
f6da27e5
PH
122302012-11-19 Peng Haitao <penght@cn.fujitsu.com>
12231
12232 [BZ #13763]
12233 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
12234
6665d4a2
SM
122352012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
12236
1f51ee92
SM
12237 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
12238 * elf/cache.c (print_entry): Print ",AArch64" for
12239 FLAG_AARCH64_LIB64
12240
6665d4a2
SM
12241 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
12242 * elf/cache.c (print_entry): Print ",hard-float" for
12243 FLAG_ARM_LIBHF.
12244
05b227bd
DM
122452012-11-18 David S. Miller <davem@davemloft.net>
12246
12247 With help from Joseph Myers.
12248 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
12249 cutoff to 2**-13.
12250 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
12251 cutoff to 2**-25.
12252 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
12253 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
12254 small.
12255 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
12256 * math/libm-test.inc (y0_test): New tests.
12257 (y1_test): New tests.
12258 * sysdeps/i386/fpu/libm-test-ulps: Update.
12259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12261
786b0b67
AS
122622012-11-18 Andreas Schwab <schwab@linux-m68k.org>
12263
12264 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
12265 64-bit targets.
12266 * configure: Regenerated.
12267
8e18b86d
DM
122682012-11-17 David S. Miller <davem@davemloft.net>
12269
12270 [BZ #14811]
12271 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
12272 nonzero exponents with absolute value below 0x1p-128 to +/-
12273 0x1p-128.
12274
531f1ae0
JM
122752012-11-17 Joseph Myers <joseph@codesourcery.com>
12276
12df29e2
JM
12277 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
12278
150dc1a0
JM
12279 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
12280
531f1ae0
JM
12281 * posix/getconf-speclist.c: New file.
12282 * posix/posix-envs.def: Likewise.
12283 * posix/confstr.c (START_ENV_GROUP): New macro.
12284 (END_ENV_GROUP): Likewise.
12285 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12286 (KNOWN_PRESENT_ENV_STRING): Likewise.
12287 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12288 (UNKNOWN_ENVIRONMENT): Likewise.
12289 (confstr): Include posix-envs.def instead of handling
12290 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
12291 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
12292 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
12293 (END_ENV_GROUP): Likewise.
12294 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
12295 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
12296 (UNKNOWN_ENVIRONMENT): Likewise.
12297 (__sysconf): Include posix-envs.def instead of handling associated
12298 cases directly here.
12299 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
12300 preprocessing getconf-speclist.c rather than running getconf or
12301 generating empty file.
12302
a93f9cbc
PT
123032012-11-16 Pino Toscano <toscano.pino@tiscali.it>
12304
12305 * scripts/check-local-headers.sh: Ignore 'mach' headers.
12306
d64d9f87
AL
123072012-11-16 Andrej Lajovic <natrij@gmail.com>
12308
12309 [BZ #14672]
12310 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
12311
447885eb
DM
123122012-11-16 David S. Miller <davem@davemloft.net>
12313
12314 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
12315 smaller than LDBL_EPSILON/2.0L, just return xm1.
12316
bcbf9830
L
123172012-11-16 H.J. Lu <hongjiu.lu@intel.com>
12318
12319 * elf/tst-array1.c (init): Set constructor priority to 1000.
12320 (fini): Set destructor priority to 1000.
12321 * elf/tst-array2dep.c: Likewise.
12322
2b766585
SP
123232012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12324
12325 [BZ #11741]
12326 * libio/fileops.c (_IO_new_file_write): Correctly return error.
12327 (_IO_new_file_xsputn): Also return EOF if none of the input
12328 data was written when overflow failed.
12329 * libio/iopadn.c (_IO_padn): Likewise.
12330 * libio/iowpadn.c (_IO_wpadn): Likewise.
12331 * stdio-common/tst-put-error.c: Add copyright notice.
12332 (do_test): Add case for printing padded string.
12333 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
12334 _IO_padn returned error.
12335 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
12336 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
12337 return EOF.
12338
b1848fde
SP
123392012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12340
12341 * libio/libioP.h: Add comment note that the references to C++
12342 bits are now obsolete.
12343
2fd89785
MS
123442012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12345
12346 * math/libm-test.inc (check_complex): Use asprintf.
12347
e3ea5409
JM
123482012-11-14 Joseph Myers <joseph@codesourcery.com>
12349
12350 * debug/pcprofiledump.c (print_version): Update copyright year.
12351 * malloc/memusagestat.c (print_version): Likewise.
12352
2e64d265
L
123532012-11-14 H.J. Lu <hongjiu.lu@intel.com>
12354
12355 [BZ #14831]
12356 * elf/Makefile (tests): Add tst-audit8.
12357 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
12358 ($(objpfx)tst-audit8.out): New target.
12359 (tst-audit8-ENV): New variable.
12360 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
12361 audit if l_reloc_result is NULL.
12362 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
12363 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
12364 * elf/tst-audit8.c: New file.
12365
c485e4d2
MS
123662012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12367
12368 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
12369 * misc/Makefile (CFLAGS-select.c): Define.
12370 * posix/Makefile (CFLAGS-pause.c): Define.
12371
3a0d900a
DM
123722012-11-13 David S. Miller <davem@davemloft.net>
12373
12374 * crypt/Makefile: Move test targets after toplevel Rules
12375 inclusion. Grab any necessary sysdep routines when linking.
12376 * crypt/md5.c (md5_process_block): Remove define, we will always
12377 name it __md5_process_block.
12378 (md5_finish_ctx): Update md5_process_block call.
12379 (md5_stream): Likewise.
12380 (md5_process_bytes): Likewise.
12381 (md5_process_block): Rename to __md5_process_block and move to ...
12382 * crypt/md5-block.c: ... here.
12383 * crypt/sha256.c (sha256_process_block): Move to ...
12384 * crypt/sha256-block.c: ... here.
12385 * crypt/sha512.c (sha512_process_block): Move to ...
12386 * crypt/sha512-block.c: ... here.
12387 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
12388 path.
12389 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
12390 * sysdeps/sparc/sparc64/multiarch/Makefile
12391 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
12392 crypt subdir.
12393 (localedef-aux): Add md5 crypto assembler when in locale subdir.
12394 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
12395 multiarch changes.
12396 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
12397 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
12398 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
12399 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
12400 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
12401 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
12402 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
12403 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
12404 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
12405 file.
12406 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
12407 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
12408 file.
12409 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
12410
8ca89318
JM
124112012-11-13 Joseph Myers <joseph@codesourcery.com>
12412
e27d476a
JM
12413 * timezone/tzselect.ksh: Update from tzcode git revision
12414 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
12415 * timezone/zdump.c: Likewise.
12416 * timezone/zic.c: Likewise.
12417 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
12418 in TZVERSION setting, not $(PKGVERSION).
12419 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
12420 REPORT_BUGS_TO settings.
12421
8ca89318
JM
12422 [BZ #14838]
12423 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
12424 macro.
12425
47594329
MS
124262012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12427
12428 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
12429 detection to immediately after _FP_ROUND().
12430 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
12431 bits are 0.
12432
640ac3f1
DM
124332012-11-11 David S. Miller <davem@davemloft.net>
12434
12435 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
12436 inttypes.h
12437 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
12438 __close rather than their public counterparts.
12439
3d2577bb
JM
124402012-11-10 Joseph Myers <joseph@codesourcery.com>
12441
12442 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
12443 file.
12444 [UNIX98] (sem_timedwait): Do not expect.
12445 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
12446 [XPG4 || UNIX98] (sockatmark): Do not expect.
12447 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
12448 (clock_getcpuclockid): Do not expect.
12449 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
12450 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
12451 Do not expect.
12452 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
12453 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
12454 [UNIX98] (vwscanf): Likewise.
12455 [UNIX98] (vswscanf): Likewise.
12456
fb1ae1ee
JM
124572012-11-09 Joseph Myers <joseph@codesourcery.com>
12458
9ec6f8bd
JM
12459 * timezone/version.h: Remove file.
12460 * timezone/README: Do not refer to version.h.
12461 * timezone/Makefile ($(objpfx)zic.o): New dependency on
12462 $(objpfx)version.h.
12463 ($(objpfx)zdump.o): Likewise.
c3f81911 12464 ($(objpfx)version.h): New target.
9ec6f8bd 12465
0aa8f8a1
JM
12466 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
12467 2012i.
12468 * timezone/README: Don't mention modification to tzselect.ksh.
12469 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
12470 work on unmodified tzselect.ksh. Substitute version numbers in
12471 tzselect.ksh.
12472
4e87147f
JM
12473 * Makefile (format-me): Remove.
12474 (INSTALL): Adjust indentation. Use commands directly instead of
12475 using $(format-me).
12476
8b748aed
JM
12477 * aclocal.m4 (ACX_PKGVERSION): New macro.
12478 (ACX_BUGURL): Likewise.
12479 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
12480 (PKGVERSION): New AC_DEFINE_UNQUOTED.
12481 (REPORT_BUGS_TO): Likewise.
12482 * configure: Regenerated.
12483 * config.h.in (PKGVERSION): New macro.
12484 (REPORT_BUGS_TO): Likewise.
12485 * config.make.in (PKGVERSION): New variable.
12486 (PKGVERSION_TEXI): Likewise.
12487 (REPORT_BUGS_TO): Likewise.
12488 (REPORT_BUGS_TEXI): Likewise.
12489 * Makefile (format-me): Use -I$(common-objpfx)manual.
12490 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
12491 ($(common-objpfx)manual/%): New target.
12492 (manual/%): Remove target.
12493 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
12494 (print_version): Use PKGVERSION.
12495 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
12496 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
12497 and REPORT_BUGS_TO.
12498 ($(objpfx)xtrace): Likewise.
12499 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
12500 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
12501 (print_version): Use PKGVERSION.
12502 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
12503 (do_version): Use PKGVERSION.
12504 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
12505 REPORT_BUGS_TO.
12506 (common-ldd-rewrite): Likewise.
12507 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
12508 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
12509 (print_version): Use PKGVERSION.
12510 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
12511 * elf/pldd.c (argp_program_bug_address): Remove variable.
12512 (more_help): New function.
12513 (argp): Use more_help.
12514 (print_version): Use PKGVERSION.
12515 * elf/sln.c (main): Use PKGVERSION.
12516 (usage): Use REPORT_BUGS_TO.
12517 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
12518 (top level): Use PKGVERSION.
12519 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
12520 (print_version): Use PKGVERSION.
12521 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
12522 (print_version): Use PKGVERSION.
12523 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
12524 (print_version): Use PKGVERSION.
12525 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
12526 (print_version): Use PKGVERSION.
12527 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
12528 (print_version): Use PKGVERSION.
12529 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
12530 (print_version): Use PKGVERSION.
12531 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
12532 and BUGURL.
12533 ($(objpfx)memusage): Likewise.
12534 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
12535 (do_version): Use PKGVERSION.
12536 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
12537 (print_version): Use PKGVERSION.
12538 * malloc/mtrace.pl ($PACKAGE): Remove variable.
12539 ($PKGVERSION): New variable.
12540 ($REPORT_BUGS_TO): Likewise.
12541 (usage): Use $REPORT_BUGS_TO.
12542 (top level): Use $PKGVERSION.
12543 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
12544 ($(objpfx)pkgvers.texi): New rule.
12545 ($(objpfx)stamp-pkgvers): Likewise.
12546 * manual/install.texi: Include pkgvers.texi.
12547 (--with-pkgversion): Document new configure option.
12548 (--with-bugurl): Likewise.
12549 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
12550 than necessarily for this particular distribution. Use
12551 REPORT_BUGS_TO for where to report bugs.
12552 * INSTALL: Regenerated.
12553 * manual/libc.texinfo: Include pkgvers.texi.
12554 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
12555 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
12556 (print_version): Use PKGVERSION.
12557 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
12558 (print_version): Use PKGVERSION.
12559 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
12560 (print_version): Use PKGVERSION.
12561 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
12562 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
12563 macro.
12564 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
12565 (print_version): Use PKGVERSION.
12566 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
12567 (print_version): Use PKGVERSION.
12568 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
12569 and PKGVERSION.
12570
92e4b6a9
JM
12571 * timezone/checktab.awk: Update from tzcode 2012i.
12572 * timezone/ialloc.c: Likewise.
12573 * timezone/private.h: Likewise.
12574 * timezone/scheck.c: Likewise.
12575 * timezone/tzfile.h: Likewise.
12576 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
12577 (TZVERSION): Hardcode tzcode version number.
12578 * timezone/zdump.c: Update from tzcode 2012i.
12579 * timezone/zic.c: Likewise.
12580 * timezone/version.h: New file.
12581 * timezone/README: Describe version.h. Update upstream location.
12582
9bde902c
JM
12583 [BZ #14824]
12584 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
12585 (mktemp): Enable declaration.
12586 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
12587 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
12588 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
12589 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
12590 Likewise.
12591 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
12592 Likewise.
12593 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
12594 Likewise.
12595 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
12596 Likewise.
12597 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
12598 Likewise.
12599 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
12600 Likewise.
12601
fb1ae1ee
JM
12602 [BZ #14821]
12603 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
12604 offset in buffer as u_int32_t not u_long. Consistently use memcpy
12605 for copies of such integer values.
12606 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
12607 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
12608
2c1adbcb
AJ
126092012-11-09 Andreas Jaeger <aj@suse.de>
12610
12611 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
12612 definitions and declarations that are provided by
12613 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
12614
d0f8457e
AK
126152012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12616
3a235abb 12617 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
12618 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
12619 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
12620 definition.
12621
57241e26
MS
126222012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12623
12624 * elf/elf.h: Update comment before AArch64 relocations.
12625
60e8270d
DM
126262012-11-07 David S. Miller <davem@davemloft.net>
12627
12628 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
12629 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
12630 (__start_context): Declare.
12631 (__makecontext_ret): Delete.
12632 (__makecontext): Hook up __start_context instead of
12633 __makecontext_ret.
12634 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
12635 (sysdep_routines): Add __start_context when in stdlib.
12636
0fbb0fbc
JM
126372012-11-07 Joseph Myers <joseph@codesourcery.com>
12638
12639 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
12640 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
12641 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
12642 hardcoded "nm".
12643 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
12644 (READELF): New variable. Use it instead of hardcoded "readelf".
12645
eb48db7e
L
126462012-11-07 H.J. Lu <hongjiu.lu@intel.com>
12647
12648 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
12649 * sysdeps/x86/Makefile: Here.
12650 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
12651 * sysdeps/x86/tst-xmmymm.sh: This.
12652
05bcf62a
JM
126532012-11-07 Joseph Myers <joseph@codesourcery.com>
12654
c4b6cf53
JM
12655 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
12656 expectations.
12657 [UNIX98] (pthread_barrier_t): Do not expect.
12658 [UNIX98] (pthread_barrierattr_t): Likewise.
12659 [UNIX98] (pthread_spinlock_t): Likewise.
12660 [UNIX98] (pthread_barrier_destroy): Likewise.
12661 [UNIX98] (pthread_barrier_init): Likewise.
12662 [UNIX98] (pthread_barrier_wait): Likewise.
12663 [UNIX98] (pthread_barrierattr_destroy): Likewise.
12664 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
12665 [UNIX98] (pthread_barrierattr_init): Likewise.
12666 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
12667 [UNIX98] (pthread_getcpuclockid): Likewise.
12668 [UNIX98] (pthread_mutex_timedlock): Likewise.
12669 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
12670 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
12671 [UNIX98] (pthread_sigmask): Likewise.
12672 [UNIX98] (pthread_spin_destroy): Likewise.
12673 [UNIX98] (pthread_spin_init): Likewise.
12674 [UNIX98] (pthread_spin_lock): Likewise.
12675 [UNIX98] (pthread_spin_trylock): Likewise.
12676 [UNIX98] (pthread_spin_unlock): Likewise.
12677 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
12678 Do not expect.
12679 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
12680 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
12681 [XPG3 || XPG4] (pthread_cond_t): Likewise.
12682 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
12683 [XPG3 || XPG4] (pthread_key_t): Likewise.
12684 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
12685 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
12686 [XPG3 || XPG4] (pthread_once_t): Likewise.
12687 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
12688 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
12689 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
12690 [XPG3 || XPG4] (pthread_t): Likewise.
12691
cbe6e120
JM
12692 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
12693 not expect.
12694 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
12695
1b126443
JM
12696 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
12697 Change function return type to int.
12698
b961a573
JM
12699 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
12700 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
12701 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
12702 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
12703 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
12704 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
12705 [!POSIX] (posix_madvise): Likewise.
12706 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
12707 && !UNIX98].
12708 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
12709 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
12710 (mode_t): Likewise.
12711 (posix_mem_offset): Likewise.
12712 (posix_typed_mem_get_info): Likewise.
12713 (posix_typed_mem_open): Likewise.
12714
9e188909
JM
12715 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
12716 Change condition to [XOPEN2K8].
12717
05bcf62a
JM
12718 * conform/conformtest.pl: Preprocess allow-header data with -x c
12719 instead of from stdin.
12720 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
12721 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
12722 [C99-based standards] (cerfc): Likewise.
12723 [C99-based standards] (cexp2): Likewise.
12724 [C99-based standards] (cexpm1): Likewise.
12725 [C99-based standards] (clog10): Likewise.
12726 [C99-based standards] (clog1p): Likewise.
12727 [C99-based standards] (clog2): Likewise.
12728 [C99-based standards] (clgamma): Likewise.
12729 [C99-based standards] (ctgamma): Likewise.
12730 [C99-based standards] (cerff): Likewise.
12731 [C99-based standards] (cerfcf): Likewise.
12732 [C99-based standards] (cexp2f): Likewise.
12733 [C99-based standards] (cexpm1f): Likewise.
12734 [C99-based standards] (clog10f): Likewise.
12735 [C99-based standards] (clog1pf): Likewise.
12736 [C99-based standards] (clog2f): Likewise.
12737 [C99-based standards] (clgammaf): Likewise.
12738 [C99-based standards] (ctgammaf): Likewise.
12739 [C99-based standards] (cerfl): Likewise.
12740 [C99-based standards] (cerfcl): Likewise.
12741 [C99-based standards] (cexp2l): Likewise.
12742 [C99-based standards] (cexpm1l): Likewise.
12743 [C99-based standards] (clog10l): Likewise.
12744 [C99-based standards] (clog1pl): Likewise.
12745 [C99-based standards] (clog2l): Likewise.
12746 [C99-based standards] (clgammal): Likewise.
12747 [C99-based standards] (ctgammal): Likewise.
12748 * conform/data/inttypes.h-data [C99-based standards]: Include
12749 stdint.h-data. Remove all expectations for stdint.h contents.
12750 [C99-based standards] (PRI*): Do not allow.
12751 [C99-based standards] (SCN*): Likewise.
12752 [C99-based standards] (*_t): Likewise.
12753 [C99-based-standards] (PRId8): Expect macro.
12754 [C99-based-standards] (PRIi8): Likewise.
12755 [C99-based-standards] (PRIo8): Likewise.
12756 [C99-based-standards] (PRIu8): Likewise.
12757 [C99-based-standards] (PRIx8): Likewise.
12758 [C99-based-standards] (PRIX8): Likewise.
12759 [C99-based-standards] (SCNd8): Likewise.
12760 [C99-based-standards] (SCNi8): Likewise.
12761 [C99-based-standards] (SCNo8): Likewise.
12762 [C99-based-standards] (SCNu8): Likewise.
12763 [C99-based-standards] (SCNx8): Likewise.
12764 [C99-based-standards] (PRIdLEAST8): Likewise.
12765 [C99-based-standards] (PRIiLEAST8): Likewise.
12766 [C99-based-standards] (PRIoLEAST8): Likewise.
12767 [C99-based-standards] (PRIuLEAST8): Likewise.
12768 [C99-based-standards] (PRIxLEAST8): Likewise.
12769 [C99-based-standards] (PRIXLEAST8): Likewise.
12770 [C99-based-standards] (SCNdLEAST8): Likewise.
12771 [C99-based-standards] (SCNiLEAST8): Likewise.
12772 [C99-based-standards] (SCNoLEAST8): Likewise.
12773 [C99-based-standards] (SCNuLEAST8): Likewise.
12774 [C99-based-standards] (SCNxLEAST8): Likewise.
12775 [C99-based-standards] (PRIdFAST8): Likewise.
12776 [C99-based-standards] (PRIiFAST8): Likewise.
12777 [C99-based-standards] (PRIoFAST8): Likewise.
12778 [C99-based-standards] (PRIuFAST8): Likewise.
12779 [C99-based-standards] (PRIxFAST8): Likewise.
12780 [C99-based-standards] (PRIXFAST8): Likewise.
12781 [C99-based-standards] (SCNdFAST8): Likewise.
12782 [C99-based-standards] (SCNiFAST8): Likewise.
12783 [C99-based-standards] (SCNoFAST8): Likewise.
12784 [C99-based-standards] (SCNuFAST8): Likewise.
12785 [C99-based-standards] (SCNxFAST8): Likewise.
12786 [C99-based-standards] (PRId16): Likewise.
12787 [C99-based-standards] (PRIi16): Likewise.
12788 [C99-based-standards] (PRIo16): Likewise.
12789 [C99-based-standards] (PRIu16): Likewise.
12790 [C99-based-standards] (PRIx16): Likewise.
12791 [C99-based-standards] (PRIX16): Likewise.
12792 [C99-based-standards] (SCNd16): Likewise.
12793 [C99-based-standards] (SCNi16): Likewise.
12794 [C99-based-standards] (SCNo16): Likewise.
12795 [C99-based-standards] (SCNu16): Likewise.
12796 [C99-based-standards] (SCNx16): Likewise.
12797 [C99-based-standards] (PRIdLEAST16): Likewise.
12798 [C99-based-standards] (PRIiLEAST16): Likewise.
12799 [C99-based-standards] (PRIoLEAST16): Likewise.
12800 [C99-based-standards] (PRIuLEAST16): Likewise.
12801 [C99-based-standards] (PRIxLEAST16): Likewise.
12802 [C99-based-standards] (PRIXLEAST16): Likewise.
12803 [C99-based-standards] (SCNdLEAST16): Likewise.
12804 [C99-based-standards] (SCNiLEAST16): Likewise.
12805 [C99-based-standards] (SCNoLEAST16): Likewise.
12806 [C99-based-standards] (SCNuLEAST16): Likewise.
12807 [C99-based-standards] (SCNxLEAST16): Likewise.
12808 [C99-based-standards] (PRIdFAST16): Likewise.
12809 [C99-based-standards] (PRIiFAST16): Likewise.
12810 [C99-based-standards] (PRIoFAST16): Likewise.
12811 [C99-based-standards] (PRIuFAST16): Likewise.
12812 [C99-based-standards] (PRIxFAST16): Likewise.
12813 [C99-based-standards] (PRIXFAST16): Likewise.
12814 [C99-based-standards] (SCNdFAST16): Likewise.
12815 [C99-based-standards] (SCNiFAST16): Likewise.
12816 [C99-based-standards] (SCNoFAST16): Likewise.
12817 [C99-based-standards] (SCNuFAST16): Likewise.
12818 [C99-based-standards] (SCNxFAST16): Likewise.
12819 [C99-based-standards] (PRId32): Likewise.
12820 [C99-based-standards] (PRIi32): Likewise.
12821 [C99-based-standards] (PRIo32): Likewise.
12822 [C99-based-standards] (PRIu32): Likewise.
12823 [C99-based-standards] (PRIx32): Likewise.
12824 [C99-based-standards] (PRIX32): Likewise.
12825 [C99-based-standards] (SCNd32): Likewise.
12826 [C99-based-standards] (SCNi32): Likewise.
12827 [C99-based-standards] (SCNo32): Likewise.
12828 [C99-based-standards] (SCNu32): Likewise.
12829 [C99-based-standards] (SCNx32): Likewise.
12830 [C99-based-standards] (PRIdLEAST32): Likewise.
12831 [C99-based-standards] (PRIiLEAST32): Likewise.
12832 [C99-based-standards] (PRIoLEAST32): Likewise.
12833 [C99-based-standards] (PRIuLEAST32): Likewise.
12834 [C99-based-standards] (PRIxLEAST32): Likewise.
12835 [C99-based-standards] (PRIXLEAST32): Likewise.
12836 [C99-based-standards] (SCNdLEAST32): Likewise.
12837 [C99-based-standards] (SCNiLEAST32): Likewise.
12838 [C99-based-standards] (SCNoLEAST32): Likewise.
12839 [C99-based-standards] (SCNuLEAST32): Likewise.
12840 [C99-based-standards] (SCNxLEAST32): Likewise.
12841 [C99-based-standards] (PRIdFAST32): Likewise.
12842 [C99-based-standards] (PRIiFAST32): Likewise.
12843 [C99-based-standards] (PRIoFAST32): Likewise.
12844 [C99-based-standards] (PRIuFAST32): Likewise.
12845 [C99-based-standards] (PRIxFAST32): Likewise.
12846 [C99-based-standards] (PRIXFAST32): Likewise.
12847 [C99-based-standards] (SCNdFAST32): Likewise.
12848 [C99-based-standards] (SCNiFAST32): Likewise.
12849 [C99-based-standards] (SCNoFAST32): Likewise.
12850 [C99-based-standards] (SCNuFAST32): Likewise.
12851 [C99-based-standards] (SCNxFAST32): Likewise.
12852 [C99-based-standards] (PRId64): Likewise.
12853 [C99-based-standards] (PRIi64): Likewise.
12854 [C99-based-standards] (PRIo64): Likewise.
12855 [C99-based-standards] (PRIu64): Likewise.
12856 [C99-based-standards] (PRIx64): Likewise.
12857 [C99-based-standards] (PRIX64): Likewise.
12858 [C99-based-standards] (SCNd64): Likewise.
12859 [C99-based-standards] (SCNi64): Likewise.
12860 [C99-based-standards] (SCNo64): Likewise.
12861 [C99-based-standards] (SCNu64): Likewise.
12862 [C99-based-standards] (SCNx64): Likewise.
12863 [C99-based-standards] (PRIdLEAST64): Likewise.
12864 [C99-based-standards] (PRIiLEAST64): Likewise.
12865 [C99-based-standards] (PRIoLEAST64): Likewise.
12866 [C99-based-standards] (PRIuLEAST64): Likewise.
12867 [C99-based-standards] (PRIxLEAST64): Likewise.
12868 [C99-based-standards] (PRIXLEAST64): Likewise.
12869 [C99-based-standards] (SCNdLEAST64): Likewise.
12870 [C99-based-standards] (SCNiLEAST64): Likewise.
12871 [C99-based-standards] (SCNoLEAST64): Likewise.
12872 [C99-based-standards] (SCNuLEAST64): Likewise.
12873 [C99-based-standards] (SCNxLEAST64): Likewise.
12874 [C99-based-standards] (PRIdFAST64): Likewise.
12875 [C99-based-standards] (PRIiFAST64): Likewise.
12876 [C99-based-standards] (PRIoFAST64): Likewise.
12877 [C99-based-standards] (PRIuFAST64): Likewise.
12878 [C99-based-standards] (PRIxFAST64): Likewise.
12879 [C99-based-standards] (PRIXFAST64): Likewise.
12880 [C99-based-standards] (SCNdFAST64): Likewise.
12881 [C99-based-standards] (SCNiFAST64): Likewise.
12882 [C99-based-standards] (SCNoFAST64): Likewise.
12883 [C99-based-standards] (SCNuFAST64): Likewise.
12884 [C99-based-standards] (SCNxFAST64): Likewise.
12885 [C99-based-standards] (PRIdMAX): Likewise.
12886 [C99-based-standards] (PRIiMAX): Likewise.
12887 [C99-based-standards] (PRIoMAX): Likewise.
12888 [C99-based-standards] (PRIuMAX): Likewise.
12889 [C99-based-standards] (PRIxMAX): Likewise.
12890 [C99-based-standards] (PRIXMAX): Likewise.
12891 [C99-based-standards] (SCNdMAX): Likewise.
12892 [C99-based-standards] (SCNiMAX): Likewise.
12893 [C99-based-standards] (SCNoMAX): Likewise.
12894 [C99-based-standards] (SCNuMAX): Likewise.
12895 [C99-based-standards] (SCNxMAX): Likewise.
12896 [C99-based-standards] (PRIdPTR): Likewise.
12897 [C99-based-standards] (PRIiPTR): Likewise.
12898 [C99-based-standards] (PRIoPTR): Likewise.
12899 [C99-based-standards] (PRIuPTR): Likewise.
12900 [C99-based-standards] (PRIxPTR): Likewise.
12901 [C99-based-standards] (PRIXPTR): Likewise.
12902 [C99-based-standards] (SCNdPTR): Likewise.
12903 [C99-based-standards] (SCNiPTR): Likewise.
12904 [C99-based-standards] (SCNoPTR): Likewise.
12905 [C99-based-standards] (SCNuPTR): Likewise.
12906 [C99-based-standards] (SCNxPTR): Likewise.
12907 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
12908 allow.
12909 * conform/data/stdint.h-data: Update comments to clarify
12910 requirements.
12911 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
12912 type.
12913 [C99-based standards] (INT8_MAX): Likewise.
12914 [C99-based standards] (INT16_MIN): Likewise.
12915 [C99-based standards] (INT16_MAX): Likewise.
12916 [C99-based standards] (INT32_MIN): Likewise.
12917 [C99-based standards] (INT32_MAX): Likewise.
12918 [C99-based standards] (INT64_MIN): Likewise.
12919 [C99-based standards] (INT64_MAX): Likewise.
12920 [C99-based standards] (UINT8_MAX): Likewise.
12921 [C99-based standards] (UINT16_MAX): Likewise.
12922 [C99-based standards] (UINT32_MAX): Likewise.
12923 [C99-based standards] (UINT64_MAX): Likewise.
12924 [C99-based standards] (INT_LEAST8_MIN): Likewise.
12925 [C99-based standards] (INT_LEAST8_MAX): Likewise.
12926 [C99-based standards] (INT_LEAST16_MIN): Likewise.
12927 [C99-based standards] (INT_LEAST16_MAX): Likewise.
12928 [C99-based standards] (INT_LEAST32_MIN): Likewise.
12929 [C99-based standards] (INT_LEAST32_MAX): Likewise.
12930 [C99-based standards] (INT_LEAST64_MIN): Likewise.
12931 [C99-based standards] (INT_LEAST64_MAX): Likewise.
12932 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
12933 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
12934 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
12935 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
12936 [C99-based standards] (INT_FAST8_MIN): Likewise.
12937 [C99-based standards] (INT_FAST8_MAX): Likewise.
12938 [C99-based standards] (INT_FAST16_MIN): Likewise.
12939 [C99-based standards] (INT_FAST16_MAX): Likewise.
12940 [C99-based standards] (INT_FAST32_MIN): Likewise.
12941 [C99-based standards] (INT_FAST32_MAX): Likewise.
12942 [C99-based standards] (INT_FAST64_MIN): Likewise.
12943 [C99-based standards] (INT_FAST64_MAX): Likewise.
12944 [C99-based standards] (UINT_FAST8_MAX): Likewise.
12945 [C99-based standards] (UINT_FAST16_MAX): Likewise.
12946 [C99-based standards] (UINT_FAST32_MAX): Likewise.
12947 [C99-based standards] (UINT_FAST64_MAX): Likewise.
12948 [C99-based standards] (INTPTR_MIN): Likewise.
12949 [C99-based standards] (INTPTR_MAX): Likewise.
12950 [C99-based standards] (UINTPTR_MAX): Likewise.
12951 [C99-based standards] (INTMAX_MIN): Likewise.
12952 [C99-based standards] (INTMAX_MAX): Likewise.
12953 [C99-based standards] (UINTMAX_MAX): Likewise.
12954 [C99-based standards] (PTRDIFF_MIN): Likewise.
12955 [C99-based standards] (PTRDIFF_MAX): Likewise.
12956 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
12957 [C99-based standards] (SIZE_MAX): Likewise.
12958 [C99-based standards] (WCHAR_MAX): Likewise.
12959 [C99-based standards] (WINT_MAX): Likewise.
12960 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
12961 constraint on value.
12962 [C99-based standards] (WCHAR_MIN): Likewise.
12963 [C99-based standards] (WINT_MIN): Likewise.
12964 [C99-based standards] (*_t): Allow.
12965 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
12966 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
12967 Include math.h-data and complex.h-data. Remove all expectations
12968 of math.h and complex.h contents.
12969 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
12970 at end of line.
12971 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
12972 (struct tm): Expect tag.
12973 [C99-based-standards] (wcstof): Expect function.
12974 [C99-based-standards] (wcstold): Likewise.
12975 [C99-based-standards] (wcstoll): Likewise.
12976 [C99-based-standards] (wcstoull): Likewise.
12977 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
12978 macro-int-constant. Specify type.
12979 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
12980 constraint on value.
12981 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12982 Specify type.
12983 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
12984 Specify value.
12985 [ISO C standards]: Do not allow headers.
12986 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
12987 wcs[abcdefghijklmnopqrstuvwxyz]*.
12988 [ISO C standards] (*_t): Do not allow.
12989 * conform/data/wctype.h-data [C99-based standards] (iswblank):
12990 Expect function.
12991 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
12992 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
12993 Specify type.
12994 [ISO C standards]: Do not allow headers.
12995 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
12996 is[abcdefghijklmnopqrstuvwxyz]*.
12997 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
12998 to[abcdefghijklmnopqrstuvwxyz]*.
12999 [ISO C standards] (*_t): Do not allow.
13000 * conform/data/stdalign.h-data: New file.
13001 * conform/data/stdbool.h-data: Likewise.
13002 * conform/data/stdnoreturn.h-data: Likewise.
13003
7514feb8
RM
130042012-11-07 Roland McGrath <roland@hack.frob.com>
13005
13006 [BZ #14815]
13007 * manual/filesys.texi (Directory Entries): Typo fix.
13008 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
13009
19b2ecfc
MS
130102012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13011
13012 * elf/elf.h (EM_AARCH64): New macro.
13013 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
13014 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
13015 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
13016 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
13017 (R_AARCH64_TLSDESC): Likewise.
13018 (NT_ARM_TLS): Likewise.
13019 (NT_ARM_HW_BREAK): Likewise.
13020 (NT_ARM_HW_WATCH): Likewise.
13021
60e235ee
JM
130222012-11-07 Joseph Myers <joseph@codesourcery.com>
13023
13024 [BZ #14811]
13025 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
13026 (__ieee754_powl): Saturate nonzero exponents with absolute value
13027 below 0x1p-79 to +/- 0x1p-79.
13028 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
13029 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
13030 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
13031 nonzero exponents with absolute value below 0x1p-32 to +/-
13032 0x1p-32.
13033 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
13034 (__ieee754_powl): Saturate nonzero exponents with absolute value
13035 below 0x1p-79 to +/- 0x1p-79.
13036 * math/libm-test.inc (pow_test): Add more tests.
13037
0ab234b7
AK
130382012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13039
13040 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
13041 _dl_s390_cap_flags with kernel. Increase string length.
13042 (_dl_s390_platforms): Add z196 and zEC12.
13043
45832f74
JM
130442012-11-07 Joseph Myers <joseph@codesourcery.com>
13045
13046 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
13047 Change XOPEN21K to XOPEN2K.
13048
19218757
MK
130492012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
13050
13051 * string/memmove.c: Use memcpy when possible.
13052
c5f45721
AJ
130532012-11-06 Andreas Jaeger <aj@suse.de>
13054
13055 * po/eo.po: Update from translation team.
13056
82477c28
JM
130572012-11-06 Joseph Myers <joseph@codesourcery.com>
13058
13059 [BZ #14793]
13060 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
13061 exponent and small x and y exponents, scale x or y up. Increase
13062 by 2 the exponent used in scaling up.
13063 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13064 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13065 * math/libm-test.inc (fma_test): Add more tests.
13066 (fma_test_towardzero): Likewise.
13067 (fma_test_downward): Likewise.
13068 (fma_test_upward): Likewise.
13069
99252c8c
JM
130702012-11-05 Joseph Myers <joseph@codesourcery.com>
13071
acfa885f
JM
13072 [BZ #14805]
13073 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
13074 fenv_t *.
13075
99252c8c
JM
13076 [BZ #14801]
13077 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
13078 namespace for names of struct fields.
13079 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
13080 fenv_t fields.
13081 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
13082 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
13083
d6d98dea
ST
130842012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
13085
13086 [BZ #3665]
13087 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
13088
e10bb107
TS
130892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13090
13091 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
13092 PTR_DEMANGLE.
13093
13094 [BZ #5246]
13095 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
13096 PTR_DEMANGLE.
13097
a0c2940d
JM
130982012-11-04 Joseph Myers <joseph@codesourcery.com>
13099
13100 [BZ #14797]
13101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
13102 definitely overflow as x * y not x * y + z.
13103 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13105 * math/libm-test.inc (fma_test): Add more tests.
13106 (fma_test_towardzero): Likewise.
13107 (fma_test_downward): Likewise.
13108 (fma_test_upward): Likewise.
13109
b830319d
TS
131102012-11-04 Thomas Schwinge <thomas@codesourcery.com>
13111
13112 [BZ #157]
13113
13114 * include/stub-tag.h: Remove file.
13115 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
13116 '#include' of it.
13117 * manual/maint.texi (Porting): Don't reference it.
13118 * Makerules ($(objpfx)stubs): Likewise.
13119 * dirent/closedir.c: Don't include <stub-tag.h>.
13120 * dirent/dirfd.c: Likewise.
13121 * dirent/fdopendir.c: Likewise.
13122 * dirent/getdents.c: Likewise.
13123 * dirent/getdents64.c: Likewise.
13124 * dirent/opendir.c: Likewise.
13125 * dirent/readdir.c: Likewise.
13126 * dirent/readdir64.c: Likewise.
13127 * dirent/readdir64_r.c: Likewise.
13128 * dirent/readdir_r.c: Likewise.
13129 * dirent/rewinddir.c: Likewise.
13130 * dirent/seekdir.c: Likewise.
13131 * dirent/telldir.c: Likewise.
13132 * gmon/profil.c: Likewise.
13133 * grp/setgroups.c: Likewise.
13134 * inet/if_index.c: Likewise.
13135 * io/access.c: Likewise.
13136 * io/chdir.c: Likewise.
13137 * io/chmod.c: Likewise.
13138 * io/chown.c: Likewise.
13139 * io/close.c: Likewise.
13140 * io/dup.c: Likewise.
13141 * io/dup2.c: Likewise.
13142 * io/dup3.c: Likewise.
13143 * io/euidaccess.c: Likewise.
13144 * io/faccessat.c: Likewise.
13145 * io/fchdir.c: Likewise.
13146 * io/fchmod.c: Likewise.
13147 * io/fchmodat.c: Likewise.
13148 * io/fchown.c: Likewise.
13149 * io/fchownat.c: Likewise.
13150 * io/fcntl.c: Likewise.
13151 * io/flock.c: Likewise.
13152 * io/fstatfs.c: Likewise.
13153 * io/fstatfs64.c: Likewise.
13154 * io/fstatvfs.c: Likewise.
13155 * io/fstatvfs64.c: Likewise.
13156 * io/futimens.c: Likewise.
13157 * io/fxstat.c: Likewise.
13158 * io/fxstat64.c: Likewise.
13159 * io/fxstatat.c: Likewise.
13160 * io/fxstatat64.c: Likewise.
13161 * io/getcwd.c: Likewise.
13162 * io/isatty.c: Likewise.
13163 * io/lchmod.c: Likewise.
13164 * io/lchown.c: Likewise.
13165 * io/link.c: Likewise.
13166 * io/linkat.c: Likewise.
13167 * io/lseek.c: Likewise.
13168 * io/lseek64.c: Likewise.
13169 * io/lxstat64.c: Likewise.
13170 * io/mkdir.c: Likewise.
13171 * io/mkdirat.c: Likewise.
13172 * io/mkfifo.c: Likewise.
13173 * io/mkfifoat.c: Likewise.
13174 * io/open.c: Likewise.
13175 * io/open64.c: Likewise.
13176 * io/openat.c: Likewise.
13177 * io/openat64.c: Likewise.
13178 * io/pipe.c: Likewise.
13179 * io/pipe2.c: Likewise.
13180 * io/poll.c: Likewise.
13181 * io/posix_fadvise.c: Likewise.
13182 * io/posix_fadvise64.c: Likewise.
13183 * io/posix_fallocate.c: Likewise.
13184 * io/posix_fallocate64.c: Likewise.
13185 * io/read.c: Likewise.
13186 * io/readlink.c: Likewise.
13187 * io/readlinkat.c: Likewise.
13188 * io/rmdir.c: Likewise.
13189 * io/sendfile.c: Likewise.
13190 * io/sendfile64.c: Likewise.
13191 * io/statfs.c: Likewise.
13192 * io/statfs64.c: Likewise.
13193 * io/statvfs.c: Likewise.
13194 * io/statvfs64.c: Likewise.
13195 * io/symlink.c: Likewise.
13196 * io/symlinkat.c: Likewise.
13197 * io/ttyname.c: Likewise.
13198 * io/ttyname_r.c: Likewise.
13199 * io/umask.c: Likewise.
13200 * io/unlink.c: Likewise.
13201 * io/unlinkat.c: Likewise.
13202 * io/utime.c: Likewise.
13203 * io/utimensat.c: Likewise.
13204 * io/write.c: Likewise.
13205 * io/xmknod.c: Likewise.
13206 * io/xmknodat.c: Likewise.
13207 * io/xstat.c: Likewise.
13208 * io/xstat64.c: Likewise.
13209 * login/getpt.c: Likewise.
13210 * login/grantpt.c: Likewise.
13211 * login/unlockpt.c: Likewise.
13212 * math/e_acoshl.c: Likewise.
13213 * math/e_acosl.c: Likewise.
13214 * math/e_asinl.c: Likewise.
13215 * math/e_atan2l.c: Likewise.
13216 * math/e_atanhl.c: Likewise.
13217 * math/e_coshl.c: Likewise.
13218 * math/e_expl.c: Likewise.
13219 * math/e_fmodl.c: Likewise.
13220 * math/e_gammal_r.c: Likewise.
13221 * math/e_hypotl.c: Likewise.
13222 * math/e_j0l.c: Likewise.
13223 * math/e_j1l.c: Likewise.
13224 * math/e_jnl.c: Likewise.
13225 * math/e_lgammal_r.c: Likewise.
13226 * math/e_log10l.c: Likewise.
13227 * math/e_log2l.c: Likewise.
13228 * math/e_logl.c: Likewise.
13229 * math/e_powl.c: Likewise.
13230 * math/e_rem_pio2l.c: Likewise.
13231 * math/e_sinhl.c: Likewise.
13232 * math/e_sqrtl.c: Likewise.
13233 * math/fclrexcpt.c: Likewise.
13234 * math/fedisblxcpt.c: Likewise.
13235 * math/feenablxcpt.c: Likewise.
13236 * math/fegetenv.c: Likewise.
13237 * math/fegetexcept.c: Likewise.
13238 * math/fegetround.c: Likewise.
13239 * math/feholdexcpt.c: Likewise.
13240 * math/fesetenv.c: Likewise.
13241 * math/fesetround.c: Likewise.
13242 * math/feupdateenv.c: Likewise.
13243 * math/fgetexcptflg.c: Likewise.
13244 * math/fraiseexcpt.c: Likewise.
13245 * math/fsetexcptflg.c: Likewise.
13246 * math/ftestexcept.c: Likewise.
13247 * math/k_cosl.c: Likewise.
13248 * math/k_rem_pio2l.c: Likewise.
13249 * math/k_sinl.c: Likewise.
13250 * math/k_tanl.c: Likewise.
13251 * math/s_asinhl.c: Likewise.
13252 * math/s_atanl.c: Likewise.
13253 * math/s_cbrtl.c: Likewise.
13254 * math/s_erfl.c: Likewise.
13255 * math/s_expm1l.c: Likewise.
13256 * math/s_log1pl.c: Likewise.
13257 * math/s_tanhl.c: Likewise.
13258 * misc/acct.c: Likewise.
13259 * misc/brk.c: Likewise.
13260 * misc/chflags.c: Likewise.
13261 * misc/chroot.c: Likewise.
13262 * misc/fchflags.c: Likewise.
13263 * misc/fgetxattr.c: Likewise.
13264 * misc/flistxattr.c: Likewise.
13265 * misc/fremovexattr.c: Likewise.
13266 * misc/fsetxattr.c: Likewise.
13267 * misc/fsync.c: Likewise.
13268 * misc/ftruncate.c: Likewise.
13269 * misc/futimes.c: Likewise.
13270 * misc/futimesat.c: Likewise.
13271 * misc/getdomain.c: Likewise.
13272 * misc/getdtsz.c: Likewise.
13273 * misc/gethostid.c: Likewise.
13274 * misc/gethostname.c: Likewise.
13275 * misc/getloadavg.c: Likewise.
13276 * misc/getpagesize.c: Likewise.
13277 * misc/getsysstats.c: Likewise.
13278 * misc/getxattr.c: Likewise.
13279 * misc/gtty.c: Likewise.
13280 * misc/ioctl.c: Likewise.
13281 * misc/lgetxattr.c: Likewise.
13282 * misc/listxattr.c: Likewise.
13283 * misc/llistxattr.c: Likewise.
13284 * misc/lremovexattr.c: Likewise.
13285 * misc/lsetxattr.c: Likewise.
13286 * misc/lutimes.c: Likewise.
13287 * misc/madvise.c: Likewise.
13288 * misc/mincore.c: Likewise.
13289 * misc/mlock.c: Likewise.
13290 * misc/mlockall.c: Likewise.
13291 * misc/mmap.c: Likewise.
13292 * misc/mprotect.c: Likewise.
13293 * misc/msync.c: Likewise.
13294 * misc/munlock.c: Likewise.
13295 * misc/munlockall.c: Likewise.
13296 * misc/munmap.c: Likewise.
13297 * misc/preadv.c: Likewise.
13298 * misc/preadv64.c: Likewise.
13299 * misc/ptrace.c: Likewise.
13300 * misc/pwritev.c: Likewise.
13301 * misc/pwritev64.c: Likewise.
13302 * misc/readv.c: Likewise.
13303 * misc/reboot.c: Likewise.
13304 * misc/remap_file_pages.c: Likewise.
13305 * misc/removexattr.c: Likewise.
13306 * misc/revoke.c: Likewise.
13307 * misc/select.c: Likewise.
13308 * misc/setdomain.c: Likewise.
13309 * misc/setegid.c: Likewise.
13310 * misc/seteuid.c: Likewise.
13311 * misc/sethostid.c: Likewise.
13312 * misc/sethostname.c: Likewise.
13313 * misc/setregid.c: Likewise.
13314 * misc/setreuid.c: Likewise.
13315 * misc/setxattr.c: Likewise.
13316 * misc/sstk.c: Likewise.
13317 * misc/stty.c: Likewise.
13318 * misc/swapoff.c: Likewise.
13319 * misc/swapon.c: Likewise.
13320 * misc/sync.c: Likewise.
13321 * misc/syncfs.c: Likewise.
13322 * misc/syscall.c: Likewise.
13323 * misc/truncate.c: Likewise.
13324 * misc/ualarm.c: Likewise.
13325 * misc/usleep.c: Likewise.
13326 * misc/ustat.c: Likewise.
13327 * misc/utimes.c: Likewise.
13328 * misc/vhangup.c: Likewise.
13329 * misc/writev.c: Likewise.
13330 * posix/_exit.c: Likewise.
13331 * posix/alarm.c: Likewise.
13332 * posix/execve.c: Likewise.
13333 * posix/fexecve.c: Likewise.
13334 * posix/fork.c: Likewise.
13335 * posix/fpathconf.c: Likewise.
13336 * posix/getaddrinfo.c: Likewise.
13337 * posix/getegid.c: Likewise.
13338 * posix/geteuid.c: Likewise.
13339 * posix/getgid.c: Likewise.
13340 * posix/getgroups.c: Likewise.
13341 * posix/getlogin.c: Likewise.
13342 * posix/getlogin_r.c: Likewise.
13343 * posix/getpgid.c: Likewise.
13344 * posix/getpid.c: Likewise.
13345 * posix/getppid.c: Likewise.
13346 * posix/getresgid.c: Likewise.
13347 * posix/getresuid.c: Likewise.
13348 * posix/getsid.c: Likewise.
13349 * posix/getuid.c: Likewise.
13350 * posix/glob64.c: Likewise.
13351 * posix/nanosleep.c: Likewise.
13352 * posix/pathconf.c: Likewise.
13353 * posix/pause.c: Likewise.
13354 * posix/posix_madvise.c: Likewise.
13355 * posix/pread.c: Likewise.
13356 * posix/pread64.c: Likewise.
13357 * posix/pwrite.c: Likewise.
13358 * posix/pwrite64.c: Likewise.
13359 * posix/sched_getaffinity.c: Likewise.
13360 * posix/sched_getp.c: Likewise.
13361 * posix/sched_gets.c: Likewise.
13362 * posix/sched_primax.c: Likewise.
13363 * posix/sched_primin.c: Likewise.
13364 * posix/sched_rr_gi.c: Likewise.
13365 * posix/sched_setaffinity.c: Likewise.
13366 * posix/sched_setp.c: Likewise.
13367 * posix/sched_sets.c: Likewise.
13368 * posix/sched_yield.c: Likewise.
13369 * posix/setgid.c: Likewise.
13370 * posix/setlogin.c: Likewise.
13371 * posix/setpgid.c: Likewise.
13372 * posix/setresgid.c: Likewise.
13373 * posix/setresuid.c: Likewise.
13374 * posix/setsid.c: Likewise.
13375 * posix/setuid.c: Likewise.
13376 * posix/sleep.c: Likewise.
13377 * posix/spawni.c: Likewise.
13378 * posix/sysconf.c: Likewise.
13379 * posix/times.c: Likewise.
13380 * posix/wait.c: Likewise.
13381 * posix/wait3.c: Likewise.
13382 * posix/wait4.c: Likewise.
13383 * posix/waitpid.c: Likewise.
13384 * resolv/gai_sigqueue.c: Likewise.
13385 * resource/getpriority.c: Likewise.
13386 * resource/getrlimit.c: Likewise.
13387 * resource/getrusage.c: Likewise.
13388 * resource/nice.c: Likewise.
13389 * resource/setpriority.c: Likewise.
13390 * resource/setrlimit.c: Likewise.
13391 * resource/ulimit.c: Likewise.
13392 * rt/aio_cancel.c: Likewise.
13393 * rt/aio_fsync.c: Likewise.
13394 * rt/aio_read.c: Likewise.
13395 * rt/aio_sigqueue.c: Likewise.
13396 * rt/aio_suspend.c: Likewise.
13397 * rt/aio_write.c: Likewise.
13398 * rt/clock_getres.c: Likewise.
13399 * rt/clock_gettime.c: Likewise.
13400 * rt/clock_nanosleep.c: Likewise.
13401 * rt/clock_settime.c: Likewise.
13402 * rt/lio_listio.c: Likewise.
13403 * rt/mq_close.c: Likewise.
13404 * rt/mq_getattr.c: Likewise.
13405 * rt/mq_notify.c: Likewise.
13406 * rt/mq_open.c: Likewise.
13407 * rt/mq_receive.c: Likewise.
13408 * rt/mq_send.c: Likewise.
13409 * rt/mq_setattr.c: Likewise.
13410 * rt/mq_timedreceive.c: Likewise.
13411 * rt/mq_timedsend.c: Likewise.
13412 * rt/mq_unlink.c: Likewise.
13413 * rt/shm_open.c: Likewise.
13414 * rt/shm_unlink.c: Likewise.
13415 * rt/timer_create.c: Likewise.
13416 * rt/timer_delete.c: Likewise.
13417 * rt/timer_getoverr.c: Likewise.
13418 * rt/timer_gettime.c: Likewise.
13419 * rt/timer_settime.c: Likewise.
13420 * setjmp/__longjmp.c: Likewise.
13421 * setjmp/setjmp.c: Likewise.
13422 * signal/kill.c: Likewise.
13423 * signal/killpg.c: Likewise.
13424 * signal/raise.c: Likewise.
13425 * signal/sigaction.c: Likewise.
13426 * signal/sigaltstack.c: Likewise.
13427 * signal/sigblock.c: Likewise.
13428 * signal/sigignore.c: Likewise.
13429 * signal/sigintr.c: Likewise.
13430 * signal/signal.c: Likewise.
13431 * signal/sigpause.c: Likewise.
13432 * signal/sigpending.c: Likewise.
13433 * signal/sigqueue.c: Likewise.
13434 * signal/sigreturn.c: Likewise.
13435 * signal/sigset.c: Likewise.
13436 * signal/sigsetmask.c: Likewise.
13437 * signal/sigstack.c: Likewise.
13438 * signal/sigsuspend.c: Likewise.
13439 * signal/sigtimedwait.c: Likewise.
13440 * signal/sigvec.c: Likewise.
13441 * signal/sigwait.c: Likewise.
13442 * signal/sigwaitinfo.c: Likewise.
13443 * signal/sysv_signal.c: Likewise.
13444 * socket/accept.c: Likewise.
13445 * socket/accept4.c: Likewise.
13446 * socket/bind.c: Likewise.
13447 * socket/connect.c: Likewise.
13448 * socket/getpeername.c: Likewise.
13449 * socket/getsockname.c: Likewise.
13450 * socket/getsockopt.c: Likewise.
13451 * socket/isfdtype.c: Likewise.
13452 * socket/listen.c: Likewise.
13453 * socket/recv.c: Likewise.
13454 * socket/recvfrom.c: Likewise.
13455 * socket/recvmsg.c: Likewise.
13456 * socket/send.c: Likewise.
13457 * socket/sendmsg.c: Likewise.
13458 * socket/sendto.c: Likewise.
13459 * socket/setsockopt.c: Likewise.
13460 * socket/shutdown.c: Likewise.
13461 * socket/sockatmark.c: Likewise.
13462 * socket/socket.c: Likewise.
13463 * socket/socketpair.c: Likewise.
13464 * stdio-common/ctermid.c: Likewise.
13465 * stdio-common/cuserid.c: Likewise.
13466 * stdio-common/remove.c: Likewise.
13467 * stdio-common/rename.c: Likewise.
13468 * stdio-common/renameat.c: Likewise.
13469 * stdio-common/tempname.c: Likewise.
13470 * stdlib/getcontext.c: Likewise.
13471 * stdlib/makecontext.c: Likewise.
13472 * stdlib/setcontext.c: Likewise.
13473 * stdlib/swapcontext.c: Likewise.
13474 * stdlib/system.c: Likewise.
13475 * streams/fattach.c: Likewise.
13476 * streams/fdetach.c: Likewise.
13477 * streams/getmsg.c: Likewise.
13478 * streams/getpmsg.c: Likewise.
13479 * streams/putmsg.c: Likewise.
13480 * streams/putpmsg.c: Likewise.
13481 * sysdeps/unix/bsd/getpt.c: Likewise.
13482 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
13483 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
13484 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
13486 Likewise.
13487 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
13488 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
13489 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13490 * sysvipc/msgctl.c: Likewise.
13491 * sysvipc/msgget.c: Likewise.
13492 * sysvipc/msgrcv.c: Likewise.
13493 * sysvipc/msgsnd.c: Likewise.
13494 * sysvipc/semctl.c: Likewise.
13495 * sysvipc/semget.c: Likewise.
13496 * sysvipc/semop.c: Likewise.
13497 * sysvipc/semtimedop.c: Likewise.
13498 * sysvipc/shmat.c: Likewise.
13499 * sysvipc/shmctl.c: Likewise.
13500 * sysvipc/shmdt.c: Likewise.
13501 * sysvipc/shmget.c: Likewise.
13502 * termios/tcdrain.c: Likewise.
13503 * termios/tcflow.c: Likewise.
13504 * termios/tcflush.c: Likewise.
13505 * termios/tcgetattr.c: Likewise.
13506 * termios/tcgetpgrp.c: Likewise.
13507 * termios/tcsendbrk.c: Likewise.
13508 * termios/tcsetattr.c: Likewise.
13509 * termios/tcsetpgrp.c: Likewise.
13510 * time/adjtime.c: Likewise.
13511 * time/clock.c: Likewise.
13512 * time/getitimer.c: Likewise.
13513 * time/gettimeofday.c: Likewise.
13514 * time/setitimer.c: Likewise.
13515 * time/settimeofday.c: Likewise.
13516 * time/stime.c: Likewise.
13517 * time/time.c: Likewise.
13518
135192012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 13520
a20492cf
PT
13521 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
13522 /usr/old/bin.
13523
72e182e3
PT
13524 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
13525 instead of spaces.
13526 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
13527
fbeafede
JM
135282012-11-03 Joseph Myers <joseph@codesourcery.com>
13529
5b5b04d6
JM
13530 [BZ #14796]
13531 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
13532 FE_TONEAREST before applying Dekker multiplication and Knuth
13533 addition. Clear inexact exceptions and check for exact zero
13534 results afterwards.
13535 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13536 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
13537 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13538 * math/libm-test.inc (fma_test): Add more tests.
13539 (fma_test_towardzero): Likewise.
13540 (fma_test_downward): Likewise.
13541 (fma_test_upward): Likewise.
13542 * sysdeps/generic/math_private.h (default_libc_fesetround): New
13543 function.
13544 (libc_fesetround): New macro.
13545 (libc_fesetroundf): Likewise.
13546 (libc_fesetroundl): Likewise.
13547 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
13548 function.
13549 (libc_fesetround_387): Likewise.
13550 (libc_fesetroundf): New macro.
13551 (libc_fesetround): Likewise.
13552 (libc_fesetroundl): Likewise.
13553 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
13554 function.
13555 (libc_fesetroundf): New macro.
13556 (libc_fesetround): Likewise.
13557 (libc_fesetroundl): Likewise.
13558 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
13559 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
13560 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
13561 libm_hidden_ver.
13562 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
13563 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
13564 libm_hidden_def.
13565 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
13566 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
13567 libm_hidden_ver.
13568 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
13569 libm_hidden_def.
13570
fbeafede
JM
13571 [BZ #3439]
13572 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
13573 integer constant usable in #if and use that to give value to enum
13574 constant.
13575 (FE_DIVBYZERO): Likewise.
13576 (FE_UNDERFLOW): Likewise.
13577 (FE_OVERFLOW): Likewise.
13578 (FE_INVALID): Likewise.
13579 (FE_INVALID_SNAN): Likewise.
13580 (FE_INVALID_ISI): Likewise.
13581 (FE_INVALID_IDI): Likewise.
13582 (FE_INVALID_ZDZ): Likewise.
13583 (FE_INVALID_IMZ): Likewise.
13584 (FE_INVALID_COMPARE): Likewise.
13585 (FE_INVALID_SOFTWARE): Likewise.
13586 (FE_INVALID_SQRT): Likewise.
13587 (FE_INVALID_INTEGER_CONVERSION): Likewise.
13588 (FE_TONEAREST): Likewise.
13589 (FE_TOWARDZERO): Likewise.
13590 (FE_UPWARD): Likewise.
13591 (FE_DOWNWARD): Likewise.
13592 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
13593 (FE_DIVBYZERO): Likewise.
13594 (FE_OVERFLOW): Likewise.
13595 (FE_UNDERFLOW): Likewise.
13596 (FE_INEXACT): Likewise.
13597 (FE_TONEAREST): Likewise.
13598 (FE_DOWNWARD): Likewise.
13599 (FE_UPWARD): Likewise.
13600 (FE_TOWARDZERO): Likewise.
13601 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
13602 (FE_UNDERFLOW): Likewise.
13603 (FE_OVERFLOW): Likewise.
13604 (FE_DIVBYZERO): Likewise.
13605 (FE_INVALID): Likewise.
13606 (FE_TONEAREST): Likewise.
13607 (FE_TOWARDZERO): Likewise.
13608 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
13609 (FE_OVERFLOW): Likewise.
13610 (FE_UNDERFLOW): Likewise.
13611 (FE_DIVBYZERO): Likewise.
13612 (FE_INEXACT): Likewise.
13613 (FE_TONEAREST): Likewise.
13614 (FE_TOWARDZERO): Likewise.
13615 (FE_UPWARD): Likewise.
13616 (FE_DOWNWARD): Likewise.
13617 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
13618 (FE_DIVBYZERO): Likewise.
13619 (FE_OVERFLOW): Likewise.
13620 (FE_UNDERFLOW): Likewise.
13621 (FE_INEXACT): Likewise.
13622 (FE_TONEAREST): Likewise.
13623 (FE_DOWNWARD): Likewise.
13624 (FE_UPWARD): Likewise.
13625 (FE_TOWARDZERO): Likewise.
13626
105ca950
CM
136272012-11-02 Chris Metcalf <cmetcalf@tilera.com>
13628
13629 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
13630
a542b389
AS
136312012-11-03 Andreas Schwab <schwab@linux-m68k.org>
13632
13633 * scripts/cross-test-ssh.sh (command): Use newlines to separate
13634 commands. Quote $PWD.
13635 (blacklist_exports): Don't use remove_newlines. Replace "declare
13636 -x" by "export".
13637 (remove_newlines): Remove.
13638
f62c8abc
L
136392012-11-02 H.J. Lu <hongjiu.lu@intel.com>
13640
13641 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
13642 * stdlib/stdlib.h (atof): Moved to ...
13643 * include/bits/stdlib-float.h: Here. New file.
13644 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
13645 * stdlib/bits/stdlib-float.h: New file.
13646 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
13647 -mno-sse -mno-mmx.
13648 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
13649 <xmmintrin.h>.
13650
0155d5b2
JM
136512012-11-02 Joseph Myers <joseph@codesourcery.com>
13652
a68d0680
JM
13653 * conform/conformtest.pl (@headers): Add fenv.h.
13654 * conform/data/fenv.h-data: New file.
13655 * include/fenv.h [_ISOMAC]: Disable all contents of file except
13656 include of <math/fenv.h>.
13657
caf7f573
JM
13658 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
13659 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
13660 && !UNIX98]. Enables tests for XOPEN2K8.
13661 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
13662 POSIX2008]: Likewise.
13663
6c073ad6
JM
13664 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
13665 (struct rusage): Do not expect type or its members.
13666
0155d5b2
JM
13667 [BZ #3439]
13668 * math/math.h (FP_NAN): Define macro to integer constant usable in
13669 #if and use that to give value to enum constant.
13670 (FP_INFINITE): Likewise.
13671 (FP_ZERO): Likewise.
13672 (FP_SUBNORMAL): Likewise.
13673 (FP_NORMAL): Likewise.
13674
b5dcacb4
AS
136752012-11-02 Andreas Schwab <schwab@linux-m68k.org>
13676
13677 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
13678 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
13679 arguments.
13680
f7934be8
RM
136812012-11-02 Roland McGrath <roland@hack.frob.com>
13682
13683 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
13684 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
13685 autoconf-time if not.
13686 * configure.in: Remove AC_PREREQ.
13687
d7d08bde
TMQMF
136882012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13689
13690 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
13691 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
13692 of the internal implementation.
13693
dcdae19a
JM
136942012-11-02 Joseph Myers <joseph@codesourcery.com>
13695
13696 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
13697 except include of <misc/sys/syslog.h>.
13698
d6cffd3e
AS
136992012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13700
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
13702 function returns with a NULL context exit with zero.
13703
b3563932
TMQMF
137042012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13705
13706 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
13707
b288a93d
L
137082012-11-01 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
13711 (run_program_cmd): This.
13712 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
13713 (tst_langinfo): New variable. Use it.
13714
a2421a68
SAS
137152012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
13716
13717 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
13718 floating point opcodes.
13719
6f796e1b
TS
137202012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13721
7402596b
TS
13722 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
13723 variable.
13724
d0d4f868
TS
13725 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
13726
6f796e1b
TS
13727 * sysdeps/mach/hurd/powerpc: Remove directory.
13728 * sysdeps/mach/powerpc: Likewise.
13729
4da224a2
AS
137302012-11-01 Andreas Schwab <schwab@linux-m68k.org>
13731
13732 * scripts/check-local-headers.sh: Ignore c++ headers.
13733
341dd673
TS
137342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13735
13736 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
13737 __libc_cleanup_region_start argument.
13738
473611b2
JM
137392012-11-01 Joseph Myers <joseph@codesourcery.com>
13740
13741 [BZ #14784]
13742 [BZ #14785]
13743 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
13744 x * y using scaling, not as x * y + z.
13745 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13747 * math/libm-test.inc (fma_test): Add more tests.
13748 (fma_test_towardzero): Likewise.
13749 (fma_test_downward): Likewise.
13750 (fma_test_upward): Likewise.
13751
4078da3d
TS
137522012-11-01 Thomas Schwinge <thomas@codesourcery.com>
13753
13754 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
13755
903252aa
JM
137562012-10-31 Joseph Myers <joseph@codesourcery.com>
13757
13758 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
13759 New variable.
13760
cbc818d0
TS
137612012-10-31 Thomas Schwinge <thomas@codesourcery.com>
13762
13763 * rt/tst-shm.c (worker): Correct checking for mmap failure.
13764
5a03cb1e
AS
137652012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13766
13767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13768 Fix sort order.
13769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13770 Likewise.
13771
90aff2ff
TMQMF
137722012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13773
13774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13775 Fix the order of the list for glibc 2.17.
13776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13777 Likewise.
13778
1818fcb7
AS
137792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
13780
13781 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13782
ef82f4da
JM
137832012-10-31 Joseph Myers <joseph@codesourcery.com>
13784
16a0e2ec
JM
13785 [BZ #14610]
13786 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
13787 for low part of x being zero before using __atanl (y).
13788 * math/libm-test.inc (atan2_test): Add another test.
13789
0eb69512
JM
13790 * manual/install.texi (Configuring and compiling): Document
13791 general use of test-wrapper and test-wrapper-env.
13792 * INSTALL: Regenerated.
13793
ef82f4da
JM
13794 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
13795 (__fma): Do not extract and scale down low bits on after-rounding
13796 systems when result rounded to normal precision would have normal
13797 exponent.
13798 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
13799 (__fmal): Do not extract and scale down low bits on after-rounding
13800 systems when result rounded to normal precision would have normal
13801 exponent.
13802 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
13803 (__fmal): Do not extract and scale down low bits on after-rounding
13804 systems when result rounded to normal precision would have normal
13805 exponent.
13806 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
13807 macro.
13808 (fma_test): Add more tests.
13809 (fma_test_towardzero): Likewise.
13810 (fma_test_downward): Likewise.
13811 (fma_test_upward): Likewise.
13812
954ef0d9
L
138132012-10-30 H.J. Lu <hongjiu.lu@intel.com>
13814
13815 * sysdeps/i386/tininess.h: Renamed to ...
13816 * sysdeps/x86/tininess.h: This.
13817 * sysdeps/x86_64/tininess.h: Removed.
13818
df61ffb2
JM
138192012-10-30 Joseph Myers <joseph@codesourcery.com>
13820
13821 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
13822 input. Use $(build-program-cmd).
13823 ($(objpfx)tst-array1-static.out): Likewise.
13824 ($(objpfx)tst-array2.out): Likewise.
13825 ($(objpfx)tst-array3.out): Likewise.
13826 ($(objpfx)tst-array4.out): Likewise.
13827 ($(objpfx)tst-array5.out): Likewise.
13828 ($(objpfx)tst-array5-static.out): Likewise.
13829
01767843
CM
138302012-10-30 Chris Metcalf <cmetcalf@tilera.com>
13831
47cc1490
CM
13832 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
13833 if defined.
13834
01767843
CM
13835 * nss/nsswitch.h (nss_interface_function): Provide new
13836 macro for use with NSS functions.
13837 * grp/initgroups.c: Use new macro.
13838 * nss/getXXbyYY.c: Likewise.
13839 * nss/getXXbyYY_r.c: Likewise.
13840 * nss/getXXent.c: Likewise.
13841 * nss/getXXent_r.c: Likewise.
13842 * sysdeps/posix/getaddrinfo.c: Likewise.
13843
8321aa97
AJ
138442012-10-30 Andreas Jaeger <aj@suse.de>
13845
13846 * po/ru.po: Update Russion translation from translation project.
13847
2a27fd6d
JM
138482012-10-30 Joseph Myers <joseph@codesourcery.com>
13849
8627a232
JM
13850 [BZ #14152]
13851 [BZ #14783]
13852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
13853 result and shift together with sticky bit instead of replicating
13854 round-to-nearest rounding.
13855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
13856 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
13857 * math/libm-test.inc (fma_test): Add more tests. Do not permit
13858 missing underflow exceptions.
13859 (fma_test_towardzero): Add more tests.
13860 (fma_test_downward): Likewise.
13861 (fma_test_upward): Likewise.
13862
2a27fd6d
JM
13863 [BZ #14047]
13864 * sysdeps/generic/tininess.h: New file.
13865 * sysdeps/i386/tininess.h: Likewise.
13866 * sysdeps/sh/tininess.h: Likewise.
13867 * sysdeps/x86_64/tininess.h: Likewise.
13868 * stdlib/tst-strtod-underflow.c: Likewise.
13869 * stdlib/tst-tininess.c: Likewise.
13870 * stdlib/strtod_l.c: Include <tininess.h>.
13871 (round_and_return): Do not set errno for exact underflow cases.
13872 Force an underflow exception when setting errno for underflow.
13873 Determine underflow based on rounding to normal precision if
13874 TININESS_AFTER_ROUNDING.
13875 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
13876 ERANGE for exact underflow cases.
13877 * stdlib/Makefile (tests): Add tst-tininess and
13878 tst-strtod-underflow.
13879 ($(objpfx)tst-tininess): Use $(link-libm).
13880 ($(objpfx)tst-strtod-underflow): Likewise.
13881
e7170363
AJ
138822012-10-30 Andreas Jaeger <aj@suse.de>
13883
e5088dc6
AJ
13884 [BZ#14767]
13885 * elf/Makefile (tests): Remove conditional for have-initfini-array
13886 since this is now always required and the variable does not exist
13887 anymore.
13888 (tests-static): Likewise.
13889 (modules-names): Likewise.
13890
e7170363 13891 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
13892
13893 * elf/tst-array1.c (fini_array): Make writeable so that it can be
13894 merged with constructor/destructor.
13895 (init_array): Likewise.
13896 * elf/tst-array2dep.c (fini_array): Likewise.
13897 (init_array): Likewise.
13898
60457d8a
MF
138992012-10-29 Mike Frysinger <vapier@gentoo.org>
13900
13901 * manual/message.texi: Delete @cartouche tags.
13902
8bece752
PT
139032012-10-29 Pino Toscano <toscano.pino@tiscali.it>
13904
94ce799f
PT
13905 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
13906 EOPNOTSUPP.
13907 * sysdeps/mach/hurd/fsync.c: Likewise.
13908
8bece752
PT
13909 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
13910 [_POSIX_REALTIME_SIGNALS]: Change condition to
13911 [_POSIX_REALTIME_SIGNALS > 0].
13912
86ebe6b1
AJ
139132012-10-27 Andreas Jaeger <aj@suse.de>
13914
13915 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
13916 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
13917 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
13918 [__WORDSIZE != 64]: Likewise.
13919
54399c08
L
139202012-10-26 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 * iconvdata/tst-table.sh: Remove ${SHELL}.
13923 * iconvdata/tst-tables.sh: Likewise.
13924
e2211bed
DM
139252012-10-25 David S. Miller <davem@davemloft.net>
13926
13927 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13928 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
13929 of strtoull.
13930
f303f97c
DM
13931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
13932 ifunc-impl-list.c
13933 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13934 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
13935 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
13936 file.
13937
1e9d84cd
RM
139382012-10-25 Roland McGrath <roland@hack.frob.com>
13939
13940 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
13941 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
13942 __getdirentries.
13943
df381762
JM
139442012-10-25 Joseph Myers <joseph@codesourcery.com>
13945 Jim Blandy <jimb@codesourcery.com>
13946
13947 * scripts/cross-test-ssh.sh: New file.
13948 * manual/install.texi (Configuring and compiling): Document use of
13949 cross-test-ssh.sh.
13950 * INSTALL: Regenerated.
13951
bff64913
PT
139522012-10-25 Pino Toscano <toscano.pino@tiscali.it>
13953
13954 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
13955 EOPNOTSUPP.
13956
25fe8932
JM
139572012-10-25 Joseph Myers <joseph@codesourcery.com>
13958
13959 * Makeconfig (run-program-prefix): Fix comment.
13960
cc1290d0
JM
139612012-10-24 Joseph Myers <joseph@codesourcery.com>
13962 Jim Blandy <jimb@codesourcery.com>
13963
13964 * Makeconfig (test-wrapper): New variable,
13965 (test-wrapper-env): Likewise.
13966 [$(cross-compiling) = yes && $(test-wrapper) != ""]
13967 (run-built-tests): Define to yes.
13968 (run-program-prefix): Use $(test-wrapper).
13969 (built-program-cmd): Likewise.
13970 * Rules (make-test-out): Use $(test-wrapper-env) and
13971 $(host-built-program-cmd).
13972 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
13973 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
13974 tst-pathopt.sh.
13975 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
13976 $(test-wrapper-env) to tst-rtld-load-self.sh.
13977 ($(objpfx)order2.out): Use $(test-wrapper).
13978 ($(objpfx)tst-initorder.out): Likewise.
13979 ($(objpfx)tst-initorder2.out): Likewise.
13980 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
13981 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
13982 (test_wrapper_env): New variable. Use it to run ld.so.
13983 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
13984 Use it to run ld.so.
13985 (test_wrapper_env): Likewise.
13986 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
13987 $(test-wrapper) to run-iconv-test.sh.
13988 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
13989 (ICONV): Use $test_wrapper.
13990 * posix/Makefile ($(objpfx)globtest.out): Pass
13991 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
13992 globtest.sh, not $(run-program-prefix).
13993 * posix/globtest.sh (run_via_rtld_prefix): New variable.
13994 (test_wrapper): Likewise.
13995 (test_wrapper_env): Likewise. Use it to run globtest with HOME
13996 set together with run_via_rtld_prefix.
13997 (run_program_prefix): Define in terms of test_wrapper and
13998 run_via_rtld_prefix.
13999
6e6249d0
RM
140002012-10-24 Roland McGrath <roland@hack.frob.com>
14001
14002 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
14003 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
14004 Targets removed.
14005
14006 [BZ #14743]
14007 * include/time.h: Remove librt_hidden_proto (clock_gettime).
14008 Declare __clock_getres, __clock_gettime, __clock_settime,
14009 __clock_nanosleep, and __clock_getcpuclockid.
14010 * rt/clock_gettime.c: Define __clock_gettime as an alias.
14011 Remove librt_hidden_def (clock_gettime).
14012 * sysdeps/unix/clock_gettime.c: Likewise.
14013 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
14014 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
14015 * rt/clock_getres.c: Define __clock_getres as an alias.
14016 * sysdeps/posix/clock_getres.c: Likewise.
14017 * rt/clock_settime.c: Define __clock_settime as an alias.
14018 * sysdeps/unix/clock_settime.c: Likewise.
14019 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
14020 * sysdeps/unix/clock_nanosleep.c: Likewise.
14021 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
14022 * rt/clock-compat.c: New file.
14023 * rt/Makefile (librt-routines): Add clock-compat and move
14024 $(clock-routines) to ...
14025 (routines): ... here, new variable.
14026 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
14027 Don't add get_clockfreq here.
14028 * rt/Versions (libc: GLIBC_2.17): New version set.
14029 Add clock_* symbols here.
14030 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
14031 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
14032 (GLIBC_2.17): Add clock_* symbols.
14033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14034 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14035 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14037 Likewise.
14038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14039 Likewise.
14040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14041 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
14042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14044 * NEWS: Mention the move.
14045
14046 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14047 Use __open, __read, __close rather than their public counterparts.
14048 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
14049 (__get_clockfreq_via_cpuinfo): Likewise.
14050 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
14051 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
14052
14053 * config.h.in (HAVE_IFUNC): New #undef.
14054 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
14055 was successful.
14056 * configure: Regenerated.
14057
0cae3f4b
MF
140582012-10-24 Mike Frysinger <vapier@gentoo.org>
14059
14060 * configure.in: Move READELF check to start of file.
14061 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
14062 libc_cv_asm_gnu_indirect_function in the process.
14063 * configure: Regenerated.
14064
8175a253
MF
140652012-10-24 Mike Frysinger <vapier@gentoo.org>
14066
14067 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
14068 send the output to /dev/null.
14069 (libc_cv_cc_with_libunwind): Likewise.
14070 (libc_cv_as_noexecstack): Likewise.
14071 * configure: Regenerate.
14072
0708a7d1
JM
140732012-10-24 Joseph Myers <joseph@codesourcery.com>
14074
10b40d85
JM
14075 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
14076
0708a7d1
JM
14077 * posix/globtest.sh (TMPDIR): Do not set.
14078 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
14079 (testout): Likewise.
14080
9fddec1a
AJ
140812012-10-24 Andreas Jaeger <aj@suse.de>
14082
3a8db22f
AJ
14083 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
14084 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
14085 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
14086 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
14087 posix_fadvise64, posix_fallocate64.
14088
9fddec1a
AJ
14089 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
14090 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
14091 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
14092 Likewise.
14093 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
14094 Likewise.
14095 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
14096
14097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
14098 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
14099 <bits/fcntl-linux.h>.
14100 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
14101
14102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
14103 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
14104 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
14105 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
14106 [__WORDSIZE != 64]: Likewise.
14107
ebfd1bbd
JM
141082012-10-23 Joseph Myers <joseph@codesourcery.com>
14109
03ac099f
JM
14110 * Makeconfig (run-built-tests): New variable.
14111 * Rules [$(cross-compiling) = yes]: Change condition to
14112 [$(run-built-tests) = no].
14113 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
14114 to [$(run-built-tests) = yes].
14115 * elf/Makefile [$(cross-compiling) = no]: Likewise
14116 * grp/Makefile [$(cross-compiling) = no]: Likewise.
14117 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
14118 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
14119 * intl/Makefile [$(cross-compiling) = no]: Likewise.
14120 * io/Makefile [$(cross-compiling) = no]: Likewise.
14121 * libio/Makefile [$(cross-compiling) = no]: Likewise.
14122 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
14123 * misc/Makefile [$(cross-compiling) = no]: Likewise.
14124 * posix/Makefile [$(cross-compiling) = no]: Likewise.
14125 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
14126 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
14127 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
14128 * string/Makefile [$(cross-compiling) = no]: Likewise.
14129
ebfd1bbd
JM
14130 * posix/Makefile ($(objpfx)globtest.out): Pass
14131 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
14132 $(rtld-installed-name).
14133 * posix/globtest.sh (elf_objpfx): Remove variable.
14134 (rtld_installed_name): Likewise.
14135 (library_path): Likewise.
14136 (run_program_prefix): New variable. Use for running globtest
14137 binary.
14138
166bca24
JB
141392012-10-23 Jim Blandy <jimb@codesourcery.com>
14140 Joseph Myers <joseph@codesourcery.com>
14141
14142 * Makeconfig (host-built-program-cmd): New variable.
14143 * elf/Makefile (tst-stackguard1-ARGS): Use
14144 $(host-built-program-cmd).
14145 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
14146 (tst-spawn-ARGS): Likewise.
14147 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
14148
88866099
JM
141492012-10-23 Joseph Myers <joseph@codesourcery.com>
14150 Jim Blandy <jimb@codesourcery.com>
14151
14152 * Makeconfig (run-via-rtld-prefix): New variable.
14153 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
14154 (built-program-cmd): Likewise.
14155
b4b4c296
AJ
141562012-10-22 Andreas Jaeger <aj@suse.de>
14157
14158 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
14159 __O_RSYNC if it exists, otherwise to O_SYNC.
14160
6fb54a22
JB
141612012-10-22 Jim Blandy <jimb@codesourcery.com>
14162 Joseph Myers <joseph@codesourcery.com>
14163
14164 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
14165 /dev/null.
14166 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
14167 from /dev/null
14168 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
14169 /dev/null.
14170
481b90b9
AJ
141712012-10-22 Andreas Jaeger <aj@suse.de>
14172
2a0e2669
AJ
14173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
14174 Define always.
14175 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
14176
76e38f9a
AJ
14177 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
14178 bits/fcntl-linux.h.
14179
7cd37b43
AJ
14180 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
14181 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
14182
481b90b9
AJ
14183 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
14184 to __O_LARGEFILE.
14185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
14186 to __O_LARGEFILE.
14187
aba75984
JB
141882012-10-21 Jim Blandy <jimb@codesourcery.com>
14189 Joseph Myers <joseph@codesourcery.com>
14190
14191 * config.make.in (NM): New variable.
14192
88d4247f
AJ
141932012-10-21 Andreas Jaeger <aj@suse.de>
14194
14195 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
14196 definitions and declarations that are provided by
14197 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14198
f2eed205
L
141992012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14200
14201 [BZ #14683]
14202 * elf/Makefile (tests-static): Add tst-leaks1-static.
14203 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
14204 ($(objpfx)tst-leaks1-static): New rule.
14205 ($(objpfx)tst-leaks1-static-mem): Likewise.
14206 (tst-leaks1-static-ENV): New macro.
14207 * elf/dl-open.c (dl_open_worker): Check the main application
14208 only if SHARED is defined.
14209 * elf/tst-leaks1-static.c: New file.
14210
335e6931
AJ
142112012-10-20 Andreas Jaeger <aj@suse.de>
14212
14213 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
14214 generic values for Linux.
14215 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
14216 and declarations that are provided by <bits/fcntl-linux.h> and
14217 include <bits/fcntl-linux.h>.
14218 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14220
ac5c94d3
RM
142212012-10-20 Roland McGrath <roland@hack.frob.com>
14222
14223 * io/fcntl.h: Move include of <bits/types.h> to the top and
14224 include it unconditionally.
14225
de54b33a
L
142262012-10-20 H.J. Lu <hongjiu.lu@intel.com>
14227
228cfb01
L
14228 * wcsmbs/Makefile (tests-ifunc): New variable.
14229 (tests): Add $(tests-ifunc).
14230 * wcsmbs/test-wcschr-ifunc.c: New file.
14231 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
14232 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
14233 * wcsmbs/test-wcslen-ifunc.c: Likewise.
14234 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
14235 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
14236
69f07e5f
L
14237 * string/Makefile (tests-ifunc): New variable.
14238 (tests): Add $(tests-ifunc).
14239 * string/test-memccpy.c (TEST_NAME): New macro.
14240 * string/test-memchr.c (TEST_NAME): Likewise.
14241 * string/test-memcmp.c (TEST_NAME): Likewise.
14242 * string/test-memcpy.c (TEST_NAME): Likewise.
14243 * string/test-memmem.c (TEST_NAME): Likewise.
14244 * string/test-memmove.c (TEST_NAME): Likewise.
14245 * string/test-memset.c (TEST_NAME): Likewise.
14246 * string/test-rawmemchr.c (TEST_NAME): Likewise.
14247 * string/test-stpcpy.c (TEST_NAME): Likewise.
14248 * string/test-stpncpy.c (TEST_NAME): Likewise.
14249 * string/test-strcasecmp.c (TEST_NAME): Likewise.
14250 * string/test-strcasestr.c (TEST_NAME): Likewise.
14251 * string/test-strcat.c (TEST_NAME): Likewise.
14252 * string/test-strchr.c (TEST_NAME): Likewise.
14253 * string/test-strcmp.c(TEST_NAME): Likewise.
14254 * string/test-strcpy.c (TEST_NAME): Likewise.
14255 * string/test-strcspn.c (TEST_NAME): Likewise.
14256 * string/test-strlen.c (TEST_NAME): Likewise.
14257 * string/test-strncasecmp.c (TEST_NAME): Likewise.
14258 * string/test-strncmp.c (TEST_NAME): Likewise.
14259 * string/test-strncpy.c (TEST_NAME): Likewise.
14260 * string/test-strnlen.c (TEST_NAME): Likewise.
14261 * string/test-strpbrk.c (TEST_NAME): Likewise.
14262 * string/test-strrchr.c (TEST_NAME): Likewise.
14263 * string/test-strspn.c (TEST_NAME): Likewise.
14264 * string/test-strstr.c (TEST_NAME): Likewise.
14265 * string/test-bcopy-ifunc.c: New file.
14266 * string/test-bzero-ifunc.c: Likewise.
14267 * string/test-memccpy-ifunc.c: Likewise.
14268 * string/test-memchr-ifunc.c: Likewise.
14269 * string/test-memcmp-ifunc.c: Likewise.
14270 * string/test-memcpy-ifunc.c: Likewise.
14271 * string/test-memmem-ifunc.c: Likewise.
14272 * string/test-memmove-ifunc.c: Likewise.
14273 * string/test-mempcpy-ifunc.c: Likewise.
14274 * string/test-memset-ifunc.c: Likewise.
14275 * string/test-rawmemchr-ifunc.c: Likewise.
14276 * string/test-stpcpy-ifunc.c: Likewise.
14277 * string/test-stpncpy-ifunc.c: Likewise.
14278 * string/test-strcasecmp-ifunc.c: Likewise.
14279 * string/test-strcasestr-ifunc.c: Likewise.
14280 * string/test-strcat-ifunc.c: Likewise.
14281 * string/test-strchr-ifunc.c: Likewise.
14282 * string/test-strchrnul-ifunc.c: Likewise.
14283 * string/test-strcmp-ifunc.c: Likewise.
14284 * string/test-strcpy-ifunc.c: Likewise.
14285 * string/test-strcspn-ifunc.c: Likewise.
14286 * string/test-strlen-ifunc.c: Likewise.
14287 * string/test-strncasecmp-ifunc.c: Likewise.
14288 * string/test-strncat-ifunc.c: Likewise.
14289 * string/test-strncmp-ifunc.c: Likewise.
14290 * string/test-strncpy-ifunc.c: Likewise.
14291 * string/test-strnlen-ifunc.c: Likewise.
14292 * string/test-strpbrk-ifunc.c: Likewise.
14293 * string/test-strrchr-ifunc.c: Likewise.
14294 * string/test-strspn-ifunc.c: Likewise.
14295 * string/test-strstr-ifunc.c: Likewise.
14296
de54b33a
L
14297 * debug/Makefile (tests-ifunc): New variable.
14298 (tests): Add $(tests-ifunc).
14299 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
14300 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
14301 * debug/test-stpcpy_chk-ifunc.c: New file.
14302 * debug/test-strcpy_chk-ifunc.c: Likewise.
14303
88481c16
SP
143042012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
14305
14306 [BZ #13601]
14307 * elf/dl-load.c (open_verify): Retry read if the entire ELF
14308 header is not read in.
14309
135948bd
JM
143102012-10-19 Joseph Myers <joseph@codesourcery.com>
14311
89f1c388
JM
14312 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
14313 script to $(SHELL) as $<. Pass $(common-objpfx) to script
14314 directly. Pass built executable to script as
14315 $(built-program-cmd).
14316 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
14317 $testprogram without using LD_LIBRARY_PATH and $ldso.
14318
e40a0d21
JM
14319 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
14320 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
14321 $(rtld-installed-name).
14322 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
14323 (rtld_installed_name): Likewise.
14324 (library_path): Likewise.
14325 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
14326 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
14327 $(run-program-prefix) to tst-tables.sh.
14328 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
14329 it to run tst-table-from and tst-table-to.
14330 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
14331 Pass it to tst-table.sh.
14332 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
14333 $(run-program-prefix) to tst-gettext.sh.
14334 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
14335 tst-translit.sh.
14336 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
14337 tst-gettext2.sh.
14338 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
14339 to run tst-gettext.
14340 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
14341 to run tst-gettext2.
14342 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
14343 to run tst-translit.
14344 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
14345 $(run-program-prefix) to tst-mtrace.sh.
14346 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
14347 to run tst-mtrace.
14348 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
14349 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
14350 $(rtld-installed-name).
14351 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
14352 (rtld_installed_name): Likewise.
14353 (run_program_prefix): New variable. Use it to run wordexp-test.
14354
728e272a
JM
14355 * Makeconfig (ARCH): Remove all definitions.
14356 (machine): Likewise.
14357 [ARCH]: Remove conditional code.
14358 [!objdir]: Give error.
14359 [!objdir] (objpfx): Remove.
14360 [!objdir] (common-objpfx): Likewise.
14361 [!objdir] (common-objdir): Likewise.
14362 * configure.in (config_makefile): Remove. Hardcode Makefile in
14363 AC_CONFIG_FILES call.
14364 * configure: Regenerated.
14365
d528cdcf
JM
14366 [BZ #13888]
14367 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
14368 or TMPDIR.
14369 (testout): Likewise.
14370
135948bd
JM
14371 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
14372 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
14373 $(rtld-installed-name).
14374 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
14375 (rtld_installed_name): Likwise.
14376 (runit): Remove function.
14377 (run_getconf): New variable, Use it for running getconf binary.
14378
38c78296
L
143792012-10-18 H.J. Lu <hongjiu.lu@intel.com>
14380
14381 [BZ #14716]
14382 * string/test-memmem.c (check_result): New function.
14383 (do_one_test): Use it.
14384 (check1): New function.
14385 (test_main): Use it.
14386
d077f65f
MT
143872012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
14388
14389 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
14390
ced52c71
JM
143912012-10-18 Joseph Myers <joseph@codesourcery.com>
14392
14393 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
14394 (_G_LSEEK64): Likewise.
14395 (_G_MMAP64): Likewise.
14396 (_G_FSTAT64): Likewise.
14397 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
14398 (_G_LSEEK64): Likewise.
14399 (_G_MMAP64): Likewise.
14400 (_G_FSTAT64): Likewise.
14401 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
14402 unconditional. Call __mmap64 directly.
14403 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
14404 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
14405 __lseek64 directly.
14406 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
14407 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
14408 __mmap64 directly.
14409 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
14410 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
14411 __lseek64 directly.
14412 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
14413 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
14414 __lseek64 directly.
14415 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
14416 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
14417 __lseek64 directly.
14418 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
14419 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
14420 __fxstat64 directly.
14421 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
14422 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
14423 unconditional.
14424 (freopen64) [!_G_OPEN64]: Remove conditional code.
14425 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
14426 unconditional.
14427 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
14428 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
14429 unconditional.
14430 (ftello64) [!_G_LSEEK64]: Remove conditional code.
14431 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
14432 unconditional.
14433 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14434 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
14435 unconditional.
14436 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
14437 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
14438 unconditional.
14439 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14440 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
14441 unconditional.
14442 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
14443 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
14444 unconditional.
14445 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
14446
b741de23
SP
144472012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
14448
14449 [BZ #12140]
14450 * manual/memory.texi (Malloc Tunable Parameters): Add note
14451 about free list pointers overwriting some perturb bytes.
14452 Wording suggested by Roland McGrath.
14453
f9b9d9c9
JM
144542012-10-17 Joseph Myers <joseph@codesourcery.com>
14455
14456 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
14457 (lgamma_test): Likewise.
14458 (tgamma_test): Likewise.
14459
172a631a
FW
144602012-10-16 Florian Weimer <fweimer@redhat.com>
14461
14462 [BZ #14700]
14463 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
14464 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
14465
e9f37252
MK
144662012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
14467
14468 * NEWS: Mention BZ #14716.
14469 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
14470 when removing AVAILABLE1_USES_J macro.
14471
d394eb74
L
144722012-10-12 H.J. Lu <hongjiu.lu@intel.com>
14473
14474 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
14475 (__bswap_64): __uint64_t for unsigned 64-bit int.
14476
ca38dc17
AS
144772012-10-12 Andreas Schwab <schwab@linux-m68k.org>
14478
14479 * include/string.h (memmem): Declare libc hidden alias.
14480 * string/memmem.c (memmem): Define libc hidden alias.
14481 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
14482 __read, __close instead of open, read, close.
14483
9a387d1f
L
144842012-10-11 H.J. Lu <hongjiu.lu@intel.com>
14485
ac49ecaf
L
14486 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
14487 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
14488 global and hidden.
14489 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
14490 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
14491 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
14492 Likewise.
14493 (__rawmemchr_sse2): Likewise.
14494 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
14495 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
14496 (__strchr_sse2): Likewise.
14497 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
14498 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
14499 (__strcasecmp_sse2): Likewise.
14500 (__strncasecmp_sse2): Likewise.
14501 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
14502 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
14503 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
14504 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
14505 (__strrchr_sse2): Likewise.
14506 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
14507 ifunc-impl-list.c.
14508 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14509 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14510 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14511 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14512 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14513 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14514 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14515 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14516 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
14517 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
14518 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
14519 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
14520 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
14521 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14522 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14523 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14524 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14525 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14526 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
14527 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
14528 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
14529 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
14530 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
14531 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
14532 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
14533 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14534 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14535 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14536 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14537 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14538
b090e8ea
L
14539 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
14540 global and hidden.
14541 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
14542 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
14543 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
14544 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
14545 Likewise.
14546 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
14547 Likewise.
14548 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
14549 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
14550 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
14551 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
14552 ifunc-impl-list.c.
14553 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
14554 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
14555 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
14556 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
14557 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
14558 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
14559 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
14560 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
14561 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
14562 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
14563 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
14564 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
14565 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
14566 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
14567 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
14568 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14569 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
14570 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
14571 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
14572 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
14573 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
14574 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
14575 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
14576 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
14577 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14578 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
14579 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
14580 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
14581 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
14582 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
14583 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
14584 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
14585 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
14586 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
14587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
14588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
14589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
14590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
14591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
14592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
14593 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
14594
11dd4af6
L
14595 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
14596 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
14597 * include/ifunc-impl-list.h: New file.
14598 * misc/ifunc-impl-list.c: Likewise.
14599 * misc/Makefile (routines): Add ifunc-impl-list.
14600 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
14601 * string/test-string.h: Include <ifunc-impl-list.h>.
14602 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
14603 impl_array): New variables.
14604 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
14605 are defined.
14606 (test_init): Call __libc_ifunc_impl_list to initialize
14607 func_list if TEST_IFUNC and TEST_NAME are defined.
14608
9a387d1f
L
14609 * string/Makefile (strop-tests): Add bcopy and bzero.
14610 * string/test-bcopy.c: New file.
14611 * string/test-bzero.c: Likewise.
14612 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
14613 defined.
14614 * string/test-memset.c: Support bzero test if TEST_BZERO is
14615 defined.
14616 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
14617 __libc_memmove.
14618 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
14619 __libc_memset.
14620 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
14621 of memset.
14622
472371b9
JM
146232012-10-10 Joseph Myers <joseph@codesourcery.com>
14624
1e4a9536
JM
14625 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
14626 * configure: Regenerated.
14627
d173d12e
JM
14628 * Makeconfig (+link-static-before-libc): Don't include
14629 $(link-static-libc).
14630
472371b9
JM
14631 * libio/libio.h (_IO_pos_t): Remove.
14632
89a3ad0b
AO
146332012-10-10 Alexandre Oliva <aoliva@redhat.com>
14634
14635 * NEWS: Add note about FIPS mode. Wording suggested by Roland
14636 McGrath.
14637
e7451425
AO
146382012-10-10 Alexandre Oliva <aoliva@redhat.com>
14639
14640 * crypt/crypt-entry.c: Include fips-private.h.
14641 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
14642 * crypt/md5c-test.c (main): Tolerate disabled MD5.
14643 * sysdeps/unix/sysv/linux/fips-private.h: New file.
14644 * sysdeps/generic/fips-private.h: New file, dummy fallback.
14645
4ba74a35
AO
146462012-10-10 Alexandre Oliva <aoliva@redhat.com>
14647
14648 * crypt/crypt-private.h: Include stdbool.h.
14649 (_ufc_setup_salt_r): Return bool.
14650 * crypt/crypt-entry.c: Include errno.h.
14651 (__crypt_r): Return NULL with EINVAL for bad salt.
14652 * crypt/crypt_util.c (bad_for_salt): New.
14653 (_ufc_setup_salt_r): Check that salt is long enough and within
14654 the specified alphabet.
14655 * crypt/badsalttest.c: New file.
14656 * crypt/Makefile (tests): Add it.
14657 ($(objpfx)badsalttest): New.
14658
f96f1242
MK
146592012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
14660
14661 * NEWS: Add entry for BZ #14602.
14662
0e8e0c1c
JM
146632012-10-09 Joseph Myers <joseph@codesourcery.com>
14664
14665 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
14666 type-generic.
14667 * math/libm-test.inc: Update comment listing what functions and
14668 macros are tested.
14669 (isgreater_test): New function.
14670 (isgreaterequal_test): Likewise.
14671 (isless_test): Likewise.
14672 (islessequal_test): Likewise.
14673 (islessgreater_test): Likewise.
14674 (isunordered_test): Likewise.
14675 (main): Call the new functions.
14676
273edc5e
RM
146772012-10-09 Roland McGrath <roland@hack.frob.com>
14678
b8493de0
RM
14679 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
14680 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
14681 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
14682 * sysdeps/i386/configure: Regenerated.
14683 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
14684 * sysdeps/mach/configure: Regenerated.
14685 * sysdeps/mach/hurd/configure: Regenerated.
14686 * sysdeps/powerpc/configure: Regenerated.
14687 * sysdeps/powerpc/powerpc32/configure: Regenerated.
14688 * sysdeps/powerpc/powerpc64/configure: Regenerated.
14689 * sysdeps/s390/s390-32/configure: Regenerated.
14690 * sysdeps/s390/s390-64/configure: Regenerated.
14691 * sysdeps/sh/configure: Regenerated.
14692 * sysdeps/sparc/configure: Regenerated.
14693 * sysdeps/unix/sysv/linux/configure: Regenerated.
14694 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
14695 * sysdeps/x86_64/configure: Regenerated.
14696
273edc5e
RM
14697 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
14698 defined. Don't check if MAP is NULL.
14699
c8450f70
JM
147002012-10-09 Joseph Myers <joseph@codesourcery.com>
14701
14702 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
14703 (_G_stat64): Likewise.
14704 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
14705 (_G_stat64): Likewise.
14706 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
14707 instead of struct _G_stat64.
14708 * libio/fileops.c (mmap_remap_check): Likewise.
14709 (decide_maybe_mmap): Likewise.
14710 (_IO_new_file_seekoff): Likewise.
14711 (_IO_file_stat): Likewise.
14712 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
14713 _G_off64_t.
14714 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
14715 instead of struct _G_stat64.
14716 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
14717
57e605ba
MK
147182012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
14719
14720 [BZ #14602]
14721 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14722 Replace with ...
14723 (CHECK_EOL): New macro.
14724 (two_way_short_needle): Check beginning of haystack for EOL. Use
14725 CHECK_EOL.
14726 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14727 Replace with CHECK_EOL.
14728 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
14729 Replace with CHECK_EOL.
14730
ef1bb361
JM
147312012-10-08 Joseph Myers <joseph@codesourcery.com>
14732
14733 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
14734 type-generic.
14735 * math/libm-test.inc: Update comment listing what functions and
14736 macros are tested.
14737 (finite_test): New function.
14738 (isinf_test): Likewise.
14739 (isnan_test): Likewise.
14740 (fpclassify_test): Test subnormal input.
14741 (isfinite_test): Likewise.
14742 (isnormal_test): Likewise.
14743 (main): Call the new functions.
14744
55f11534
JN
147452012-10-08 Jonathan Nieder <jrnieder@gmail.com>
14746
14747 [BZ #14660]
14748 * Makerules (%.dynsym): Force C locale when running
14749 $(OBJDUMP) --dynamic-syms.
14750
1ab29350
AS
147512012-10-08 Andreas Schwab <schwab@linux-m68k.org>
14752
14753 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
14754 <stdint.h>.
14755
f1ecb7ef
DM
147562012-10-06 David S. Miller <davem@davemloft.net>
14757
14758 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
14759 upper 32-bits of the length value in %o2 since we use branch-on-register
14760 tests which consider the entire 64-bit register.
14761
5d41d91a
L
147622012-10-06 H.J. Lu <hongjiu.lu@intel.com>
14763
14764 * string/test-strstr.c (check2): Add a test for page boundary.
14765
3baddb72
DM
147662012-10-05 David S. Miller <davem@davemloft.net>
14767
14768 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
14769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
14770 file.
14771 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
14772 sysdep_routines.
14773 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
14774 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
14775 and bzero when HWCAP_SPARC_CRYPTO is present.
14776
9cee5585
L
147772012-10-05 H.J. Lu <hongjiu.lu@intel.com>
14778
d7e0dab9
L
14779 [BZ #14602]
14780 * string/test-strstr.c (check2): New function.
14781 (test_main): Call check2.
14782
03759f47
L
14783 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
14784 and bug-strchr1.
14785 * string/bug-strcasestr1.c (do_test): Moved to ...
14786 * string/test-strcasestr.c (check1): Here. New function.
14787 (do_one_test): Break out result checking code into ...
14788 (check_result): This. New function.
14789 (do_one_test): Call check_result.
14790 (test_main): Call check1.
14791 * string/bug-strchr1.c (do_test): Moved to ...
14792 * string/test-strchr.c (check1): Here. New function.
14793 (do_one_test): Break out result checking code into ...
14794 (check_result): This. New function.
14795 (do_one_test): Call check_result.
14796 (test_main): Call check1.
14797 * string/bug-strstr1.c (main): Moved to ...
046f153e 14798 * string/test-strstr.c (check1): Here. New function.
03759f47
L
14799 (do_one_test): Break out result checking code into ...
14800 (check_result): This. New function.
14801 (do_one_test): Call check_result.
14802 (test_main): Call check1.
14803 * string/bug-strcasestr1.c: Removed.
14804 * string/bug-strchr1.c: Likewise.
14805 * string/bug-strstr1.c: Likewise.
14806
53cea63e
L
14807 * elf/Makefile (dl-routines): Add hwcaps.
14808 * elf/dl-support.c (_dl_important_hwcaps): Removed.
14809 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
14810 (_dl_important_hwcaps): Moved to ...
14811 * elf/dl-hwcaps.c: Here. New file.
14812 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
14813
9cee5585 14814 [BZ #14557]
bb859b06
L
14815 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
14816 if IS_IN_rtld isn't defined.
14817
9cee5585
L
14818 * elf/dl-support.c (_dl_sysinfo_map): New.
14819 Include "get-dynamic-info.h" and "setup-vdso.h".
14820 (_dl_non_dynamic_init): Call setup_vdso.
14821 * elf/dynamic-link.h: Don't include <assert.h>.
14822 (elf_get_dynamic_info): Moved to ...
14823 * elf/get-dynamic-info.h: Here. New file.
14824 * elf/dynamic-link.h: Include "get-dynamic-info.h".
14825 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
14826 * elf/setup-vdso.h: Here. New file.
14827 * elf/rtld.c: Include "setup-vdso.h".
14828 (dl_main): Call setup_vdso.
14829
23c31b76
JM
148302012-10-05 Joseph Myers <joseph@codesourcery.com>
14831
28234b07
JM
14832 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
14833 creal in comment listing functions tested. List finite, isinf,
14834 isnan, isless, islessequal, isgreater, isgreaterequal,
14835 islessgreater, isunordered, lgamma_r and pow10 as functions and
14836 macros not tested. Mention which functions not tested are aliases
14837 for other functions. Fix typo. Note that signs of NaNs are not
14838 tested.
14839
23c31b76
JM
14840 * scripts/config.guess: Update from config.git.
14841 * scripts/config.sub: Likewise.
14842
9043e228
RM
148432012-10-04 Roland McGrath <roland@hack.frob.com>
14844
14845 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
14846 * misc/madvise.c (madvise): Renamed to __madvise.
14847 Make madvise a weak alias.
14848 * include/sys/mman.h: Declare __madvise.
14849 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
14850 * sysdeps/unix/syscalls.list
14851 (madvise): Make __madvise the strong name, and madvise a weak alias.
14852 * sysdeps/unix/sysv/linux/syscalls.list
14853 (madvise, mmap): Remove redundant entries.
14854 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
14855 * malloc/malloc.c (mtrim): Likewise.
14856 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
14857
f57f8055
RM
148582012-10-03 Roland McGrath <roland@hack.frob.com>
14859
14860 * sysdeps/mach/hurd/dl-cache.c: File removed.
14861 * config.h.in (USE_LDCONFIG): New #undef.
14862 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
14863 * configure: Regenerated.
14864 * elf/Makefile (dl-routines): Add dl-cache only under
14865 [$(use-ldconfig) = yes].
14866 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
14867 cache on [USE_LDCONFIG].
14868 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
14869 [USE_LDCONFIG].
14870 * elf/rtld.c (dl_main): Likewise.
14871
5bb0c10a
PT
148722012-10-03 Pino Toscano <toscano.pino@tiscali.it>
14873
14874 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
14875 _SC_LEVEL4_CACHE_LINESIZE.
14876
010188c6
RM
148772012-10-03 Roland McGrath <roland@hack.frob.com>
14878
14879 * sysdeps/unix/bsd/confstr.h: File removed.
14880
b6c5ec07
AO
148812012-10-02 Alexandre Oliva <aoliva@redhat.com>
14882
14883 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
14884 sys/sdt-config.h.
14885
408223d4
RM
148862012-10-02 Roland McGrath <roland@hack.frob.com>
14887
14888 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
14889 Make 'mapoff' field ElfW(Off) rather than off_t.
14890
bb9510dc
DL
148912012-10-02 Dmitry V. Levin <ldv@altlinux.org>
14892
fc997c6e
DL
14893 * nscd/Makefile: Remove nscd-cflags and all its users.
14894 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
14895 (CFLAGS-nonlib): Add compiler flags for nscd modules.
14896
bb9510dc
DL
14897 [BZ #10631]
14898 * malloc.c (malloc_printerr): Clarify error message.
14899
05699367
L
149002012-10-02 H.J. Lu <hongjiu.lu@intel.com>
14901
14902 [BZ #14648]
14903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14904 Set bit_FMA_Usable if FMA is supported.
14905 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
14906 macro.
14907 (bit_FMA4_Usable): Updated.
14908 (index_FMA_Usable): New macro.
14909 (CPUID_FMA): Likewise
14910 (HAS_FMA): Defined with bit_FMA_Usable.
14911
51367701
RM
149122012-10-01 Roland McGrath <roland@hack.frob.com>
14913
14914 * bits/types.h (__swblk_t): Type removed.
14915 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
14916 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
14917 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14918 (__SWBLK_T_TYPE): Likewise.
14919 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14920 (__SWBLK_T_TYPE): Likewise.
14921 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14922 (__SWBLK_T_TYPE): Likewise.
14923 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
14924 (__SWBLK_T_TYPE): Likewise.
14925
4d57bf63 149262012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 14927 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
14928
14929 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
14930 (xdr_mapname): Use YPMAXMAP as maxsize.
14931 (xdr_peername): Use YPMAXPEER as maxsize.
14932 (xdr_keydat): Use YPAXRECORD as maxsize.
14933 (xdr_valdat): Use YPMAXRECORD as maxsize.
14934
93c65d43
RM
149352012-10-01 Roland McGrath <roland@hack.frob.com>
14936
497a03d6
RM
14937 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
14938
93c65d43
RM
14939 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
14940 * csu/init-first.c: ... here.
14941 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
14942 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
14943 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
14944 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
14945 * sysdeps/i386/init-first.c: File removed.
14946 * sysdeps/sh/init-first.c: File removed.
14947
bec749fd
JM
149482012-10-01 Joseph Myers <joseph@codesourcery.com>
14949
14950 [BZ #14645]
14951 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
14952 if x * y might underflow to zero and z is zero.
14953 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14955 * math/libm-test.inc (min_subnorm_value): New variable.
14956 (fma_test): Add more tests.
14957 (fma_test_towardzero): Likewise.
14958 (fma_test_downward): Likewise
14959 (fma_test_upward): Likewise.
14960 (initialize): Set min_subnorm_value.
14961
8ec5b013
JM
149622012-09-29 Joseph Myers <joseph@codesourcery.com>
14963
14964 [BZ #14638]
14965 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
14966 0 + 0.
14967 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
14968 mode for addition resulting in exact zero.
14969 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
14970 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
14971 exact 0 + 0.
14972 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14973 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14974 * math/libm-test.inc (fma_test): Add more tests.
14975 (fma_test_towardzero): New function.
14976 (fma_test_downward): Likewise.
14977 (fma_test_upward): Likewise.
14978 (main): Call the new functions.
14979
b1fa802e
DM
149802012-09-28 David S. Miller <davem@davemloft.net>
14981
14982 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
14983
d3b9fd9e
RM
149842012-09-28 Roland McGrath <roland@hack.frob.com>
14985
ea4d37b3
RM
14986 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
14987 instead of SIGALRM.
14988
ac51c949
RM
14989 * sysdeps/gnu/_G_config.h: Moved to ...
14990 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
14991 * sysdeps/mach/hurd/_G_config.h: Moved to ...
14992 * sysdeps/generic/_G_config.h: ... here.
14993
28c195f7
RM
14994 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
14995
848917f9
RM
14996 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
14997
6bacf05b
RM
14998 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
14999 Conditionalize target on [libnss_test1.so-version].
15000
91363dbb
RM
15001 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
15002
cc87f7d8
RM
15003 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
15004 (elfobjdir): Move out of conditionals.
15005
b1c608fe
RM
15006 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
15007 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
15008 (__nss_lookup_function): Conditionalize label remove_from_tree on
15009 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 15010
1d9a6d96
DM
150112012-09-28 David S. Miller <davem@davemloft.net>
15012
15013 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
15014 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
15015 file.
15016 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
15017 sysdep_routines.
15018 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
15019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
15020 when HWCAP_SPARC_CRYPTO is present.
15021
72581615
PT
150222012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15023
15024 * io/tst-mknodat.c: Create a FIFO instead of a socket.
15025
715a900c
JL
150262012-09-28 Andreas Schwab <schwab@linux-m68k.org>
15027
15028 [BZ #6530]
15029 * stdio-common/vfprintf.c (process_string_arg): Revert
15030 2000-07-22 change.
15031
150322011-09-28 Jonathan Nieder <jrnieder@gmail.com>
15033
15034 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
15035 for testcase.
15036 * stdio-common/tst-sprintf.c: Include <locale.h>
15037 (main): Test sprintf's handling of incomplete multibyte
15038 characters.
15039
9bac1d86
L
150402012-09-28 H.J. Lu <hongjiu.lu@intel.com>
15041
15042 * elf/dl-runtime.c (VERSYMIDX): Removed.
15043 * elf/dl-version.c (VERSYMIDX): Likewise.
15044 * elf/do-rel.h (VERSYMIDX): Likewise.
15045 (VALIDX): Likewise.
15046 * elf/dynamic-link.h (VERSYMIDX): Likewise.
15047 * elf/rtld.c (VALIDX): Likewise.
15048 (ADDRIDX): Likewise.
9bac1d86
L
15049 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
15050 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
15051 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
15052 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
15053 (VALIDX): Likewise.
15054 (ADDRIDX): Likewise.
9bac1d86 15055
b31606c0
PT
150562012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15057
15058 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
15059
11541177
JL
150602012-09-28 Dmitry V. Levin <ldv@altlinux.org>
15061
15062 [BZ #11438]
15063 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
15064 to global scope.
15065 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
15066 addresses are in the same scope as 192.0.2/24.
15067 * posix/gai.conf: Document new scope table defaults.
15068
adb26fae
SP
150692012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15070
15071 [BZ #5298]
15072 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
15073 for ftell. Compute offsets from write pointers instead.
15074 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
15075
4573c6b0
SP
150762012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15077
15078 [BZ #14543]
15079 * libio/Makefile (tests): New test case tst-fseek.
15080 * libio/tst-fseek.c: New test case to verify that fseek/ftell
15081 combination works in wide mode.
15082 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
15083 state when the external buffer state changes.
15084
aa9bbfe6
DM
150852012-09-27 David S. Miller <davem@davemloft.net>
15086
15087 [BZ #14376]
15088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
15089 pass reloc->r_addend in as the 'high' argument to
15090 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
15091
784421e7
DM
15092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15093
c39bc8b8
PT
150942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
15095
15096 * rt/tst-aio2.c: Include <pthread.h>.
15097 * rt/tst-aio3.c: Likewise.
15098
1ccc2399
SE
150992012-09-27 Steve Ellcey <sellcey@mips.com>
15100
15101 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
15102
31ed4153
L
151032012-09-27 H.J. Lu <hongjiu.lu@intel.com>
15104
25f5f885
L
15105 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
15106 contents on [SHARED].
31ed4153 15107
b7bfe116
MP
151082012-09-26 Marek Polacek <polacek@redhat.com>
15109
15110 [BZ #14530]
15111 [BZ #13741]
15112 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
15113 for C++ and GCC <4.3 as well as for non GCC compilers.
15114
43c4edba
MT
151152012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15116
15117 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15118
6a1bf82f
RM
151192012-09-25 Roland McGrath <roland@hack.frob.com>
15120
15121 * Makefile.in (all, install): Declare with .PHONY.
15122 Reported by Michael Hope <michael.hope@linaro.org>.
15123
8ad11b9a
TMQMF
151242012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15125
15126 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
15127 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
15128 system header.
15129 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
15130 Likewise.
15131 (sydep_routines): Add the new and the internal functions.
15132 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
15133 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
15134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
15135 (GLIBC_2.17): Add the new function.
15136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15137 (GLIBC_2.17): Likewise.
15138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
15139 (GLIBC_2.17): Likewise.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
15141 (GLIBC_2.17): Likewise.
15142 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
15143
7e2fca8d
AM
151442012-09-25 Alan Modra <amodra@gmail.com>
15145
15146 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
15147 Add release barrier before setting once_control to say
15148 initialisation is done. Add hints on lwarx. Use macro in
15149 place of isync.
15150 (clear_once_control): Add release barrier.
15151
b87c4b24
JM
151522012-09-25 Joseph Myers <joseph@codesourcery.com>
15153
d032e0d2
JM
15154 [BZ #13629]
15155 * math/s_clog.c (__clog): Handle more values close to |z| = 1
15156 specially.
15157 * math/s_clog10.c (__clog10): Likewise.
15158 * math/s_clog10f.c (__clog10f): Likewise.
15159 * math/s_clog10l.c (__clog10l): Likewise.
15160 * math/s_clogf.c (__clogf): Likewise.
15161 * math/s_clogl.c (__clogl): Likewise.
15162 * math/Makefile (libm-calls): Add x2y2m1.
15163 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
15164 (__x2y2m1): Likewise.
15165 (__x2y2m1l): Likewise.
15166 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
15167 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
15168 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15169 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
15170 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15171 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
15172 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
15173 * sysdeps/i386/fpu/libm-test-ulps: Update.
15174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15175
b87c4b24
JM
15176 [BZ #14621]
15177 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
15178 int as type of variable DEPTH.
15179 (glob): Use size_t instead of int as type of variables NEWCOUNT
15180 and OLD_PATHC.
15181
6d3bf199
LD
151822012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15183
22bf5c17
LD
15184 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15185 Add s_sincosf-sse2.
15186 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
15187 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
15188 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
15189 macros for using routine as __sincosf_ia32.
15190 Use macro for function declaration and weak_alias.
15191 * sysdeps/i386/fpu/libm-test-ulps: Update.
15192
15193 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
15194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15195
15196 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
15197 subnormal argument.
15198 * math/s_cexpf.c (__cexpf): Likewise.
15199 * math/s_csinf.c (__csinf): Likewise.
15200 * math/s_csinhf.c (__csinhf): Likewise.
15201 * math/s_ctanf.c (__ctanf): Likewise.
15202 * math/s_ctanhf.c (__ctanhf): Likewise.
15203 * math/s_ccosh.c (__ccoshf): Likewise.
15204 * math/s_cexp.c (__cexpl): Likewise.
15205 * math/s_csin.c (__csin): Likewise.
15206 * math/s_csinh.c (__csinh): Likewise.
15207 * math/s_ctan.c (__ctan): Likewise.
15208 * math/s_ctanh.c (ctanh): Likewise.
15209 * math/s_ccoshl.c (__ccoshl): Likewise.
15210 * math/s_cexpl.c (__cexpl): Likewise.
15211 * math/s_csinl.c (__csinl): Likewise.
15212 * math/s_csinhl.c (__csinhl): Likewise.
15213 * math/s_ctanl.c (__ctanl): Likewise.
15214 * math/s_ctanhl.c (__ctanhl): Likewise.
15215
203e5603
JM
152162012-09-25 Joseph Myers <joseph@codesourcery.com>
15217
15218 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
15219 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
15220 (_IO_off_t): Define to __off_t, not _G_off_t.
15221 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
15222 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
15223 (_IO_wint_t): Define to wint_t, not _G_wint_t.
15224 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
15225 type of __dummy and __dummy2 fields.
15226 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
15227 (_G_ssize_t): Likewise.
15228 (_G_off_t): Likewise.
15229 (_G_pid_t): Likewise.
15230 (_G_uid_t): Likewise.
15231 (_G_wchar_t): Likewise.
15232 (_G_wint_t): Likewise.
15233 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
15234 (_G_ssize_t): Likewise.
15235 (_G_off_t): Likewise.
15236 (_G_pid_t): Likewise.
15237 (_G_uid_t): Likewise.
15238 (_G_wchar_t): Likewise.
15239 (_G_wint_t): Likewise.
15240 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
15241 (_G_ssize_t): Likewise.
15242 (_G_off_t): Likewise.
15243 (_G_pid_t): Likewise.
15244 (_G_uid_t): Likewise.
15245 (_G_wchar_t): Likewise.
15246 (_G_wint_t): Likewise.
15247
9fab36eb
SP
152482012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15249
15250 * malloc/arena.c: Include malloc-sysdep.h.
15251 (shrink_heap): Use check_may_shrink_heap to decide if madvise
15252 is sufficient to shrink the heap or an unmap is needed.
15253 * sysdeps/generic/malloc-sysdep.h: New file. Define
15254 new function check_may_shrink_heap.
15255 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
15256 new function check_may_shrink_heap.
15257
2b4f00d1
SP
152582012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
15259
15260 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
15261 comments.
15262
9a9028b1
DL
152632012-09-24 Dmitry V. Levin <ldv@altlinux.org>
15264
57c69bef
DL
15265 * catgets/test-gencat.sh: Add "set -e".
15266 * elf/tst-pathopt.sh: Likewise.
15267 * grp/tst_fgetgrent.sh: Likewise.
15268 * iconvdata/run-iconv-test.sh: Likewise.
15269 * intl/tst-gettext.sh: Likewise.
15270 * intl/tst-gettext2.sh: Likewise.
15271 * intl/tst-gettext4.sh: Likewise.
15272 * intl/tst-gettext6.sh: Likewise.
15273 * intl/tst-translit.sh: Likewise.
15274 * io/ftwtest-sh: Likewise.
15275 * libio/test-freopen.sh: Likewise.
15276 * malloc/tst-mtrace.sh: Likewise.
15277 * posix/globtest.sh: Likewise.
15278 * posix/tst-getconf.sh: Likewise.
15279 * posix/wordexp-tst.sh: Likewise.
15280 * stdio-common/tst-printf.sh: Likewise.
15281 * stdio-common/tst-unbputc.sh: Likewise.
15282 * stdlib/tst-fmtmsg.sh: Likewise.
15283 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15284 * catgets/Makefile: Do not specify -e option when running
15285 testsuite shell scripts.
15286 * elf/Makefile: Likewise.
15287 * grp/Makefile: Likewise.
15288 * iconvdata/Makefile: Likewise.
15289 * intl/Makefile: Likewise.
15290 * io/Makefile: Likewise.
15291 * libio/Makefile: Likewise.
15292 * malloc/Makefile: Likewise.
15293 * posix/Makefile: Likewise.
15294 * stdio-common/Makefile: Likewise.
15295 * stdlib/Makefile: Likewise.
15296 * sysdeps/x86_64/Makefile: Likewise.
15297
9a9028b1
DL
15298 * io/ftwtest-sh: Add copyright header.
15299 * posix/globtest.sh: Likewise.
15300 * posix/tst-getconf.sh: Likewise.
15301 * posix/wordexp-tst.sh: Likewise.
15302 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
15303
ced6f16e
L
153042012-09-24 H.J. Lu <hongjiu.lu@intel.com>
15305
94b32c39
L
15306 [BZ #13679]
15307 * Makeconfig (+link): Defined as $(+link-static) if
15308 $(build-shared) isn't yes.
15309 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
15310 isn't yes.
15311 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
15312
189e935b
L
15313 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
15314
ced6f16e
L
15315 [BZ #14562]
15316 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
15317 new chunk size with MALLOC_ALIGN_MASK.
15318
a9f8e53a
JM
153192012-09-24 Joseph Myers <joseph@codesourcery.com>
15320
15321 [BZ #5044]
15322 * stdio-common/printf_fphex.c: Include <stdbool.h> and
15323 <rounding-mode.h>.
15324 (__printf_fphex): Determine rounding using get_rounding_mode and
15325 round_away.
15326 * stdio-common/tst-printf-round.c (struct hex_test): New
15327 structure.
15328 (hex_tests): New variable.
15329 (test_hex_in_one_mode): New function.
15330 (do_test): Also run tests for hex float output.
15331
43153109
JM
153322012-09-21 Joseph Myers <joseph@codesourcery.com>
15333
15334 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15335 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15336 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
15337 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
15338 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
15339 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
15340 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15341 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
15342
8a26625d
JM
153432012-09-20 Joseph Myers <joseph@codesourcery.com>
15344
15345 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
15346 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
15347 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
15348 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
15349
f3fd569c
DL
153502012-09-19 Dmitry V. Levin <ldv@altlinux.org>
15351
15352 [BZ #14579]
15353 * elf/rtld.c (dl_main): Limit the check for self loading to normal
15354 mode only.
15355 * elf/tst-rtld-load-self.sh: New test.
15356 * elf/Makefile: Run it.
15357
63bbedd4
JM
153582012-09-18 Joseph Myers <joseph@codesourcery.com>
15359
15360 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
15361 (tst-writev-ENV): Remove.
15362 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
15363
626f8b6a
CM
153642012-09-17 Chris Metcalf <cmetcalf@tilera.com>
15365
15366 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
15367
b7aaa4d6
JM
153682012-09-17 Joseph Myers <joseph@codesourcery.com>
15369
15370 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
15371 unconditional.
15372 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
15373 Likewise.
15374 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
15375 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
15376 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
15377 Likewise.
15378
65513990
L
153792012-09-14 H.J. Lu <hongjiu.lu@intel.com>
15380
15381 [BZ #14587]
15382 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
15383 * config.make.in (have-cpp-asm-debuginfo): Removed.
15384 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
15385 * configure: Regenerated.
15386
784761be
JM
153872012-09-14 Joseph Myers <joseph@codesourcery.com>
15388
15389 [BZ #5044]
15390 * stdio-common/printf_fp.c: Include <stdbool.h> and
15391 <rounding-mode.h>.
15392 (___printf_fp): Determine rounding using get_rounding_mode and
15393 round_away.
15394 * stdio-common/tst-printf-round.c: New file.
15395 * stdio-common/Makefile (tests): Add tst-printf-round.
15396 (link-libm): New variable.
15397 ($(objpfx)tst-printf-round): Depend in $(link-libm).
15398
9503345f
L
153992012-09-13 H.J. Lu <hongjiu.lu@intel.com>
15400
15401 [BZ #14576]
15402 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
15403 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
15404 Likewise.
15405 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
15406 Likewise.
15407
ad35fc00
JM
154082012-09-13 Joseph Myers <joseph@codesourcery.com>
15409
15410 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
15411 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15412 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15413 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
15414
6c9b0f68
JM
154152012-09-12 Joseph Myers <joseph@codesourcery.com>
15416
15417 [BZ #14518]
15418 * include/rounding-mode.h: New file.
15419 * sysdeps/generic/get-rounding-mode.h: Likewise.
15420 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
15421 * stdlib/strtod_l.c: Include <rounding-mode.h>.
15422 (MAX_VALUE): New macro.
15423 (MIN_VALUE): Likewise.
15424 (overflow_value): New function.
15425 (underflow_value): Likewise.
15426 (round_and_return): Use overflow_value and underflow_value to
15427 determine return values in overflow and underflow cases. Use
15428 round_away to determine rounding depending on rounding mode.
15429 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
15430 determine return values in overflow and underflow cases.
15431 * stdlib/tst-strtod-round.c: Include <fenv.h>.
15432 (struct test_results): New structure.
15433 (struct test): Use struct test_results to store expected results
15434 for all rounding modes.
15435 (TEST): Include expected results for all rounding modes.
15436 (test_in_one_mode): New function.
15437 (do_test): Use test_in_one_mode to compute and check results.
15438 Check results for all rounding modes.
15439 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
15440 $(link-libm).
15441
19fcedd5
AM
154422012-12-09 Allan McRae <allan@archlinux.org>
15443
1e9d84cd 15444 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 15445
8bbfd2f1
JM
154462012-09-11 Joseph Myers <joseph@codesourcery.com>
15447
15448 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
15449 (_G_int32_t): Likewise.
15450 (_G_uint16_t): Likewise.
15451 (_G_uint32_t): Likewise.
15452 (_G_HAVE_BOOL): Likewise.
15453 (_G_HAVE_ATEXIT): Likewise.
15454 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15455 (_G_HAVE_IO_FILE_OPEN): Likewise.
15456 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
15457 (_G_int32_t): Likewise.
15458 (_G_uint16_t): Likewise.
15459 (_G_uint32_t): Likewise.
15460 (_G_HAVE_BOOL): Likewise.
15461 (_G_HAVE_ATEXIT): Likewise.
15462 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15463 (_G_HAVE_IO_FILE_OPEN): Likewise.
15464 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
15465 (_G_int32_t): Likewise.
15466 (_G_uint16_t): Likewise.
15467 (_G_uint32_t): Likewise.
15468 (_G_HAVE_BOOL): Likewise.
15469 (_G_HAVE_ATEXIT): Likewise.
15470 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
15471 (_G_HAVE_IO_FILE_OPEN): Likewise.
15472
b1dc5912
L
154732012-09-11 H.J. Lu <hongjiu.lu@intel.com>
15474
15475 * csu/libc-tls.c: Update copyright years.
15476
0e886ef9
JM
154772012-09-10 Joseph Myers <joseph@codesourcery.com>
15478
28361c5e
JM
15479 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
15480 [!_G_USING_THUNKS]: Remove conditional code.
15481 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
15482 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
15483
0e886ef9
JM
15484 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
15485 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
15486 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15487 (_G_VTABLE_LABEL_PREFIX): Likewise.
15488 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15489 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15490 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15491 (_G_VTABLE_LABEL_PREFIX): Likewise.
15492 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15493 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
15494 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
15495 (_G_VTABLE_LABEL_PREFIX): Likewise.
15496 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
15497
bcba7aa2
L
154982012-09-10 H.J. Lu <hongjiu.lu@intel.com>
15499
15500 * libio/Makefile: Include ../Makeconfig before tests.
15501 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
15502 only if $(build-shared) is yes.
15503
06585ee8
L
15504 * iconv/gconv_db.c: Update copyright years.
15505
80ccd52c
LD
155062012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15507
15508 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
15509 unwind info if defined PIC. Fix special cases description.
15510 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
15511
15512 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
15513 DP_HI_MASK entry.
15514 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
15515
691bc9c1
L
155162012-09-07 H.J. Lu <hongjiu.lu@intel.com>
15517
3d9b46b3
L
15518 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
15519
de2139a9
L
15520 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
15521 is NULL.
15522
5ca78dd0
L
15523 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
15524 (LDLIBS-tst-chk4): This.
15525 (LDFLAGS-tst-chk5): Renamed to ...
15526 (LDLIBS-tst-chk5): This.
15527 (LDFLAGS-tst-chk6): Renamed to ...
15528 (LDLIBS-tst-chk6): This.
15529 (LDFLAGS-tst-lfschk4): Renamed to ...
15530 (LDLIBS-tst-lfschk4): This.
15531 (LDFLAGS-tst-lfschk5): Renamed to ...
15532 (LDLIBS-tst-lfschk5): This.
15533 (LDFLAGS-tst-lfschk6): Renamed to ...
15534 (LDLIBS-tst-lfschk6): This.
15535
691bc9c1
L
15536 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
15537 on $(common-objpfx)soversions.mk.
15538
65cafb1c
JM
155392012-09-07 Joseph Myers <joseph@codesourcery.com>
15540
15541 [BZ #10014]
15542 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
15543 example host name.
15544
c78ab094
SP
155452012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
15546
15547 * malloc/arena.c (arena_get_retry): New function that gets
15548 another arena for the caller to try its request on.
15549 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
15550 current arena cannot fulfill the request.
15551 (__libc_memalign): Likewise.
15552 (__libc_memalign): Likewise.
15553 (__libc_pvalloc): Likewise.
15554 (__libc_calloc): Likewise.
15555
01f49f59
JT
155562012-09-05 John Tobey <john.tobey@gmail.com>
15557
15558 [BZ #13542]
15559 * manual/arith.texi (Operations on Complex): Fix description
15560 of carg branch cut.
15561
4c23fed5
JM
155622012-09-06 Joseph Myers <joseph@codesourcery.com>
15563
1d3c8572
JM
15564 [BZ #10014]
15565 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
15566 host name.
15567
4c23fed5
JM
15568 [BZ #10038]
15569 * manual/memory.texi (Memory): Make order of menu items match
15570 order of sections.
15571
04570aaa
L
155722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15573
15574 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
15575 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
15576 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
15577
b80af2f4
L
155782012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15579
15580 * csu/libc-tls.c (static_dtv): Renamed to ...
15581 (_dl_static_dtv): This. Make it global.
15582 (_dl_initial_dtv): Removed.
15583 (__libc_setup_tls): Updated.
15584 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
15585 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
15586 DL_INITIAL_DTV.
15587
2abe9f15
PM
155882012-09-06 Petr Machata <pmachata@redhat.com>
15589
15590 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
15591 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
15592 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
15593 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
15594
0948c3af
L
155952012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15596
15597 [BZ #14545]
15598 * csu/libc-tls.c (_dl_initial_dtv): New variable.
15599 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
15600 freeing dtv[-1].
15601
a5055ad1
L
156022012-09-06 H.J. Lu <hongjiu.lu@intel.com>
15603
15604 [BZ #14544]
15605 * Makeconfig (link-static-before-libc): Replace $(+prector)
15606 with $(+prectorT).
15607 (link-static-after-libc): Replace $(+postctor) with
15608 $(+postctorT).
15609 (link-bounded): Replace $(+prector)/$(+postctor) with
15610 $(+prectorT)/$(+postctorT).
15611 (+prectorT): New macro.
15612 (+postctorT): Likewise.
15613
ed8c2ecd
JM
156142012-09-06 Joseph Myers <joseph@codesourcery.com>
15615
15616 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
15617 (round_str): Handle values above the maximum for IBM long double
15618 as inexact.
15619 * stdlib/tst-strtod-round.c (tests): Regenerated.
15620
14c996c8
AK
156212012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15622
15623 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
15624 assembler flag.
15625 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
15626 zarch_nohighgprs around the zarch optimized routines.
15627 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
15628 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
15629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
15630 for zarch.
15631
430d6ce6
DM
156322012-09-05 David S. Miller <davem@davemloft.net>
15633
15634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15635
ff04dda4
DM
15636 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
15637 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
15638 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
15639 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
15640 entries.
15641
24d4e01b
AO
156422012-09-05 Alexandre Oliva <aoliva@redhat.com>
15643
15644 * malloc/arena.c: Fold copyright years.
15645 * malloc/mcheck.c, malloc/memusage.c: Likewise.
15646
61d58174
AO
156472012-09-05 Alexandre Oliva <aoliva@redhat.com>
15648
15649 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
15650
20196a5e
AO
156512012-09-05 Alexandre Oliva <aoliva@redhat.com>
15652
15653 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
15654
5c447383
AO
156552012-09-05 Alexandre Oliva <aoliva@redhat.com>
15656
15657 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
15658 change internal state upon failure.
15659
fad64255
AO
156602012-09-05 Alexandre Oliva <aoliva@redhat.com>
15661
15662 * malloc/mcheck.c (mcheck_check_all): Fix typo.
15663 * malloc/memusage.c (mmap): Likewise.
15664 (mmap64, mremap): Likewise. Adjust name in comment.
15665
1ffb8c90
SP
156662012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15667
15668 * libio/fileops.c: Fix typos in comments.
15669 * libio/oldfileops.c: Likewise.
15670 * libio/wfileops.c: Likewise.
15671
6ef9cc37
SP
156722012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
15673
15674 [BZ #1349]
15675 * malloc/Makefile (tests): Add tst-malloc-usable test case.
15676 (tst-malloc-usable-ENV): Set environment for test case.
15677 * malloc/hooks.c (malloc_check_get_size): New function to get
15678 requested size.
15679 * malloc/malloc.c (musable): Use malloc_check_get_size.
15680 * malloc/tst-malloc-usable.c: New test case.
15681
4d038ae3
AS
156822012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15683
15684 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
15685
c4e85184
AM
156862012-09-05 Allan McRae <allan@archlinux.org>
15687
b9dafc56 15688 [BZ #13966]
c4e85184
AM
15689 * configure.in (CXX_SYSINCLUDES): Use compiler output to
15690 determine header location.
15691 * configure: Regenerated.
15692
e1343020
AS
156932012-09-05 Andreas Schwab <schwab@linux-m68k.org>
15694
15695 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
15696 float format.
15697 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
15698 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
15699 format.
e1343020
AS
15700 (test): Regenerate.
15701
0a9f1987
DM
157022012-09-04 David S. Miller <davem@davemloft.net>
15703
15704 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
15705 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
15706 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
15707
29237804
FW
157082012-09-04 Florian Weimer <fweimer@redhat.com>
15709
15710 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
15711 failures.
15712
edb3cb88
FW
15713 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
15714
60160d83
JM
157152012-09-04 Joseph Myers <joseph@codesourcery.com>
15716
15717 [BZ #9914]
15718 * libio/iogetdelim.c: Include <limits.h>.
15719 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
15720 + len + 1 would overflow.
15721
bcd6c8dc
AJ
157222012-09-03 Andreas Jaeger <aj@suse.de>
15723
15724 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15725 * sysdeps/i386/fpu/libm-test-ulps: Update.
15726
4ffffbd2
LD
157272012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
15728
15729 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
15730 Add s_sinf-sse2, s_conf-sse2.
15731
15732 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
15733 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
15734 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
15735 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
15736
15737 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
15738 for using routine as __sinf_ia32.
15739 Use macro for function declaration and weak_alias.
15740 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
15741 for using routine as __cosf_ia32.
15742 Use macro for function declaration and weak_alias.
15743
15744 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
15745 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
15746
15747 * sysdeps/x86_64/fpu/s_sinf.S: New file.
15748 * sysdeps/x86_64/fpu/s_cosf.S: New file.
15749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15750
15751 * math/libm-test.inc (cos_test): Add more test cases.
15752 (sin_test): Likewise.
15753 (sincos_test): Likewise.
15754
511fa286
AK
157552012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15756
15757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
15758 (IFUNC_RESOLVE): Make pointers to the specialized implementations
15759 hidden.
15760 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
15761
5f30cfec
L
157622012-09-02 H.J. Lu <hongjiu.lu@intel.com>
15763
15764 [BZ #14538]
15765 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
15766 first element of the GOT.
15767 (elf_machine_load_address): Return the difference between
15768 the runtime address of _DYNAMIC and elf_machine_dynamic ().
15769
0786794f
AM
157702012-09-01 Allan McRae <allan@archlinux.org>
15771
5f30cfec
L
15772 [BZ #13412]
15773 * configure.in (AWK): Require gawk version 3.0 or later.
15774 * configure: Regenerated.
0786794f 15775
26889eac
JM
157762012-09-01 Joseph Myers <joseph@codesourcery.com>
15777
15778 * sysdeps/unix/sysv/linux/kernel-features.h
15779 (__ASSUME_POSIX_CPU_TIMERS): Remove.
15780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15781 [__NR_clock_getres]: Make code unconditional.
15782 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
15783 (clock_getcpuclockid): Remove code left unreachable by removal of
15784 conditionals.
15785 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
15786 code unconditional.
15787 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15788 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15789 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
15790 Make code unconditional.
15791 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
15792 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15793 * sysdeps/unix/sysv/linux/clock_settime.c
15794 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
15795 conditional code.
15796 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
15797 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
15798
d22e28b0
L
157992012-08-29 H.J. Lu <hongjiu.lu@intel.com>
15800
15801 [BZ #14476]
15802 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
15803 scripts/test-installation.pl.
15804
15805 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
15806 and $ld_so_version if it is set.
15807
050af9c4
SP
158082012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15809
15810 [BZ #14516]
15811 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
15812 failure if reading from procfs failed.
15813 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
15814
ad845c0b
JM
158152012-08-27 Joseph Myers <joseph@codesourcery.com>
15816
15817 * sysdeps/unix/sysv/linux/kernel-features.h
15818 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
15819 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15820 Remove conditional code.
15821 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15822 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
15823 Remove conditional code.
15824 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15825 * sysdeps/unix/sysv/linux/i386/fxstat.c
15826 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15827 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15828 * sysdeps/unix/sysv/linux/i386/fxstatat.c
15829 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15830 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15831 * sysdeps/unix/sysv/linux/i386/lxstat.c
15832 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
15833 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15834 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
15835 Remove conditional code.
15836 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15837 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
15838 Remove conditional code.
15839 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15840 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
15841 <kernel-features.h>.
15842 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
15843 Remove.
15844 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
15845 Remove conditional code.
15846 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
15847 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
15848 Remove conditional.
15849
5dbf56af
MF
158502012-08-27 Mike Frysinger <vapier@gentoo.org>
15851
15852 [BZ #5400]
15853 * NEWS: Add fixed bug number.
15854
d6e70f43
JM
158552012-08-27 Joseph Myers <joseph@codesourcery.com>
15856
7efb4737
JM
15857 [BZ #14519]
15858 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
15859 underflowing exponent in case of negative sign.
15860 * stdlib/tst-strtod-round-data: Add more tests.
15861 * stdlib/tst-strtod-round.c (tests): Regenerated.
15862
af92131a
JM
15863 [BZ #3479]
15864 * stdlib/strtod_l.c (NDIG): Remove.
15865 (HEXNDIG): Likewise.
15866 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
15867 smallest representable value.
15868 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
15869 lie within an exact representation of 1/2 ulp of the result.
15870 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
15871 unconditionally.
15872 (TENS_P9_IDX): Define unconditionally.
15873 (TENS_P9_SIZE): Likewise.
15874 (TENS_P10_IDX): Likewise.
15875 (TENS_P10_SIZE): Likewise.
15876 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
15877 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
15878 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
15879 entries for 10^2^13 and 10^2^14.
15880 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
15881 (TENS_P13_IDX): Define.
15882 (TENS_P13_SIZE): Likewise.
15883 (TENS_P14_IDX): Likewise.
15884 (TENS_P14_SIZE): Likewise.
15885 (_fpioconst_pow10): Change array size to
15886 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
15887 unconditional.
15888 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
15889 1024]: Add entries for 10^2^13 and 10^2^14.
15890 [LAST_POW10 > _LAST_POW10]: Remove #error.
15891 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
15892 (_fpioconst_pow10): Change array size to
15893 FPIOCONST_POW10_ARRAY_SIZE.
15894 * stdlib/gen-fpioconst.c: New file.
15895 * stdlib/gen-tst-strtod-round.c: Likewise.
15896 * stdlib/tst-strtod-round-data: Likewise.
15897 * stdlib/tst-strtod-round.c: Likewise.
15898 * stdlib/Makefile (tests): Add tst-strtod-round.
15899
d6e70f43
JM
15900 [BZ #14459]
15901 * stdlib/strtod_l.c: Include <stdint.h>.
15902 (NDEBUG): Do not define.
15903 (round_and_return): Change EXPONENT parameter to type intmax_t.
15904 Rearrange calculations to avoid internal overflow possibilities.
15905 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
15906 Rearrange calculations to avoid internal overflow possibilities.
15907 Assert that number fits inside MPNSIZE limbs.
15908 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
15909 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
15910 calculations and add assertions to avoid internal overflow
15911 possibilities. Add casts to avoid signed/unsigned operations.
15912 * stdlib/tst-strtod-overflow.c: New file.
15913 * stdlib/Makefile (tests): Add tst-strtod-overflow.
15914
1f529f7d
MP
159152012-08-25 Marek Polacek <polacek@redhat.com>
15916
15917 * time/time.h: Fix some typos in comments.
15918
59a629f1
RM
159192012-08-23 Roland McGrath <roland@hack.frob.com>
15920
15921 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
15922 * posix/tst-rfc3484-2.c: Likewise.
15923 * posix/tst-rfc3484-3.c: Likewise.
15924
d3bafbc9
SM
159252012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
15926
15927 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
15928 (EF_ARM_ABI_FLOAT_HARD): Likewise.
15929
4efcc022
JM
159302012-08-23 Joseph Myers <joseph@codesourcery.com>
15931
15932 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
15933 #include of fxstatat64.c.
15934
3cc3ef96
RM
159352012-08-22 Roland McGrath <roland@hack.frob.com>
15936
f04e2132
RM
15937 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
15938 * shadow/getspent_r.c: Likewise.
15939 * shadow/getspnam.c: Likewise.
15940 * shadow/getspnam_r.c: Likewise.
15941 * gshadow/getsgent.c: Likewise.
15942 * gshadow/getsgent_r.c: Likewise.
15943 * gshadow/getsgnam.c: Likewise.
15944 * gshadow/getsgnam_r.c: Likewise.
15945 * inet/getnetbyad.c: Likewise.
15946 * inet/getnetbyad_r.c: Likewise.
15947 * inet/getnetbynm.c: Likewise.
15948 * inet/getnetbynm_r.c: Likewise.
15949 * inet/getnetent.c: Likewise.
15950 * inet/getnetent_r.c: Likewise.
15951 * inet/getproto.c: Likewise.
15952 * inet/getproto_r.c: Likewise.
15953 * inet/getprtent.c: Likewise.
15954 * inet/getprtent_r.c: Likewise.
15955 * inet/getprtname.c: Likewise.
15956 * inet/getprtname_r.c: Likewise.
15957 * inet/getrpcbyname.c: Likewise.
15958 * inet/getrpcbyname_r.c: Likewise.
15959 * inet/getrpcbynumber.c: Likewise.
15960 * inet/getrpcbynumber_r.c: Likewise.
15961 * inet/getrpcent.c: Likewise.
15962 * inet/getrpcent_r.c: Likewise.
15963 * inet/getaliasent.c: Likewise.
15964 * inet/getaliasent_r.c: Likewise.
15965 * inet/getaliasname.c: Likewise.
15966 * inet/getaliasname_r.c: Likewise.
15967 * nscd/getgrgid_r.c: Likewise.
15968 * nscd/getgrnam_r.c: Likewise.
15969 * nscd/gethstbyad_r.c: Likewise.
15970 * nscd/gethstbynm3_r.c: Likewise.
15971 * nscd/getpwnam_r.c: Likewise.
15972 * nscd/getpwuid_r.c: Likewise.
15973 * nscd/getsrvbynm_r.c: Likewise.
15974 * nscd/getsrvbypt_r.c: Likewise.
15975 * nscd/gai.c: Likewise.
15976
c53d909c
RM
15977 * configure.in (build_nscd): New substituted variable, set
15978 by --disable-build-nscd and defaults to $use_nscd.
15979 * configure: Regenerated.
15980 * config.make.in (build-nscd): New substituted variable.
15981 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
15982 Change conditional to require [$(build-nscd) = yes] as well.
15983 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
15984
3cc3ef96
RM
15985 [BZ# 13696]
15986 * configure.in (use_nscd): New substituted variable, set by
15987 --disable-nscd. If enabled, define USE_NSCD.
15988 * configure: Regenerated.
15989 * config.h.in: Add USE_NSCD.
15990 * config.make.in (use-nscd): New substituted variable.
15991 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
15992 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
15993 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
15994 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
15995 (CFLAGS-getgrnam_r.c): Likewise.
15996 (CFLAGS-initgroups.c): Likewise.
15997 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
15998 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
15999 Variables removed.
16000 * inet/getnetgrent_r.c
16001 (nscd_setnetgrent): New function, broken out of ...
16002 (setnetgrent): ... here. Call it.
16003 (innetgr): Conditionalize nscd bits on [USE_NSCD].
16004 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
16005 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
16006 * nscd/Makefile (routines, aux): Move definitions after include of
16007 Makeconfig. Conditionalize on [$(use-nscd) != no].
16008 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
16009 Conditionalize on [USE_NSCD].
16010 (is_nscd, nscd_init_cb): Likewise.
16011 (nss_load_library): Conditionalize init callback on [USE_NSCD].
16012 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
16013 * nss/nss_db/db-init.c: Likewise.
16014 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
16015 [USE_NSCD].
16016 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
16017 (make_request): Use it.
16018 (cache_valid_p): New function.
16019 (__check_pf): Use it.
16020 * NEWS: Add item for --disable-nscd.
16021
07e51550
DL
160222012-08-22 Dmitry V. Levin <ldv@altlinux.org>
16023
16024 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
16025 to support sed >= 4.2.1-20-ga9bf076.
16026 * configure: Regenerated.
16027
35a5b08b
RM
160282012-08-22 Roland McGrath <roland@hack.frob.com>
16029
16030 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
16031 Conditionalize whole body on [IREL].
16032
8479f23a
JL
160332012-08-22 Jeff Law <law@redhat.com>
16034
16035 [BZ #14505]
16036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
16037 if the family is PF_UNSPEC.
16038
48da0b21
MF
160392012-08-22 Mike Frysinger <vapier@gentoo.org>
16040
16041 * Makerules (lib-version): Rename from V.
16042 (install-lib-nosubdir): Change V to lib-version.
16043
15d0da8c
WS
160442012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
16045
16046 [BZ #14252]
16047 * powerpc32/power6/wcschr.c: New file.
16048 * powerpc32/power6/wcscpy.c: New file.
16049 * powerpc32/power6/wcsrchr.c: New file.
16050 * powerpc64/power6/wcschr.c: New file.
16051 * powerpc64/power6/wcscpy.c: New file.
16052 * powerpc64/power6/wcsrchr.c: New file.
16053
bcca0895
MK
160542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16055
16056 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
16057 (two_way_short_needle): Use it.
5a4aaa33
RM
16058 * string/strstr.c (AVAILABLE1_USES_J): Define.
16059 * string/strcasestr.c: Likewise.
99677e57
MK
16060
16061 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
16062 array references.
16063 * string/strcasestr.c (TOLOWER): Make side-effect safe.
16064
400726de
MK
16065 [BZ #11607]
16066 * NEWS: Add an entry.
16067 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
16068 define their defaults.
16069 (two_way_short_needle): Detect end-of-string on-the-fly.
16070 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
16071 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
16072 * string/bug-strcasestr1.c: New test.
16073 * string/Makefile: Run it.
16074
20a71f2c
MK
160752012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
16076
16077 [BZ #11607]
16078 * string/str-two-way.h (two_way_short_needle): Optimize matching of
16079 the first character.
16080
21ad0558
RM
160812012-08-21 Roland McGrath <roland@hack.frob.com>
16082
16083 * csu/elf-init.c (__libc_csu_irel): Function removed.
16084 * csu/libc-start.c (apply_irel): New function.
16085 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
16086
0e1d9911
JM
160872012-08-21 Joseph Myers <joseph@codesourcery.com>
16088
16089 * sysdeps/unix/sysv/linux/kernel-features.h
16090 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
16091 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
16092 <kernel-features.h>.
16093 [__NR_fadvise64_64]: Make code unconditional.
16094 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
16095 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16096 !__NR_fadvise64_64)]: Likewise.
16097 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
16098 !__NR_fadvise64_64))]: Likewise.
16099 [__NR_fadvise64]: Make code unconditional.
16100 [!__NR_fadvise64]: Remove conditional code.
16101 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
16102 <kernel-features.h>.
16103 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16104 unconditional.
16105 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16106 conditional code.
16107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
16108 not include <kernel-features.h>.
16109 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16110 unconditional.
16111 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16112 conditional code.
16113 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
16114 include <kernel-features.h>.
16115 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
16116 unconditional.
16117 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
16118 conditional code.
16119
14a50c9d
WS
161202012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
16121
16122 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
16123 slight instruction rearrangements per scrollpipe analysis.
16124 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
16125
c0f4faf0
RM
161262012-08-20 Roland McGrath <roland@hack.frob.com>
16127
696da859
RM
16128 * manual/syslog.texi (syslog; vsyslog, closelog):
16129 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
16130 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
16131
c0f4faf0
RM
16132 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
16133 DSOCAPS to match condition on defining it.
16134
348363b2
JM
161352012-08-20 Joseph Myers <joseph@codesourcery.com>
16136
a35cbf28
JM
16137 * sysdeps/unix/sysv/linux/kernel-features.h
16138 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
16139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
16140 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16141 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
16143 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16144 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
16146 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
16147 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
16148
445f7ecd
JM
16149 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
16150 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
16151
348363b2
JM
16152 * sysdeps/unix/sysv/linux/kernel-features.h
16153 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
16154 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
16155 unconditional.
16156 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16157 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
16158 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16159 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16160 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
16161 Make code unconditional.
16162 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16163 (__mmap64) [!__NR_mmap2]: Likewise.
16164 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
16165 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
16166 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
16168 [__NR_mmap2]: Make code unconditional.
16169 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
16170 (__mmap64) [!__NR_mmap2]: Likewise.
16171
bc5bc0e5
AK
161722012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16173
16174 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
16175
88d506de
AJ
161762012-08-18 Andreas Jaeger <aj@suse.de>
16177
16178 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
16179
493387d2
MF
161802012-08-18 Mike Frysinger <vapier@gentoo.org>
16181
16182 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
16183 * include/unistd.h (__have_sock_cloexec): Likewise.
16184 (__have_pipe2): Likewise.
16185 (__have_dup3): Likewise.
16186
a277af22
MF
161872012-08-18 Mike Frysinger <vapier@gentoo.org>
16188
16189 [BZ #9685]
16190 * include/unistd.h (__have_pipe2): Change define into an extern int.
16191 (__have_dup3): Likewise.
16192 * socket/have_sock_cloexec.c: Include fcntl.h.
16193 (__have_pipe2): New variable.
16194 (__have_dup3): Likewise.
16195
fdab8fd3
MF
161962012-08-17 Mike Frysinger <vapier@gentoo.org>
16197
16198 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
16199
31035e80
MP
162002012-08-17 Marek Polacek <polacek@redhat.com>
16201
16202 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
16203 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
16204
3bd9e993
RM
162052012-08-17 Roland McGrath <roland@hack.frob.com>
16206
c91c505f
RM
16207 * configure.in: Add AC_SUBST for sysheaders.
16208 * configure: Regenerated.
16209 * config.make.in (sysheaders): New substituted variable.
16210
7c6f9d53
RM
16211 * sysdeps/unix/mkfifo.c: Moved ...
16212 * sysdeps/posix/mkfifo.c: ... here.
16213 * sysdeps/unix/mkfifoat.c: Moved ...
16214 * sysdeps/posix/mkfifoat.c: ... here.
16215
16216 * sysdeps/unix/utime.c: Moved ...
16217 * sysdeps/posix/utime.c: ... here.
16218
16219 * sysdeps/unix/time.c: Moved ...
16220 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
16221 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
16222 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
16223
16224 * sysdeps/unix/nice.c: Moved ...
16225 * sysdeps/posix/nice.c: ... here.
16226
16227 * sysdeps/unix/alarm.c: Moved ...
16228 * sysdeps/posix/alarm.c: ... here.
16229
3bd9e993
RM
16230 * intl/Makefile ($(codeset_mo)): Depend on the input file.
16231
d1f09384
JL
162322012-08-17 Jeff Law <law@redhat.com>
16233
16234 * intl/Makefile (codeset_mo): New variable.
16235 ($(codeset_mo)): New target.
16236 (tst-codeset.out): Depend on that. Remove explicit rule.
16237 (tst-gettext3.out, tst-gettext5.out): Likewise.
16238 (LOCPATH-ENV, tst-codeset-ENV): New variables.
16239 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
16240 * intl/tst-codeset.sh: Remove.
16241 * intl/tst-gettext3.sh: Likewise.
16242 * intl/tst-gettext5.sh: Likewise.
16243
2ae1ae5c
RM
162442012-08-17 Roland McGrath <roland@hack.frob.com>
16245
c31fdb83
RM
16246 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
16247 * sysdeps/unix/syscalls.list: ... here.
16248
a0844057
RM
16249 * sysdeps/posix/getaddrinfo.c
16250 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
16251 (gaiconf_init, gaiconf_reload): Use them.
16252 [!_STATBUF_ST_NSEC]
16253 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
16254 Define using time_t rather than struct timespec.
16255
750c1f2a
RM
16256 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
16257 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
16258 Macros removed.
16259 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
16260 [!NO_THREADS].
16261 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
16262 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
16263 Likewise.
16264
2ae1ae5c
RM
16265 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
16266 __libc_cleanup_push argument.
16267
e66a42f5
RM
16268 * bits/param.h: New file.
16269 * misc/sys/param.h: New file.
16270 * include/sys/param.h: New file.
16271 * misc/Makefile (headers): Add bits/param.h.
16272 * sysdeps/generic/sys/param.h: File removed.
16273 * sysdeps/unix/sysv/linux/bits/param.h: New file.
16274 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
16275 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 16276 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 16277
b7c08a66
RM
16278 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
16279 last change.
16280
b2e1c562
RM
16281 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
16282 [_IO_MTSAFE_IO].
16283 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
16284 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
16285 New macros.
16286
c75ccd4c
RM
16287 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
16288 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
16289 rather than -D_IO_MTSAFE_IO conditionally.
16290 * stdio-common/Makefile (CPPFLAGS): Likewise.
16291 * wcsmbs/Makefile (CPPFLAGS): Likewise.
16292 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
16293 Use $(libio-mtsafe).
16294 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
16295 of -D_IO_MTSAFE_IO.
16296 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
16297 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
16298 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
16299 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
16300 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
16301 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
16302 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
16303 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
16304 (CFLAGS-fread_u_chk.c): Likewise.
16305 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
16306 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
16307 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
16308 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
16309 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
16310 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
16311 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
16312 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
16313 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
16314
16315 * libio/Makefile: Test [$(libc-reentrant) = yes]
16316 instead of [$(filter %REENTRANT, $(defines)) nonempty].
16317
16318 * Makeconfig
16319 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
16320 * sysdeps/pthread/configure: File removed.
16321 * sysdeps/pthread/Makeconfig: New file.
16322 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
16323 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
16324
d9195db8
GB
163252012-08-16 Gary Benson <gbenson@redhat.com>
16326
16327 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
16328 unmapping the first object in a namespace.
16329
86466cd9
RM
163302012-08-16 Roland McGrath <roland@hack.frob.com>
16331
16332 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
16333 (__internal_setnetgrent): ... this. Add internal_function to
16334 definition. Add libc_hidden_def.
16335 (setnetgrent): Update caller.
16336 (internal_endnetgrent): Renamed to ...
16337 (__internal_endnetgrent): ... this. Add internal_function to
16338 definition. Add libc_hidden_def.
16339 (endnetgrent): Update caller.
16340 (internal_getnetgrent_r): Renamed to ...
16341 (__internal_getnetgrent_r): ... this. Add internal_function to
16342 definition. Add libc_hidden_def.
16343 (__getnetgrent_r): Update caller.
16344 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
16345
c3c8283c
JM
163462012-08-16 Joseph Myers <joseph@codesourcery.com>
16347
16348 * stdlib/longlong.h: Update from GCC.
16349
db1ee0a8
RM
163502012-08-16 Roland McGrath <roland@hack.frob.com>
16351
16352 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
16353 on _QL, which is set by umul_ppmm but never used.
16354 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
16355 variables, which are set by GMP macros but never used.
16356 * stdio-common/_itowa.c (_itowa): Likewise.
16357 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
16358 * stdlib/mod_1.c (mpn_mod_1): Likewise.
16359
30f69637
CD
163602012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
16361
16362 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
16363 struct La_sh_regs is not constant.
16364 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
16365 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
16366 and struct La_sparc64_regs are not constant.
16367
93a78ac4
JM
163682012-08-16 Joseph Myers <joseph@codesourcery.com>
16369
16370 * sysdeps/unix/sysv/linux/kernel-features.h
16371 (__ASSUME_POSIX_TIMERS): Remove.
16372 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16373 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16374 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
16375 Make code unconditional.
16376 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16377 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
16378 Make code unconditional.
16379 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16380 * sysdeps/unix/sysv/linux/clock_nanosleep.c
16381 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
16382 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16383 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
16384 Make code unconditional.
16385 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
16386 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
16387 (__libc_missing_posix_timers): Remove.
16388
dd924cd7
RM
163892012-08-15 Roland McGrath <roland@hack.frob.com>
16390
4b4f2771
RM
16391 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
16392 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
16393
601c888b
RM
16394 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
16395
176790a7
RM
16396 * elf/dl-sym.c: Include <stdlib.h>.
16397
329bc018
RM
16398 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
16399 constants, which avoids warnings in 32-bit builds.
16400
e04e272d
RM
16401 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
16402 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
16403
952bf94a
RM
16404 * misc/lseek.c: File moved to ...
16405 * io/lseek.c: ... here.
16406
7c99b50a
RM
16407 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
16408
dd924cd7
RM
16409 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
16410 shifting LEN more than 31 bits at once.
16411
b3f479a8
LD
164122012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16413
16414 [BZ #14195]
8c4ae0d4
RM
16415 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
16416 segmentation fault for a case of two empty input strings.
b3f479a8
LD
16417 * string/test-strncasecmp.c (check1): Renamed to...
16418 (bz12205): ...this.
16419 (bz14195): Add new testcase for two empty input strings and N > 0.
16420 (test_main): Call new testcase, adapt for renamed function.
16421
9c55864e
AJ
164222012-08-15 Andreas Jaeger <aj@suse.de>
16423
16424 [BZ #14090]
16425 * crypt/md5test2.c: New test, based on test supplied by Serge
16426 Belyshev <belyshev@depni.sinp.msu.ru>.
16427 * crypt/Makefile (xtests): Add md5test-giant..
16428 * crypt/Makefile ($(objpfx)md5test-giant): Add.
16429
02dcb6c5
PE
164302012-08-15 Paul Eggert <eggert@cs.ucla.edu>
16431
16432 [BZ #14090]
16433 * crypt/md5.c (md5_process_block): Don't assume the buffer
16434 length is less than 2**32.
16435 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
16436 length is less than 2**64.
16437
a3f95dcc
RM
164382012-08-15 Roland McGrath <roland@hack.frob.com>
16439
be75d758
RM
16440 * string/str-two-way.h: Include <sys/param.h>.
16441 (MAX): Macro removed.
16442
7312ca90
RM
16443 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
16444 Move #define and #undef of memmove to just before and after
16445 including <string.h>.
16446
9a0a5486
RM
16447 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
16448 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
16449 and after including <string.h>. Move declarations of
16450 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
16451 to before #include "string/memmove.c".
16452
67cc348d
RM
16453 * include/dirent.h: Declare __getdirentries.
16454
a3f95dcc
RM
16455 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
16456 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
16457
ca98e171
MF
164582012-08-14 Mike Frysinger <vapier@gentoo.org>
16459
16460 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
16461 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
16462 * sysdeps/i386/configure: Regenerated.
16463 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
16464 STABS_CURRENT_FILE, and STABS_FUN.
16465 (END): Remove call to STABS_FUN_END.
16466 (STABS_CURRENT_FILE1): Delete.
16467 (STABS_CURRENT_FILE): Likewise.
16468 (STABS_FUN): Likewise.
16469 (STABS_FUN_END): Likewise.
16470 (STABS_FUN2): Likewise.
16471 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
16472 * sysdeps/x86_64/configure: Regenerated.
16473
5908bf46
RM
164742012-08-14 Roland McGrath <roland@hack.frob.com>
16475
16476 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 16477 * elf/dl-lookup.c: Likewise.
5908bf46 16478
f2c05b9e
JM
164792012-08-14 Joseph Myers <joseph@codesourcery.com>
16480
16481 * sysdeps/unix/sysv/linux/kernel-features.h
16482 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
16483 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
16484 unconditionally.
16485 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
16486 unconditionally.
16487 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
16488 condition on __ASSUME_CLONE_THREAD_FLAGS.
16489
e11f5155
AJ
164902012-08-14 Andreas Jaeger <aj@suse.de>
16491
16492 * sysdeps/i386/fpu/libm-test-ulps: Update.
16493
51a9ba86
MK
164942012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
16495
2fdd4f78
AJ
16496 * include/atomic.h (atomic_exchange_and_add): Split into ...
16497 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
16498 New atomic macros.
51a9ba86 16499
ba6cba9e
MT
165002012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
16501
16502 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16503
42443a47
JL
165042012-08-13 Jeff Law <law@redhat.com>
16505
16506 * manual/stdio.texi (snprintf): Clarify handling of the trailing
16507 null byte in the output string.
16508
121dce05
JM
165092012-08-10 Joseph Myers <joseph@codesourcery.com>
16510
16511 * sysdeps/unix/sysv/linux/kernel-features.h
16512 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
16513 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
16514 (__ASSUME_ARG_MAX_STACK_BASED): Define.
16515 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
16516 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
16517 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
16518 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
16519
bf51f568
JL
165202012-08-09 Jeff Law <law@redhat.com>
16521
16522 [BZ #13939]
16523 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
16524 When avoid_arena is set, don't retry in the that arena. Pick the
16525 next one, whatever it might be.
16526 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
16527 (arena_lock): Pass in new parameter to arena_get2.
16528 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
16529 arena_get2.
16530 (__libc_malloc): Unify retrying after main arena failure with
16531 __libc_memalign version.
16532 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
16533
f85fa270
L
165342012-08-09 H.J. Lu <hongjiu.lu@intel.com>
16535
16536 [BZ #14166]
16537 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
16538 to __redirect_strstr.
16539 (__strstr_sse42): Use typeof __redirect_strstr.
16540 (__strstr_ia32): Likewise.
16541 (__libc_strstr): New prototype.
16542 (strstr): Renamed to ...
16543 (__libc_strstr): This.
16544 (strstr): New strong alias of __libc_strstr.
16545 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16546 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
16547 __redirect_time.
16548 Include <time.h>.
16549 (__libc_time): New prototype.
16550 (time_ifunc): Replace time with __libc_time.
16551 (time): New strong alias and hidden definition of __libc_time.
16552 (__GI_time): Remove strong alias.
16553 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
16554 Include <stddef.h>.
16555 (memmove): Redefined to __redirect_memmove.
16556 (__memmove_sse2): Use typeof __redirect_memmove.
16557 (__memmove_ssse3): Likewise.
16558 (__memmove_ssse3_back): Likewise.
16559 (__libc_memmove): New prototype.
16560 (memmove): Renamed to ...
16561 (__libc_memmove): This.
16562 (memmove): New strong alias of __libc_memmove.
16563
33b4a91e
MS
165642012-08-08 Mark Salter <msalter@redhat.com>
16565
16566 * elf/elf.h
16567 (R_MN10300_TLS_GD): Define.
16568 (R_MN10300_TLS_LD): Likewise.
16569 (R_MN10300_TLS_LDO): Likewise.
16570 (R_MN10300_TLS_GOTIE): Likewise.
16571 (R_MN10300_TLS_IE): Likewise.
16572 (R_MN10300_TLS_LE): Likewise.
16573 (R_MN10300_TLS_DTPMOD): Likewise.
16574 (R_MN10300_TLS_DTPOFF): Likewise.
16575 (R_MN10300_TLS_TPOFF): Likewise.
16576 (R_MN10300_SYM_DIFF): Likewise.
16577 (R_MN10300_ALIGN): Likewise.
16578 (R_MN10300_NUM): Update.
16579
b36137f1
JM
165802012-08-08 Joseph Myers <joseph@codesourcery.com>
16581
16582 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
16583 Remove.
16584
cdd915fd
RM
165852012-08-08 Roland McGrath <roland@hack.frob.com>
16586
a2433aac
RM
16587 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
16588
cdd915fd
RM
16589 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
16590 sysdeps/unix -> sysdeps/posix move.
16591 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
16592
bf9b740a
AM
165932012-08-07 Allan McRae <allan@archlinux.org>
16594
16595 [BZ #14303]
16596 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
16597 (SUNOS_CPP): Likewise.
16598 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
16599 not found.
16600 (open_input): Call CPP using execvp.
16601
93df14ee
JM
166022012-08-07 Joseph Myers <joseph@codesourcery.com>
16603
16604 * sysdeps/unix/sysv/linux/kernel-features.h
16605 (__ASSUME_PROT_GROWSUPDOWN): Remove.
16606 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16607 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16608 (__ASSUME_WAITID_SYSCALL): Likewise.
16609 * sysdeps/unix/sysv/linux/dl-execstack.c
16610 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
16611 code unconditional.
16612 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
16613 conditional code.
16614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
16615 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
16616 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
16617 code.
16618 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
16619 unconditional.
16620 [__ASSUME_WAITID_SYSCALL]: Likewise.
16621 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
16622
d34689de
RM
166232012-08-07 Roland McGrath <roland@hack.frob.com>
16624
a281decc
RM
16625 * sysdeps/unix/closedir.c: Renamed to ...
16626 * sysdeps/posix/closedir.c: ... here.
16627 * sysdeps/unix/dirfd.c: Renamed to ...
16628 * sysdeps/posix/dirfd.c: ... here.
16629 * sysdeps/unix/dirstream.h: Renamed to ...
16630 * sysdeps/posix/dirstream.h: ... here.
16631 * sysdeps/unix/fdopendir.c: Renamed to ...
16632 * sysdeps/posix/fdopendir.c: ... here.
16633 * sysdeps/unix/opendir.c: Renamed to ...
16634 * sysdeps/posix/opendir.c: ... here.
16635 * sysdeps/unix/readdir.c: Renamed to ...
16636 * sysdeps/posix/readdir.c: ... here.
16637 * sysdeps/unix/readdir_r.c: Renamed to ...
16638 * sysdeps/posix/readdir_r.c: ... here.
16639 * sysdeps/unix/rewinddir.c: Renamed to ...
16640 * sysdeps/posix/rewinddir.c: ... here.
16641 * sysdeps/unix/seekdir.c: Renamed to ...
16642 * sysdeps/posix/seekdir.c: ... here.
16643 * sysdeps/unix/telldir.c: Renamed to ...
16644 * sysdeps/posix/telldir.c: ... here.
16645 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
16646 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
16647 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
16648 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
16649
22895b47
RM
16650 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
16651 * bits/fcntl.h: ... here.
16652
707a53b6
RM
16653 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
16654 not 0.
16655 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
16656 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
16657 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
16658 (struct flock): Move l_start, l_len to the beginning.
16659 Use __pid_t for l_pid.
16660 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
16661 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
16662 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
16663 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
16664 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
16665 [__USE_LARGEFILE64] (struct flock64): New type.
16666 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
16667
f0bd3e25
RM
16668 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
16669 * bits/dirent.h: ... here.
16670
d34689de
RM
16671 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
16672 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
16673
6dad2c06
JM
166742012-08-07 Joseph Myers <joseph@codesourcery.com>
16675
16676 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16677 Change from 2.6.0 to 2.6.16.
16678 * sysdeps/unix/sysv/linux/configure: Regenerated.
16679 * sysdeps/unix/sysv/linux/kernel-features.h
16680 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
16681 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
16682 version.
16683 (__ASSUME_UTIMES): Likewise.
16684 (__ASSUME_CLONE_STOPPED): Remove.
16685 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
16686 architectures, not kernel version.
16687 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
16688 (__ASSUME_NO_CLONE_DETACHED): Likewise.
16689 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
16690 (__ASSUME_WAITID_SYSCALL): Likewise.
16691 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
16692 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
16693 * README: State 2.6.16 as minimum Linux kernel version. Do not
16694 refer to older versions.
16695
03af9520
RM
166962012-08-06 Roland McGrath <roland@hack.frob.com>
16697
8e49df1d
RM
16698 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
16699 Define alphasort64 as an alias.
16700 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
16701 Define versionsort64 as an alias.
16702 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
16703 Define scandir64 as an alias.
16704 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
16705 Define scandirat64 as an alias.
16706 * dirent/alphasort64.c (alphasort64):
16707 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
16708 * dirent/versionsort64.c: Likewise.
16709 * dirent/scandir64.c: Likewise.
16710 * dirent/scandirat64.c: Likewise.
16711 * sysdeps/wordsize-64/alphasort.c: File removed.
16712 * sysdeps/wordsize-64/alphasort64.c: File removed.
16713 * sysdeps/wordsize-64/scandir.c: File removed.
16714 * sysdeps/wordsize-64/scandir64.c: File removed.
16715 * sysdeps/wordsize-64/scandirat.c: File removed.
16716 * sysdeps/wordsize-64/scandirat64.c: File removed.
16717 * sysdeps/wordsize-64/versionsort.c: File removed.
16718 * sysdeps/wordsize-64/versionsort64.c: File removed.
16719 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
16720 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
16721 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
16722 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
16723 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
16724 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
16725 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
16726 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
16727
16728 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
16729 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16730 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
16731 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16732 [defined __arch64__ || defined __sparcv9]
16733 (__INO_T_MATCHES_INO64_T): New macro.
16734 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16735 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
16736 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
16737 * sysdeps/unix/sysv/linux/bits/dirent.h
16738 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
16739 (_DIRENT_MATCHES_DIRENT64): New macro.
16740
03af9520
RM
16741 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
16742 Define lockf64 as an alias.
16743 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
16744 Define fseeko64 as an alias.
16745 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
16746 Define ftello64 as an alias.
16747 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
16748 Define _IO_fgetpos64 and fgetpos64 as aliases.
16749 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
16750 Define _IO_fsetpos64 and fsetpos64 as aliases.
16751 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
16752 Conditionalize body on this.
16753 * libio/fseeko64.c: Likewise.
16754 * libio/ftello64.c: Likewise.
16755 * libio/iofgetpos64.c: Likewise.
16756 * libio/iofsetpos64.c: Likewise.
16757 * sysdeps/wordsize-64/lockf.c: File removed.
16758 * sysdeps/wordsize-64/lockf64.c: File removed.
16759 * sysdeps/wordsize-64/fseeko.c: File removed.
16760 * sysdeps/wordsize-64/fseeko64.c: File removed.
16761 * sysdeps/wordsize-64/ftello.c: File removed.
16762 * sysdeps/wordsize-64/ftello64.c: File removed.
16763 * sysdeps/wordsize-64/iofgetpos.c: File removed.
16764 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
16765 * sysdeps/wordsize-64/iofsetpos.c: File removed.
16766 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
16767 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
16768 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
16769 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
16770 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
16771 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
16772 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
16773 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
16774 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
16775 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
16776 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
16777
16778 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
16780 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
16781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16782 [defined __arch64__ || defined __sparcv9]
16783 (__OFF_T_MATCHES_OFF64_T): New macro.
16784 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16785 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
16786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16787 (__OFF_T_MATCHES_OFF64_T): New macro.
16788
c5757acd
L
167892012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16790
16791 * stdlib/secure-getenv.c (__secure_getenv): Replace
16792 GLIBC_2_16 with GLIBC_2_17.
16793
3a31811e
L
167942012-08-06 H.J. Lu <hongjiu.lu@intel.com>
16795
16796 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
16797 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
16798
faa2bccb
DM
167992012-08-03 David S. Miller <davem@davemloft.net>
16800
16801 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16802
85fe1997
JM
168032012-08-03 Joseph Myers <joseph@codesourcery.com>
16804
16805 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
16806 Remove.
16807 (__ASSUME_CORRECT_SI_PID): Likewise.
16808 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
16809 (__ASSUME_TMPFS_NAME): Likewise.
16810 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
16811 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
16812 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
16813 (HAVE_AUX_SECURE): Make definition unconditional.
16814 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
16815 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
16816
4f75b7a0
RM
168172012-08-03 Roland McGrath <roland@hack.frob.com>
16818
16819 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
16820 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
16821 * sysdeps/mach/hurd/eloop-threshold.h: New file.
16822 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
16823 __eloop_threshold instead of SYMLOOP_MAX.
16824
16825 * sysdeps/generic/eloop-threshold.h: New file.
16826 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
16827 of MAXSYMLINKS.
16828 * elf/chroot_canon.c (chroot_canon): Likewise.
16829
7aab07e4
JM
168302012-08-03 Joseph Myers <joseph@codesourcery.com>
16831
16832 [BZ #13717]
16833 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
16834 Change to 2.6.0 everywhere.
16835 * sysdeps/unix/sysv/linux/configure: Regenerated.
16836 * sysdeps/unix/sysv/linux/kernel-features.h
16837 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
16838 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
16839 kernel versions.
16840 (__ASSUME_POSIX_TIMERS): Define unconditionally.
16841 (__ASSUME_FUTEX_REQUEUE): Remove.
16842 (__ASSUME_STATFS64): Define unconditionally.
16843 (__ASSUME_AT_SECURE): Likewise.
16844 (__ASSUME_CORRECT_SI_PID): Likewise.
16845 (__ASSUME_TGKILL): Define without depending on kernel version for
16846 i386.
16847 (__ASSUME_UTIMES): Likewise.
16848 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
16849 kernel version.
16850 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
16851 (__ASSUME_TMPFS_NAME): Likewise.
16852 * README: Update reference to Linux kernel versions.
16853
b67e9372
MP
168542012-08-02 Marek Polacek <polacek@redhat.com>
16855
1f529f7d 16856 [BZ# 14150]
b67e9372
MP
16857 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
16858 libc_cv_asm_type_prefix with %.
16859 * configure: Regenerated.
d2441631
RM
16860 * include/libc-symbols.h: Remove comment about
16861 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
16862 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
16863 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
16864 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
16865 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
16866 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
16867 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
16868 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
16869 * elf/tst-unique2mod1.c: Likewise.
16870 * elf/tst-unique1mod2.c: Likewise.
16871 * elf/tst-unique1mod1.c: Likewise.
16872 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
16873 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
16874 Replace ASM_TYPE_DIRECTIVE with .type.
16875 * sysdeps/s390/s390-64/sysdep.h: Likewise.
16876 * sysdeps/i386/sysdep.h: Likewise.
16877 * sysdeps/x86_64/sysdep.h: Likewise.
16878 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
16879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16880 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 16881 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
16882 * sysdeps/powerpc/powerpc32/sysdep.h:
16883 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
16884 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
16885 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16886 * sysdeps/i386/fpu/e_powf.S: Likewise.
16887 * sysdeps/i386/fpu/e_expl.S: Likewise.
16888 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
16889 * sysdeps/i386/fpu/e_acosh.S: Likewise.
16890 * sysdeps/i386/fpu/e_pow.S: Likewise.
16891 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
16892 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
16893 * sysdeps/i386/fpu/s_expm1.S: Likewise.
16894 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
16895 * sysdeps/i386/fpu/e_log2.S: Likewise.
16896 * sysdeps/i386/fpu/e_log2l.S: Likewise.
16897 * sysdeps/i386/fpu/e_scalb.S: Likewise.
16898 * sysdeps/i386/fpu/e_powl.S: Likewise.
16899 * sysdeps/i386/fpu/e_log10f.S: Likewise.
16900 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
16901 * sysdeps/i386/fpu/e_logl.S: Likewise.
16902 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
16903 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
16904 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
16905 * sysdeps/i386/fpu/e_log2f.S: Likewise.
16906 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
16907 * sysdeps/i386/fpu/e_log.S: Likewise.
16908 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
16909 * sysdeps/i386/fpu/e_logf.S: Likewise.
16910 * sysdeps/i386/fpu/e_log10l.S: Likewise.
16911 * sysdeps/i386/fpu/e_atanh.S: Likewise.
16912 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
16913 * sysdeps/i386/fpu/e_log10.S: Likewise.
16914 * sysdeps/i386/fpu/s_frexp.S: Likewise.
16915 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
16916 * sysdeps/i386/fpu/s_asinh.S: Likewise.
16917 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
16918 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
16919 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
16920 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
16921 * sysdeps/i386/i686/strtok.S: Likewise.
16922 * sysdeps/i386/i386-mcount.S: Likewise.
16923 * sysdeps/i386/strtok.S: Likewise.
16924 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
16925 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
16926 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
16927 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
16928 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
16929 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
16930 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
16931 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
16932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
16933 * sysdeps/x86_64/_mcount.S: Likewise.
16934 * sysdeps/x86_64/strtok.S: Likewise.
16935 * sysdeps/sh/_mcount.S: Likewise.
16936
2747bf9a
RM
169372012-08-01 Roland McGrath <roland@hack.frob.com>
16938
16939 * libio/iofopen.c: Include <fcntl.h>.
16940 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
16941 (_IO_fopen64, fopen64): Define as aliases.
16942 * libio/iofopen64.c: Include <fcntl.h>.
16943 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
16944 Conditionalize body on this.
16945 * sysdeps/wordsize-64/iofopen.c: File removed.
16946 * sysdeps/wordsize-64/iofopen64.c: File removed.
16947
3fb791b8
MP
169482012-08-01 Marek Polacek <polacek@redhat.com>
16949
16950 * libc/Makeconfig: Use elf in place of binfmt-subdir.
16951 Use dlfcn directly instead of a variable.
16952 (binfmt-subdir): Do not define.
16953 (dlfcn): Likewise.
16954
a9f1039f
JM
169552012-08-01 Joseph Myers <joseph@codesourcery.com>
16956
23bddc06
JM
16957 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
16958 Remove all definitions.
16959 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
16960 <kernel-features.h>.
16961 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16962 (miss_F_GETOWN_EX): Remove all definitions.
16963 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
16964 macro definition.
16965 [!__ASSUME_FCNTL64]: Remove conditional code.
16966 [__ASSUME_FCNTL64]: Make code unconditional.
16967 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
16968 <kernel-features.h>.
16969 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
16970 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
16971 (lockf64) [__NR_fcntl64]: Make code unconditional.
16972 (lockf64) [__ASSUME_FCNTL64]: Likewise.
16973
a9f1039f
JM
16974 * sysdeps/unix/sysv/linux/kernel-features.h
16975 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
16976 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
16977 Make code unconditional.
16978 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16979 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
16981 [__NR_vfork]: Make code unconditional.
16982 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16983 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
16985 [__NR_vfork]: Make code unconditional.
16986 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
16987 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
16988
09c0ee5f
RM
169892012-08-01 Roland McGrath <roland@hack.frob.com>
16990
48aec5b9
RM
16991 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
16992 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
16993
cd97c966
RM
16994 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16995 Define mkstemp64 as an alias.
3f55550c
RM
16996 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16997 Define mkstemps64 as an alias.
cd97c966
RM
16998 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
16999 Define mkostemp64 as an alias.
b8625cfc
RM
17000 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
17001 Define mkostemps64 as an alias.
cd97c966
RM
17002 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
17003 Conditionalize body on this.
17004 * misc/mkostemp64.c: Likewise.
b8625cfc 17005 * misc/mkostemps64.c: Likewise.
3f55550c 17006 * misc/mkstemps64.c: Likewise.
cd97c966
RM
17007 * sysdeps/wordsize-64/mkstemp64.c: File removed.
17008 * sysdeps/wordsize-64/mkostemp64.c: File removed.
17009 * sysdeps/wordsize-64/mkostemp.c: File removed.
17010 * sysdeps/wordsize-64/mkstemp.c: File removed.
17011 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
17012 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
17013 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
17014 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
17015
09c0ee5f
RM
17016 [BZ #14138]
17017 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
17018 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
17019 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
17020 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
17021
17022 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
17023 compat_symbol macros from <shlib-compat.h> rather than the underlying
17024 default_symbol_version and symbol_version macros, so that DEFAULT
17025 lines in shlib-versions are respected.
17026 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
17027
7e66ee51
FW
170282012-08-01 Florian Weimer <fweimer@redhat.com>
17029
17030 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
17031 Declare with warn_unused_result.
17032 (setgid, setregid, setegid, setresgid): Likewise.
17033 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
17034 Likewise.
17035 * WUR-REPORT: Remove set*id functions.
17036
d2a54255
PT
170372012-07-31 Pino Toscano <toscano.pino@tiscali.it>
17038
17039 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
17040
7ecdb005
RM
170412012-07-31 Roland McGrath <roland@hack.frob.com>
17042
b4180a5e 17043 [BZ #10191]
789bd351
RM
17044 * include/sys/socket.h (__libc_accept, __libc_accept4):
17045 Add attribute_hidden.
17046 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
17047
40ce302d
RM
17048 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
17049 use of PTR_MANGLE.
17050 * inet/getnetgrent_r.c (setup): Likewise.
17051
7ecdb005
RM
17052 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
17053
e2eabb2c
DM
170542012-07-31 David S. Miller <davem@davemloft.net>
17055
17056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17057
d0419dbf
JM
170582012-07-31 Joseph Myers <joseph@codesourcery.com>
17059
17060 [BZ #13629]
17061 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
17062 value between 1.0 and 2.0 and smaller part has absolute value less
17063 than 1.0.
17064 * math/s_clog10.c (__clog10): Likewise.
17065 * math/s_clog10f.c (__clog10f): Likewise.
17066 * math/s_clog10l.c (__clog10l): Likewise.
17067 * math/s_clogf.c (__clogf): Likewise.
17068 * math/s_clogl.c (__clogl): Likewise.
17069 * math/libm-test.inc (clog_test): Add more tests.
17070 (clog10_test): Likewise.
17071 * sysdeps/i386/fpu/libm-test-ulps: Update.
17072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17073
2bc13872
FW
170742012-07-31 Florian Weimer <fweimer@redhat.com>
17075
17076 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
17077 Exit with zero in case no suitable GID is found, and write a
17078 message to standard error.
17079
bea9b193
RM
170802012-07-30 Roland McGrath <roland@hack.frob.com>
17081
17082 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
17083 rather than to 1.
17084 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
17085 (MAXPATHLEN): Removed.
17086 (NOGROUP, NODEV): New macros.
17087 (setbit, clrbit, isset, isclr): New macros.
17088 (howmany, roundup, powerof2): New macros.
17089 (DEV_BSIZE): New macro.
17090
17091 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
17092 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
17093
17094 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
17095 definition on [!__NO_LONG_DOUBLE_MATH].
17096
17097 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
17098 PTR_MANGLE and PTR_DEMANGLE.
17099
17100 * socket/accept4.c (accept4): Rename to __libc_accept4.
17101 Define accept4 as a weak alias.
17102
17103 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
17104 on [_DIRENT_HAVE_D_TYPE].
17105 * io/ftw.c (ftw_dir): Likewise.
17106
17107 * io/xmknod.c (__xmknod): Don't check PATH for being null.
17108
17109 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
17110
17111 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
17112 Use the BSD numbers rather than the arbitrary ones we had.
17113 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
17114 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
17115 (SIGXCPU, SIGXFSZ): New macros.
17116 (_NSIG): Now 32.
17117
17118 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
17119 initializer on [_LIBC_REENTRANT].
17120
17121 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
17122 definitions inside [_POSIX_MAPPED_FILES].
17123
17124 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
17125
17126 * dirent/opendir.c: Include <fcntl.h>.
17127
17128 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
17129 (__libc_getspecific): Likewise.
17130 (__libc_key_create): Likewise.
17131
17132 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
17133 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
17134 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
17135 (tmpfile64): Define as alias.
17136 * sysdeps/wordsize-64/tmpfile.c: File removed.
17137 * sysdeps/wordsize-64/tmpfile64.c: File removed.
17138 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
17139 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
17140
17141 * stdio-common/vfscanf.c: Include <stdbool.h>.
17142 * nss/makedb.c: Likewise.
17143 * stdio-common/_i18n_number.h: Likewise.
17144 * argp/argp-help.c: Likewise.
17145 * posix/wordexp.c: Likewise.
17146 * sysdeps/posix/spawni.c: Likewise.
17147 * nss/nss_files/files-initgroups.c: Likewise.
17148 * stdio-common/reg-modifier.c: Include <stdlib.h>.
17149 * nss/nss_files/files-initgroups.c: Likewise.
17150 * nss/nss_db/db-netgrp.c: Likewise.
17151 * nss/nss_db/db-initgroups.c: Likewise.
17152 * io/fchmodat.c: Include <sys/stat.h>.
17153
17154 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
17155 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
17156
17157 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
17158 [HAVE_MMAP].
17159
17160 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
17161 Add multiple inclusion protection.
17162
e5abc686
DM
171632012-07-27 David S. Miller <davem@davemloft.net>
17164
17165 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17166
815e6fa3
GB
171672012-07-27 Gary Benson <gbenson@redhat.com>
17168
17169 [BZ #14298]
17170 * elf/rtld.c: Include <stap-probe.h>.
17171 (dl_main): Added static probes "init_start" and "init_complete".
17172 * elf/dl-load.c: Include <stap-probe.h>.
17173 (lose): Take new parameter "nsid".
17174 Added static probe "map_failed".
17175 (_dl_map_object_from_fd): Pass namespace id to lose.
17176 Added static probe "map_start".
17177 (open_verify): Pass namespace id to lose.
17178 * elf/dl-open.c: Include <stap-probe.h>.
17179 (dl_open_worker) Added static probes "map_complete", "reloc_start"
17180 and "reloc_complete".
17181 * elf/dl-close.c: Include <stap-probe.h>.
17182 (_dl_close_worker): Added static probes "unmap_start" and
17183 "unmap_complete".
17184 * elf/rtld-debugger-interface.txt: New file documenting the above.
17185
9f98c16c
RM
171862012-07-26 Roland McGrath <roland@hack.frob.com>
17187
17188 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
17189 rather than a string variable.
17190 * sunrpc/rpc_main.c (h_output): Likewise.
17191 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
17192
f3c22df3
PT
171932012-07-26 Pino Toscano <toscano.pino@tiscali.it>
17194
17195 * inet/check_native.c: New file.
17196
3129cfc6
JM
171972012-07-26 Joseph Myers <joseph@codesourcery.com>
17198
da865e95
JM
17199 [BZ #13629]
17200 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
17201 if larger part has absolute value 1.0.
17202 * math/s_clog10.c (__clog10): Likewise.
17203 * math/s_clog10f.c (__clog10f): Likewise.
17204 * math/s_clog10l.c (__clog10l): Likewise.
17205 * math/s_clogf.c (__clogf): Likewise.
17206 * math/s_clogl.c (__clogl): Likewise.
17207 * math/libm-test.inc (clog_test): Add more tests.
17208 (clog10_test): Likewise.
17209 * sysdeps/i386/fpu/libm-test-ulps: Update.
17210 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17211
3129cfc6
JM
17212 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
17213 (pltexit): Likewise.
17214 (La_regs): Likewise.
17215 (La_retval): Likewise.
17216 (int_retval): Likewise.
17217 Update #error for removed macros to refer only to definitions in
17218 tst-audit.h.
17219 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
17220 macro.
17221 (pltexit): Likewise.
17222 (La_regs): Likewise.
17223 (La_retval): Likewise.
17224 (int_retval): Likewise.
17225 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
17226 macro.
17227 (pltexit): Likewise.
17228 (La_regs): Likewise.
17229 (La_retval): Likewise.
17230 (int_retval): Likewise.
17231 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
17232 macro.
17233 (pltexit): Likewise.
17234 (La_regs): Likewise.
17235 (La_retval): Likewise.
17236 (int_retval): Likewise.
17237 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
17238 macro.
17239 (pltexit): Likewise.
17240 (La_regs): Likewise.
17241 (La_retval): Likewise.
17242 (int_retval): Likewise.
17243 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
17244 macro.
17245 (pltexit): Likewise.
17246 (La_regs): Likewise.
17247 (La_retval): Likewise.
17248 (int_retval): Likewise.
17249 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
17250 macro.
17251 (pltexit): Likewise.
17252 (La_regs): Likewise.
17253 (La_retval): Likewise.
17254 (int_retval): Likewise.
17255 * sysdeps/generic/tst-audit.h: Update comment to refer only to
17256 macro definitions in tst-audit.h.
17257 * sysdeps/i386/tst-audit.h: New file.
17258 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
17259 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
17260 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
17261 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
17262 * sysdeps/sh/tst-audit.h: Likewise.
17263 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
17264 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
17265 * sysdeps/x86_64/tst-audit.h: Likewise.
17266
bfc07087
AJ
172672012-07-26 Andreas Jaeger <aj@suse.de>
17268
b1b2aaf8
AJ
17269 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
17270 ptrace.
17271
17272 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
17273 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
17274 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
17275 PTRACE_O_MASK.
17276 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
17277 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
17278 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
17279
bfc07087
AJ
17280 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
17281 value.
17282
17283 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
17284 _sigsys.
17285 (si_call_addr, si_syscall, si_arch): Define new macro.
17286 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
17287 _sigsys.
17288 (si_call_addr, si_syscall, si_arch): Define new marcro.
17289 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
17290 _sigsys.
17291 (si_call_addr, si_syscall, si_arch): Define new macro.
17292 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
17293 _sigsys.
17294 (si_call_addr, si_syscall, si_arch): Define new macro.
17295
89b4b02f
JM
172962012-07-25 Joseph Myers <joseph@codesourcery.com>
17297
17298 [BZ #13717]
17299 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17300 Change to 2.4.21 where previously 2.4.1.
17301 * sysdeps/unix/sysv/linux/configure: Regenerated.
17302 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
17303 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
17304 Linux kernel version.
17305 (__ASSUME_STD_AUXV): Remove.
17306 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
17307 kernel version.
17308 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
17309 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
17310 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
17311 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
17312 (__ASSUME_NETLINK_SUPPORT): Likewise.
17313 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
17314 (__no_netlink_support): Remove conditional definition.
17315 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
17316 Remove.
17317 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17318 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
17319 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
17320 (if_nameindex_ioctl): Remove.
17321 (if_nameindex_netlink): Do not handle __no_netlink_support.
17322 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17323 code.
17324 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
17325 Remove conditional code.
17326 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
17327 code.
17328 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
17329 unconditional.
17330 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
17331 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
17332 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
17333 Remove.
17334 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
17335 [!__ASSUME_STD_AUXV]: Remove conditional code.
17336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
17337 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
17338 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
17340 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
17341 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17342 code.
17343 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17345 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
17346 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17347 conditional code.
17348 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
17349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
17350 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
17351 code.
17352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17353 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
17354 conditional code.
17355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
17356 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17357 code unconditional.
17358 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17359 conditional code.
17360 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17361 unconditional.
17362 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17363 conditional code.
17364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17365 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17366 unconditional.
17367 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17368 conditional code.
17369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
17370 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17371 code unconditional.
17372 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17373 conditional code.
17374 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17375 unconditional.
17376 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17377 conditional code.
17378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
17379 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
17380 code unconditional.
17381 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17382 conditional code.
17383 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
17384 unconditional.
17385 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
17386 conditional code.
17387
842a39cd
AS
173882012-07-25 Andreas Schwab <schwab@linux-m68k.org>
17389
17390 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
17391 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
17392 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
17393 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
17394 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
17395 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
17396 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
17397 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
17398 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
17399 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
17400 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
17401 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
17402 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
17403 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17404 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
17405 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
17406 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
17407 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
17408 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
17409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
17410 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
17411 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
17412 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17413
84b3fd84
FW
174142012-07-25 Florian Weimer <fweimer@redhat.com>
17415
17416 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
17417 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
17418 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
17419 Introduce __libc_secure_getenv.
0c7936d5
FW
17420 * stdlib/Versions (2.17): Add secure_getenv
17421 (GLIBC_PRIVATE): Add __libc_secure_getenv.
17422 * stdlib/secure-getenv.c: Rename __secure_getenv to
17423 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
17424 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
17425 * stdlib/tst-secure-getenv.c: New.
17426 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
17427 * manual/startup.texi (Environment Access): Document
17428 secure_getenv.
84b3fd84
FW
17429 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
17430 __libc_secure_getenv.
17431 * inet/ruserpass.c (ruserpass): Likewise.
17432 * malloc/mtrace.c (mtrace): Likewise.
17433 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 17434 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
17435 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
17436 * sysdeps/posix/tempname.c: Likewise. Evaluate
17437 HAVE_SECURE_GETENV.
17438 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 17439 __secure_getenv to __libc_secure_getenv.
84b3fd84 17440 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
17441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17442 Likewise.
17443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17444 Likewise.
17445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
17446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
17447 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17448 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
17449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
17450 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 17452
56e49b71
JM
174532012-07-25 Joseph Myers <joseph@codesourcery.com>
17454
17455 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
17456 (struct La_i86_retval): Likewise.
17457 (struct La_x86_64_regs): Likewise.
17458 (struct La_x86_64_retval): Likewise.
17459 (struct La_x32_regs): Likewise.
17460 (struct La_x32_retval): Likewise.
17461 (struct La_ppc32_regs): Likewise.
17462 (struct La_ppc32_retval): Likewise.
17463 (struct La_ppc64_regs): Likewise.
17464 (struct La_ppc64_retval): Likewise.
17465 (struct La_sh_regs): Likewise.
17466 (struct La_sh_retval): Likewise.
17467 (struct La_s390_32_regs): Likewise.
17468 (struct La_s390_32_retval): Likewise.
17469 (struct La_s390_64_regs): Likewise.
17470 (struct La_s390_64_retval): Likewise.
17471 (struct La_sparc32_regs): Likewise.
17472 (struct La_sparc32_retval): Likewise.
17473 (struct La_sparc64_regs): Likewise.
17474 (struct La_sparc64_retval): Likewise.
17475 (struct audit_ifaces): Remove architecture-specific pltenter and
17476 pltexit members.
17477 * sysdeps/i386/ldsodefs.h: New file.
17478 * sysdeps/powerpc/ldsodefs.h: Likewise.
17479 * sysdeps/s390/ldsodefs.h: Likewise.
17480 * sysdeps/sh/ldsodefs.h: Likewise.
17481 * sysdeps/sparc/ldsodefs.h: Likewise.
17482 * sysdeps/x86_64/ldsodefs.h: Likewise.
17483
354691b7
MP
174842012-07-25 Marek Polacek <polacek@redhat.com>
17485
17486 [BZ #6808]
17487 * math/libm-test.inc (yn_test): Add another test.
17488 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
17489 to ERANGE when the result is +-Inf.
17490 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17491 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
17492 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
17493 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
17494
bf9e2071
JM
174952012-07-24 Joseph Myers <joseph@codesourcery.com>
17496
17497 * conform/data/time.h-data (NULL): Use macro-constant. Require
17498 equal to 0.
17499 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
17500 clock_t.
17501 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
17502
57633811
TS
175032012-07-23 Thomas Schwinge <thomas@codesourcery.com>
17504
17505 * configure.in <sysdeps resolving>: Correct printing
17506 Implies_before.
17507 * configure: Regenerate.
17508
c23c33b0
TS
175092012-07-22 Thomas Schwinge <thomas@codesourcery.com>
17510
17511 * math/w_ilogb.c: Include <limits.h>.
17512 * math/w_ilogbl.c: Likewise.
17513
b5982523
JM
175142012-07-20 Joseph Myers <joseph@codesourcery.com>
17515
17516 * manual/lang.texi (__va_copy): Document primarily as ISO C99
17517 va_copy. Document allowing for unavailable va_copy only as
17518 pre-C99 compatibility.
17519 * manual/string.texi (Copying and Concatenation): Use va_copy
17520 instead of __va_copy in concat example.
17521
ac4ea442
PT
175222012-07-20 Pino Toscano <toscano.pino@tiscali.it>
17523
17524 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
17525 (__sendto): Use create_address_port. Initialize APORT and deallocate
17526 it if not null.
17527
f98eafbd
PT
17528 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
17529 with O_NOLINK passed to __file_name_lookup.
17530
898c7aab
PT
17531 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
17532 with O_NOLINK passed to __file_name_lookup.
17533
0ced335a
PT
17534 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
17535 negative N or less than NGIDS.
17536
b3404dbd
PT
17537 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
17538 type to string_t. Set ERANGE as errno and return it if NAME is not big
17539 enough. Use memcpy instead of strncpy.
17540
0f48659e
JM
175412012-07-20 Joseph Myers <joseph@codesourcery.com>
17542
17543 * elf/Makefile (check-data): Remove.
17544 (localplt.data): New vpath directive.
17545 ($(objpfx)check-localplt.out): Use localplt.data from vpath
17546 instead of $(check-data).
17547 * scripts/data/localplt-generic.data: Move to ...
17548 * sysdeps/generic/localplt.data: ... here.
17549 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
17550 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
17551 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
17552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
17553 ... here.
17554 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
17555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
17556 ... here.
17557 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
17558 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
17559 ... here.
17560 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
17561 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
17562 ... here.
17563 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
17564 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
17565 ... here.
17566 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
17567 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
17568 ... here.
17569
d37cbdaa
AZ
175702012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17571
17572 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
17573 PPC32 and PPC64 files.
17574 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
17575 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
17576
46f85fc2
AK
175772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17578
17579 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
17580 __makecontext_ret to ...
17581 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17582 ... here and call exit if uc_link is NULL. New file.
17583 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
17584 __makecontext_ret.S.
17585 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
17586 __makecontext_ret to ...
17587 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17588 ... here and call exit if uc_link is NULL. New file.
17589 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
17590 __makecontext_ret.S.
17591
08f43f9b
AK
175922012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17593
17594 * elf/elf.h (R_390_IRELATIVE): New definition.
17595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
17596 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
17597 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
17598 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17599 (elf_machine_lazy_rel): Likewise.
17600 * sysdeps/s390/dl-irel.h: New file.
17601 * sysdeps/s390/s390-64/memcpy.S: New asm code.
17602 * sysdeps/s390/s390-64/memset.S: New asm code.
17603 * sysdeps/s390/s390-64/memcmp.S: New asm code.
17604 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
17605 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
17606 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
17607 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
17608 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
17609 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
17610 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
17611 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
17612 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
17613 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
17614 * sysdeps/s390/s390-32/memcpy.S: New asm code.
17615 * sysdeps/s390/s390-32/memset.S: New asm code.
17616 * sysdeps/s390/s390-32/memcmp.S: New asm code.
17617
3b05db33
MP
176182012-07-17 Marek Polacek <polacek@redhat.com>
17619
17620 [BZ #14349]
17621 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
17622 * sysdeps/s390/s390-64/configure.in: Likewise.
17623 * sysdeps/sparc/configure.in: Likewise.
17624 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
17625 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
17626 * sysdeps/i386/configure.in: Likewise.
17627 * sysdeps/x86_64/configure.in: Likewise.
17628 * sysdeps/sh/configure.in: Likewise.
17629 * sysdeps/s390/s390-32/configure: Regenerated.
17630 * sysdeps/s390/s390-64/configure: Likewise.
17631 * sysdeps/x86_64/configure: Likewise.
17632 * sysdeps/sh/configure: Likewise.
17633 * sysdeps/powerpc/powerpc64/configure: Likewise.
17634 * sysdeps/powerpc/powerpc32/configure: Likewise.
17635 * sysdeps/sparc/configure: Likwise.
17636 * sysdeps/i386/configure: Likewise.
17637
a66877c6
MP
17638 * elf/dl-open.c: Comment fixes.
17639
cfc82fd8
JM
176402012-07-17 Joseph Myers <joseph@codesourcery.com>
17641
bd29910a
JM
17642 * Makefile [CXX] (check-data): Remove.
17643 [CXX] (c++-types.data): New vpath directive.
17644 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
17645 vpath. Do not allow for C++ type data being missing.
17646 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
17647 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
17648 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
17649 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
17650 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
17651 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
17652 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
17653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
17654 ... here.
17655 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
17656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
17657 ... here.
17658 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
17659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
17660 ... here.
17661 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
17662 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
17663 ... here.
17664 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
17665 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
17666 ... here.
17667 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
17669 ... here.
17670 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
17671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
17672 ... here.
17673 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
17674 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
17675
cfc82fd8
JM
17676 * elf/tls-macros.h (TLS_LE): Move architecture-specific
17677 definitions to architecture-specific files.
17678 (TLS_IE): Likewise.
17679 (TLS_LD): Likewise.
17680 (TLS_GD): Likewise.
17681 * sysdeps/i386/tls-macros.h: New file.
17682 * sysdeps/powerpc/tls-macros.h: Likewise.
17683 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
17684 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
17685 * sysdeps/sh/tls-macros.h: Likewise.
17686 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
17687 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
17688 * sysdeps/x86_64/tls-macros.h: Likewise.
17689
f7db3170
TS
176902012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17691
07cbfc23
TS
17692 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
17693 zero value for regular exit case.
17694
f7db3170
TS
17695 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
17696 (__start_context): Preserve zero value for regular exit case.
17697
dc97c227
TS
176982012-07-17 Thomas Schwinge <thomas@codesourcery.com>
17699 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17700
17701 * manual/setjmp.texi (setcontext): Clarify normal process
17702 termination when uc_link is the null pointer.
17703 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
17704 exit call.
17705
d0cd7d02
AS
177062012-07-16 Andreas Schwab <schwab@linux-m68k.org>
17707
17708 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
17709 preprocessor. Test for each exception mask separately.
17710
dd318934
AJ
177112012-07-16 Andreas Jaeger <aj@suse.de>
17712
17713 * po/ru.po: Update from translation team.
17714
8048311a
JM
177152012-07-15 Joseph Myers <joseph@codesourcery.com>
17716
17717 * conform/data/string.h-data (NULL): Use macro-constant. Require
17718 equal to 0.
17719 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
17720 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
17721 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
17722 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
17723 [ISO || ISO99 || ISO11] (*_t): Do not allow.
17724
b637d46e
AJ
177252012-07-13 Andreas Jaeger <aj@suse.de>
17726
17727 * po/fr.po: Update from translation team.
17728
541428fe
MP
177292012-07-12 Marek Polacek <polacek@redhat.com>
17730
17731 [BZ #14173]
17732 * math/libm-test.inc (yn_test): Add test for BZ #14173.
17733 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
17734 loop condition.
17735
ec332e94
JM
177362012-07-12 Joseph Myers <joseph@codesourcery.com>
17737
17738 [BZ #13717]
17739 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
17740 Change to 2.4.1 where previously 2.4.0.
17741 * sysdeps/unix/sysv/linux/configure: Regenerated.
17742 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
17743 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
17744 version.
17745 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
17746 (__ASSUME_AT_CLKTCK): Remove.
17747 (__ASSUME_AT_PAGESIZE): Likewise.
17748 (__ASSUME_AT_XID): Likewise.
17749 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
17750 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
17751 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
17752 unconditionally.
17753 (HAVE_AUX_PAGESIZE): Likewise.
17754 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
17755 [__ASSUME_AT_CLKTCK]: Make code unconditional.
17756 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
17757
7b6e99be
JB
177582012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
17759
17760 [BZ #14307]
17761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
17762 the temporary buffer used to invoke __gethostbyname2_r,
17763 __gethostbyaddr_r and gethostbyname4_r to make room for struct
17764 host_data / struct gaih_addrtuple.
17765 * resolv/nss_dns/dns-host.c (global scope): Move definition of
17766 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
17767 header file nss/nsswitch.h.
17768 * nss/nsswitch.h (global scope): Add definition of implementation
17769 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
17770 resolv/nss_dns/dns-host.c).
17771
608404eb
AJ
177722012-07-11 Andreas Jaeger <aj@suse.de>
17773
17774 * po/fr.po: Update from translation team.
17775
71220aca
AJ
17776 * po/sv.po: Update from translation team
17777 * po/fr.po: Another update from translation team.
17778
28cfe843
AZ
177792012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17780
17781 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
17782 for subnormals or multiply small sinh result by itself.
17783 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
17784 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17785
6b90f981
DM
177862012-07-11 David S. Miller <davem@davemloft.net>
17787
17788 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17789
c6825772
AS
177902012-07-10 Andreas Schwab <schwab@linux-m68k.org>
17791
17792 [BZ #14347]
17793 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
17794 (INTERNAL_MARK): Shift it here.
17795
7b8e0d49
MP
177962012-07-10 Marek Polacek <polacek@redhat.com>
17797
17798 [BZ #14151]
17799 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
17800 libc_cv_asm_global_directive with .globl.
17801 * configure: Regenerated.
17802 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
17803 with .globl.
17804 * sysdeps/i386/configure: Regenerated.
17805 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
17806 with .globl.
17807 * sysdeps/x86_64/configure: Regenerated.
17808 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
17809 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
17810 * elf/tst-unique2mod2.c: Likewise.
17811 * elf/tst-unique2mod1.c: Likewise.
17812 * elf/tst-unique1mod2.c: Likewise.
17813 * elf/tst-unique1mod1.c: Likewise.
17814 * sysdeps/s390/s390-32/sysdep.h: Likewise.
17815 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
17816 * sysdeps/s390/s390-64/sysdep.h: Likewise.
17817 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17818 * sysdeps/mach/sysdep.h: Likewise.
17819 * sysdeps/i386/sysdep.h: Likewise.
17820 * sysdeps/i386/i386-mcount.S: Likewise.
17821 * sysdeps/x86_64/_mcount.S: Likewise.
17822 * sysdeps/x86_64/sysdep.h: Likewise.
17823 * sysdeps/sh/_mcount.S: Likewise.
17824 * sysdeps/sh/sysdep.h: Likewise.
17825 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
17826 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
17827 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
17828 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
17829 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
17830 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
17831 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
17832 * locale/localeinfo.h: Likewise.
17833 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
17834 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
17835
6c55cda3
RM
178362012-07-09 Roland McGrath <roland@hack.frob.com>
17837
17838 [BZ #14336]
17839 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
17840 system".
17841 * manual/message.texi (The Uniforum approach): Likewise.
17842 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
17843 (glibc iconv Implementation): Likewise.
17844
638a572e
JM
178452012-07-09 Joseph Myers <joseph@codesourcery.com>
17846
17847 [BZ #14337]
17848 * math/s_clog.c (__clog): Avoid scaling a value down where that
17849 could result in underflow.
17850 * math/s_clog10.c (__clog10): Likewise.
17851 * math/s_clog10f.c (__clog10f): Likewise.
17852 * math/s_clog10l.c (__clog10l): Likewise.
17853 * math/s_clogf.c (__clogf): Likewise.
17854 * math/s_clogl.c (__clogl): Likewise.
17855 * math/libm-test.inc (clog_test): Add more tests.
17856 (clog10_test): Likewise.
17857 * sysdeps/i386/fpu/libm-test-ulps: Update.
17858 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17859
261f4859
AS
178602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
17861
0abaf3e4
AS
17862 [BZ #14283]
17863 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
17864 by 7 not 8 to examine high bit of fractional part.
17865
261f4859
AS
17866 [BZ #14042]
17867 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
17868 for call to __mcount_internal.
17869 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
17870 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
17871 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
17872
f17ac40d
JM
178732012-07-06 Joseph Myers <joseph@codesourcery.com>
17874
9ad63c23
JM
17875 [BZ #14154]
17876 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
17877 approximation for values within 0x1p-13f of an odd multiple of
17878 pi/4.
17879 * math/libm-test.inc (tan_test): Do not allow spurious underflow
17880 exception. Add more tests.
17881 * sysdeps/i386/fpu/libm-test-ulps: Update.
17882
f17ac40d
JM
17883 [BZ #6778]
17884 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
17885 inputs and return -1 for them. Do not check for +Inf in case not
17886 reachable for +Inf.
17887 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17888 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
17889 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17890 and return -1 for them. Do not check for +Inf in case not
17891 reachable for +Inf.
17892 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
17893 define.
17894 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
17895 and return -1 for them. Do not check for +Inf in case not
17896 reachable for +Inf.
17897 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
17898 spurious underflow.
17899 * sysdeps/i386/fpu/libm-test-ulps: Update.
17900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17901
fb21f89b
MF
179022012-07-06 Mike Frysinger <vapier@gentoo.org>
17903
17904 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
17905
cdfe2c5e
JM
179062012-07-05 Joseph Myers <joseph@codesourcery.com>
17907
17908 [BZ #14157]
17909 [BZ #14331]
17910 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
17911 could result in spurious underflow. Scale down values above
17912 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
17913 * math/s_csqrtf.c (__csqrtf): Likewise.
17914 * math/s_csqrtl.c (__csqrtl): Likewise.
17915 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
17916 spurious underflow.
17917 * sysdeps/i386/fpu/libm-test-ulps: Update.
17918 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17919
70d35b67
AS
179202012-07-04 Andreas Schwab <schwab@linux-m68k.org>
17921
704bc459
AS
17922 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
17923 xopen-msg.sed.
17924 * catgets/xopen-msg.awk: New file.
17925 * catgets/xopen-msg.sed: Removed.
17926
70d35b67
AS
17927 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
17928 po2text.sed.
17929 * intl/po2test.awk: New file.
17930 * intl/po2test.sed: Removed.
17931
ca61cf32
JM
179322012-07-04 Joseph Myers <joseph@codesourcery.com>
17933
17934 [BZ #14328]
17935 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
17936 or multiply small sinh result by itself.
17937 * math/s_ctanf.c (__ctanf): Likewise.
17938 * math/s_ctanh.c (__ctanh): Likewise.
17939 * math/s_ctanhf.c (__ctanhf): Likewise.
17940 * math/s_ctanhl.c (__ctanhl): Likewise.
17941 * math/s_ctanl.c (__ctanl): Likewise.
17942 * math/libm-test.inc (ctan_test_tonearest): New function.
17943 (ctan_test_towardzero): Likewise.
17944 (ctan_test_downward): Likewise.
17945 (ctan_test_upward): Likewise.
17946 (ctanh_test_tonearest): Likewise.
17947 (ctanh_test_towardzero): Likewise.
17948 (ctanh_test_downward): Likewise.
17949 (ctanh_test_upward): Likewise.
17950 (main): Call these new functions.
17951 * sysdeps/i386/fpu/libm-test-ulps: Update.
17952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17953
ca48a46a
MF
179542012-07-03 Mike Frysinger <vapier@gentoo.org>
17955
17956 * .gitignore: Delete /ports entry.
17957
9d63d37d
AJ
179582012-07-03 Andreas Jaeger <aj@suse.de>
17959
17960 * po/bg.po: Update from translation team.
17961 * po/cs.po: Likewise.
17962 * po/de.po: Likewise.
17963 * po/hr.po: Likewise.
17964 * po/nl.pl: Likewise.
17965 * po/pl.po: Likewise.
17966 * po/vi.po: Likewise.
17967
370ca3d2
JM
179682012-07-03 Joseph Myers <joseph@codesourcery.com>
17969
95f5a9a8
JM
17970 * Makeconfig [!+link] (+link-before-libc): New variable.
17971 [!+link] (+link-after-libc): Likewise.
17972 [!+link] (+link-tests): Likewise.
17973 [!+link] (+link): Define in terms of $(+link-before-libc) and
17974 $(+link-after-libc).
17975 [!+link-static] (+link-static-before-libc): New variable.
17976 [!+link-static] (+link-static-after-libc): Likewise.
17977 [!+link-static] (+link-static-tests): Likewise.
17978 [!+link-static] (+link-static): Define in terms of
17979 $(+link-static-before-libc) and $(+link-static-after-libc).
17980 [build-shared] (link-libc-before-gnulib): New variable.
17981 [build-shared] (link-libc-tests): Likewise.
17982 [build-shared] (link-libc): Define in terms of
17983 $(link-libc-before-gnulib).
17984 [!build-shared] (link-libc-tests): New variable.
17985 (link-libc-static-tests): New variable.
17986 [!gnulib] (gnulib-arch): New variable.
17987 [!gnulib] (gnulib-tests): Likewise.
17988 [!gnulib] (static-gnulib-arch): Likewise.
17989 [!gnulib] (static-gnulib-tests): Likewise.
17990 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
17991 Define with "=" instead of ":=".
17992 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
17993 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
17994 * Rules (binaries-all-notests): New variable.
17995 (binaries-all-tests): Likewise.
17996 (binaries-static-notests): Likewise.
17997 (binaries-static-tests): Likewise.
17998 (binaries-all): Define using $(binaries-all-notests) and
17999 $(binaries-all-tests).
18000 (binaries-static): Define using $(binaries-static-notests) and
18001 $(binaries-static-tests).
18002 (binaries-shared-tests): New variable.
18003 (binaries-shared-notests): Likewise.
18004 (binaries-shared): Remove variable.
18005 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
18006 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
18007 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
18008 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
18009 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
18010 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
18011 * elf/Makefile (sln-modules): New variable.
18012 (extra-objs): Add $(sln-modules:=.o).
18013 (ldconfig-modules): Add static-stubs.
18014 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
18015 * elf/static-stubs.c: New file.
18016
7a845b2c
JM
18017 [BZ #14283]
18018 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
18019 by 7 not 8 to examine high bit of fractional part. Use volatile
18020 variables when splitting into final array of floats if
18021 __FLT_EVAL_METHOD__ != 0.
18022 * math/libm-test.inc (cos_test): Add another test.
18023 (sin_test): Likewise.
18024 * sysdeps/i386/fpu/libm-test-ulps: Update.
18025
e2283f38
JM
18026 [BZ #14273]
18027 * math/libm-test.inc (cosh_test): Add more tests.
18028
370ca3d2
JM
18029 * version.h (RELEASE): Set to "development".
18030 (VERSION): Set to "2.16.90".
18031
ee9247c3
CD
180322012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
18033
18034 * NEWS: Update copyright. Remove last-updated date.
18035 Mention math library bug fixes and timezone data changes.
18036 * README: Mention GNU/Hurd, x32, and HPPA support status.
18037
4648c381
TS
180382012-06-28 Thomas Schwinge <thomas@codesourcery.com>
18039
18040 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
18041
aac78a43
AJ
180422012-06-27 Andreas Jaeger <aj@suse.de>
18043
18044 * manual/contrib.texi (Contributors): Add Samuel Thibault.
18045
ed3dbfad
AJ
180462012-06-25 Andreas Jaeger <aj@suse.de>
18047
18048 * sysdeps/s390/fpu/libm-test-ulps: Update.
18049
4d0ee855
AS
180502012-06-23 Andreas Schwab <schwab@linux-m68k.org>
18051 Thomas Schwinge <thomas@codesourcery.com>
18052
18053 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
18054 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
18055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
18056 fanotify_mark.
18057
af1bce34
TS
180582012-06-23 Thomas Schwinge <thomas@codesourcery.com>
18059
a9fa33ba
TS
18060 * sysdeps/mach/start.c: Remove file.
18061 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
18062 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
18063 * sysdeps/sh/init-first.c: Likewise.
18064
58f902b8
TS
18065 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
18066 registers for frame unwinding purposes, add CFI directives.
18067 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18068 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
18069 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
18070 Likewise.
18071
1518f58b
TS
18072 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
18073 __fortify_fail returning.
18074 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
18075
db9b5059
TS
18076 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
18077 sysdeps/sh/____longjmp_chk.S.
18078 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
18079 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
18080 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
18081 (gen-as-const-headers): Append sigaltstack-offsets.sym.
18082
967705fe
TS
18083 * sysdeps/sh/abort-instr.h: New file.
18084 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
18085 process in case exit returns.
18086
a9def8c4
TS
18087 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
18088 initialize the GOT register before use.
18089
2a649725
TS
18090 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
18091 calculation of ARGC > 4.
18092
af1bce34
TS
18093 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
18094 meaningful names to some local labels.
18095
d230f50a
KK
180962012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
18097 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18098
18099 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
18100 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
18101 (__arch_compare_and_exchange_val_16_acq): Likewise.
18102 (__arch_compare_and_exchange_val_32_acq): Likewise.
18103 (atomic_exchange_and_add): Fix gUSA sequence.
18104 (atomic_add): Likewise.
18105 (atomic_add_negative): Likewise.
18106 (atomic_add_zero): Likewise.
18107 (atomic_bit_test_set): Likewise.
18108
0479b305
AS
181092012-06-22 Andreas Schwab <schwab@redhat.com>
18110
18111 [BZ #13579]
18112 * include/link.h (struct link_map): Add l_free_initfini.
18113 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
18114 l_initfini.
18115 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
18116 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
18117 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
18118 set.
18119
0e3933b9
CD
181202012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
18121
18122 * configure.in: Use AC_LANG_SOURCE.
18123 * configure: Regenerate.
18124
4248b1b1
RM
181252012-06-22 Roland McGrath <roland@hack.frob.com>
18126
18127 * configure.in (libc_cv_localstatedir): New substituted variable.
18128 * configure: Regenerated.
18129 * config.make.in (localstatedir): New variable, substituted from
18130 libc_cv_localstatedir.
18131 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
18132 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
18133 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
18134 * sysdeps/gnu/configure: Regenerated.
18135
006dd861
JL
181362012-06-21 Jeff Law <law@redhat.com>
18137
18138 [BZ #14277]
18139 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
18140 free. Simplify list management for _LIBC case.
18141
79662d42
JM
181422012-06-21 Joseph Myers <joseph@codesourcery.com>
18143
b7abb4bf
JM
18144 [BZ #14273]
18145 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18146 Clear sign bit of 64-bit integer value before comparing against
18147 overflow value.
18148
79662d42
JM
18149 * sysdeps/mach/configure: Regenerated.
18150
1f150908
L
181512012-06-21 H.J. Lu <hongjiu.lu@intel.com>
18152
18153 [BZ #14278]
18154 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
18155
28363bbf
JL
181562012-06-21 Jeff Law <law@redhat.com>
18157
18158 [BZ #13882]
18159 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
18160 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 18161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
18162 * elf/dl-open.c (dl_open_worker): Likewise.
18163
09615db4
CD
181642012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
18165
18166 * scripts/list-sources.sh: Scan PORTS for translations.
18167 * po/libc.pot: Regenerated.
18168
2174c6dd
AJ
181692012-06-21 Andreas Jaeger <aj@suse.de>
18170
18171 [BZ #12194]
18172 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
18173 warning.
18174 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
18175 * bits/byteswap-16.h (__bswap_16): Likewise.
18176 * bits/byteswap.h (__bswap_constant_16): Likewise.
18177
3ee947b1
L
181782012-06-18 H.J. Lu <hongjiu.lu@intel.com>
18179
18180 [BZ #14117]
a2f34833
L
18181 * sysdeps/i386/fpu_control.h: Removed.
18182 * sysdeps/x86_64/fpu_control.h: Moved to ...
18183 * sysdeps/x86/fpu_control.h: Here.
18184
3ee947b1
L
18185 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
18186 (_FPU_SETCW): Likewise.
18187
ed1825f8
L
181882012-06-15 H.J. Lu <hongjiu.lu@intel.com>
18189
25f1282a
L
18190 [BZ #14117]
18191 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
18192 * sysdeps/x86/fpu/bits/mathinline.h: This.
18193 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
18194
ed1825f8
L
18195 [BZ #14050]
18196 [BZ #14117]
18197 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
18198 functions if __x86_64__ is defined.
18199
36d54b74
CLT
182002012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
18201
18202 * string/endian.h: Add !__ASSEMBLER__ condition for including
18203 conversion interfaces.
18204
10285c21
JM
182052012-06-15 Joseph Myers <joseph@codesourcery.com>
18206
18207 [BZ #14241]
18208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
18209 of ABS(x) in calculating zero to negative powers other than odd
18210 integers.
18211 * math/libm-test.inc (pow_test): Add more tests.
18212
06c5abbd
AJ
182132012-06-15 Andreas Jaeger <aj@suse.de>
18214
18215 * manual/contrib.texi (Contributors): Update entry of Liubov
18216 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
18217 Machado Filho.
18218
a3aeac40
CH
182192012-06-15 Cyril Hrubis <metan@ucw.cz>
18220
18221 * string/string.h: Add __wur to GNU version of strerror_r.
18222
49bdf4c1
L
182232012-06-14 H.J. Lu <hongjiu.lu@intel.com>
18224
18225 [BZ #14229]
18226 * string/Makefile (tests): Add tst-strtok_r.
18227 * string/tst-strtok_r.c: New file.
18228 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
18229 RAX_LP/RDX_LP on SAVE_PTR.
18230
834f9b8d
RM
182312012-06-14 Roland McGrath <roland@hack.frob.com>
18232
18233 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
18234
75fa1921
JM
182352012-06-14 Joseph Myers <joseph@codesourcery.com>
18236
18237 * libm_test.inc (csqrt_test): Allow more spurious underflow
18238 exceptions.
18239 (j0_test): Likewise.
18240 (j1_test): Likewise.
18241 (y0_test): Likewise.
18242 (y1_test): Likewise.
18243
771766df
CD
182442012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
18245
18246 * po/Makefile (libc.pot): Use UTF-8 charset.
18247
ceb9e56b
PP
182482012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
18249
18250 [BZ #14210]
18251 Suppress sign-conversion warning from FD_SET.
18252 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
18253 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
18254 not unsigned long int.
18255 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
18256
ddb28975
L
182572012-06-12 H.J. Lu <hongjiu.lu@intel.com>
18258
18259 [BZ #14050]
18260 [BZ #14117]
18261 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
18262 __extern_always_inline instead of __extern_inline.
18263 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
18264 (__signbit): Likewise.
18265 (__signbitl): Support C++ namespace.
18266 (lrintf): New inline function.
18267 (lrint): Likewise.
18268 (llrintf): Likewise.
18269 (llrint): Likewise.
18270 (fmaxf): Likewise.
18271 (fmax): Likewise.
18272 (fminf): Likewise.
18273 (fmin): Likewise.
18274 (rint): Likewise.
18275 (rintf): Likewise.
18276 (ceil): Likewise.
18277 (ceilf): Likewise.
18278 (floor): Likewise.
18279 (floorf): Likewise.
18280 (nearbyint): Likewise.
18281 (nearbyintf): Likewise.
18282
d7b4fb26
TS
182832012-06-12 Thomas Schwinge <thomas@codesourcery.com>
18284
18285 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
18286 non-default versions.
18287
eb55f5c2
RM
182882012-06-11 Roland McGrath <roland@hack.frob.com>
18289
18290 [BZ #14218]
18291 * manual/argp.texi (Argp): Reword argp_parse description slightly.
18292
366af02c
TS
182932012-06-09 Thomas Schwinge <thomas@codesourcery.com>
18294
99ff6e5c
TS
18295 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
18296 (FE_UPWARD, FE_DOWNWARD): Don't define.
18297 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
18298 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18299
366af02c
TS
18300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
18301 reading it.
18302 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18303 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18304
793ea851
KK
183052012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18306
18307 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
18308 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
18309 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
18310 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
18311
a728a38f
L
183122012-06-06 H.J. Lu <hongjiu.lu@intel.com>
18313
18314 [BZ #14117]
c08010c7
L
18315 * sysdeps/i386/fpu/bits/fenv.h: Removed.
18316 * sysdeps/i386/fpu/Implies: New file.
18317 * sysdeps/x86_64/fpu/Implies: Likewise.
18318 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
18319 * sysdeps/x86/fpu/bits/fenv.h: This.
18320
a728a38f
L
18321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
18322 __SSE_MATH__.
18323
6e230d11
SP
183242012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18325
18326 [BZ #14134]
18327 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
18328 character 0xffff that matches the last element of the
18329 conversion table.
18330
1b671feb
AZ
183312012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18332
18333 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
18334 fmodl commit.
18335
6043738b
AZ
183362012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18337
18338 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
18339 values higher than 25.6283.
18340
34ae0b32
AZ
183412012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18342
18343 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
18344 subnormal exponent extraction and add some __builtin_expect.
18345 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
18346 Fix for subnormal mantissa calculation.
18347
1214ec8f
MF
183482012-06-04 Mike Frysinger <vapier@gentoo.org>
18349
18350 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
18351 cpu2 is -1 and errno is not ENOSYS.
18352
f3d1f93c
L
183532012-06-04 H.J. Lu <hongjiu.lu@intel.com>
18354
18355 [BZ #14117]
0e4a3cd7
L
18356 * sysdeps/i386/i486/bits/string.h: Renamed to ...
18357 * sysdeps/x86/bits/string.h: This.
18358 * sysdeps/x86_64/bits/string.h: Removed.
18359
6704c645
L
18360 * sysdeps/i386/i486/bits/string.h: Define inline functions only
18361 if not compiling for x86-64, but compiling for >= i486.
18362
48495318
L
18363 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
18364 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
18365
14adcbfc
L
18366 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
18367 New macro from Linux kernel 3.4.0.
18368 (FP_XSTATE_MAGIC2): Likewise.
18369 (FP_XSTATE_MAGIC2_SIZE): Likewise.
18370 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
18371 (struct _fpx_sw_bytes): New struct.
18372 (struct _xsave_hdr): Likewise.
18373 (struct _ymmh_state): Likewise.
18374 (struct _xstate): Likewise.
18375
68e408ab
L
18376 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
18377 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
18378 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
18379 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
18380 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
18381 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
18382
f3d1f93c
L
18383 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
18384 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
18385 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
18386 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
18387 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
18388 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
18389
d9dc34cd
TMQMF
183902012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18391
18392 [BZ #13743]
18393 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
18394 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
18395 (sysdep_headers): Include sys/platform/ppc.h.
18396 * sysdeps/powerpc/test-gettimebase.c: Test for
18397 __ppc_get_timebase() to catch future ISA opcode/insn changes.
18398 * manual/Makefile (appendices): Include platform.texi.
18399 * manual/contrib.texi (Contributors): Update @node pointers.
18400 * manual/maint.texi (Maintenance): Likewise.
18401 (Platform): New node.
18402 * manual/platform.texi: New file. Document the new features.
18403
4af3879c
SP
184042012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18405 Jakub Jelinek <jakub@redhat.com>
18406
18407 [BZ #14188]
18408 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
18409 where __builtin_expect is unavailable.
18410
2fd6ff13
DM
184112012-06-03 David S. Miller <davem@davemloft.net>
18412
18413 * stdlib/longlong.h: Updated from GCC.
18414
173f7220
AS
184152012-06-02 Andreas Schwab <schwab@linux-m68k.org>
18416
18417 [BZ #14042]
18418 * sysdeps/powerpc/powerpc32/mcount.c: New file.
18419 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
18420 __mcount_internal.
18421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
18422 (GLIBC_2.16): Likewise.
18423
f34a1c6f
L
184242012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18425
18426 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
18427
88a4576f
JM
184282012-06-01 Joseph Myers <joseph@codesourcery.com>
18429
ea32bcdd
JM
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
18431 (default-abi): New variable.
18432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
18433 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
18434 variable.
18435 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
18436 Likewise.
18437 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
18438 Likewise.
18439 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
18440 Likewise.
18441
88a4576f
JM
18442 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
18443 definition. Document in comment.
18444
402fe938
DM
184452012-06-01 David S. Miller <davem@davemloft.net>
18446
18447 * stdlib/longlong.h: Updated from GCC.
18448
3553723f
L
184492012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18450
18451 [BZ #14117]
3bd872c4
L
18452 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
18453 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
18454 sys/debugreg.h sys/io.h here.
18455 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
18456 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
18457 sys/io.h.
18458 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
18459 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
18460 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
18461 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
18462 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
18463 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
18464
3553723f
L
18465 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
18466 Define only if __x86_64__ is defined.
18467
4842e4fe
JM
184682012-06-01 Joseph Myers <joseph@codesourcery.com>
18469
c5bfe3d5
JM
18470 [BZ #14048]
18471 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
18472 Use int64_t for variable i.
18473 * math/libm-test.inc (fmod_test): Add more tests.
18474
4842e4fe
JM
18475 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
18476 z computation is not scheduled after fetestexcept.
18477 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
18478 Use math_force_eval instead of asm to ensure calculation scheduled
18479 before exception test.
18480 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
18481 Ensure a1 + u.d computation is not scheduled after fetestexcept.
18482
efb73488
AJ
184832012-06-01 Aurelien Jarno <aurelien@aurel32.net>
18484
18485 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
18486 computation is not scheduled after fetestexcept.
18487
29bcce7c
L
184882012-06-01 H.J. Lu <hongjiu.lu@intel.com>
18489
18490 [BZ #14117]
18491 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
18492 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
18493
73a68f94
AZ
184942012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18495
18496 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
18497 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
18498
67b6df78
L
184992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18500
edf2933a 18501 [BZ #14117]
ebc64a18
L
18502 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
18503 <bits/wordsize.h>.
18504 (__WCHAR_MIN): Support __WORDSIZE == 64.
18505 (__WCHAR_MAX): Likewise.
18506
edf2933a
L
18507 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
18508 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
18509
57c6cf40
L
18510 [BZ #14183]
18511 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
18512 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
18513
67b6df78 18514 [BZ #14117]
8eb6281e
L
18515 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
18516 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
18517
aac639f4
L
18518 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
18519 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
18520
67b6df78
L
18521 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
18522 Defined to 1 if __x86_64__ isn't defined.
18523 (_STAT_VER_LINUX_OLD): New.
18524 (st_atime): Remove duplicate.
18525 (st_mtime): Likewise.
18526 (st_ctime): Likewise.
18527
1c2cfe81
DM
185282012-05-31 David S. Miller <davem@davemloft.net>
18529
18530 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
18531 entries.
18532
5be8418c
AS
185332012-06-01 Andreas Schwab <schwab@linux-m68k.org>
18534
e7725326
AS
18535 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
18536 gen-libm-test.pl.
18537
5be8418c
AS
18538 [BZ #14132]
18539 * elf/dl-reloc.c: Include <_itoa.h>.
18540 (_dl_reloc_bad_type): Remove use of INTUSE.
18541 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
18542 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
18543 * stdio-common/psiginfo.c (psiginfo): Likewise.
18544 * stdio-common/psignal.c (psignal): Likewise.
18545 * string/strsignal.c (strsignal): Likewise.
18546 * include/signal.h (_sys_siglist): Declare hidden proto.
18547 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
18548 INTVARDEF with libc_hidden_data_def.
18549 * stdio-common/itoa-udigits.c: Likewise.
18550 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
18551 (_itoa_lower_digits_internal): Remove declaration.
18552 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
18553 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
18554 (_sys_sigabbrev_internal): Remove aliases.
18555 (_sys_siglist): Define hidden alias.
18556
507352f1
MT
185572012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
18558
18559 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18560 bits/sysctl.h.
18561
42bbb1c3
L
185622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
18563
18564 [BZ #14117]
6bd784b6
L
18565 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
18566 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
18567
8bca20f0
L
18568 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
18569 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
18570 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
18571 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
18572 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
18573 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
18574
f9e890a9
L
18575 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
18576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
18577 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
18578
471101a1
L
18579 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
18580 with __addr.
18581 (insw): Likewise.
18582 (insl): Likewise.
18583 (outsb): Likewise.
18584 (outsw): Likewise.
18585 (outsl): Likewise.
18586
6451c862
L
18587 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
18588 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
18589 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
18590
a254b8c9
L
18591 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
18592 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
18593 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
18594 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
18595 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
18596 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
18597
b8dfdd92
L
18598 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
18599 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
18600
578cd270
L
18601 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
18602 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
18603
de662f5f
L
18604 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
18605 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
18606 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
18607
25653439
L
18608 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
18609 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
18610 to ...
18611 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
18612
6bad24a0
L
18613 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
18614 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
18615 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
18616
42bbb1c3
L
18617 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
18618 for x86-64.
18619 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
18620
2d10d547
JM
186212012-05-31 Joseph Myers <joseph@codesourcery.com>
18622
18623 * math/math.h (M_El): Use two more decimal places.
18624 (M_LOG2El): Likewise.
18625 (M_LOG10El): Likewise.
18626 (M_LN2l): Likewise.
18627 (M_LN10l): Likewise.
18628 (M_PIl): Likewise.
18629 (M_PI_2l): Likewise.
18630 (M_PI_4l): Likewise.
18631 (M_1_PIl): Likewise.
18632 (M_2_PIl): Likewise.
18633 (M_2_SQRTPIl): Likewise.
18634 (M_SQRT2l): Likewise.
18635 (M_SQRT1_2l): Likewise.
18636
f230c29b
DM
186372012-05-31 David S. Miller <davem@davemloft.net>
18638
18639 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
18640 values between float registers.
18641 * sysdeps/sparc/sparc64/memset.S: Likewise.
18642 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
18643
fed806c3
MF
186442012-05-31 Mike Frysinger <vapier@gentoo.org>
18645
18646 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
18647 -D_FORTIFY_SOURCE=1.
18648 (CPPFLAGS-tst-longjmp_chk.c): Define.
18649 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
18650 (CPPFLAGS-tst-longjmp_chk2.c): Define.
18651 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
18652 CFLAGS-tst-wchar-h.c.
18653
30917259
MP
186542012-05-31 Marek Polacek <polacek@redhat.com>
18655
18656 [BZ #14132]
18657 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
18658 __endmntent_internal): Remove declaration.
18659 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
18660 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
18661 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
18662
1c58d5dc
DM
186632012-05-30 David S. Miller <davem@davemloft.net>
18664
18665 * sysdeps/sparc/sparc32/soft-fp/q_util.c
18666 (___Q_simulate_exceptions): Use real FP ops rather than writing
18667 into the %fsr.
18668 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
18669 Likewise.
18670
7dc00e0d
L
186712012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18672
18673 [BZ #14117]
0bd53985
L
18674 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
18675 * sysdeps/x86/bits/xtitypes.h: This.
18676
3a257e66
L
18677 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
18678 * sysdeps/x86/bits/wordsize.h: This.
18679
62f62904
L
18680 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
18681 * sysdeps/x86/bits/huge_vall.h: This.
18682
404fe9d9
L
18683 * sysdeps/i386/bits/select.h: Removed.
18684 * sysdeps/x86_64/bits/select.h: Renamed to ...
18685 * sysdeps/x86/bits/select.h: This.
18686
d48d0446
L
18687 * sysdeps/i386/bits/setjmp.h: Removed.
18688 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
18689 * sysdeps/x86/bits/setjmp.h: This.
18690
7dc00e0d
L
18691 * sysdeps/i386/bits/mathdef.h: Removed.
18692 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
18693 * sysdeps/x86/bits/mathdef.h: This.
18694
03277f8f
AS
186952012-05-30 Andreas Schwab <schwab@linux-m68k.org>
18696
18697 [BZ #14132]
18698 * include/sys/socket.h (__connect_internal)
18699 (__libc_sa_len_internal): Remove declaration.
18700 (__connect, __libc_sa_len): Declare hidden_proto.
18701 (SA_LEN): Remove use of INTUSE.
18702 * socket/connect.c: Add libc_hidden_def.
18703 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
18704 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
18705 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
18706 alias.
18707 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
18708 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
18709 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
18710 of adding _internal alias.
18711
13764867
L
187122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18713
18714 [BZ #14117]
6bd97696
L
18715 * sysdeps/i386/bits/link.h: Removed.
18716 * sysdeps/i386/bits/linkmap.h: Likewise.
18717 * sysdeps/x86_64/bits/link.h: Renamed to ...
18718 * sysdeps/x86/bits/link.h: This.
18719 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
18720 * sysdeps/x86/bits/linkmap.h: This.
18721
f726f0bb
L
18722 * sysdeps/i386/bits/endian.h: Removed.
18723 * sysdeps/x86_64/bits/endian.h: Renamed to ...
18724 * sysdeps/x86/bits/endian.h: This.
18725
13764867
L
18726 * sysdeps/i386/bits/byteswap.h: Removed.
18727 * sysdeps/i386/bits/byteswap-16.h: Likewise.
18728 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
18729 * sysdeps/x86/bits/byteswap.h: This.
18730 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
18731 * sysdeps/x86/bits/byteswap-16.h: This.
18732 * sysdeps/i386/Implies: Add x86.
18733 * sysdeps/x86_64/Implies: Likewise.
18734
ae251b0b
DM
187352012-05-30 David S. Miller <davem@davemloft.net>
18736
18737 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
18738 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
18739 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
18740 (FP_TRAPPING_EXCEPTIONS): Define.
18741 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
18742 (FP_TRAPPING_EXCEPTIONS): Define.
18743 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
18744 subnormals only when inexact has been signalled or underflow
18745 exceptions are enabled.
18746 (_FP_PACK_CANONICAL): Likewise.
18747
d5c90867
L
187482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18749
18750 [BZ #14183]
18751 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
18752 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
18753
63f1549e
RH
187542012-05-30 Richard Henderson <rth@twiddle.net>
18755
8d8f2279
RH
18756 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
18757 with #ifndef NOT_IN_libc.
18758
63f1549e
RH
18759 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
18760 marked to avoid plt entry.
18761
0ab0291b
L
187622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
18763
18764 [BZ #14112]
18765 * Makeconfig (default-abi): New macro.
18766 (abi-includes): Likewise.
18767 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
18768 $(abi-$(default-abi)-lib-soname) for soname if defined.
18769 ($(common-objpfx)gnu/lib-names.stmp): Generate from
18770 abi-variants.
18771 * Makefile (installed-stubs): Likewise.
18772 * include/stubs-biarch.h: Removed.
18773 * scripts/lib-names.awk: Only handle one library at a time.
18774 * scripts/soversions.awk: Remove WORDSIZE support.
18775 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
18776 entries.
18777 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
18778 Removed.
18779 (syscall-list-default-condition): Likewise.
18780 (syscall-list-default-condition): Likewise.
18781 (syscall-list-includes): Likewise.
18782 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
18783 syscall-list-* with abi-*. Handle undefined abi-variants.
18784 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
18785 * sysdeps/unix/sysv/linux/i386/Implies: New file.
18786 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
18787 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
18788 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
18789 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
18790 Removed.
18791 (syscall-list-32-options): Likewise.
18792 (syscall-list-32-condition): Likewise.
18793 (syscall-list-64-options): Likewise.
18794 (syscall-list-64-condition): Likewise.
18795 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
18796 macro.
18797 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
18798 Renamed to ...
18799 (abi-*): This.
18800 (abi-64-ld-soname): New macro.
18801 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
18802 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
18803 Renamed to ...
18804 (abi-*): This.
18805 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
18806 * sysdeps/x86_64/x32/shlib-versions: Likewise.
18807
4da0431d
JM
188082012-05-30 Joseph Myers <joseph@codesourcery.com>
18809
3a85279c
JM
18810 * sysdeps/unix/sysv/linux/kernel-features.h
18811 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
18812 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
18813 include <kernel-features.h>.
18814 [!__NR_ftruncate64]: Remove conditional code.
18815 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18816 [__NR_ftruncate64]: Make code unconditional.
18817 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18818 * sysdeps/unix/sysv/linux/truncate64.c: Do not
18819 include <kernel-features.h>.
18820 [!__NR_ftruncate64]: Remove conditional code.
18821 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18822 [__NR_ftruncate64]: Make code unconditional.
18823 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
18825 include <kernel-features.h>.
18826 [!__NR_ftruncate64]: Remove conditional code.
18827 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18828 [__NR_ftruncate64]: Make code unconditional.
18829 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18831 include <kernel-features.h>.
18832 [!__NR_ftruncate64]: Remove conditional code.
18833 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18834 [__NR_ftruncate64]: Make code unconditional.
18835 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
18836
4da0431d
JM
18837 * configure.in (libc_cv_fpie): Weaken to a compile test using
18838 LIBC_TRY_CC_OPTION.
18839 * configure: Regenerated.
18840
11ef492c
AK
188412012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18842
18843 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
18844 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
18845 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
18846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18847 Refreshed.
18848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
18849 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
18850 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
18851 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
18852 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
18853 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18854 Refreshed.
18855
d66ef399
DM
188562012-05-27 David S. Miller <davem@davemloft.net>
18857
18858 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
18859 (___Q_zero): New.
18860 (__Q_simulate_exceptions): Return void. Change to simulate
18861 exceptions by writing into the %fsr.
18862 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
18863 (__Qp_handle_exceptions): Likewise.
18864 (numbers): Delete.
18865 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
18866 __Qp_handle_exceptions.
18867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
18868 __Qp_handle_exceptions.
18869 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18870 as unused and give dummy FP_RND_NEAREST initializer.
18871 (FP_INHIBIT_RESULTS): Define.
18872 (___Q_simulate_exceptions): Update declaration.
18873 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
18874 formatting.
18875 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
18876 as unused and give dummy FP_RND_NEAREST initializer.
18877 (__Qp_handle_exceptions): Update declaration.
18878 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
18879 formatting.
18880
04fb54b5
TS
188812012-05-27 Thomas Schwinge <thomas@codesourcery.com>
18882
18883 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
18884 the temporary FPU control word.
18885 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
18886 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
18887 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
18888 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
18889 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
18890 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
18891 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
18892 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
18893 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
18894 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
18895 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
18896
3f99608f
KK
188972012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18898
18899 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
18900 fields.
18901
65a4de4e
CLT
189022012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
18903
18904 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
18905 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
18906 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
18907 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
18908 Likewise.
18909 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
18910 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
18911 Likewise.
18912
15749d40
UD
189132012-05-27 Ulrich Drepper <drepper@gmail.com>
18914
18915 * po/h.po: Update from translation team.
18916
25dbcb27
AS
189172012-05-26 Andreas Schwab <schwab@linux-m68k.org>
18918
3d3f8e55
AS
18919 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
18920
25dbcb27
AS
18921 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
18922 handling of denormals.
18923 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18924 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18925 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18926 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18927 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18928 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
18929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
18930 Likewise.
18931
7ad47a80 189322012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
18933
18934 [BZ #14152]
18935 * math/libm-test.inc (fma_test): Don't always expect underflow
18936 exception.
18937
9c6ea9fa
SP
189382012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
18939
18940 [BZ #12416]
18941 * elf/tst-execstack.c: Include stackinfo.h.
18942 (do_test): Adjust test case to ensure that pthread_getattr_np
18943 behaviour remains the same after marking stack executable.
18944
a8239222
JM
189452012-05-25 Joseph Myers <joseph@codesourcery.com>
18946
18947 * sysdeps/unix/sysv/linux/kernel-features.h
18948 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
18949 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
18950 kernel-features.h.
18951 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18952 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18953 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
18954 kernel-features.h.
18955 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
18956 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
18957
918b5606
L
189582012-05-25 H.J. Lu <hongjiu.lu@intel.com>
18959
18960 * configure.in: Define the default includes to being none.
18961 * configure: Regenerated.
18962
3a097cc7
RM
189632012-05-25 Roland McGrath <roland@hack.frob.com>
18964
8422c9a5
RM
18965 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
18966 * sysdeps/x86_64/setjmp.S: Likewise.
18967 * sysdeps/i386/bsd-setjmp.S: Likewise.
18968 * sysdeps/i386/bsd-_setjmp.S: Likewise.
18969 * sysdeps/i386/setjmp.S: Likewise.
18970 * sysdeps/i386/__longjmp.S: Likewise.
18971 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
18972 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
18973
3a097cc7
RM
18974 * include/stap-probe.h: New file.
18975 * configure.in: Handle --enable-systemtap.
18976 * configure: Regenerated.
18977 * config.h.in (USE_STAP_PROBE): New #undef.
18978 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
18979 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
18980 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
18981
21708942
JM
189822012-05-25 Joseph Myers <joseph@codesourcery.com>
18983
18984 [BZ #13717]
18985 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18986 to 2.4.0 where earlier.
18987 * sysdeps/unix/sysv/linux/configure: Regenerated.
18988 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18989 <kernel-features.h>.
18990 [__ASSUME_32BITUIDS]: Make code unconditional.
18991 [!__ASSUME_32BITUIDS]: Remove conditional code.
18992 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
18993 <kernel-features.h>.
18994 [__ASSUME_32BITUIDS]: Make code unconditional.
18995 [!__ASSUME_32BITUIDS]: Remove conditional code.
18996 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
18997 [__ASSUME_32BITUIDS]: Make code unconditional.
18998 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
18999 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
19000 <kernel-features.h>.
19001 [__ASSUME_32BITUIDS]: Make code unconditional.
19002 [!__ASSUME_32BITUIDS]: Remove conditional code.
19003 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
19004 <kernel-features.h>.
19005 [__ASSUME_32BITUIDS]: Make code unconditional.
19006 [!__ASSUME_32BITUIDS]: Remove conditional code.
19007 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
19008 <kernel-features.h>.
19009 [__ASSUME_32BITUIDS]: Make code unconditional.
19010 [!__ASSUME_32BITUIDS]: Remove conditional code.
19011 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
19012 <kernel-features.h>.
19013 [__ASSUME_32BITUIDS]: Make code unconditional.
19014 [!__ASSUME_32BITUIDS]: Remove conditional code.
19015 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19016 <kernel-features.h>.
19017 [__ASSUME_32BITUIDS]: Make code unconditional.
19018 [!__ASSUME_32BITUIDS]: Remove conditional code.
19019 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19020 <kernel-features.h>.
19021 [__ASSUME_32BITUIDS]: Make code unconditional.
19022 [!__ASSUME_32BITUIDS]: Remove conditional code.
19023 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
19024 <kernel-features.h>.
19025 [__ASSUME_32BITUIDS]: Make code unconditional.
19026 [!__ASSUME_32BITUIDS]: Remove conditional code.
19027 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
19028 <kernel-features.h>.
19029 [__ASSUME_32BITUIDS]: Make code unconditional.
19030 [!__ASSUME_32BITUIDS]: Remove conditional code.
19031 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19032 <kernel-features.h>.
19033 [__ASSUME_32BITUIDS]: Make code unconditional.
19034 [!__ASSUME_32BITUIDS]: Remove conditional code.
19035 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
19036 <kernel-features.h>.
19037 [__ASSUME_32BITUIDS]: Make code unconditional.
19038 [!__ASSUME_32BITUIDS]: Remove conditional code.
19039 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
19040 <kernel-features.h>.
19041 [__NR_setresgid] (__setresgid): Do not declare.
19042 [__ASSUME_32BITUIDS]: Make code unconditional.
19043 [!__ASSUME_32BITUIDS]: Remove conditional code.
19044 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
19045 <kernel-features.h>.
19046 [__NR_setresuid] (__setresuid): Do not declare.
19047 [__ASSUME_32BITUIDS]: Make code unconditional.
19048 [!__ASSUME_32BITUIDS]: Remove conditional code.
19049 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
19050 <kernel-features.h>.
19051 [__ASSUME_32BITUIDS]: Make code unconditional.
19052 [!__ASSUME_32BITUIDS]: Remove conditional code.
19053 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
19054 <kernel-features.h>.
19055 [__ASSUME_32BITUIDS]: Make code unconditional.
19056 [!__ASSUME_32BITUIDS]: Remove conditional code.
19057 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
19058 <kernel-features.h>.
19059 [__ASSUME_32BITUIDS]: Make code unconditional.
19060 [!__ASSUME_32BITUIDS]: Remove conditional code.
19061 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
19062 <kernel-features.h>.
19063 [__ASSUME_32BITUIDS]: Make code unconditional.
19064 [!__ASSUME_32BITUIDS]: Remove conditional code.
19065 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
19066 <kernel-features.h>.
19067 [__ASSUME_32BITUIDS]: Make code unconditional.
19068 [!__ASSUME_32BITUIDS]: Remove conditional code.
19069 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
19070 <kernel-features.h>.
19071 [__ASSUME_32BITUIDS]: Make code unconditional.
19072 [!__ASSUME_32BITUIDS]: Remove conditional code.
19073 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
19074 <kernel-features.h>.
19075 [__ASSUME_32BITUIDS]: Make code unconditional.
19076 [!__ASSUME_32BITUIDS]: Remove conditional code.
19077 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
19078 <kernel-features.h>.
19079 [__ASSUME_32BITUIDS]: Make code unconditional.
19080 [!__ASSUME_32BITUIDS]: Remove conditional code.
19081 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
19082 <kernel-features.h>.
19083 [__ASSUME_32BITUIDS]: Make code unconditional.
19084 [!__ASSUME_32BITUIDS]: Remove conditional code.
19085 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19086 <kernel-features.h>.
19087 [__ASSUME_32BITUIDS]: Make code unconditional.
19088 [!__ASSUME_32BITUIDS]: Remove conditional code.
19089 * sysdeps/unix/sysv/linux/kernel-features.h
19090 (__ASSUME_SETRESUID_SYSCALL): Remove.
19091 (__ASSUME_SETRESGID_SYSCALL): Likewise.
19092 (__ASSUME_32BITUIDS): Likewise.
19093 (__ASSUME_LDT_WORKS): Likewise.
19094 (__ASSUME_O_DIRECTORY): Likewise.
19095 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
19096 architecture but not kernel version.
19097 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
19098 (__ASSUME_MMAP2_SYSCALL): Likewise.
19099 (__ASSUME_STAT64_SYSCALL): Likewise.
19100 (__ASSUME_IPC64): Likewise.
19101 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
19102 <kernel-features.h>.
19103 [__ASSUME_32BITUIDS]: Make code unconditional.
19104 [!__ASSUME_32BITUIDS]: Remove conditional code.
19105 * sysdeps/unix/sysv/linux/opendir.c: Do not include
19106 <kernel-features.h>.
19107 [__ASSUME_O_DIRECTORY]: Make code unconditional.
19108 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
19109 132096]: Remove conditional code.
19110 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
19111 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
19112 <kernel-features.h>.
19113 [__ASSUME_32BITUIDS]: Make code unconditional.
19114 [!__ASSUME_32BITUIDS]: Remove conditional code.
19115 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
19116 <kernel-features.h>.
19117 [__ASSUME_32BITUIDS]: Make code unconditional.
19118 [!__ASSUME_32BITUIDS]: Remove conditional code.
19119 * sysdeps/unix/sysv/linux/setegid.c: Do not include
19120 <kernel-features.h>.
19121 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
19122 unconditional.
19123 (__setresgid): Do not declare.
19124 [__ASSUME_32BITUIDS]: Make code unconditional.
19125 [!__ASSUME_32BITUIDS]: Remove conditional code.
19126 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
19127 <kernel-features.h>.
19128 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
19129 unconditional.
19130 (__setresuid): Do not declare.
19131 [__ASSUME_32BITUIDS]: Make code unconditional.
19132 [!__ASSUME_32BITUIDS]: Remove conditional code.
19133 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
19134 <kernel-features.h>.
19135 [__ASSUME_32BITUIDS]: Make code unconditional.
19136 [!__ASSUME_32BITUIDS]: Remove conditional code.
19137 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
19138 <kernel-features.h>.
19139 [__ASSUME_32BITUIDS]: Make code unconditional.
19140 [!__ASSUME_32BITUIDS]: Remove conditional code.
19141
a386f1cc
RH
191422012-05-25 Richard Henderson <rth@twiddle.net>
19143
19144 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
19145 dl_hwcap to ifunc resolver.
19146 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
19147 elf_ifunc_invoke.
19148 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
19149 dl_hwcap to ifunc resolver.
19150 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
19151
b6550497
JM
191522012-05-24 Joseph Myers <joseph@codesourcery.com>
19153
19154 [BZ #14153]
19155 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
19156 for |x| <= 2**-26, not 2**-57.
19157 * math/libm-test.inc (acos_test): Do not allow spurious underflow
19158 exception.
19159
b0bc23a1
JL
191602012-05-24 Jeff Law <law@redhat.com>
19161
19162 * stdio-common/Makefile (tests): Add bug25.
19163 * stdio-common/bug25.c: New test.
19164
347c92e9
L
191652012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19166
19167 [BZ #13576]
19168 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
19169 multiple of MALLOC_ALIGNMENT in size.
19170 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
19171
6bcc8b3f
JM
191722012-05-24 Joseph Myers <joseph@codesourcery.com>
19173
19174 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
19175 Require >= 256.
19176 (FILENAME_MAX): Use macro-int-constant.
19177 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
19178 (_IOFBF): Use macro-int-constant.
19179 (_IOLBF): Likewise.
19180 (_IONBF): Likewise.
19181 (SEEK_CUR): Likewise.
19182 (SEEK_END): Likewise.
19183 (SEEK_SET): Likewise.
19184 (TMP_MAX): Likewise.
19185 (EOF): Use macro-int-constant. Require < 0.
19186 (NULL): Use macro-constant. Require == 0.
19187 (stdin): Require type to be FILE *.
19188 (stdout): Likewise.
19189 (stderr): Likewise.
19190 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
19191 macro-int-constant.
19192 (EXIT_SUCCESS): Likewise.
19193 (NULL): Use macro-constant. Require == 0.
19194 (RAND_MAX): Use macro-int-constant.
19195 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
19196 [C99-based standards] (strtof): Require function.
19197 [C99-based standards] (strtold): Likewise.
19198 [C99-based standards] (strtoll): Likewise.
19199 [C99-based standards] (strtoull): Likewise.
19200 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19201 [ISO || ISO99 || ISO11] (limits.h): Likewise.
19202 [ISO || ISO99 || ISO11] (math.h): Likewise.
19203 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
19204 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19205 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19206
d18ea0c5
AS
192072012-05-24 Andreas Schwab <schwab@linux-m68k.org>
19208
19209 [BZ #14132]
56d25bb8
AS
19210 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
19211 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
19212 * intl/dgettext.c (DCGETTEXT): Likewise.
19213 * intl/gettext.c (DCGETTEXT): Likewise.
19214 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
19215 * posix/regex_internal.h (gettext): Likewise.
19216 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
19217 Remove declaration.
19218 * include/argz.h (__argz_count_internal)
19219 (__argz_stringify_internal): Remove declaration.
19220 (__argz_count, __argz_stringify): Declare hidden proto.
19221 * intl/dcgettext.c: Remove use of INTDEF.
19222 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
19223 * string/argz-stringify.c: Likewise.
19224 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19225 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19226 Declare hidden proto.
d18ea0c5
AS
19227 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
19228 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
19229 Declare hidden proto.
19230 * include/stdio.h (__asprintf_internal): Don't declare.
19231 (__asprintf): Don't define as macro. Declare hidden proto.
19232 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
19233 (__fsetlocking): Declare hidden proto.
19234 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
19235 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
19236 hidden proto.
19237 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
19238 (_IO_setlinebuf): Remove use of INTUSE.
19239 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
19240 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
19241 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
19242 Remove declaration.
19243 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
19244 (_IO_do_flush): Remove use of INTUSE.
19245 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
19246 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
19247 (_IO_adjust_column, _IO_least_wmarker)
19248 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
19249 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
19250 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
19251 (_IO_default_doallocate, _IO_wdefault_doallocate)
19252 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
19253 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
19254 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
19255 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
19256 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
19257 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
19258 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
19259 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
19260 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
19261 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
19262 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
19263 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
19264 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
19265 proto.
19266 (_IO_flush_all_internal, _IO_adjust_column_internal)
19267 (_IO_default_uflow_internal, _IO_default_finish_internal)
19268 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
19269 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
19270 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
19271 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
19272 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
19273 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
19274 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
19275 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
19276 (_IO_file_close_internal, _IO_file_close_it_internal)
19277 (_IO_file_underflow_internal, _IO_file_overflow_internal)
19278 (_IO_file_init_internal, _IO_file_attach_internal)
19279 (_IO_file_fopen_internal, _IO_file_read_internal)
19280 (_IO_file_sync_internal, _IO_file_seek_internal)
19281 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
19282 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
19283 (_IO_str_underflow_internal, _IO_str_overflow_internal)
19284 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
19285 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
19286 (_IO_list_all_internal, _IO_link_in_internal)
19287 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
19288 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
19289 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
19290 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
19291 (_IO_do_write_internal, _IO_padn_internal)
19292 (_IO_getline_info_internal, _IO_getline_internal)
19293 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
19294 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
19295 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
19296 (_IO_vfscanf_internal, _IO_vfprintf_internal)
19297 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
19298 (_IO_init_internal, _IO_un_link_internal): Don't declare.
19299 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
19300 with libc_hidden_ver, remove use of INTUSE.
19301 * libio/genops.c: Likewise.
19302 * libio/freopen.c: Likewise.
19303 * libio/freopen64.c: Likewise.
19304 * libio/iofclose.c: Likewise.
19305 * libio/iofdopen.c: Likewise.
19306 * libio/iofflush.c: Likewise.
19307 * libio/iofflush_u.c: Likewise.
19308 * libio/iofgets.c: Likewise.
19309 * libio/iofgets_u.c: Likewise.
19310 * libio/iofopen.c: Likewise.
19311 * libio/iofopncook.c: Likewise.
19312 * libio/iofread.c: Likewise.
19313 * libio/iofread_u.c: Likewise.
19314 * libio/ioftell.c: Likewise.
19315 * libio/iofwrite.c: Likewise.
19316 * libio/iogetline.c: Likewise.
19317 * libio/iogets.c: Likewise.
19318 * libio/iogetwline.c: Likewise.
19319 * libio/iopadn.c: Likewise.
19320 * libio/iopopen.c: Likewise.
19321 * libio/ioseekoff.c: Likewise.
19322 * libio/ioseekpos.c: Likewise.
19323 * libio/iosetbuffer.c: Likewise.
19324 * libio/iosetvbuf.c: Likewise.
19325 * libio/ioungetc.c: Likewise.
19326 * libio/ioungetwc.c: Likewise.
19327 * libio/iovdprintf.c: Likewise.
19328 * libio/iovsprintf.c: Likewise.
19329 * libio/iovsscanf.c: Likewise.
19330 * libio/memstream.c: Likewise.
19331 * libio/obprintf.c: Likewise.
19332 * libio/oldfileops.c: Likewise.
19333 * libio/oldiofclose.c: Likewise.
19334 * libio/oldiofdopen.c: Likewise.
19335 * libio/oldiofopen.c: Likewise.
19336 * libio/oldiopopen.c: Likewise.
19337 * libio/oldstdfiles.c: Likewise.
19338 * libio/putc.c: Likewise.
19339 * libio/setbuf.c: Likewise.
19340 * libio/setlinebuf.c: Likewise.
19341 * libio/stdfiles.c: Likewise.
19342 * libio/strops.c: Likewise.
19343 * libio/vasprintf.c: Likewise.
19344 * libio/vscanf.c: Likewise.
19345 * libio/vsnprintf.c: Likewise.
19346 * libio/vswprintf.c: Likewise.
19347 * libio/wfiledoalloc.c: Likewise.
19348 * libio/wfileops.c: Likewise.
19349 * libio/wgenops.c: Likewise.
19350 * libio/wmemstream.c: Likewise.
19351 * libio/wstrops.c: Likewise.
19352 * libio/__fpurge.c: Likewise.
19353 * libio/__fsetlocking.c: Likewise.
19354 * assert/assert.c: Likewise.
19355 * debug/fgets_chk.c: Likewise.
19356 * debug/fgets_u_chk.c: Likewise.
19357 * debug/fread_chk.c: Likewise.
19358 * debug/fread_u_chk.c: Likewise.
19359 * debug/gets_chk.c: Likewise.
19360 * debug/obprintf_chk.c: Likewise.
19361 * debug/vasprintf_chk.c: Likewise.
19362 * debug/vdprintf_chk.c: Likewise.
19363 * debug/vsnprintf_chk.c: Likewise.
19364 * debug/vsprintf_chk.c: Likewise.
19365 * malloc/mtrace.c: Likewise.
19366 * misc/error.c: Likewise.
19367 * misc/syslog.c: Likewise.
19368 * stdio-common/asprintf.c: Likewise.
19369 * stdio-common/fxprintf.c: Likewise.
19370 * stdio-common/getw.c: Likewise.
19371 * stdio-common/isoc99_fscanf.c: Likewise.
19372 * stdio-common/isoc99_scanf.c: Likewise.
19373 * stdio-common/isoc99_vfscanf.c: Likewise.
19374 * stdio-common/isoc99_vscanf.c: Likewise.
19375 * stdio-common/isoc99_vsscanf.c: Likewise.
19376 * stdio-common/printf-prs.c: Likewise.
19377 * stdio-common/printf_fp.c: Likewise.
19378 * stdio-common/printf_fphex.c: Likewise.
19379 * stdio-common/printf_size.c: Likewise.
19380 * stdio-common/putw.c: Likewise.
19381 * stdio-common/scanf.c: Likewise.
19382 * stdio-common/sprintf.c: Likewise.
19383 * stdio-common/tmpfile.c: Likewise.
19384 * stdio-common/vfprintf.c: Likewise.
19385 * stdio-common/vfscanf.c: Likewise.
19386 * stdlib/strfmon_l.c: Likewise.
19387 * sunrpc/openchild.c: Likewise.
19388 * sunrpc/xdr_stdio.c: Likewise.
19389 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
19390 * sysdeps/mach/hurd/tmpfile.c: Likewise.
19391
d6c33fda
RM
193922012-05-24 Roland McGrath <roland@hack.frob.com>
19393
c1487492
RM
19394 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19395
19396 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
19397 in the third column, to generate for the shared library an IFUNC
19398 that uses _dl_vdso_vsym.
19399 * Makerules (COMPILE.c, compile-stdin.c): New variables.
19400 * Makeconfig (object-suffixes-noshared): New variable.
19401
19402 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
19403 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
19404 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
19405 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
19406
d6c33fda
RM
19407 [BZ #14132]
19408 * include/sys/time.h (__gettimeofday): Remove macro.
19409 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
19410 * time/gettimeofday.c (__gettimeofday): Remove #undef.
19411 Remove INTDEF.
19412 (__gettimeofday): Add libc_hidden_def.
19413 (gettimeofday): Add libc_hidden_weak.
19414 * sysdeps/mach/gettimeofday.c: Likewise.
19415 * sysdeps/posix/gettimeofday.c: Likewise.
19416 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
19417 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
19418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
19419 (__gettimeofday_internal): Remove strong_alias.
19420 (__gettimeofday): Add libc_hidden_def.
19421 (gettimeofday): Add libc_hidden_weak.
19422 * sysdeps/unix/syscalls.list (gettimeofday):
19423 Remove __gettimeofday_internal alias.
19424
b5a2bbe6
L
194252012-05-24 Daniel Jacobowitz <drow@false.org>
19426 H.J. Lu <hongjiu.lu@intel.com>
19427
19428 [BZ #12495]
19429 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
19430 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
19431 (largebin_index_32_big): New.
19432 (largebin_index): Use it for 16-byte alignment.
19433 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
19434 correction with front_misalign.
19435
cfba4fda
L
194362012-05-24 H.J. Lu <hongjiu.lu@intel.com>
19437
7f907421
L
19438 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
19439 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
19440 Likewise.
19441 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
19442 Likewise.
19443 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19444 Likewise.
19445 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
19446 Likewise.
19447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
19448 Likewise.
19449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
19450 Likewise.
19451 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
19452 Likewise.
19453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
19454 Likewise.
19455 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
19456 Likewise.
19457 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
19458 Likewise.
19459 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
19460 Likewise.
19461 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
19462 Likewise.
19463
cfba4fda
L
19464 * scripts/data/c++-types-x32-linux-gnu.data: New file.
19465 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
19466
80bad0cc
JM
194672012-05-24 Joseph Myers <joseph@codesourcery.com>
19468
7a25eb06
JM
19469 [BZ #10846]
19470 [BZ #14036]
19471 * math/libm-test.inc (exp_test): Add test from bug 14036.
19472 (pow_test): Add test from bug 10846.
19473
795405f9
JM
19474 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
19475 and other flags.
19476 (special_function): Do not include flags in test name.
19477 (parse_args): Likewise.
19478 * sysdeps/i386/fpu/libm-test-ulps: Update.
19479 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
19480 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
19481 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
19482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19483
80bad0cc
JM
19484 * math/gen-libm-test.pl (%beautify): Add entries for underflow
19485 exceptions.
19486 * math/libm-test.inc ("Philosophy"): Update comment about
19487 exception testing.
19488 (UNDERFLOW_EXCEPTION): New macro.
19489 (UNDERFLOW_EXCEPTION_OK): Likewise.
19490 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
19491 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
19492 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
19493 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
19494 (INVALID_EXCEPTION_OK): Update value.
19495 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
19496 (OVERFLOW_EXCEPTION_OK): Likewise.
19497 (IGNORE_ZERO_INF_SIGN): Likewise.
19498 (test_exceptions): Handle underflow exceptions.
19499 (acos_test): Update for underflow exception expectations.
19500 (cexp_test): Likewise.
19501 (clog_test): Likewise.
19502 (clog10_test): Likewise.
19503 (csqrt_test): Likewise.
19504 (ctan_test): Likewise.
19505 (ctanh_test): Likewise.
19506 (exp_test): Likewise.
19507 (exp10_test): Likewise.
19508 (exp2_test): Likewise.
19509 (expm1_test): Likewise.
19510 (fma_test): Likewise.
19511 (j0_test): Likewise.
19512 (jn_test): Likewise.
19513 (nexttoward_test): Likewise.
19514 (pow_test): Likewise.
19515 (scalbn_test): Likewise.
19516 (scalbln_test): Likewise.
19517 (tan_test): Likewise.
19518 (y1_test): Likewise.
19519 * sysdeps/i386/fpu/libm-test-ulps: Update.
19520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19521
9e0e3d0b
DM
195222012-05-23 David S. Miller <davem@davemloft.net>
19523
19524 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
19525 (__libc_sigaction): Remove unused local variables.
19526
ccd0a08f
L
195272012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19528
19529 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
19530
62bdf9a6
PE
195312012-05-23 Paul Eggert <eggert@cs.ucla.edu>
19532
f8591f80
PE
19533 mktime: avoid signed integer overflow
19534 * time/mktime.c (__mktime_internal): Do not mishandle the case
19535 where diff == INT_MIN.
19536
94c7d826
PE
19537 mktime: simplify computation of average
19538 * time/mktime.c (ranged_convert): Use new time_t_avg function
19539 instead of rolling our own (probably-slower) code.
19540
ce73d683
PE
19541 mktime: do not assume signed right shift propagates sign bit
19542 * time/mktime.c (isdst_differ): New static function.
19543 (__mktime_internal): No need to normalize tm_isdst now.
19544 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
19545 tm_isdst values.
19546
72a22e59
PE
19547 mktime: merge another wrapv change from gnulib
19548 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
19549 from some compilers.
19550
68605433
PE
19551 mktime: remove incorrect attempt at unusual arithmetics
19552 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
19553 The code didn't really work on such machines anyway.
19554 (TYPE_MINIMUM): Assume two's complement.
19555 (twos_complement_arithmetic): Verify that long_int and time_t
19556 are two's complement (or unsigned, in the latter case).
19557
03cf7fe3
PE
19558 mktime: check signed shifts on long_int and time_t, too
19559 * time/mktime.c (SHR): Check that shifts work as desired
19560 on the types long_int and time_t too, as SHR is used on
19561 such types.
19562
f04dfbc2
PE
19563 mktime: do not assume 'long' is wide enough
19564 * time/mktime.c (verify): Move decl up.
19565 (long_int): New type.
19566 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
19567 to remove assumption in the code that 'long' is wide enough to
19568 store year values. This assumption is not true on x32 and on
19569 some non-glibc platforms.
19570
62bdf9a6
PE
19571 mktime: merge wrapv change from gnulib
19572 * time/mktime.c (WRAPV): New macro.
19573 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
19574 (guess_time_tm, __mktime_internal): Do not assume that signed
19575 integer overflow wraps around; modern compilers generate code
19576 where this assumption is no longer valid.
19577
5e292e4f
L
195782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19579
19580 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19581 Replace "jmp L(pseudo_end)" with "ret".
19582 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
19583 Likewise.
19584
8caf8c87
AJ
195852012-05-23 Andreas Jaeger <aj@suse.de>
19586
19587 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
19588 * sysdeps/unix/sysv/linux/poll.c: Remove file.
19589
1a09dc56
AJ
195902012-05-23 Andreas Jaeger <aj@suse.de>
19591 Maximilian Attems <max@stro.at>
19592
19593 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
19594 New macros.
19595
1c87aba0
L
195962012-05-23 H.J. Lu <hongjiu.lu@intel.com>
19597
19598 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
19599 code so that pseudo_end is just ret and the stack pointer is
19600 correct also for static library in error case.
19601
40e45bd5
JM
196022012-05-23 Joseph Myers <joseph@codesourcery.com>
19603
c2670533
JM
19604 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
19605 move to syscalls.list.
19606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19610
40e45bd5
JM
19611 * manual/install.texi (Running make install): Do not mention Linux
19612 kernel version for which pt_chown is not needed.
19613 (Linux): Do not mention problems with nscd with 2.0 kernels.
19614 * INSTALL: Regenerated.
19615
be08eda5
AJ
196162012-05-23 Andreas Jaeger <aj@suse.de>
19617
19618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
19619 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
19620 macro.
19621 * sysdeps/unix/sysv/linux/s390/bits/mman.h
19622 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19623 * sysdeps/unix/sysv/linux/sh/bits/mman.h
19624 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19625 * sysdeps/unix/sysv/linux/i386/bits/mman.h
19626 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
19628 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19629 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
19630 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
19631 * sysdeps/unix/sysv/linux/bits/in.h
19632 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
19633
a6a056bb
RM
196342012-05-22 Roland McGrath <roland@hack.frob.com>
19635
19636 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
19637 (PREPARE_VERSION): Just use assert instead, it will be elided
19638 under [NDEBUG] anyway.
19639
c9009328
L
196402012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19641
19642 * sysdeps/unix/sysv/linux/Makefile: Include
19643 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 19644 (sysdep_routines): Remove sysctl.
c9009328
L
19645 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
19646 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
19647 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
19648 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
19649 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
19650
73338355
AJ
196512012-05-22 Andreas Jaeger <aj@suse.de>
19652
19653 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
19654 that pseudo_end is just ret and the stack pointer is correct also
19655 for static library in error case.
19656
d44638b0
PP
196572012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
19658
19659 [BZ #14122]
19660 * nss/nsswitch.c (defconfig_entries): New variable.
19661 (__nss_database_lookup): Don't leak defconfig entries.
19662 (nss_parse_service_list): Don't leak on error paths.
19663 (free_database_entries): New function.
19664 (free_defconfig): New function.
19665 (free_mem): Move common code to free_database_entries.
19666
31a39bd8
L
196672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19668
da0331a8
L
19669 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
19670 Add arch_prctl.
19671 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
19672
31a39bd8
L
19673 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19674 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
19675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
19676 New macro.
19677 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
19678 (INTERNAL_SYSCALL_TYPES): Likewise.
19679 (LOAD_ARGS_TYPES_[1-6]): Likewise.
19680 (LOAD_REGS_TYPES_[1-6]): Likewise.
19681 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
19682 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
19683
45470df3
AZ
196842012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19685
19686 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
19687 copysignl for GLIBC_2_0.
19688 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
19689 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
19690 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
19691 logbl for GLIBC_2_0.
19692 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
19693 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
19694
98a61bcb
L
196952012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19696
a4f6e481
L
19697 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
19698 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
19699
f63d5db6
L
19700 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
19701 Use "neg %eax".
19702
98a61bcb
L
19703 * time/mktime.c: Update copyright years.
19704
95770f14
PE
197052012-05-22 Paul Eggert <eggert@cs.ucla.edu>
19706
6226efbd
PE
19707 mktime: merge comment-quoting-style change from gnulib
19708 * time/mktime.c: Quote 'like this' in comments.
19709 The GNU coding standards suggest that we no longer quote `like this',
19710 as "`" and "'" are typically rendered asymmetrically nowadays.
19711 The typical gnulib style is to quote 'like this' when quoting
19712 code, and "like this" when quoting English.
19713
b99e4f78
PE
19714 * time/mktime.c (compile-command): Add "-I.".
19715
643e01e6
PE
19716 mktime: merge mktime-internal.h change from gnulib
19717 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
19718
2554247d
PE
19719 mktime: merge time_r change from gnulib
19720 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
19721
826dd0ab
PE
19722 mktime: merge DEBUG change from gnulib
19723 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
19724 case system <time.h> has a #define.
19725
bd83aabe
PE
19726 mktime: merge <sys/types.h> change from gnulib
19727 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
19728 since <time.t> is now guaranteed to define time_t.
19729
95770f14
PE
19730 mktime: merge HAVE_CONFIG_H change from gnulib
19731 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
19732
5e1a27a9
L
197332012-05-22 H.J. Lu <hongjiu.lu@intel.com>
19734
0e44a77e
L
19735 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19736 Use "neg %eax".
19737
5e1a27a9
L
19738 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
19739 __rlim_t cast.
19740 (struct rusage): Use anonymous union to pad each field to
19741 __syscall_slong_t.
19742
46259bec
DM
197432012-05-21 David S. Miller <davem@davemloft.net>
19744
19745 * Makefules (o-iterator): Remove .s cases.
19746 (compile-command.s): Delete.
19747 (COMPILE.s): Delete.
19748 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
19749
59f0c22e
JM
197502012-05-21 Joseph Myers <joseph@codesourcery.com>
19751
19752 * configure.in (libc_cv_predef_stack_protector): Only consider
19753 "foobar" and "__stack_chk_fail" lines in libc_undefs.
19754 * configure: Regenerated.
19755
20c07380
L
197562012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19757
bbb3154b
L
19758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
19759 New macro. Use R*LP on int and pointer.
19760 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
19761 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
19762 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
19763 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
19764
20c07380
L
19765 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
19766 [__WORDSIZE_TIME64_COMPAT32] instead of
19767 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
19768 (struct utmp): Likewise.
19769 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
19770 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
19771 Renamed to ...
19772 (__WORDSIZE_TIME64_COMPAT32): This.
19773 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
19774 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
19775 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
19776 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
19777 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
19778 (__WORDSIZE_TIME64_COMPAT32): New macro.
19779
d8d1017e
AJ
197802012-05-21 Andreas Jaeger <aj@suse.de>
19781
19782 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
19783 only if [SHARED]. Add prototype for __wcschr_ia32.
19784
6c7fb145
RM
197852012-05-21 Roland McGrath <roland@hack.frob.com>
19786
19787 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
19788 of %rbp unmolested in the jmp_buf while mangling the low bits.
19789 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
19790 unmolested high bits of %rbp while demangling the low bits.
19791 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
19792
66274218
AJ
197932012-05-21 Andreas Jaeger <aj@suse.de>
19794
07c58f8f
AJ
19795 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
19796 * sunrpc/svc_simple.c: Use it for registerrpc.
19797 * sunrpc/xcrypt.c: Use it for passwd2des.
19798
66274218
AJ
19799 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
19800
61f65140
L
198012012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19802
19803 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
19804 Don't define if [__SYSCALL_WORDSIZE != 32].
19805 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
19806 New macro.
19807
5fefb436
AJ
198082012-05-21 Bruno Haible <bruno@clisp.org>
19809 Andreas Jaeger <aj@suse.de>
19810
19811 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
19812 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
19813 inptr and inend for must_buffer_ch.
19814 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
19815 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
19816 * stdio-common/Makefile (tests): Remove bug15.
19817 (bug15-ENV): Remove macro.
19818 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
19819 anymore.
19820
d8e272ab
AJ
198212012-05-19 Andreas Jaeger <aj@suse.de>
19822 Roland McGrath <roland@hack.frob.com>
19823
19824 * manual/contrib.texi: Completely rewritten. It contains now an
19825 alphabetical list of contributors and their contributions.
19826
4a56a162
RH
198272012-05-21 Richard Henderson <rth@twiddle.net>
19828
19829 * misc/getauxval.c (__getauxval): Use unsigned long int.
19830 * misc/sys/auxv.h: Include <sys/cdefs.h>.
19831 (getauxval): Use unsigned long int.
19832
d024d23c
L
198332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
19834
19835 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
19836
cbc00a03
RM
198372012-05-21 Roland McGrath <roland@hack.frob.com>
19838
19839 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
19840 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
19841 __alignof__ (long double).
19842
478143fa
AZ
198432012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19844
19845 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19846
c7683a6d
RH
198472012-05-20 Richard Henderson <rth@twiddle.net>
19848
19849 * misc/getauxval.c: New file.
19850 * misc/sys/auxv.h: New file.
19851 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
19852 (routines): Add getauxval.
19853 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
19854 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
19855 * elf/dl-sysdep.c (_dl_auxv): Remove.
19856 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
19857 * elf/dl-support.c (_dl_auxv): New variable.
19858 (_dl_aux_init): Initialize it.
19859 * manual/startup.texi (Auxiliary Vector): New node.
19860 * sysdeps/generic/bits/hwcap.h: New file.
19861 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
19862 * sysdeps/powerpc/sysdep.h: ... here. Include it.
19863 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
19864 * sysdeps/sparc/sysdep.h: ... here. Include it.
19865 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
19866 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
19867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19868 Update.
c7683a6d
RH
19869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
19870 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
19871 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
19872 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
19873 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
19875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
19876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
19877
a6f1845d
AZ
198782012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19879
19880 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19881
cbcbe830
DM
198822012-05-19 David S. Miller <davem@davemloft.net>
19883
19884 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19885
e0b16cc2
JM
198862012-05-19 Joseph Myers <joseph@codesourcery.com>
19887
19888 [BZ #14123]
19889 * math/s_ccosh.c: Include <float.h>
19890 (__ccosh): Avoid internal overflow calculating sinh and cosh
19891 values before multiplying by sin and cos values.
19892 * math/s_ccoshf.c: Likewise.
19893 * math/s_ccoshl.c: Likewise.
19894 * math/s_csin.c: Likewise.
19895 * math/s_csinf.c: Likewise.
19896 * math/s_csinl.c: Likewise.
19897 * math/s_csinh.c: Likewise.
19898 * math/s_csinhf.c: Likewise.
19899 * math/s_csinhl.c: Likewise.
19900 * math/libm-test.inc (ccos_test): Add more tests.
19901 (ccosh_test): Likewise.
19902 (csin_test): Likewise.
19903 (csinh_test): Likewise.
19904 * sysdeps/i386/fpu/libm-test-ulps: Update.
19905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19906
6ad13e08
L
199072012-05-19 H.J. Lu <hongjiu.lu@intel.com>
19908
f66f0ce8
L
19909 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
19910 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
19911
6ad13e08
L
19912 * sysdeps/x86_64/x32/_itoa.h: Add comment.
19913
b1d072a7
JM
199142012-05-19 Joseph Myers <joseph@codesourcery.com>
19915
19916 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
19917 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
19918 * sysdeps/powerpc/soft-fp/Versions: Likewise.
19919 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
19920 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
19921 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
19922 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
19923 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
19924 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
19925 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
19926 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
19927 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
19928 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
19929 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
19930 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
19931 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
19932 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
19933 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
19934 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
19935 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
19936 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
19937 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
19938 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
19939 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
19940 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
19941 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
19942 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
19943 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
19944 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
19945 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
19946 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
19947
9eae47cb
AJ
199482012-05-18 Andreas Jaeger <aj@suse.de>
19949
19950 * csu/.gitignore: Delete.
19951
bb07f69f
L
199522012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19953
19954 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
19955 (timex): Use __syscall_slong_t.
19956
e6bdb741
AJ
199572012-05-18 Andreas Jaeger <aj@suse.de>
19958 Carlos O'Donell <carlos_odonell@mentor.com>
19959
19960 * manual/install.texi (Configuring and compiling): Update
19961 description about files modified in the source directory.
d6c33fda 19962 * INSTALL: Regenerated.
e6bdb741 19963
1b74487e
L
199642012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19965
19966 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
19967 value. Use "or" to set return value to -1.
19968 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
19969 negate return value.
19970
a88b64b9
TMQMF
199712012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19972
19973 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
19974 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
19975 failure if the compiler has Graphite support disabled.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
19977 Likewise.
19978 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
19979 CFLAGS-memmove.c): Likewise.
19980 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
19981 Likewise.
19982
3707636e
L
199832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
19984
610b8622
L
19985 * sysdeps/x86_64/x32/_itoa.h: New file.
19986
7cd195df
L
19987 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
19988 getdents system call only if kernel and user dirents have the
19989 same d_ino and d_off.
19990
94b07d20
L
19991 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
19992 LLONG_MAX != LONG_MAX.
19993 (_itoa_word): Use _ITOA_WORD_TYPE on value.
19994 (_fitoa_word): Likewise.
19995
18298070
L
19996 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
19997 years.
19998 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
19999 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
20000 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
20001
553c7ea4
L
20002 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
20003 include <bits/wordsize.h>. Check __x86_64__ instead of
20004 __WORDSIZE.
20005 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
20006 if __x86_64__ is defined. Use anonymous union on fpstate.
20007
3707636e
L
20008 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
20009 anonymous union.
20010
b53ef01a
AS
200112012-05-18 Andreas Schwab <schwab@linux-m68k.org>
20012
37fb1dc0
AS
20013 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
20014 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
20015 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
20016 Refer to _rtld_local_ro instead of _rtld_global_ro.
20017 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
20018 Likewise.
20019 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
20020 Likewise.
20021 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
20022 Likewise.
20023 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
20024 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
20025 of _rtld_global, and rtld_progname instead of _dl_argv[0].
20026
b53ef01a
AS
20027 * sysdeps/powerpc/powerpc32/dl-machine.c
20028 (__elf_machine_runtime_setup) [PROF]: Don't reference
20029 _dl_prof_resolve.
20030
7a185db2
AJ
200312012-05-18 Andreas Jaeger <aj@suse.de>
20032
20033 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
20034 function only available for GCCs before 3.4 since GCC 3.4
20035 introduced a builtin.
20036 (lrint): Likewise.
20037 (llrintf): Likewise.
20038 (llrint): Likewise.
20039 (fmaxf): Likewise.
20040 (fmax): Likewise.
20041 (fminf): Likewise.
20042 (fmin): Likewise.
20043 (rint): Likewise.
20044 (rintf): Likewise.
20045 (nearbyint): Likewise.
20046 (nearbyintf): Likewise.
20047 (ceil): Likewise.
20048 (ceilf): Likewise.
20049 (floor): Likewise.
20050 (floorf): Likewise.
20051
3e5aef87
L
200522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20053
428bd707
L
20054 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
20055 on both fields and cast pointer to __syscall_ulong_t.
20056
3e5aef87
L
20057 * bits/types.h (__fsword_t): New type.
20058 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
20059 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
20060 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20061 (__FSWORD_T_TYPE): Likewise.
20062 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20063 (__FSWORD_T_TYPE): Likewise.
20064 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20065 (__FSWORD_T_TYPE): Likewise.
20066 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
20067 (__FSWORD_T_TYPE): Likewise.
20068 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
20069 __SWORD_TYPE with __fsword_t.
20070 (statfs64): Likewise.
20071
1ba7c3dc
DM
200722012-05-17 David S. Miller <davem@davemloft.net>
20073
20074 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
20075
59910343
AJ
200762012-05-17 Andreas Jaeger <aj@suse.de>
20077
20078 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
20079 warning.
20080
2e4c1e9e
L
200812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20082
20083 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
20084
de7f5ce7
AJ
200852012-05-17 Andreas Jaeger <aj@suse.de>
20086
20087 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
20088 when it is used.
20089
286abc3d
CM
200902012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20091
20092 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
20093
477cc68e
L
200942012-05-17 H.J. Lu <hongjiu.lu@intel.com>
20095
20096 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
20097 * sysdeps/x86_64/tst-mallocalign1.c: New file.
20098
1a0994f5
CD
200992012-05-17 Andreas Jaeger <aj@suse.de>
20100 Carlos O'Donell <carlos_odonell@mentor.com>
20101
20102 [BZ #14059]
20103 * sysdeps/x86_64/multiarch/init-arch.h
20104 (bit_YMM_Usable): Rename to...
20105 (bit_AVX_Usable): ... this.
20106 (bit_FMA4_Usable): New macro.
20107 (bit_XMM_state): New macro.
20108 (bit_YMM_state): New macro.
20109 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
20110 [__ASSEMBLER__] (index_AVX_Usable): ... this.
20111 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
20112 (CPUID_OSXSAVE): New macro.
20113 (CPUID_AVX): New macro.
20114 (CPUID_FMA4): New macro.
20115 (index_YMM_Usable): Rename to...
20116 (index_AVX_Usable): ... this.
20117 (HAS_AVX): Use HAS_ARCH_FEATURE.
20118 (HAS_FMA4): Likewise.
20119 (HAS_YMM_USABLE): Remove.
20120 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
20121 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
20122 are present.
20123 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
20124 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
20125 * sysdeps/x86_64/multiarch/Makefile: Likewise.
20126 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
20127 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
20128
0af797de
CM
201292012-05-17 Chris Metcalf <cmetcalf@tilera.com>
20130
20131 * math/libm-test.c: Support platforms without multiple rounding modes.
20132 * math/bug-nextafter.c: Support platforms without FP exceptions.
20133 * math/bug-nexttoward.c: Likewise.
20134 * math/test-fenv.c: Likewise.
20135 * math/test-misc.c: Likewise.
20136 * stdlib/bug-getcontext.c: Likewise.
20137
e39745ff
AJ
201382012-05-17 Andreas Jaeger <aj@suse.de>
20139
20140 * manual/examples/search.c (critter_cmp): Change signature to
20141 avoid warnings.
20142 * manual/string.texi (Collation Functions): Likewise.
20143
48970aba
L
201442012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20145
20146 * bits/types.h: Fold copyright years.
20147 * bits/typesizes.h: Likewise.
20148 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
20149 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
20150 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
20151 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
20152 * time/time.h: Likewise.
20153
bedee953
PP
201542012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
20155
20156 [BZ #208]
20157 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
20158 in instead of returning them. Return void.
20159 (__libc_mallinfo): Accumulate over all arenas.
20160 (__malloc_stats): Adjust for change in int_mallinfo interface.
20161
61653dfb
RM
201622012-05-16 Roland McGrath <roland@hack.frob.com>
20163
30b99d79
RM
20164 [BZ #10375]
20165 * configure.in (NM): Add AC_CHECK_TOOL for it.
20166 (libc_extra_cflags): New substituted variable.
20167 Check for -fstack-protector being used implicitly.
20168 * configure: Regenerated.
20169 * config.make.in (config-extra-cflags): New variable,
20170 gets @libc_extra_cflags@.
20171 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
20172
61653dfb
RM
20173 [BZ #10375]
20174 * configure.in: Check for _FORTIFY_SOURCE being predefined.
20175 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
20176 * configure: Regenerated.
20177 * config.make.in (CPPUNDEFS): New substituted variable.
20178 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
20179 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
20180 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
20181
661768bb
L
201822012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20183
20184 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
20185 (mq_attr): Use __syscall_slong_t.
20186
d4261567
L
201872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20188
20189 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
20190 Check __x86_64__ instead of __WORDSIZE.
20191 (_STAT_VER_LINUX): Likewise.
20192 (stat): Check __x86_64__ instead of __WORDSIZE. Use
20193 __syscall_ulong_t and __syscall_slong_t.
20194 (stat64): Likewise.
20195
cf3ff365
L
201962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20197
20198 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
20199
76cf3e4d
L
202002012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20201
20202 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
20203
a637753a
L
202042012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20205
20206 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
20207 __syscall_ulong_t.
20208
d5e05119
L
20209 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
20210 include <bits/wordsize.h>. Check __x86_64__ instead of
20211 __WORDSIZE.
20212 (greg_t): Use "__extension__ long long int" if __x86_64__ is
20213 defined.
20214 (mcontext_t): Replace "unsigned long" with "unsigned long long".
20215
f62ee380
L
20216 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
20217 include <bits/wordsize.h>. Check __x86_64__ instead of
20218 __WORDSIZE.
20219 (user_regs_struct): Use "__extension__ unsigned long long"
20220 instead of "unsigned long" if __x86_64__ is defined.
20221 (user): Likewise. Pad after pointer field if __ILP32__ is
20222 defined.
20223
4e124ced
JM
202242012-05-16 Joseph Myers <joseph@codesourcery.com>
20225
6a3951a0
JM
20226 * configure.in (makeinfo): Require version 4.5 or later. Allow
20227 versions 5 to 9.
20228 * configure: Regenerated.
20229 * manual/install.texi (texinfo): Increase version requirement to
20230 4.5 or later.
20231 * INSTALL: Regenerated.
20232
4e124ced
JM
20233 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
20234
953ca31a
L
202352012-05-16 H.J. Lu <hongjiu.lu@intel.com>
20236
20237 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
20238
617aca05
L
20239 * sysdeps/x86_64/x32/ffs.c: New file.
20240
5762f7ae
L
20241 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
20242 __syscall_ulong_t.
20243 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
20244 defined. Use __syscall_ulong_t.
20245 (shminfo): Use __syscall_ulong_t.
20246 (shm_info): Likewise.
20247
a26b6856
L
20248 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
20249 __syscall_ulong_t.
20250
cb2b9ef7
L
20251 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
20252 <bits/wordsize.h>.
20253 (msgqnum_t): Use __syscall_ulong_t.
20254 (msglen_t): Likewise.
20255 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
20256 __syscall_ulong_t.
20257
34683bb0
L
20258 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
20259 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20260
84a68786
L
20261 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
20262
48baa5f1
L
20263 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
20264 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
20265
180be88b
L
20266 * sysvipc/sys/msg.h (msgbuf): Replace long int with
20267 __syscall_slong_t.
20268
5e90c8ad
L
20269 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
20270 include <bits/wordsize.h>. Check __x86_64__ instead of
20271 __WORDSIZE.
20272
23dfb58b
L
20273 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
20274 "unsigned long long int" if __x86_64__ is defined.
20275 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
20276
ce5d54b0
L
20277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
20278 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
20279 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
20280
13dc9eac
L
20281 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
20282 <stdint.h>.
20283 (GET_PC): Cast to uintptr_t first.
20284 (GET_FRAME): Likewise.
20285 (GET_STACK): Likewise.
20286
a7895d15
L
20287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
20288 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
20289 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
20290 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
20291 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
20292 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
20293 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
20294 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
20295 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
20296 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
20297 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
20298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
20299 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
20300 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
20301 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
20302 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
20303 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
20304 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
20305 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
20306 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
20307 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
20308 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
20309 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
20310 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
20311 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
20312 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
20313 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
20314 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
20315 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
20316
656416c9
AS
203172012-05-16 Andreas Schwab <schwab@linux-m68k.org>
20318
5bd66283
AS
20319 * Makerules (+depfiles): Also collect depfiles from .oS in
20320 $(extra-objs).
20321 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
20322 .oS, $(libnldbl-routines)).
20323
656416c9
AS
20324 * Makerules (native-compile-mkdep-flags): Define.
20325 * sunrpc/Makefile (extra-objs): Add $(addprefix
20326 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
20327 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
20328 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
20329 calling $(make-target-directory).
20330
a46f2169
L
203312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20332
20333 * bits/types.h (__snseconds_t): Removed.
20334 * time/time.h (struct timespec): Replace __snseconds_t with
20335 __syscall_slong_t.
20336 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
20337 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
20338 Likewise.
20339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20340 (__SNSECONDS_T_TYPE): Likewise.
20341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20342 (__SNSECONDS_T_TYPE): Likewise.
20343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20344 (__SNSECONDS_T_TYPE): Likewise.
20345
6af6528b
L
203462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20347
20348 * sysdeps/mach/hurd/bits/typesizes.h
20349 (__SYSCALL_SLONG_TYPE): New macro.
20350 (__SYSCALL_ULONG_TYPE): Likewise.
20351
de986b56
L
203522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20353
20354 * bits/types.h (__syscall_slong_t): New type.
20355 (__syscall_ulong_t): Likewise.
20356
20357 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
20358 (__SYSCALL_ULONG_TYPE): Likewise.
20359 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20360 (__SYSCALL_SLONG_TYPE): Likewise.
20361 (__SYSCALL_ULONG_TYPE): Likewise.
20362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20363 (__SYSCALL_SLONG_TYPE): Likewise.
20364 (__SYSCALL_ULONG_TYPE): Likewise.
20365 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20366 (__SYSCALL_SLONG_TYPE): Likewise.
20367 (__SYSCALL_ULONG_TYPE): Likewise.
20368
85736dc7
L
203692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20370
20371 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
20372 Add sigaltstack-offsets.sym.
20373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
20374 <sigaltstack-offsets.h>.
20375 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
20376 longjmp_msg pointer.
20377 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
20378 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
20379 signal stack.
20380 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
20381
cc03b296
JM
203822012-05-15 Joseph Myers <joseph@codesourcery.com>
20383
a9538892
JM
20384 * elf/stackguard-macros.h: Remove file.
20385 * sysdeps/generic/stackguard-macros.h: New file.
20386 * sysdeps/i386/stackguard-macros.h: Likewise.
20387 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20388 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20389 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20390 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20391 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20392 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20393 * sysdeps/x86_64/stackguard-macros.h: Likewise.
20394 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
20395 <elf/stackguard-macros.h>.
20396
cc03b296
JM
20397 [BZ #14109]
20398 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
20399 __aligned__ in attribute.
20400 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
20401 (gregset_t): Likewise.
20402
93171016
L
204032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20404
20405 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
20406 * sysdeps/x86_64/64/Implies-after: Here. New file.
20407 * sysdeps/x86_64/x32/Implies-after: New file.
20408
d86813a0
L
204092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20410
20411 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
20412 and access return value for _dl_profile_fixup. Use R10_LP to
20413 load frame size.
20414
2953ec75
L
204152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20416
20417 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
20418
3b550e9e
L
204192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20420
20421 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
20422 * sysdeps/x86_64/x32/sysdep.h: New file.
20423
eda41706
L
204242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20425
20426 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
20427 * sysdeps/x86_64/setjmp.S: Likewise.
20428
9ea01d93
AZ
204292012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20430
20431 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
20432 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
20433 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
20434 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
20435 remove unused global constant.
20436
02a91938
CM
204372012-05-15 Chris Metcalf <cmetcalf@tilera.com>
20438
20439 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
20440 include of <not-cancel.h>.
20441
6540185f
RM
204422012-05-15 Roland McGrath <roland@hack.frob.com>
20443
20444 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
20445
509072a0
AJ
204462012-05-15 Jeff Law <law@redhat.com>
20447 Andreas Jaeger <aj@suse.de>
20448
20449 [BZ #13594]
20450 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
20451 out from...
20452 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
20453 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
20454 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
20455 code changing __hst_map_handle.map.
20456
ba75122d
RM
204572012-05-15 Roland McGrath <roland@hack.frob.com>
20458
20459 * configure.in (sysnames): Look for Implies-before and Implies-after
20460 files.
20461 * configure: Regenerated.
20462
890d8bd8
L
204632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20464
20465 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
20466 8-byte data alignment with LP_SIZE alignment.
20467
f6ee6623
L
204682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20469
20470 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
20471 into R10_LP.
20472
ea2626f6
L
204732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20474
20475 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
20476
085f715e
L
204772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20478
20479 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
20480 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
20481 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
20482 Likewise.
20483 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
20484
be8498fc
L
204852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20486
20487 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
20488 (stackinfo_sub_sp): Likewise.
20489
70bc83b9
L
204902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20491
20492 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
20493 RAX_LP.
20494
9bc0b730
L
204952012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20496
20497 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
20498 into R*_LP.
20499
6d2850e7
L
205002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20501
20502 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
20503 sizes into R*_LP.
20504
3cb84561
L
205052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20506
20507 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
20508
54e2ed81
L
205092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20510
20511 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
20512 into R11_LP and load __x86_64_shared_cache_size_half into
20513 R8_LP.
20514
8a17f349
L
205152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20516
20517 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
20518 R8_LP.
20519
777b1eea
AZ
205202012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20521
20522 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
20523 logb for POWER7.
20524 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
20525 logbf for POWER7.
20526 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
20527 logbl for POWER7.
20528 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
20529 powerpc32/power7/fpu/s_logb.c via #include.
20530 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
20531 powerpc32/power7/fpu/s_logbf.c via #include.
20532 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
20533 powerpc32/power7/fpu/s_logbl.c via #include.
20534
d20d4ac2
JM
205352012-05-15 Joseph Myers <joseph@codesourcery.com>
20536
20537 * README.libm: Remove file.
20538
6cdef1ab
L
205392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20540
20541 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
20542 count for x32. Use R*_LP and omit operand-size suffix.
20543
0b254d8f
L
205442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20545
20546 * shlib-versions: Move x86_64-.*-linux.* entries to ...
20547 * sysdeps/x86_64/64/shlib-versions: Here. New file.
20548 * sysdeps/x86_64/x32/shlib-versions: New file.
20549
ceb809dc
RM
205502012-05-14 Roland McGrath <roland@hack.frob.com>
20551
20552 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
20553 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
20554 Use _dl_fatal_printf instead.
20555
37f1abd4
JM
205562012-05-14 Joseph Myers <joseph@codesourcery.com>
20557
20558 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
20559 set if not set by the user. Do not allow for being unset.
20560 * sysdeps/unix/sysv/linux/configure: Regenerated.
20561
11de3a33
L
205622012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20563
20564 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
20565 the `q' suffix from lea and replace .quad with ASM_ADDR.
20566
e02f153a
L
205672012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20568
20569 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
20570 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
20571 instead of $17.
20572 (PTR_DEMANGLE): Likewise.
20573
520ae0fd
L
205742012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
20577 (LP_OP): Likewise.
20578 (ASM_ADDR): Likewise.
20579 (RAX_LP): Likewise.
20580 (RBP_LP): Likewise.
20581 (RBX_LP): Likewise.
20582 (RCX_LP): Likewise.
20583 (RDI_LP): Likewise.
20584 (RSI_LP): Likewise.
20585 (RSP_LP): Likewise.
20586 (R8_LP): Likewise.
20587 (R9_LP): Likewise.
20588 (R10_LP): Likewise.
20589 (R10_LP): Likewise.
20590 (R11_LP): Likewise.
20591 (R12_LP): Likewise.
20592 (R13_LP): Likewise.
20593 (R14_LP): Likewise.
20594 (R15_LP): Likewise.
20595
b985be81
L
205962012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20597
20598 * sysdeps/x86_64/x32/dl-machine.h: New file.
20599
6a4888ff
AJ
206002012-05-14 Andreas Jaeger <aj@suse.de>
20601
20602 * manual/Makefile (subdir): Remove export of subdir.
20603 (all): Remove target.
20604 (.PHONY): Remove all from list.
20605 (mkinstalldirs): Remove.
20606 (.PHONY): Remove installdirs from list.
20607 ($(inst_infodir)/libc.info): Use make-target-directory.
20608 (installdirs): Remove.
20609 (subdir_%): Remove.
20610 (glibc-targets): Remove.
20611 (lib): Remove.
20612 (stubs): Remove.
20613 ($(objpfx)stubs ../po/manual.pot): Remove.
20614 ($(objpfx)stamp%): Remove.
20615 (make-target-directory): Remove.
20616 (subdir_install): Remove.
20617 (routines): Remove.
20618 (aux): Remove.
20619 (sources): Remove.
20620 (objects): Remove.
20621 (headers): Remove.
20622
20623 [BZ #13750]
20624 * manual/.gitignore: Remove, it's not needed anymore.
20625 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
20626 all files in it.
20627 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
20628 directory.
20629 (texis): Renamed to $(objpfx)texis.
20630 (texis-path): New, contains path to generated files.
20631 (chapters.%): Use texis-path for complete path, add extra argument
20632 libc-texinfo.sh.
20633 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
20634 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
20635 (summary,texi, stamp-summary): Use complete path of
20636 files. Generate files in build dir.
20637 (dir-add.texi): Build in build dir.
20638 (libm-err.texi,stamp-libm-err): Likewise.
20639 (version.texi, stamp-version): Likewise.
20640 (.%c.texi): Likewise.
20641 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
20642 (mostlyclean): Remove target.
20643 (realclean): Remove target.
20644 (generated): Add new variable with contents from mostlyclean and
20645 realclean, remove entries duplicated in common-mostlyclean, add
20646 stamp-libm-err and stamp-version.
20647 (generated-dirs): Add libc directory.
20648 ($(inst_infodir)/libc.info): Install files from build dir.
20649
20650 * manual/install.texi (Configuring and compiling): Adjust since
20651 the info files are not part of the tar ball anymore.
20652
7ac77294
AJ
206532012-05-14 Andreas Jaeger <aj@suse.de>
20654
20655 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
20656 variable.
20657
ffb7875d
JM
206582012-05-14 Joseph Myers <joseph@codesourcery.com>
20659
20660 [BZ #13717]
20661 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20662 to 2.2.0 where earlier.
20663 * sysdeps/unix/sysv/linux/configure: Regenerated.
20664 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
20665 Remove conditional code.
20666 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
20667 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
20668 Remove conditional code.
20669 [!__NR_lchown]: Likewise.
20670 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20671 [__NR_lchown]: Likewise.
20672 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
20673 comment referencing __ASSUME_LCHOWN_SYSCALL.
20674 * sysdeps/unix/sysv/linux/i386/sigaction.c
20675 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20676 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20677 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
20678 Remove conditional code.
20679 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
20680 (__protocol_available): Remove #if 0 code.
20681 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
20682 conditional code.
20683 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
20684 * sysdeps/unix/sysv/linux/kernel-features.h
20685 (__ASSUME_GETCWD_SYSCALL): Don't define.
20686 (__ASSUME_REALTIME_SIGNALS): Likewise.
20687 (__ASSUME_PREAD_SYSCALL): Likewise.
20688 (__ASSUME_PWRITE_SYSCALL): Likewise.
20689 (__ASSUME_POLL_SYSCALL): Likewise.
20690 (__ASSUME_LCHOWN_SYSCALL): Likewise.
20691 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
20692 non-SPARC.
20693 (__ASSUME_SIOCGIFNAME): Don't define.
20694 (__ASSUME_MSG_NOSIGNAL): Likewise.
20695 (__ASSUME_SENDFILE): Define unconditionally.
20696 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
20697 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
20698 conditional code.
20699 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
20700 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
20701 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20702 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20703 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
20704 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
20705 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
20707 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20708 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
20710 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20711 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
20713 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20714 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
20716 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20717 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
20719 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20720 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
20722 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
20723 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
20725 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20726 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
20728 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20729 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20730 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
20731 Remove conditional code.
20732 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20733 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20734 Remove conditional code.
20735 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20736 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
20737 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
20738 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20739 Remove conditional code.
20740 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20741 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
20742 Remove conditional code.
20743 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20744 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
20745 Remove conditional code.
20746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20747 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
20748 Remove conditional code.
20749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
20750 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
20751 Remove conditional code.
20752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20753 * sysdeps/unix/sysv/linux/sh/pwrite64.c
20754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
20755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
20756 * sysdeps/unix/sysv/linux/sigaction.c
20757 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20758 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20759 * sysdeps/unix/sysv/linux/sigpending.c
20760 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20761 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20762 * sysdeps/unix/sysv/linux/sigprocmask.c
20763 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20764 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20765 * sysdeps/unix/sysv/linux/sigsuspend.c
20766 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
20767 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
20768 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20769 (__libc_missing_rt_sigs): Remove.
20770 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
20771 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
20772 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
20773 Remove conditional code.
20774 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
20775 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
20776 return 1.
20777 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
20778 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
20779 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
20780 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
20781
1bfb7291
AJ
207822012-05-14 Andreas Jaeger <aj@suse.de>
20783
caae5a81
AJ
20784 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
20785 it's not used in glibc.
20786 (__coshm1): Likewise.
20787 (__acosh1p): Likewise.
20788 (__sgn): Likewise.
20789
1bfb7291
AJ
20790 * manual/string.texi (Copying and Concatenation): Add missing
20791 variable in concat example.
20792 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
20793
c044d724
L
207942012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20795
144c5467 20796 [BZ #14103]
c044d724
L
20797 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
20798 __builtin_clzl with __builtin_clzll.
20799
2523c62b
L
208002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20801
20802 [BZ #14104]
20803 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
20804 libc_freeres_ptr.
20805
d7bb4c42
LD
208062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20807
20808 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
20809 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
20810 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
20811 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
20812
9dc4e1fb
MF
208132012-05-14 Mike Frysinger <vapier@gentoo.org>
20814
20815 * NEWS: Update ia64 info.
20816
c7df0112
AS
208172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
20818
20819 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
20820 used as bcopy.
20821
dc70356c
TS
208222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
20823
20824 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
20825 * sysdeps/unix/syscalls.list (dup3): Likewise.
20826 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
20827 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
20828
9fb1a21f
L
208292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20830
20831 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
20832 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
20833
4822a2a5
L
208342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
20835
20836 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
20837 thread pointer.
20838 (TLS_IE): Use mov/add instead of movq/addq to load thread
20839 pointer.
20840 (TLS_GD_PREFIX): New.
20841 (TLS_GD): Use it.
20842
842b81d6
DM
208432012-05-11 David S. Miller <davem@davemloft.net>
20844
20845 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
20846 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
20847 (_FPU_SETCW): Likewise.
20848
1cf463cd
L
208492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20850
20851 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
20852 is 32-byte aligned.
20853
60cc4a18
AS
208542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
20855
20856 [BZ #11837]
20857 * iconvdata/gb18030.c: Update tables.
20858 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
20859 characters specially.
20860 (BODY for TO_LOOP): Add encoding of missing ranges.
20861
febb44a4
TS
208622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
20863
20864 [BZ #13673]
20865 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
20866 * sysdeps/mach/hurd/dup3.c: Likewise.
20867 * sysdeps/mach/hurd/readlinkat.c: Likewise.
20868 * sysdeps/powerpc/memmove.c:: Likewise.
20869
0a10fb9e
L
208702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20871
20872 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
20873 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
20874
df8a552f
L
208752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
20876
20877 * elf/elf.h (R_X86_64_RELATIVE64): New.
20878 (R_X86_64_NUM): Updated.
20879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20880 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
20881 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
20882 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
20883 tst-quad1pie tst-quad2pie
20884 (modules-names): Add tst-quadmod1 tst-quadmod2.
20885 ($(objpfx)tst-quad1): New dependency.
20886 ($(objpfx)tst-quad2): Likewise.
20887 ($(objpfx)tst-quad1pie): Likewise.
20888 ($(objpfx)tst-quad2pie): Likewise.
20889 * sysdeps/x86_64/tst-quad1.c: New file.
20890 * sysdeps/x86_64/tst-quad1pie.c: New file.
20891 * sysdeps/x86_64/tst-quad2.c: Likewise.
20892 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
20893 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
20894 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
20895 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
20896 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
20897
f34d6f84
ST
208982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20899
f42d41d1
ST
20900 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
20901 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
20902 * streams/stropts.h (t_scalar_t): Define type.
20903
3c3571fc
ST
20904 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
20905 (_PATH_PRESERVE): Set to "/var/lib".
20906 (_PATH_RWHODIR): Set to "/var/spool/rwho".
20907
61f06bd3
ST
20908 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
20909 instead of int.
20910
918d4d71
ST
20911 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
20912 if __dir_mkfile succeeded.
20913
f34d6f84
ST
20914 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
20915 checking for _hurd_dtablesize. Unlock it right after having
20916 finished _hurd_dtable allocation.
20917
10589b4a
TS
209182012-05-10 Thomas Schwinge <thomas@schwinge.name>
20919
674cdbc7
TS
20920 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
20921 * sysdeps/mach/hurd/configure: Regenerated.
20922 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
20923 special-casing to...
20924 * sysdeps/gnu/configure.in: ... this new file.
20925 * sysdeps/unix/sysv/linux/configure: Regenerated.
20926 * sysdeps/gnu/configure: New generated file.
20927
8e41b99f
TS
20928 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
20929 for Linux: use nsec instead of usec, as well as:
20930 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
20931 members of type struct timespec.
20932 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
20933 New macros.
20934 (struct stat64): Likewise.
20935 (_STATBUF_ST_NSEC): New macro.
20936 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
20937
10589b4a
TS
20938 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
20939 __strtoul_internal rather than strtoul.
20940
63643c85
PT
209412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20942
20943 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
20944 and reject them.
20945
3faebe6a
ST
209462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20947
20948 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
20949 which preserves existing values.
20950 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
20951
c6474b07
PT
209522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20953
20954 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
20955 TIMEOUT values. Return EINVAL for NFDS values either negative or
20956 greater than FD_SETSIZE.
20957
1043890b
ST
209582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20959
20960 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
20961 allocated, call __vm_protect to finish enabling the existing space, and
20962 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
20963 allocate the remainder.
20964
37ed8b9b
PT
209652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
20966
20967 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
20968 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
20969
db653660
ST
209702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20971
37ed8b9b
PT
20972 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
20973 sysdeps/mach/hurd/readlink.c.
b29d4053 20974
db653660
ST
20975 * posix/tst-sysconf.c (posix_options): Only use
20976 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
20977 _POSIX_SYNCHRONIZED_IO when they are defined
20978 * sysdeps/mach/hurd/bits/posix_opt.h:
20979 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
20980 (_XOPEN_REALTIME): Undefine macro.
20981 (_XOPEN_REALTIME_THREADS): Undefine macro.
20982 (_XOPEN_SHM): Undefine macro.
20983 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
20984 macro to -1.
20985 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
20986 macro to -1.
20987 (_POSIX_ASYNC_IO): Undefine macro.
20988 (_POSIX_PRIORITIZED_IO): Undefine macro.
20989 (_POSIX_SPIN_LOCKS): Define macro to -1.
20990
ee16e894
ST
20991 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
20992 SA_NODEFER, SA_RESETHAND.
20993 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
20994 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
20995 F_DUPFD_CLOEXEC.
20996
6103ae3b
TS
209972012-05-10 Thomas Schwinge <thomas@schwinge.name>
20998
20999 * elf/Makefile (pldd-modules): Define unconditionally.
21000
80b4e5f3
TS
210012012-05-10 Thomas Schwinge <thomas@schwinge.name>
21002
21003 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
21004
edadcbd6
ST
210052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21006
21007 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
21008 Return ENOENT when name is empty.
21009 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
21010
80694780
TS
210112012-05-10 Thomas Schwinge <thomas@schwinge.name>
21012
1792c087
TS
21013 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
21014
80694780
TS
21015 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
21016
6b645f0d
ST
210172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21018
80694780
TS
21019 Fix mlock in all cases except non-readable pages.
21020 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
21021 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 21022
6b645f0d
ST
21023 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
21024 (__mkdir): When path is `/', just fail with EEXIST.
21025 * sysdeps/mach/hurd/mkdirat.c: Likewise.
21026
e468f8a3
TS
210272012-05-10 Thomas Schwinge <thomas@schwinge.name>
21028
21029 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
21030 <sys/uio.h> (for writev).
21031 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
21032 and <sys/param.h> (for MIN).
21033
a4186cff
PT
210342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
21035
21036 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
21037 REQUESTED_TIME. Properly set the remaining time and return EINTR
21038 if interrupted.
21039
510bbf14
TS
210402012-05-10 Thomas Schwinge <thomas@schwinge.name>
21041
21042 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
21043 Depend on against $(link-rpcuserlibs).
21044
5d5722e8
ST
210452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21046
a4186cff
PT
21047 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
21048 (__libc_stack_end): Do not use attribute_relro.
21049 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
21050 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 21051 to libthread-provided value.
a4186cff
PT
21052 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
21053 attribute_relro.
5d5722e8 21054
37233df9
TS
210552012-05-10 Thomas Schwinge <thomas@schwinge.name>
21056
be971a2b
TS
21057 [BZ #3748]
21058 * bits/libc-lock.h (__libc_once_get): New macro.
21059 * sysdeps/mach/bits/libc-lock.h: Likewise.
21060 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
21061 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
21062 instead of using implementation details.
21063
37233df9
TS
21064 * libio/fileops.c: Unconditionally include <kernel-features.h>.
21065 * libio/freopen.c: Likewise.
21066 * libio/freopen64.c: Likewise.
21067 * misc/syslog.c: Likewise.
21068 * nscd/connections.c: Likewise.
21069 * nscd/netgroupcache.c: Likewise.
21070 * sysdeps/posix/getcwd.c: Likewise.
21071
38de94a5
RM
210722012-05-10 Roland McGrath <roland@hack.frob.com>
21073
21074 * math/w_ilogbf.c: Add #include <limits.h>.
21075
67530489
ST
210762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21077
a4186cff 21078 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
21079 path instead of returning without unlocking.
21080
67530489
ST
21081 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
21082 immediate-write ioctls.
21083 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
21084
5aa3a74a
TS
210852012-05-10 Thomas Schwinge <thomas@schwinge.name>
21086
18bad2ae
TS
21087 * sysdeps/mach/hurd/i386/init-first.c (init): Use
21088 __builtin_frame_address instead of making assumptions about the
21089 location of the return address relative to DATA. Force early load of
21090 the return address.
21091 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
21092 __builtin_frame_address.
21093
5aa3a74a
TS
21094 dup3 for GNU Hurd.
21095 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
21096 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
21097 implement dup3 and do some further code clean-ups.
21098 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
21099 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
21100
ecd0de9a
ST
211012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21102
cd9fa985
ST
21103 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
21104
a4186cff
PT
21105 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
21106 HURD_CRITICAL_END around holding _hurd_dtable_lock.
21107 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
21108 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
21109 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
21110 d->port.lock.
802ca5a5 21111
a4186cff
PT
21112 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
21113 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
21114 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 21115
bcf55240
TS
211162012-05-10 Thomas Schwinge <thomas@schwinge.name>
21117
6960eb42
TS
21118 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
21119 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
21120 definitions.
21121
eb43375f
TS
21122 accept4 for GNU Hurd.
21123 * include/sys/socket.h (__libc_accept4): New prototype.
21124 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
21125 to implement __libc_accept4.
21126 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
21127 __libc_accept4.
21128 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
21129
bcf55240
TS
21130 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
21131 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
21132 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
21133 signal-defines.sym.
21134
6178c55b
ST
211352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21136
a4186cff 21137 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 21138
6f080c2f
TS
211392012-05-10 Thomas Schwinge <thomas@schwinge.name>
21140
21141 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
21142 assertion on O_CLOEXEC flag.
21143 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
21144 * hurd/intern-fd.c: Likewise.
21145 * hurd/port2fd.c: Likewise.
21146
bcfe3a54
ST
211472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
21148
21149 [BZ #3906]
21150 * bits/in.h (IPV6_PKTINFO): Define new macro.
21151 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
21152
89c9aa49
AZ
211532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21154
21155 [BZ #13954]
21156 [BZ #13955]
21157 [BZ #13956]
21158 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
21159 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21160 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
21161 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21162 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21163 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21164 * math/libm-test.inc (logb_test) : Additional logb tests.
21165
021db4be
AJ
211662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
21167 Andreas Jaeger <aj@suse.de>
21168
21169 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
21170 * configure: Regenerated.
21171 * config.h.in (LINK_OBSOLETE_RPC): New macro.
21172 * config.make.in (link-obsolete-rpc): New substituted variable.
21173 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
21174 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
21175 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21176 (shared-only-routines): Don't set it under [link-obsolete-rpc],
21177 so that libc.a contains the symbols.
21178 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
21179 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
21180 * sunrpc/auth_none.c: Likewise.
21181 * sunrpc/auth_unix.c: Likewise.
21182 * sunrpc/authdes_prot.c: Likewise.
21183 * sunrpc/authuxprot.c: Likewise.
21184 * sunrpc/clnt_gen.c: Likewise.
21185 * sunrpc/clnt_perr.c: Likewise.
21186 * sunrpc/clnt_raw.c: Likewise.
21187 * sunrpc/clnt_simp.c: Likewise.
21188 * sunrpc/clnt_tcp.c: Likewise.
21189 * sunrpc/clnt_udp.c: Likewise.
21190 * sunrpc/clnt_unix.c: Likewise.
21191 * sunrpc/des_crypt.c: Likewise.
21192 * sunrpc/des_soft.c: Likewise.
21193 * sunrpc/get_myaddr.c: Likewise.
21194 * sunrpc/key_call.c: Likewise.
21195 * sunrpc/key_prot.c: Likewise.
21196 * sunrpc/netname.c: Likewise.
21197 * sunrpc/pm_getmaps.c: Likewise.
21198 * sunrpc/pm_getport.c: Likewise.
21199 * sunrpc/pmap_clnt.c: Likewise.
21200 * sunrpc/pmap_prot.c: Likewise.
21201 * sunrpc/pmap_prot2.c: Likewise.
21202 * sunrpc/pmap_rmt.c: Likewise.
21203 * sunrpc/publickey.c: Likewise.
21204 * sunrpc/rpc_cmsg.c: Likewise.
21205 * sunrpc/rpc_common.c: Likewise.
21206 * sunrpc/rpc_dtable.c: Likewise.
21207 * sunrpc/rpc_prot.c: Likewise.
21208 * sunrpc/rpc_thread.c: Likewise.
21209 * sunrpc/rtime.c: Likewise.
21210 * sunrpc/svc.c: Likewise.
21211 * sunrpc/svc_auth.c: Likewise.
21212 * sunrpc/svc_raw.c: Likewise.
21213 * sunrpc/svc_run.c: Likewise.
21214 * sunrpc/svc_tcp.c: Likewise.
21215 * sunrpc/svc_udp.c: Likewise.
21216 * sunrpc/svc_unix.c: Likewise.
21217 * sunrpc/svcauth_des.c: Likewise.
21218 * sunrpc/xcrypt.c: Likewise.
21219 * sunrpc/xdr.c: Likewise.
21220 * sunrpc/xdr_array.c: Likewise.
21221 * sunrpc/xdr_float.c: Likewise.
21222 * sunrpc/xdr_intXX_t.c: Likewise.
21223 * sunrpc/xdr_mem.c: Likewise.
21224 * sunrpc/xdr_rec.c: Likewise.
21225 * sunrpc/xdr_ref.c: Likewise.
21226 * sunrpc/xdr_sizeof.c: Likewise.
21227 * sunrpc/xdr_stdio.c: Likewise.
21228
b5c086a2
RM
212292012-05-10 Roland McGrath <roland@hack.frob.com>
21230
21231 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
21232 change. Update copyright years.
21233
6d74dd09
JM
212342012-05-10 Joseph Myers <joseph@codesourcery.com>
21235
21236 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
21237
28e72501
MK
212382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
21239 Joseph Myers <joseph@codesourcery.com>
21240 Paul Pluzhnikov <ppluzhnikov@google.com>
21241
21242 [BZ #14012]
21243 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
21244 requiring rpcgen.
21245 [cross-compiling] (extra-libs): Likewise.
21246 [cross-compiling] (extra-libs-others): Likewise.
21247 [cross-compiling] (librpcsvc-routines): Likewise.
21248 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
21249 [cross-compiling] (omit-deps): Likewise.
21250 (sunrpc-CPPFLAGS): New variable.
21251 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
21252 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
21253 (cross-rpcgen-objs): New variable.
21254 (extra-objs): Append $(cross-rpcgen-objs).
21255 ($(cross-rpcgen-objs)): New rule.
21256 ($(objpfx)cross-rpcgen): Likewise.
21257 (rpcgen-cmd): Define to use $(built-program-file). Expand
21258 comment.
21259 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
21260 ($(objpfx)x%.stmp): Likewise.
21261 * sunrpc/proto.h [IS_IN_build] (_): Define.
21262 [IS_IN_build] (_libc_intl_domainname): Likewise.
21263
c8c59454
L
212642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
21265
21266 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
21267 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
21268 and R_X86_64_TPOFF64.
21269
6f27cd16
JM
212702012-05-10 Joseph Myers <joseph@codesourcery.com>
21271
21272 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
21273 sysdeps/unix/sysv/syscalls.list.
21274 (stime): Likewise.
21275 (utime): Likewise.
21276 * sysdeps/unix/sysv/syscalls.list: Remove file.
21277
02467e1c
PE
212782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
21279
21280 [BZ #3440]
21281 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
21282 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
21283 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
21284 (__LC_IDENTIFICATION): Make these macros useful in #if
21285 expressions, as required by C99.
21286
da392631
AS
212872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
21288
21289 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
21290 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
21291 after this.
21292
8115f29b
L
212932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 * stdlib/longlong.h: Updated from GCC.
21296
bdd74070
AJ
212972012-05-09 Andreas Jaeger <aj@suse.de>
21298
edfe0dbe
AJ
21299 * nscd/nscd.c (run_modes): Make named enum, reorder so that
21300 default is first entry.
21301 (run_mode): Set type.
21302 (main): Remove informal message about syslog.
21303 (options): Fix typo.
21304
bcfe3a54
ST
21305 [BZ #14053]
21306 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 21307 to asm.
bcfe3a54
ST
21308 (lrint): Likewise.
21309 (llrintf): Likewise.
21310 (llrint): Likewise.
21311 (rint): Likewise.
21312 (rintf): Likewise.
21313 (nearbyint): Likewise.
21314 (nearbyintf): Likewise.
bdd74070 21315
91d8d69e
AJ
213162012-05-09 Andreas Jaeger <aj@suse.de>
21317 Pedro Alves <palves@redhat.com>
21318
21319 * nscd/nscd.c (run_mode): Use enum.
21320 (main): Cleanup coding style issue.
21321
bb90b80b
AJ
213222012-05-09 Alexandre Oliva <aoliva@redhat.com>
21323 Andreas Jaeger <aj@suse.de>
21324
bcfe3a54
ST
21325 * nscd/nscd.c (go_background): Replaced with...
21326 (run_mode): ... this.
bb90b80b 21327 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
21328 (options): Add -F --foreground.
21329 (main): Implement it.
21330 (parse_opt): Parse it.
bb90b80b 21331
1a4b75a1
AJ
213322012-05-09 Andreas Jaeger <aj@suse.de>
21333
21334 [BZ #14083]
21335 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
21336 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
21337 -Wconversion warning.
21338 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
21339 Likewise.
21340
b1cc2472
JM
213412012-05-09 Joseph Myers <joseph@codesourcery.com>
21342
21343 * conform/data/locale.h-data (NULL): Use macro-constant. Require
21344 == 0.
21345 (LC_ALL): Use macro-int-constant.
21346 (LC_COLLATE): Likewise.
21347 (LC_CTYPE): Likewise.
21348 (LC_MESSAGES): Likewise.
21349 (LC_MONETARY): Likewise.
21350 (LC_NUMERIC): Likewise.
21351 (LC_TIME): Likewise.
21352 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
21353 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21354 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21355 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
21356 Specify type.
21357 [C99-based standards] (float_t): Expect type.
21358 [C99-based standards] (double_t): Expect type.
21359 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
21360 type.
21361 [C99-based standards] (HUGE_VALL): Likewise.
21362 [C99-based standards] (INFINITY): Likewise.
21363 [C99-based standards] (NAN): Likewise.
21364 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
21365 [C99-based standards] (FP_NAN): Likewise.
21366 [C99-based standards] (FP_NORMAL): Likewise.
21367 [C99-based standards] (FP_SUBNORMAL): Likewise.
21368 [C99-based standards] (FP_ZERO): Likewise.
21369 [C99-based standards] (FP_FAST_FMA): Use
21370 optional-macro-int-constant. Specify type. Require == 1.
21371 [C99-based standards] (FP_FAST_FMAF): Likewise.
21372 [C99-based standards] (FP_FAST_FMAL): Likewise.
21373 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
21374 [C99-based standards] (FP_ILOGBNAN): Likewise.
21375 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
21376 Specify type.
21377 [C99-based standards] (MATH_ERREXCEPT): Likewise.
21378 [C99-based standards] (math_errhandling): Specify type.
21379 [ISO99 || ISO11] (signgam): Do not allow.
21380 [non-C99-based standards] (copysignf): Do not allow.
21381 [non-C99-based standards] (exp2f): Likewise.
21382 [non-C99-based standards] (log2f): Likewise.
21383 [non-C99-based standards] (modff): Allow.
21384 [non-C99-based standards] (erff): Do not allow.
21385 [non-C99-based standards] (erfcf): Likewise.
21386 [non-C99-based standards] (gammaf): Likewise.
21387 [non-C99-based standards] (hypotf): Likewise.
21388 [non-C99-based standards] (j0f): Likewise.
21389 [non-C99-based standards] (j1f): Likewise.
21390 [non-C99-based standards] (jnf): Likewise.
21391 [non-C99-based standards] (lgammaf): Likewise.
21392 [non-C99-based standards] (tgammaf): Likewise.
21393 [non-C99-based standards] (y0f): Likewise.
21394 [non-C99-based standards] (y1f): Likewise.
21395 [non-C99-based standards] (ynf): Likewise.
21396 [non-C99-based standards] (isnanf): Likewise.
21397 [non-C99-based standards] (acoshf): Likewise.
21398 [non-C99-based standards] (asinhf): Likewise.
21399 [non-C99-based standards] (atanhf): Likewise.
21400 [non-C99-based standards] (cbrtf): Likewise.
21401 [non-C99-based standards] (expm1f): Likewise.
21402 [non-C99-based standards] (ilogbf): Likewise.
21403 [non-C99-based standards] (log1pf): Likewise.
21404 [non-C99-based standards] (logbf): Likewise.
21405 [non-C99-based standards] (nextafterf): Likewise.
21406 [non-C99-based standards] (remainderf): Likewise.
21407 [non-C99-based standards] (rintf): Likewise.
21408 [non-C99-based standards] (scalbf): Likewise.
21409 [non-C99-based standards] (copysignl): Likewise.
21410 [non-C99-based standards] (exp2l): Likewise.
21411 [non-C99-based standards] (log2l): Likewise.
21412 [non-C99-based standards] (modfl): Allow.
21413 [non-C99-based standards] (erfl): Do not allow.
21414 [non-C99-based standards] (erfcl): Likewise.
21415 [non-C99-based standards] (gammal): Likewise.
21416 [non-C99-based standards] (hypotl): Likewise.
21417 [non-C99-based standards] (j0l): Likewise.
21418 [non-C99-based standards] (j1l): Likewise.
21419 [non-C99-based standards] (jnl): Likewise.
21420 [non-C99-based standards] (lgammal): Likewise.
21421 [non-C99-based standards] (tgammal): Likewise.
21422 [non-C99-based standards] (y0l): Likewise.
21423 [non-C99-based standards] (y1l): Likewise.
21424 [non-C99-based standards] (ynl): Likewise.
21425 [non-C99-based standards] (isnanl): Likewise.
21426 [non-C99-based standards] (acoshl): Likewise.
21427 [non-C99-based standards] (asinhl): Likewise.
21428 [non-C99-based standards] (atanhl): Likewise.
21429 [non-C99-based standards] (cbrtl): Likewise.
21430 [non-C99-based standards] (expm1l): Likewise.
21431 [non-C99-based standards] (ilogbl): Likewise.
21432 [non-C99-based standards] (log1pl): Likewise.
21433 [non-C99-based standards] (logbl): Likewise.
21434 [non-C99-based standards] (nextafterl): Likewise.
21435 [non-C99-based standards] (remainderl): Likewise.
21436 [non-C99-based standards] (rintl): Likewise.
21437 [non-C99-based standards] (scalbl): Likewise.
21438 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21439 [non-C99-based standards] (FP_*): Do not allow.
21440 [C99-based standards] (FP_*): Change to
21441 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
21442 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21443 allow.
21444 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
21445 (SIG_ERR): Likewise.
21446 [X/Open-based standards] (SIG_HOLD): Likewise.
21447 (SIG_IGN): Likewise.
21448 (SIGABRT): Use macro-int-constant. Specify type. Require
21449 positive value.
21450 (SIGFPE): Likewise.
21451 (SIGILL): Likewise.
21452 (SIGINT): Likewise.
21453 (SIGSEGV): Likewise.
21454 (SIGTER): Likewise.
21455 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
21456 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
21457 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
21458 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
21459 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
21460 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
21461 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
21462 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
21463 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
21464 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
21465 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
21466 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
21467 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
21468 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
21469 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
21470 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
21471 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
21472 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
21473 [X/Open-based standards] (SIGTRAP): Likewise.
21474 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
21475 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
21476 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
21477 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
21478 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21479 allow.
21480
b9f1922d
IW
214812012-05-08 Ian Wienand <ianw@vmware.com>
21482
21483 [BZ #14080]
21484 * time/tzset.c (__tzset_parse_tz): Update default rules for
21485 daylight time changes in the Energy Policy Act of 2005.
21486
1db86e88
AJ
214872012-05-09 Andreas Jaeger <aj@suse.de>
21488
21489 [BZ #13983]
21490 * elf/ldconfig.c (parse_conf): Change string to make clear that
21491 ldconfig only issued a warning if ld.so.conf does not exist.
21492
dee4a4e3
DM
214932012-05-08 David S. Miller <davem@davemloft.net>
21494
ee0db190
DM
21495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
21496 movxtod instead of popping the value on the stack.
21497
dee4a4e3
DM
21498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21499
6a43ec98
CD
215002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
21501
21502 * config.h.in: Add HAVE_ARM_PCS_VFP.
21503
05c2c961
RMG
215042012-05-08 Roland Mc Grath <roland@hack.frob.com>
21505
bcfe3a54
ST
21506 [BZ #13979]
21507 * include/features.h: Warn if user requests __FORTIFY_SOURCE
21508 checking but the checks are disabled for any reason.
05c2c961 21509
4b30f61a
L
215102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
21511
21512 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
21513 and ELF64_R_TYPE with ELFW(R_TYPE).
21514
eee2bc67
JM
215152012-05-08 Joseph Myers <joseph@codesourcery.com>
21516
7ea5391a
JM
21517 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
21518 (ulimit): Likewise.
21519
eee2bc67
JM
21520 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
21521 (settimeofday): Likewise.
21522
abb66a67
MF
215232012-05-08 Mike Frysinger <vapier@gentoo.org>
21524
21525 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
21526 a struct th_u2 inside the union, and move tu_block/tu_code into
21527 a new th_u3 union of tu_block/tu_code inside of that. Move
21528 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
21529 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
21530 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
21531 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
21532 (th_stuff): Change to th_u1.tu_stuff.
21533 (th_data): Define.
21534 (th_msg): Change to th_u1.th_u2.tu_data.
21535
7f18b530
DM
215362012-05-07 David S. Miller <davem@davemloft.net>
21537
05760585
DM
21538 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21539
7f18b530
DM
21540 [BZ #14074]
21541 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
21542 (SETUP_PIC_REG): Use it.
21543 (SETUP_PIC_REG_LEAF): Use it.
21544
495fd99f
JM
215452012-05-07 Joseph Myers <joseph@codesourcery.com>
21546
21547 [BZ #13885]
21548 [BZ #13923]
21549 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21550 USE_AS_EXPM1L.
21551 (EXPL_FINITE): Likewise.
21552 (FLDLOG): Likewise.
21553 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21554 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21555 e_expl.S.
21556 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21557 USE_AS_EXPM1L.
21558 (EXPL_FINITE): Likewise.
21559 (FLDLOG): Likewise.
21560 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
21561 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
21562 e_expl.S.
21563 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
21564 test of -max_value argument for long double.
21565 * sysdeps/i386/fpu/libm-test-ulps: Update.
21566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21567
6693d694
DM
215682012-05-06 David S. Miller <davem@davemloft.net>
21569
21570 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
21571 quad soft-float symbols whose references which are compiler
21572 generated.
21573 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
21574
6c23e11c
JM
215752012-05-06 Joseph Myers <joseph@codesourcery.com>
21576
d8b82cad
JM
21577 [BZ #13884]
21578 [BZ #13914]
21579 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21580 USE_AS_EXP10L.
21581 (EXPL_FINITE): Likewise.
21582 (FLDLOG): Likewise.
21583 (c0): Likewise.
21584 (c1): Likewise.
21585 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21586 Adjust comments for base varying.
21587 (__expl_finite): Change alias to EXPL_FINITE.
21588 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
21589 e_expl.S.
21590 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
21591 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21592 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21593 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
21594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
21595 USE_AS_EXP10L.
21596 (EXPL_FINITE): Likewise.
21597 (FLDLOG): Likewise.
21598 (c0): Likewise.
21599 (c1): Likewise.
21600 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
21601 Adjust comments for base varying.
21602 (__expl_finite): Change alias to EXPL_FINITE.
21603 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
21604 tests for bugs.
21605 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21606
6c23e11c
JM
21607 [BZ #14064]
21608 * math/libm-test.inc (check_float_internal): Correct ulp
21609 calculation for subnormal expected results.
21610
29ba805c
AJ
216112012-05-06 Andreas Jaeger <aj@suse.de>
21612
21613 * Makeconfig (+math-flags): New, set to -frounding-math.
21614 (+cflags): Add +math-flags so that all of glibc gets compiled with
21615 it.
21616
21617 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
21618
7b17aeda
JM
216192012-05-05 Joseph Myers <joseph@codesourcery.com>
21620
5779f134
JM
21621 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
21622 Disable one test.
21623
41498f4d
JM
21624 [BZ #13787]
21625 [BZ #13922]
21626 [BZ #14036]
21627 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
21628 (__ieee754_expl): Allow for and saturate large arguments.
21629 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
21630 (u_threshold): Likewise.
21631 (__exp): Call __ieee754_exp before checking for overflow and
21632 underflow.
21633 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
21634 (u_threshold): Likewise.
21635 (__expf): Call __ieee754_expf before checking for overflow and
21636 underflow.
21637 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
21638 (u_threshold): Likewise.
21639 (__expl): Call __ieee754_expl before checking for overflow and
21640 underflow.
21641 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
21642 (__ieee754_expl): Allow for and saturate large arguments.
21643 * math/libm-test.inc (exp_test): Add another test. Do not allow
21644 missing overflow exception on overflow.
21645 (expm1_test): Do not allow missing overflow exception on overflow.
21646
6698b8bf
JM
21647 * sysdeps/i386/fpu/e_expl.c: Move to ...
21648 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
21649 rather than using inline asm.
21650 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
21651 * sysdeps/x86_64/fpu/e_expl.S: Copy from
21652 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
21653
7b17aeda
JM
21654 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
21655 (nice): Likewise.
21656 (poll): Likewise.
21657 (signal): Likewise.
21658 (time): Likewise.
21659 (times): Likewise.
21660
f7c85819
JM
216612012-05-04 Joseph Myers <joseph@codesourcery.com>
21662
21663 * sysdeps/unix/syscalls.list (adjtime): Add entry from
21664 sysdeps/unix/common/syscalls.list.
21665 (fchmod): Likewise.
21666 (fchown): Likewise.
21667 (ftruncate): Likewise.
21668 (getrusage): Likewise.
21669 (gettimeofday): Likewise.
21670 (setpgid): Likewise.
21671 (setregid): Likewise.
21672 (setreuid): Likewise.
21673 (sigaction): Likewise.
21674 (truncate): Likewise.
21675 (vhangup): Likewise.
21676 * sysdeps/unix/common/syscalls.list: Remove file.
21677 * sysdeps/unix/bsd/Implies: Don't include unix/common.
21678 * sysdeps/unix/sysv/linux/Implies: Likewise.
21679
336270d0
L
216802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
21681
21682 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
21683 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
21684 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
21685 Moved to ...
21686 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
21687 Here.
21688 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
21689 to ...
21690 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
21691 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
21692 to ...
21693 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
21694 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
21695 to ...
21696 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
21697 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
21698 to ...
21699 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
21700 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
21701 to ...
21702 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
21703 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
21704 to ...
21705 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
21706 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
21707 to ...
21708 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21709 Here.
21710 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
21711 to ...
21712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
21713 Here.
21714 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
21715 to ...
21716 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
21717 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
21718 Moved to ...
21719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
21720 Here.
21721 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
21722 to ...
21723 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
21724
d128e450
JM
217252012-05-04 Joseph Myers <joseph@codesourcery.com>
21726
fa8ee516
JM
21727 * sysdeps/unix/common/bits/dirent.h: Remove file.
21728 * sysdeps/unix/common/bits/fcntl.h: Likewise.
21729
d128e450
JM
21730 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
21731 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
21732 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
21733 * sysdeps/unix/bsd/isatty.c: Likewise.
21734 * sysdeps/unix/bsd/tcdrain.c: Likewise.
21735 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
21736 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
21737
ff8faaf0 217382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 21739
62881be4 21740 [BZ #13563]
31dc8730
AZ
21741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
21742 long double comparison inaccuracies.
21743 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21745
6fef930c
AS
217462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
21747
21748 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
21749 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
21750
8f203e6c
JM
217512012-05-04 Joseph Myers <joseph@codesourcery.com>
21752
21753 [BZ #14049]
21754 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
21755 nonzero digits before rounding a hex value.
21756 * stdlib/tst-strtod.c (tests): Add another test.
21757
5197d9c2
AK
217582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21759
21760 * sysdeps/s390/fpu/libm-test-ulps: Update.
21761
f0c1dedf
AJ
217622012-05-03 Andreas Jaeger <aj@suse.de>
21763
21764 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
21765 does not get optimized out.
21766 (malloc_opt_barrier): New.
21767
a65ef2ae 217682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 21769 Roland McGrath <roland@hack.frob.com>
a65ef2ae 21770
2b942cb7 21771 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 21772 intermediate file deletion.
2b942cb7 21773 (generated): Add .symlist files.
a65ef2ae 21774
54b71e02
JM
217752012-05-03 Joseph Myers <joseph@codesourcery.com>
21776
21777 [BZ #13775]
21778 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
21779 Redirect under this condition.
21780 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21781 [__USE_GNU] (__dprintf_chk): Not under this condition.
21782 [__USE_GNU] (__vdprintf_chk): Likewise.
21783 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
21784 under this condition.
21785 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
21786 [__USE_XOPEN2K8] (dprintf): Define under this condition.
21787 [__USE_XOPEN2K8] (vdprintf): Likewise.
21788 [__USE_GNU] (__dprintf_chk): Not under this condition.
21789 [__USE_GNU] (__vdprintf_chk): Likewise.
21790 [__USE_GNU] (dprintf): Likewise.
21791 [__USE_GNU] (vdprintf): Likewise.
21792
d3dfcc41
RM
217932012-05-03 Roland McGrath <roland@hack.frob.com>
21794
21795 * elf/Makefile (common-generated): Set this instead of generated for
21796 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
21797 $(all-built-dso)-derived lists.
21798
7ac30cc5
AJ
217992012-05-03 Andreas Jaeger <aj@suse.de>
21800
0c51e550
AJ
21801 * sysdeps/i386/fpu/libm-test-ulps: Update.
21802
7ac30cc5
AJ
21803 * FAQ: Removed.
21804 * FAQ.in: Likewise.
21805 * scripts/gen-FAQ.pl: Likewise.
21806 * manual/install.texi (Installation): Point to online location of
21807 FAQ.
21808 * Makefile (files-for-dist): Remove FAQ.
21809 (FAQ): Remove.
21810
d4c2917f
AM
218112012-05-02 Allan McRae <allan@archlinux.org>
21812
21813 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
21814 (LDFLAGS-reldepmod5.so): Likewise.
21815 (LDFLAGS-reldep6mod1.so): Likewise.
21816 (LDFLAGS-reldep6mod4.so): Likewise.
21817 (LDFLAGS-reldep8mod3.so): Likewise.
21818 (LDFLAGS-unload4mod1.so): Likewise.
21819 (LDFLAGS-unload4mod2.so): Likewise.
21820 (LDFLAGS-tst-initorder): Likewise.
21821 (LDFLAGS-tst-initordera2.so): Likewise.
21822 (LDFLAGS-tst-initordera3.so): Likewise.
21823 (LDFLAGS-tst-initordera4.so): Likewise.
21824 (LDFLAGS-tst-initorderb2.so): Likewise.
21825 (LDFLAGS-noload): Likewise.
21826 (LDFLAGS-next): Likewise.
21827 (LDFLAGS-order2mod1.so): Likewise.
21828 (LDFLAGS-order2mod2.so): Likewise.
21829 (LDFLAGS-tst-initorder2): Likewise.
21830 (LDFLAGS-tst-initorder2a.so): Likewise.
21831 (LDFLAGS-tst-initorder2b.so): Likewise.
21832 (LDFLAGS-tst-initorder2c.so): Likewise.
21833 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
21834
d77f993f
DM
218352012-05-02 David S. Miller <davem@davemloft.net>
21836
21837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21838
171a70b4
PP
218392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
21840
21841 [BZ #14055]
21842 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
21843
0be196ad
AJ
218442012-05-02 Andreas Jaeger <aj@suse.de>
21845
21846 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
21847 since we manipulate rounding mode.
21848 (CPPFLAGS-test-idouble.c): Likewise.
21849 (CPPFLAGS-test-ifloat.c): Likewise.
21850 (CFLAGS-test-ldouble.c): Likewise.
21851 (CFLAGS-test-double.c): Likewise.
21852 (CFLAGS-test-float.c): Likewise.
21853 (CFLAGS-test-misc.c): Likewise.
21854 (CFLAGS-test-test-fenv.c): Likewise.
21855
4f9d04aa
AZ
218562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21857
2b942cb7
RM
21858 [BZ #2550]
21859 [BZ #2570]
21860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
21861 comparisons to determine direction to adjust input.
4f9d04aa 21862
82a79e7d
RM
218632012-05-01 Roland McGrath <roland@hack.frob.com>
21864
f5a01ca9
RM
21865 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
21866 output to the target.
21867
90fe4186
RM
21868 * scripts/localplt.awk: New file.
21869 * elf/Makefile ($(objpfx)check-localplt): Target removed.
21870 (check-localplt-CFLAGS): Variable removed.
21871 ($(all-built-dso:=.jmprel)): New static pattern rule.
21872 (generated): Add those targets.
21873 (localplt-built-dso): New variable.
21874 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
21875
21876 * elf/check-localplt.c: File removed.
21877
82397ed6
RM
21878 * scripts/check-execstack.awk: New file.
21879 * elf/Makefile ($(objpfx)check-execstack): Target removed.
21880 (check-execstack-CFLAGS): Variable removed.
21881 ($(objpfx)check-execstack.h): Target removed.
21882 ($(objpfx)execstack-default): New target.
21883 (generated): Add that instead of check-execstack.h.
21884 ($(all-built-dso:=.phdr)): New static pattern rule.
21885 (generated): Add those targets.
21886 * elf/check-execstack.c: File removed.
21887
82a79e7d
RM
21888 * scripts/check-textrel.awk: New file.
21889 * elf/Makefile ($(objpfx)check-textrel): Target removed.
21890 (check-textrel-CFLAGS): Variable removed.
21891 (all-built-dso): Use := to define.o
21892 ($(all-built-dso:=.dyn)): New static pattern rule.
21893 (generated): Add those targets.
21894 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
21895 * config.make.in (READELF): New substituted variable.
21896 * elf/check-textrel.c: File removed.
21897
62fde54f 218982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 21899
615605c9
JM
21900 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
21901 allow.
21902 * conform/data/ctype.h-data [C99-based standards] (isblank):
21903 Expect function.
21904 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
21905 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
21906 [ISO || ISO99 || ISO11] (*_t): Do not allow.
21907 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
21908 Specify type. Require positive value.
21909 (EILSEQ): Likewise.
21910 (ERANGE): Likewise.
21911 [ISO || POSIX] (EILSEQ): Do not expect.
21912 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
21913 Specify type. Require positive value.
21914 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
21915 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
21916 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
21917 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
21918 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
21919 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
21920 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
21921 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
21922 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
21923 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
21924 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
21925 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
21926 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
21927 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
21928 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
21929 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
21930 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
21931 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
21932 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
21933 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
21934 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
21935 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
21936 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
21937 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
21938 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
21939 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
21940 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
21941 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
21942 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
21943 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
21944 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
21945 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
21946 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
21947 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
21948 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
21949 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
21950 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
21951 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
21952 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
21953 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
21954 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
21955 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
21956 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
21957 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
21958 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
21959 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
21960 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
21961 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
21962 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
21963 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
21964 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
21965 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
21966 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
21967 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
21968 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
21969 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
21970 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
21971 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
21972 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
21973 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
21974 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
21975 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
21976 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
21977 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
21978 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
21979 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
21980 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
21981 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
21982 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
21983 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
21984 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
21985 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
21986 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
21987 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
21988 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
21989 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
21990 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
21991 Require >= 2.
21992 (FLT_ROUNDS): Expect as macro, not constant.
21993 (FLT_MANT_DIG): Use macro-int-constant.
21994 (DBL_MANT_DIG): Likewise.
21995 (LDBL_MANT_DIG): Likewise.
21996 (FLT_DIG): Likewise.
21997 (DBL_DIG): Likewise.
21998 (LDBL_DIG): Likewise.
21999 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
22000 (DBL_MIN_EXP): Likewise.
22001 (LDBL_MIN_EXP): Likewise.
22002 (FLT_MAX_EXP): Use macro-int-constant.
22003 (DBL_MAX_EXP): Likewise.
22004 (LDBL_MAX_EXP): Likewise.
22005 (FLT_MAX_10_EXP): Likewise.
22006 (DBL_MAX_10_EXP): Likewise.
22007 (LDBL_MAX_10_EXP): Likewise.
22008 (FLT_MAX): Use macro-constant.
22009 (DBL_MAX): Likewise.
22010 (LDBL_MAX): Likewise.
22011 (FLT_EPSILON): Use macro-constant. Give upper bound.
22012 (DBL_EPSILON): Likewise.
22013 (LDBL_EPSILON): Likewise.
22014 (FLT_MIN): Likewise.
22015 (DBL_MIN): Likewise.
22016 (LDBL_MIN): Likewise.
22017 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
22018 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
22019 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
22020 [ISO11] (FLT_HAS_SUBNORM): Likewise.
22021 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
22022 [ISO11] (DBL_DECIMAL_DIG): Likewise.
22023 [ISO11] (FLT_DECIMAL_DIG): Likewise.
22024 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
22025 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
22026 [ISO11] (FLT_TRUE_MIN): Likewise.
22027 [ISO11] (LDBL_TRUE_MIN): Likewise.
22028 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22029 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
22030 (SCHAR_MIN): Use macro-int-constant. Specify type.
22031 (SCHAR_MAX): Likewise.
22032 (UCHAR_MAX): Likewise.
22033 (CHAR_MIN): Likewise.
22034 (CHAR_MAX): Likewise.
22035 (MB_LEN_MAX): Use macro-int-constant.
22036 (SHRT_MIN): Use macro-int-constant. Specify type.
22037 (SHRT_MAX): Likewise.
22038 (USHRT_MAX): Likewise.
22039 (INT_MAX): Likewise.
22040 (INT_MIN): Use macro-int-constant. Specify type. Make upper
22041 bound negative.
22042 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
22043 bound with "U".
22044 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22045 bound with "L".
22046 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
22047 bound negative. Suffix upper bound with "L".
22048 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
22049 bound with "UL".
22050 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
22051 Specify type.
22052 [C99-based standards] (LLONG_MAX): Likewise.
22053 [C99-based standards] (ULLONG_MAX): Likewise.
22054 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
22055 == 0.
22056 [ISO11] (max_align_t): Require type.
22057 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22058
c9140a62
JM
22059 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
22060 from $CFLAGS, without defining away __attribute__ calls.
22061 (checknamespace): Use $CFLAGS_namespace.
22062
9af0bf29
JM
22063 * conform/conformtest.pl (@keywords): Only include C99 keywords
22064 for standards based on C99 or C11.
22065
343222a2
JM
22066 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
22067 Disable tests.
22068 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
22069 UNIX98]: Likewise.
22070
661f8cf0
JM
22071 * conform/conformtest.pl: Handle "macro-int-constant" and test for
22072 usability of symbols in #if.
22073
ee74b9cb
JM
22074 * conform/conformtest.pl: If macro or constant types start
22075 "promoted:", expect the symbol to be of the following type
22076 promoted by the integer promotions.
62fde54f 22077
aafc49b3
JM
22078 * conform/conformtest.pl: Parse all "constant" and "macro" lines
22079 in one place. Also handle "macro-constant".
22080
fefdf574
JM
22081 * conform/conformtest.pl: Only accept expected macro values with
22082 "==". Parse all "macro" lines in one place.
22083 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
22084
f2d922fe
JM
22085 * conform/conformtest.pl: Handle braced types on "constant" lines
22086 instead of handling "typed-constant".
22087 * conform/data/signal.h-data: Use "constant" instead of
22088 "typed-constant".
22089
d22956c9
JM
22090 * conform/conformtest.pl: Handle "optional-" at start of lines in
22091 one place rather than duplicating several cases. Handle each
22092 format of "macro" line with initial "optional-".
22093
028e2e38
JM
22094 * conform/conformtest.pl: Only accept expected constant or
22095 optional-constant values with "==". Parse all "constant" lines in
22096 one place. Parse all "optional-constant" lines in one place.
22097 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
22098 * conform/data/fmtmsg.h-data: Likewise.
22099 * conform/data/netinet/in.h-data: Likewise.
22100 * conform/data/tar.h-data: Likewise.
22101 * conform/data/limits.h-data: Use "==" form on "constant" and
22102 "optional-constant" lines.
22103
1b8f2850
JM
22104 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
22105 Use -std=c99 for XOPEN2K.
22106 (@knownproblems): Remove.
22107 (newtoken): Don't check %isknown.
22108
a05a144b
JM
22109 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
22110 Do not expect macro.
22111 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
22112 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
22113 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
22114 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
22115 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
22116 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
22117 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
22118 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
22119 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
22120 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
22121 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
22122 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
22123 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
22124 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
22125 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
22126 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
22127 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
22128 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
22129 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
22130 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
22131 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
22132 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
22133 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
22134 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
22135 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
22136 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
22137 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
22138 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
22139 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
22140 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
22141 [XPG3] (acosh): Likewise.
22142 [XPG3] (asinh): Likewise.
22143 [XPG3] (atanh): Likewise.
22144 [XPG3] (cbrt): Likewise.
22145 [XPG3] (expm1): Likewise.
22146 [XPG3] (ilogb): Likewise.
22147 [XPG3] (log1p): Likewise.
22148 [XPG3] (logb): Likewise.
22149 [XPG3] (nextafter): Likewise.
22150 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
22151 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
22152 [XPG3] (remainder): Likewise.
22153 [XPG3] (rint): Likewise.
22154 [XPG3 || XPG4 || UNIX98] (round): Likewise.
22155 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
22156 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
22157 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
22158 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
22159 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
22160 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
22161 [UNIX98 || XOPEN2K] (scalb): Expect.
22162 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
22163 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
22164 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
22165 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
22166 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
22167 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
22168 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
22169 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
22170 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
22171 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
22172 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
22173 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
22174 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
22175 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
22176 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
22177 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
22178 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
22179 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
22180 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
22181 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
22182 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
22183 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
22184 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
22185 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
22186 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
22187 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
22188 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
22189 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
22190 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
22191 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
22192 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
22193 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
22194 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
22195 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
22196 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
22197 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
22198 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
22199 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
22200 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
22201 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
22202 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
22203 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
22204 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
22205 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
22206 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
22207 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
22208 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
22209 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
22210 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
22211 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
22212 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
22213 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
22214 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
22215 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
22216 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
22217 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
22218 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
22219 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
22220 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
22221 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
22222 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
22223 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
22224 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
22225 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
22226 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
22227 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
22228 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
22229 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
22230 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
22231 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
22232 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
22233 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
22234 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
22235 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
22236 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
22237 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
22238 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
22239 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
22240 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
22241 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
22242 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
22243 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
22244 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
22245 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
22246 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
22247 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
22248 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
22249 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
22250 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
22251 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
22252 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
22253 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
22254 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
22255 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
22256 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
22257 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
22258 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
22259 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
22260 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
22261 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
22262 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
22263 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
22264 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
22265 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
22266 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
22267 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
22268 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
22269 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
22270 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
22271 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
22272 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
22273 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
22274 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
22275 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
22276 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
22277 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
22278 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
22279 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
22280 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
22281 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
22282 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
22283 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
22284 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
22285 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
22286 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
22287 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
22288 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
22289 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
22290 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
22291 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
22292 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
22293 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
22294 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
22295 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
22296 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
22297 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
22298 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
22299
73c5ebe3
JM
22300 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
22301 _XOPEN_SOURCE_EXTENDED for XPG4.
22302
39c33b6c
JM
22303 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
22304
62fde54f
JM
22305 * Makeconfig (localtime): Remove variable.
22306 (inst_localtime-file): Likewise.
22307
0741d64c
AS
223082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22309
22310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
22311 Update.
22312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22313 Update.
22314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
22315 Update.
22316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
22317 Update.
22318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
22319 Update.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
22321 Update.
22322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22323 Update.
22324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
22325 Update.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22327 Update.
22328
7cb029ee
JM
223292012-05-01 Joseph Myers <joseph@codesourcery.com>
22330
22331 [BZ #2550]
22332 [BZ #2570]
22333 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
22334 comparisons to determine direction to adjust input.
22335 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
22336 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
22337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
22338 Likewise.
22339 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
22340 Likewise.
22341 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22342 Likewise.
22343 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
22344 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
22345 Likewise.
22346 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
22347 Likewise.
22348 * math/libm-test.inc (nexttoward_test): Add more tests.
22349
412bd966
AS
223502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
22351
22352 [BZ #14040]
22353 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
22354 in version GLIBC_2.1, not GLIBC_2.0.
22355 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
22356 Likewise.
22357
9568c0c2
JM
223582012-04-30 Joseph Myers <joseph@codesourcery.com>
22359
adfbc8ac
JM
22360 [BZ #13942]
22361 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
22362 (1 - x) * (1 + x).
22363 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22364 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
22365 * math/libm-test.inc (acos_test): Add more tests.
22366 (asin_test): Likewise.
22367 * sysdeps/i386/fpu/libm-test-ulps: Update.
22368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22369
5ba3cc69
JM
22370 [BZ #14034]
22371 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
22372 of square root.
22373 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
22374 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
22375 * math/libm-test.inc (acos_test_tonearest): New function.
22376 (acos_test_towardzero): Likewise.
22377 (acos_test_downward): Likewise.
22378 (acos_test_upward): Likewise.
22379 (asin_test_tonearest): Likewise.
22380 (asin_test_towardzero): Likewise.
22381 (asin_test_downward): Likewise.
22382 (asin_test_upward): Likewise.
22383 (main): Call the new functions.
22384 * sysdeps/i386/fpu/libm-test-ulps: Update.
22385 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22386
9568c0c2
JM
22387 [BZ #13884]
22388 [BZ #13924]
22389 * math/e_exp10.c: Include <float.h>.
22390 (__ieee754_exp10): Handle underflow here rather than multiplying
22391 large negative argument by M_LN10.
22392 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
22393 of __ieee754_expf.
22394 * math/e_exp10l.c: Include <float.h>.
22395 (__ieee754_exp10l): Handle underflow here rather than multiplying
22396 large negative argument by M_LN10l.
22397 * math/libm-test.inc (exp10_test): Add another test. Do not allow
22398 spurious overflow exception on underflow.
22399
5ac3ea17
MP
224002012-04-29 Marek Polacek <polacek@redhat.com>
22401
22402 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
22403 (__fortify_function): New macro.
22404 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
22405 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
22406 __extern_always_inline.
22407 * libio/bits/stdio2.h: Likewise.
22408 * libio/bits/stdio.h: Likewise.
22409 * string/string.h: Likewise.
22410 * string/bits/string3.h: Likewise.
22411 * include/stdio.h: Likewise.
22412 * stdlib/bits/stdlib.h: Likewise.
22413 * stdlib/stdlib.h: Likewise.
22414 * rt/bits/mqueue2.h: Likewise.
22415 * rt/mqueue.h: Likewise.
22416 * posix/bits/unistd.h: Likewise.
22417 * posix/unistd.h: Likewise.
22418 * io/bits/poll2.h: Likewise.
22419 * io/bits/fcntl2.h: Likewise.
22420 * io/fcntl.h: Likewise.
22421 * io/sys/poll.h: Likewise.
22422 * misc/bits/syslog.h: Likewise.
22423 * misc/bits/syslog-ldbl.h: Likewise.
22424 * misc/sys/syslog.h: Likewise.
22425 * socket/bits/socket2.h: Likewise.
22426 * socket/sys/socket.h: Likewise.
22427 * debug/tst-chk1.c: Likewise.
22428 * wcsmbs/bits/wchar2.h: Likewise.
22429 * wcsmbs/bits/wchar-ldbl.h: Likewise.
22430 * wcsmbs/wchar.h: Likewise.
22431
ecf0ebfb
AJ
224322012-04-29 Andreas Jaeger <aj@suse.de>
22433
22434 * Makerules (tests): Remove enable-check-abi protection.
22435 (check-abi-warn): Remove.
22436 (check-abi-%): Remove check-abi-warn usage.
22437
22438 * configure.in: Remove check-abi configure option.
22439 * configure: Regenerated.
22440 * config.make.in (enable-check-abi): Remove.
22441
6d5c57fa
AS
224422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
22443
24c5d07e 22444 [BZ #14033]
ded5180a
AS
22445 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
22446 double functions to double *_finite functions.
22447
7e0d315d
AS
22448 [BZ #13941]
22449 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
22450 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
22451 LDBL_MIN_EXP.
22452 * stdio-common/Makefile (tests): Add tst-sprintf3.
22453 * stdio-common/tst-sprintf3.c: New file.
22454
6d5c57fa
AS
22455 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
22456 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
22457
0749ff8b
JM
224582012-04-28 Joseph Myers <joseph@codesourcery.com>
22459
22460 * conform/conformtest.pl: Remove duplicate typed-constant
22461 handling.
22462
8dbd5d7b
DM
224632012-04-28 David S. Miller <davem@davemloft.net>
22464
22465 * Makerules (%.abilist): Add vpath on sysdep_dirs.
22466 (check-abi-%): Remove AWK script prerequisite and explicit
22467 abilist directory.
22468 (check-abi): Rewrite to just diff the symlist with the abilist.
22469 (config-tls, config-abi-config): Delete, no longer used.
22470 (update-abi-%): Remove AWK script and explicit abilist directory.
22471 (update-abi): Rewrite to simply compare and conditionally copy the
22472 symlist and the sysdep abilist file. Remove update-abi-config
22473 checks.
22474 * abilist/ld.abilist: Remove.
22475 * abilist/libBrokenLocale.abilist: Remove.
22476 * abilist/libanl.abilist: Remove.
22477 * abilist/libcrypt.abilist: Remove.
22478 * abilist/libdl.abilist: Remove.
22479 * abilist/librt.abilist: Remove.
22480 * abilist/libthread_db.abilist: Remove.
22481 * abilist/libutil.abilist: Remove.
22482 * scripts/extract-abilist.awk: Remove.
22483 * scripts/merge-abilist.awk: Remove.
22484 * sysdeps/generic/libcidn.abilist: New file.
22485 * sysdeps/generic/libnss_compat.abilist: New file.
22486 * sysdeps/generic/libnss_db.abilist: New file.
22487 * sysdeps/generic/libnss_dns.abilist: New file.
22488 * sysdeps/generic/libnss_files.abilist: New file.
22489 * sysdeps/generic/libnss_hesiod.abilist: New file.
22490 * sysdeps/generic/libnss_nis.abilist: New file.
22491 * sysdeps/generic/libnss_nisplus.abilist: New file.
22492 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
22493 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
22494 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
22495 file.
22496 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
22497 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
22498 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
22499 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
22500 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
22501 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
22502 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
22503 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
22504 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
22505 file.
22506 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
22507 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
22508 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
22509 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
22510 file.
22511 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
22512 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
22513 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
22514 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
22515 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
22516 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
22517 file.
22518 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
22519 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
22520 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
22521 file.
22522 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
22523 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
22524 New file.
22525 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
22526 New file.
22527 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
22528 New file.
22529 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
22530 New file.
22531 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
22532 New file.
22533 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
22534 New file.
22535 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
22536 New file.
22537 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
22538 New file.
22539 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
22540 New file.
22541 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
22542 New file.
22543 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
22544 New file.
22545 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
22546 New file.
22547 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
22548 New file.
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
22550 file.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
22552 New file.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
22554 New file.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
22556 file.
22557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
22558 New file.
22559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
22560 New file.
22561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
22562 file.
22563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
22564 New file.
22565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
22566 New file.
22567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
22568 New file.
22569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
22570 New file.
22571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
22572 New file.
22573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
22574 New file.
22575 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
22576 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
22577 file.
22578 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
22579 New file.
22580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
22581 file.
22582 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
22583 file.
22584 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
22585 file.
22586 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
22587 file.
22588 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
22589 file.
22590 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22591 New file.
22592 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
22593 file.
22594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
22595 file.
22596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
22597 New file.
22598 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
22599 file.
22600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
22601 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
22602 file.
22603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
22604 New file.
22605 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
22606 file.
22607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
22608 file.
22609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
22610 file.
22611 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
22612 file.
22613 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
22614 file.
22615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22616 New file.
22617 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
22618 file.
22619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
22620 file.
22621 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
22622 New file.
22623 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
22624 file.
22625 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
22626 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
22627 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
22628 file.
22629 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
22630 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
22631 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
22632 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
22633 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
22634 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
22635 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
22636 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
22637 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
22638 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
22639 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
22640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
22641 file.
22642 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
22643 New file.
22644 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
22645 file.
22646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
22647 file.
22648 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
22649 file.
22650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
22651 file.
22652 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
22653 file.
22654 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
22655 New file.
22656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
22657 New file.
22658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
22659 file.
22660 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
22661 New file.
22662 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
22663 file.
22664 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
22665 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
22666 file.
22667 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
22668 New file.
22669 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
22670 file.
22671 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
22672 file.
22673 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
22674 file.
22675 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
22676 file.
22677 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
22678 file.
22679 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
22680 New file.
22681 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
22682 New file.
22683 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
22684 file.
22685 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
22686 New file.
22687 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
22688 file.
22689
41d73a1b
JM
226902012-04-28 Joseph Myers <joseph@codesourcery.com>
22691
22692 * conform/conformtest.pl: Fix typo in handling typed-constant from
22693 allow-header.
22694
28aeeda4
JM
226952012-04-27 Joseph Myers <joseph@codesourcery.com>
22696
adae8f5e
JM
22697 * README: Cut down references to pre-2.6 Linux kernels and
22698 Linuxthreads. Update lists of configurations in libc and ports
22699 and sort alphabetically. Say "or newer" with Linux kernel version
22700 requirements.
22701
28aeeda4
JM
22702 * config.h.in [IS_IN_build]: Allow compiling without optimization.
22703
a462cb63
RA
227042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22705
22706 [BZ #887]
22707 * math/libm-test.inc (logb_test_downward): New test to expose
22708 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
22709 rounding mode.
22710
6ad3493e
JM
227112012-04-27 Joseph Myers <joseph@codesourcery.com>
22712
22713 [BZ #14027]
22714 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
22715 to be done.
22716 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
22717 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
22718
2ce4f015
JM
227192012-04-26 Joseph Myers <joseph@codesourcery.com>
22720
5aeb141a
JM
22721 * sysdeps/unix/i386/brk.S: Remove file.
22722 * sysdeps/unix/i386/dl-brk.S: Likewise.
22723 * sysdeps/unix/i386/pipe.S: Likewise.
22724 * sysdeps/unix/i386/sigreturn.S: Likewise.
22725 * sysdeps/unix/i386/syscall.S: Likewise.
22726 * sysdeps/unix/i386/vfork.S: Likewise.
22727 * sysdeps/unix/i386/wait.S: Likewise.
22728
7143acae
JM
22729 * sysdeps/unix/common/tcsendbrk.c: Move to ...
22730 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
22731
2ce4f015
JM
22732 * configure.in (arm*-none*): Do not allow without
22733 --enable-hacker-mode.
22734 (netbsd*): Remove case setting base_os.
22735 (386bsd*): Likewise.
22736 (freebsd*): Likewise.
22737 (bsdi*): Likewise.
22738 (osf*): Likewise.
22739 (sunos*): Likewise.
22740 (ultrix*): Likewise.
22741 (newsos*): Likewise.
22742 (dynix*): Likewise.
22743 (*bsd*): Likewise.
22744 (sysv*): Likewise.
22745 (isc*): Likewise.
22746 (esix*): Likewise.
22747 (sco*): Likewise.
22748 (minix*): Likewise.
22749 (irix4*): Likewise.
22750 (irix6*): Likewise.
22751 (solaris[2-9]*): Likewise.
22752 (none): Likewise.
22753 * configure: Regenerated.
22754
0ac229c8
AZ
227552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22756
22757 [BZ #11521]
22758 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
22759 overflow or cancellation in calculating denominator.
22760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
22761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
22762 down expression to avoid unexpected rounding in newer GCCs.
22763 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
22764
33f244f4
DM
227652012-04-26 David S. Miller <davem@davemloft.net>
22766
22767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
22768 long-double compat symbols.
22769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22770 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22772 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
22773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22774 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
22775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
22776 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
22777 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
22778 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
22779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
22780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
22781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
22782
cfa1f3e8
DM
227832012-04-25 David S. Miller <davem@davemloft.net>
22784
22785 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
22786 HWCAP_* values only after the memory barriers have been defined.
22787 (atomic_full_barrier): Define.
22788 (atomic_read_barrier): Define.
22789 (atomic_write_barrier): Define.
22790
6e236b92
SP
227912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22792
22793 * shlib-versions: Add libgcc_s version information.
22794 * sysdeps/generic/libgcc_s.h: Remove.
22795 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
22796 libgcc_s.h.
22797 * sysdeps/gnu/unwind-resume.c: Likewise.
22798 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
22799
aab39a09
DM
228002012-04-25 David S. Miller <davem@davemloft.net>
22801
22802 * sysdeps/unix/sparc/brk.S: Delete.
22803 * sysdeps/unix/sparc/dl-brk.S: Delete.
22804 * sysdeps/unix/sparc/pipe.S: Delete.
22805 * sysdeps/unix/sparc/sysdep.S: Delete.
22806 * sysdeps/unix/sparc/sysdep.h: Delete.
22807 * sysdeps/unix/sparc/vfork.S: Delete.
22808 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
22809 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
22810 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
22811 ret_ERRVAL, r0, r1, MOVE): Define.
22812 (JUMPTARGET): Remove.
22813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
22814 sysdeps/unix/sparc/sysdep.h
22815 (ENTRY, END): Remove.
22816 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
22817
a3cc4f48
JM
228182012-04-25 Joseph Myers <joseph@codesourcery.com>
22819
2ed8cda2
JM
22820 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
22821 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
22822 -DIS_IN_build.
22823
35d76d59
JM
22824 * timezone/README: Update upstream location and email address for
22825 tzcode and tzdata.
22826 * timezone/zdump.c: Update from tzcode 2012b.
22827 * timezone/zic.c: Likewise.
22828
a3cc4f48
JM
22829 * configure.in (libc_cv_as_needed): Remove test.
22830 * configure: Regenerated.
22831 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
22832 conditional definition.
22833 [$(have-as-needed) != yes] (no-as-needed): Likewise.
22834 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
22835 * config.make.in (have-as-needed): Remove variable.
22836
ceab42c3
SP
228372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
22838 Paul Pluzhnikov <ppluzhnikov@google.com>
22839
22840 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
22841 strings correctly.
22842
3ce2865f
CLT
228432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
22844
22845 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
22846 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
22847 * sysdeps/sh/strlen.S: Likewise.
22848
f37e0d68
JM
228492012-04-24 Joseph Myers <joseph@codesourcery.com>
22850
ae186e9a
JM
22851 * sysdeps/unix/fork.S: Remove file.
22852 * sysdeps/unix/i386/fork.S: Likewise.
22853 * sysdeps/unix/sparc/fork.S: Likewise.
22854
b96914af
JM
22855 * sysdeps/unix/system.c: Remove file.
22856 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
22857
f37e0d68
JM
22858 * sysdeps/unix/getegid.S: Remove file.
22859 * sysdeps/unix/geteuid.S: Likewise.
22860
87ef29ca
RM
228612012-04-24 Roland McGrath <roland@hack.frob.com>
22862
83bcd236
RM
22863 * scripts/check-localplt.awk: New file.
22864 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
22865 of diff.
22866 * scripts/data/localplt-generic.data: Add a comment.
22867
87ef29ca
RM
22868 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
22869 NODE when __dir_mkfile failed.
22870 * sysdeps/mach/hurd/symlinkat.c: Likewise.
22871 Reported by Ludovic Courtès <ludo@gnu.org>.
22872
e5a6e567
AJ
228732012-04-24 Andreas Jaeger <aj@suse.de>
22874
22875 * Makerules (common-clean): Also remove gen-as-const-headers
22876 files.
22877
c1820385
JM
228782012-04-24 Joseph Myers <joseph@codesourcery.com>
22879
22880 * Makerules (native-compile): Do not change working directory for
22881 build. Use $(OUTPUT_OPTION) in command.
22882 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
22883
94e02fc4
AZ
228842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22885
22886 [BZ #13886]
22887 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
22888 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
22889 * math/libm-test.inc (floor_test): Add more tests.
22890 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
22891
3a533ca3
JM
228922012-04-24 Joseph Myers <joseph@codesourcery.com>
22893
940ab4b3
JM
22894 * sysdeps/unix/getdents.c: Remove file.
22895 * sysdeps/unix/sysv/getdents.c: Likewise.
22896 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
22897
90e037bd
JM
22898 * sysdeps/unix/syscalls.list (madvise): Add syscall from
22899 sysdeps/unix/mman/syscalls.list.
22900 (mmap): Likewise.
22901 (mprotect): Likewise.
22902 (msync): Likewise.
22903 (munmap): Likewise.
22904 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
22905 * sysdeps/unix/mman/syscalls.list: Remove.
22906 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
22907
3a533ca3
JM
22908 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
22909 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
22910 * configure: Regenerated.
22911 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
22912 $(libgcc_s_suffix).
22913 * config.make.in (libgcc_s_suffix): Remove variable.
22914
1ad743de
JM
229152012-04-23 Joseph Myers <joseph@codesourcery.com>
22916
4ad451e2
JM
22917 * sysdeps/unix/sysv/gethostname.c: Move to ...
22918 * sysdeps/posix/gethostname.c: ... here.
22919
5e37ce39
JM
22920 * sysdeps/unix/execve.S: Remove file.
22921
1ad743de
JM
22922 * sysdeps/unix/_exit.S: Remove file.
22923
4e681b5b
AJ
229242012-04-23 Andreas Jaeger <aj@suse.de>
22925
22926 [BZ #13739]
22927 * manual/Makefile: Remove make dist support, there's no
22928 need for a stand-alone documentation tar ball.
22929 (TEXI2DVI): Define always, it's not in Makeconfig.
22930 (dist): Removed.
22931 (tar-it): Removed.
22932 (edition): Removed.
22933 (glibc-doc-$(edition).tar): Removed
22934 (%.Z): Removed.
22935 (%.gz): Removed.
22936 (%.uu): Removed.
22937 (ETAGS): Remove, it's in Makeconfig.
22938 (move-if-change): Remove, it's in Makeconfig.
22939
38686a03 229402012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
22941
22942 [BZ #13970]
22943 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
22944 (strtod, strtof, strtold, strtol, strtoul, strtoq)
22945 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
22946 (strtod_l, strtof_l, strtold_l): Remove __wur.
22947 It is not necessarily an error to ignore strtol's return value.
22948 One can reliably look at the stored endptr to decide whether
22949 the number had valid syntax.
22950
7c0616fa
AJ
229512012-04-21 Andreas Jaeger <aj@suse.de>
22952
803cb6b7 22953 [BZ #13739]
7c0616fa
AJ
22954 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
22955
b0fe253f
JM
229562012-04-21 Joseph Myers <joseph@codesourcery.com>
22957
22958 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
22959 * sysdeps/unix/sysv/Versions: Remove file.
22960
8280f22d
MT
229612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
22962
22963 [BZ #13927]
22964 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22965
75ce411f 229662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
22967
22968 [BZ #7064]
22969 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
22970 version from __vm86.
22971
097d59fa
JM
229722012-04-20 Joseph Myers <joseph@codesourcery.com>
22973
a90f3bcb
JM
22974 * sysdeps/unix/common/lxstat.c: Remove file.
22975 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
22976
edc7ea78
JM
22977 * sysdeps/unix/sysv/Makefile: Remove file.
22978
cb78c221
JM
22979 * sysdeps/unix/sysv/direct.h: Remove file.
22980
efa6a45f
JM
22981 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
22982 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
22983 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
22984 * sysdeps/unix/sysv/bits/signum.h: Likewise.
22985 * sysdeps/unix/sysv/bits/stat.h: Likewise.
22986 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
22987 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
22988
9c9f2d0c
JM
22989 * sysdeps/unix/sysv/setrlimit.c: Remove file.
22990
4541c83b
JM
22991 * sysdeps/unix/xmknod.c: Remove file.
22992 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
22993
f5d153a0
JM
22994 * sysdeps/unix/sysv/settimeofday.c: Remove file.
22995
aa746595
JM
22996 * sysdeps/unix/sysv/i386/time.S: Remove file.
22997
cce5905e
JM
22998 * sysdeps/unix/fxstat.c: Remove file.
22999 * sysdeps/unix/xstat.c: Likewise.
23000 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
23001
37fa3841
JM
23002 * sysdeps/unix/sysv/sigaction.c: Remove file.
23003
ff1962a3
JM
23004 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
23005 (sysdep_headers): Remove variable.
23006 [termio.h not in sysdep_headers] (generated): Likewise.
23007 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
23008 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
23009 * sysdeps/unix/sysv/tcdrain.c: Likewise.
23010 * sysdeps/unix/sysv/tcflow.c: Likewise.
23011 * sysdeps/unix/sysv/tcflush.c: Likewise.
23012 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
23013 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
23014 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
23015 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
23016 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
23017
e7740d31
JM
23018 * sysdeps/unix/siglist.c: Remove file.
23019
ee06f18b
JM
23020 * sysdeps/unix/getppid.S: Remove file.
23021
097d59fa
JM
23022 * sysdeps/unix/mkdir.c: Remove file.
23023 * sysdeps/unix/rmdir.c: Likewise.
23024
ff3d51ec
AS
230252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
23026
23027 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
23028 ERR_MAX value.
23029 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
23030 errlist-compat value.
23031
50f81fd7
DM
230322012-04-18 David S. Miller <davem@davemloft.net>
23033
23034 * sysdeps/generic/memcopy.h (reg_char): Delete.
23035 * debug/strcat_chk.c: Use char, not reg_char.
23036 * debug/strcpy_chk.c: Likewise.
23037 * debug/strncat_chk.c: Likewise.
23038 * debug/strncpy_chk.c: Likewise.
23039 * string/memchr.c: Likewise.
23040 * string/memrchr.c: Likewise.
23041 * string/rawmemchr.c: Likewise.
23042 * string/strcat.c: Likewise.
23043 * string/strchr.c: Likewise.
23044 * string/strchrnul.c: Likewise.
23045 * string/strcmp.c: Likewise.
23046 * string/strcpy.c: Likewise.
23047 * string/strncat.c: Likewise.
23048 * string/strncmp.c: Likewise.
23049 * string/strncpy.c: Likewise.
23050
8ff41c46
WS
230512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23052
23053 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
23054 __builtin_memcopy is called when src and dest ranges are known to not
23055 overlap.
23056
6b652f46
WS
230572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23058
23059 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
23060 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
23061 fwd_align_merge macro call.
23062 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
23063 bwd_align_merge macro call.
23064 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23065
b282631e
WS
230662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
23067
23068 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
23069 bwd_align_merge macros.
23070 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
23071 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
23072 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
23073
95aa737c
DM
230742012-04-18 David S. Miller <davem@davemloft.net>
23075
23076 * sysdeps/sparc/sparc64/memcopy.h: Delete.
23077
7a99a614
AJ
230782012-04-18 Andreas Jaeger <aj@suse.de>
23079
23080 [BZ# 6794]
23081 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
23082 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
23083 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23084
23085 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
23086 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
23087 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23088
23089 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
23090 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
23091 Adjust for changed ldbl-128 files.
23092
23093 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
23094 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
23095 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
23096
e5270c23
DM
230972012-04-17 David S. Miller <davem@davemloft.net>
23098
23099 * sysdeps/sparc/sparc32/memcopy.h: Delete.
23100
fb5e92c9
AS
231012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
23102
23103 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
23104 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
23105 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
23106 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
23107 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
23108 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
23109
76da7265
AZ
231102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23111
23112 [BZ #6794]
23113 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
23114 * math/libm-test.inc: Add ilogb errno and exception tests.
23115 * math/w_ilogb.c: New file: ilogb wrapper.
23116 * math/w_ilogbf.c: New file: ilogbf wrapper.
23117 * math/w_ilogbl.c: New file: ilogbl wrapper.
23118 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
23119 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
23120 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
23121 exception being thrown with 0.0 as argument.
23122 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
23123 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
23124 exception being thrown with 0.0 as argument.
23125 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
23126 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23127 exception being thrown with 0.0 as argument.
23128 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
23129 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
23130 exception being thrown with 0.0 as argument.
23131 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
23132 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 23133 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
23134 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
23135 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
23136 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
23137 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
23138 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
23139 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
23140
0396e69d
PB
231412012-04-17 Petr Baudis <pasky@ucw.cz>
23142
23143 * include/sys/uio.h: Change __vector to __iovec to avoid clash
23144 with altivec.
23145
750b5926
MP
231462012-04-16 Marek Polacek <polacek@redhat.com>
23147
23148 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
23149
751728a1
MP
231502012-04-16 Marek Polacek <polacek@redhat.com>
23151
23152 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
23153 operands of fdivp instruction.
23154
34a27407
L
231552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23156
23157 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
23158 * elf/tst-auditmod3b.c: Likewise.
23159 * elf/tst-auditmod4b.c: Likewise.
23160 * elf/tst-auditmod5b.c: Likewise.
23161 * elf/tst-auditmod6b.c: Likewise.
23162 * elf/tst-auditmod6c.c: Likewise.
23163 * elf/tst-auditmod7b.c: Likewise.
23164 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
23165 * sysdeps/x86_64/preconfigure.in: Likewise.
23166 * sysdeps/x86_64/preconfigure: Regenerated.
23167
7e73e17d
L
231682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
23169
23170 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
23171 __ILP32__.
23172
c7a6ab72
AB
231732012-04-13 Antoine Balestrat <merkil33@gmail.com>
23174
23175 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23176 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
23177
a9e8e0e0
CL
231782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
23179
23180 [BZ #13973]
23181 * locale/iso-639.def: Fix gl language name. Spotted by
23182 Yaron Shahrabani.
23183
ec98af7d
RM
231842012-04-12 Roland McGrath <roland@hack.frob.com>
23185
23186 [BZ #2074]
23187 * libio/libio.h (__io_write_fn): Update comment.
23188
247c3ede
PB
231892012-04-12 Petr Baudis <pasky@ucw.cz>
23190
23191 [BZ #2074]
23192 * stdio.texi (Hook Functions): The user provided writer function
23193 is not allowed to return -1.
23194
55939d6d
DM
231952012-04-11 David S. Miller <davem@davemloft.net>
23196
23197 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23198
90020f5a
MF
231992012-04-11 Mike Frysinger <vapier@gentoo.org>
23200
23201 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
23202 Add a leading slash to rtkaio.
23203
288f9098
JM
232042012-04-11 Jim Meyering <meyering@redhat.com>
23205
90020f5a
MF
23206 [BZ #11959]
23207 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
23208 It is not necessarily an error to ignore fwrite's return
23209 value. One can reliably use ferror to test for errors after
23210 the fact.
288f9098 23211
4be2b570
L
232122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23213
23214 * bits/types.h (__snseconds_t): New type.
23215 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
23216
23217 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
23218 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23219 (__SNSECONDS_T_TYPE): Likewise.
23220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23221 (__SNSECONDS_T_TYPE): Likewise.
23222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23223 (__SNSECONDS_T_TYPE): Likewise.
23224
288f9098 232252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
23226
23227 [BZ #2636]
23228 * manual/time.texi (Processor Time): Return type of times is
23229 elapsed real time since an arbitrary point in the past.
23230 (CPU Time): Move CLK_TCK from here...
23231 (Processor Time): ...to here. Correct description.
23232 * manual/conf.texi (Constants for Sysconf): Correct description of
23233 _SC_CLK_TCK.
23234
d7dd4413
DM
232352012-04-10 David S. Miller <davem@davemloft.net>
23236
23237 [BZ #13967]
23238 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
23239 where the is a gap between DT_REL(A) and DT_JMPREL.
23240
b46068fc
L
232412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
23242
23243 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
23244 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23245 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23246
73d65cc3
SP
232472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23248
23249 * elf/dl-support.c (_dl_inhibit_cache): New variable.
23250 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
23251 (dl_main): Handle --inhibit-cache.
23252 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
23253 _dl_inhibit_cache.
23254 * elf/dl-load.c (_dl_map_object): Use it.
23255 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
23256
bcc8d661
JM
232572012-04-09 Joseph Myers <joseph@codesourcery.com>
23258
8f9a2fae
JM
23259 [BZ #13872]
23260 * sysdeps/i386/fpu/e_powl.S (p78): New object.
23261 (__ieee754_powl): Saturate large exponents rather than testing for
23262 overflow of y*log2(x).
23263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
23264 * math/libm-test.inc (pow_test): Do not permit spurious overflow
23265 exceptions.
23266
bcc8d661
JM
23267 [BZ #11521]
23268 * math/s_ctan.c: Include <float.h>.
23269 (__ctan): Avoid internal overflow or cancellation in calculating
23270 denominator.
23271 * math/s_ctanf.c: Likewise.
23272 * math/s_ctanl.c: Likewise.
23273 * math/s_ctanh.c: Likewise.
23274 * math/s_ctanhf.c: Likewise.
23275 * math/s_ctanhl.c: Likewise.
23276 * math/libm-test.inc (ctan_test): Add more tests.
23277 (ctanh_test): Likewise.
23278 * sysdeps/i386/fpu/libm-test-ulps: Update.
23279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23280
823fbbb4
AJ
232812012-04-09 Andreas Jaeger <aj@suse.de>
23282
03879793
AJ
23283 [BZ #6894]
23284 * manual/filesys.texi (Directory Entries): Mention that d_namlen
23285 is an optional BSD extension.
23286
823fbbb4
AJ
23287 [BZ #10254]
23288 * manual/stdio.texi (Opening Streams): Document additional fopen
23289 parameters.
23290
8de131cb
RM
232912012-04-09 Roland McGrath <roland@hack.frob.com>
23292
23293 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
23294 %eax without telling the compiler.
23295
c0ed9d7d
CD
232962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
23297
23298 [BZ # 13963]
23299 * manual/install.texi: Use sourceware.org.
23300
c483f6b4
JM
233012012-04-09 Joseph Myers <joseph@codesourcery.com>
23302
d7dd9453
JM
23303 [BZ #13873]
23304 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
23305 (__ieee754_pow): Generate overflow and underflow using huge*huge
23306 and tiny*tiny rather than just returning constant infinity or zero
23307 for large exponents.
23308 * math/libm-test.inc (pow_test): Require overflow exceptions for
23309 applicable cases of large exponents.
23310
c483f6b4
JM
23311 [BZ #706]
23312 * sysdeps/i386/fpu/e_pow.S (p10): New object.
23313 (__ieee754_pow): Use iterative multiplication algorithm only for
23314 integer exponents with absolute value below 1024. Check for odd
23315 integer exponents when using algorithm for real exponents.
23316 * math/libm-test.inc (pow_test): Add more tests.
23317 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23318
d2de7579
JM
233192012-04-08 Joseph Myers <joseph@codesourcery.com>
23320
23321 [BZ #13705]
23322 * math/libm-test.inc (exp_test): Do not allow overflow exception
23323 on underflow test.
23324
f77f1232
AJ
233252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
23326
23327 [BZ #13705]
23328 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
23329 instead of __kernel_standard_f.
23330
3884932b
MF
233312012-04-08 Mike Frysinger <vapier@gentoo.org>
23332
23333 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
23334 * sysdeps/x86_64/memset_chk.S: Likewise.
23335
54472e9c
AJ
233362012-04-08 Andreas Jaeger <aj@suse.de>
23337
6ab0fbfc
AJ
23338 [BZ #10153]
23339 * manual/startup.texi (Environment Access): Describe return value
23340 for putenv and setenv.
23341
61efba8c
AJ
23342 [BZ #6895]
23343 * manual/filesys.texi (Directory Entries): Add description for
23344 DT_LNK.
23345
95c3f29a
AJ
23346 [BZ #6890]
23347 * manual/filesys.texi (Directory Entries): Clarify that it's file
23348 system not operating system in the description of DT_UNKNOWN.
23349
54472e9c
AJ
23350 [BZ #6578]
23351 * manual/syslog.texi (closelog): Fix reference, it's openlog.
23352
624254b1
SC
233532012-04-08 Stephen Compall <s11@member.fsf.org>
23354
23355 [BZ #6649]
23356 * manual/llio.texi (Opening and Closing Files): Add cross
23357 reference to explain mode argument.
23358
1e4920e0
MF
233592012-04-07 Mike Frysinger <vapier@gentoo.org>
23360
23361 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
23362 * sysdeps/x86_64/memset_chk.S: Likewise.
23363
5ed848f3
DM
233642012-04-07 David S. Miller <davem@davemloft.net>
23365
23366 * elf/elf.h (R_SPARC_WDISP10): Define.
23367 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
23368 R_SPARC_SIZE32.
23369 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
23370 R_SPARC_SIZE64 and R_SPARC_H34.
23371
96154cd8
CD
233722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
23373
23374 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
23375 conditions and remove no longer applicable assertion.
23376
9904dc47
L
233772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23378
23379 * bits/byteswap.h: Include <features.h>.
23380 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
23381 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
23382
f8887d0a
L
233832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
23384
23385 * bits/byteswap.h (__bswap_16): Removed.
23386 Include <bits/byteswap-16.h> to get __bswap_16.
23387 * sysdeps/i386/bits/byteswap.h: Likewise.
23388 * sysdeps/s390/bits/byteswap.h: Likewise.
23389 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23390 * bits/byteswap-16.h: New file.
23391 * sysdeps/i386/bits/byteswap-16.h: Likewise.
23392 * sysdeps/s390/bits/byteswap-16.h: Likewise.
23393 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
23394 * string/Makefile (headers): Add bits/byteswap-16.h.
23395
62470f60
PP
233962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23397
23398 [BZ #13895]
23399 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
23400 extra indirection.
23401 * nss/Makefile (tests-static, tests): Add tst-nss-static.
23402 * nss/tst-nss-static.c: New.
23403
4dad7bab
RM
234042012-04-06 Robert Millan <rmh@gnu.org>
23405
23406 [BZ #6486]
23407 * manual/llio.texi (File Position Primitive): lseek
23408 refers to WHENCE when it really means OFFSET.
23409
e9142a17
AJ
234102012-04-06 Andreas Jaeger <aj@suse.de>
23411
2c040eff
AJ
23412 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
23413 strncmp declarations.
23414
e9142a17
AJ
23415 * abilist/libc.abilist: Add __poll and __ppoll.
23416
ff9f1c5f
DM
234172012-04-05 David S. Miller <davem@davemloft.net>
23418
dcd2ae90
DM
23419 * scripts/check-local-headers.sh: Accept a host triplet in the
23420 path matched by the exclude regexp.
23421
993eb054
DM
23422 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
23423 definition.
23424 * sysdeps/powerpc/powerpc32/dl-machine.h
23425 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
23426 * sysdeps/s390/s390-32/dl-machine.h
23427 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23428 * sysdeps/sparc/sparc32/dl-machine.h
23429 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23430 * sysdeps/sparc/sparc64/dl-machine.h
23431 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
23432
ff9f1c5f
DM
23433 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
23434 lazy binding.
48e2e132 23435 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
23436 undefined symbol errors.
23437
48e2e132 23438 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
23439 DT_NEEDED entries.
23440
e80d6f94
MM
234412012-04-05 Michael Matz <matz@suse.de>
23442
23443 [BZ #13592]
23444 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
23445
349fa79f
AJ
234462012-04-05 Andreas Jaeger <aj@suse.de>
23447
23448 [BZ #13908]
23449 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
23450 comment.
23451
f402708f
KK
234522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23453
23454 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
23455 which ROUND is no valid rounding mode.
23456
2ecccfc9
KK
234572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23458
23459 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
23460 read again.
23461 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
23462
8a53f50f
KK
234632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23464
23465 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
23466 an exception using FPU order intentionally.
23467
234682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
23469
23470 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
23471 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
23472 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
23473 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
23474
d653abb7
SJ
234752012-04-05 Simon Josefsson <simon@josefsson.org>
23476
23477 [BZ #12340]
23478 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
23479 EINVAL when BUFLEN is too smal.
23480
c3b1bf7d
TS
234812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
23482
23483 [BZ #13553]
23484 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
23485 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
23486
b1aa60f3
AJ
234872012-04-03 Andreas Jaeger <aj@suse.de>
23488
c3b1bf7d 23489 [BZ #13938]
67f60a26
AJ
23490 * manual/setjmp.texi (System V contexts): Fix sentence.
23491
b1aa60f3
AJ
23492 [BZ #13926]
23493 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
23494 New macro for this case.
23495 [!__GNUC__] (__bswap_64): New inline function for this case.
23496 * sysdeps/x86_64/bits/byteswap.h: Likewise.
23497 * bits/byteswap.h: Likewise.
23498 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
23499 ull, guard with __GLIBC_HAVE_LONG_LONG.
23500
23501 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
23502 __GLIBC_HAVE_LONG_LONG.
23503
23504 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
23505 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
23506
39c59c35
TMQMF
235072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23508
23509 [BZ #13691]
23510 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
23511 inptr and inend, rather than using last_ch.
23512
135ffda8
DM
235132012-04-02 David S. Miller <davem@davemloft.net>
23514
23515 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
23516 * stdio-common/printf-parse.h (read_int): Change return type to
23517 'int', return -1 on INT_MAX overflow.
23518 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
23519 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
23520 overflows INT_MAX. Check for overflow of in-format-string precision
23521 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
23522 SIZE_MAX not INT_MAX for integer overflow test.
23523 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
23524 skip the construct in the format string but do not record anything.
23525 * stdio-common/bug22.c: Adjust to test both width/prevision
23526 INT_MAX overflow as well as total length INT_MAX overflow. Check
23527 explicitly for proper errno values.
23528
228c019e
TS
235292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
23530
302cadd3
TS
23531 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
23532 CHAR_MAX.
23533 * string/test-strcmp.c [! WIDE]: Likewise.
23534 * time/tst-mktime2.c: Likewise for INT_MAX.
23535 * string/test-string.h: #include <sys/param.h> for MIN.
23536
228c019e
TS
23537 * csu/init-first.c (__libc_init_first): Call __ctype_init.
23538 * sysdeps/i386/init-first.c (init): Likewise.
23539 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
23540 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
23541 * sysdeps/sh/init-first.c (init): Likewise.
23542
cfa633f5
UD
235432012-04-01 Ulrich Drepper <drepper@gmail.com>
23544
23545 * po/ru.po: Update from translation team.
d1635ef8 23546 * po/vi.po: Likewise.
cfa633f5 23547
6cd0a5ea
SP
235482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
23549
23550 * resolv/nss_dns/dns-host.c: Merge copyright years.
23551
4b43400f
LD
235522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23553
23554 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
23555 Optimize memcpy with prefetch if
23556 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
23557 src, dst pointers have unequal 16 byte alignments.
23558
48c41d04
SP
235592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23560
23561 [BZ #13928]
23562 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
23563 from a CNAME entry and return the minimum ttl for the query.
23564 (gaih_getanswer_slice): Likewise.
23565
b8dc394d
JL
235662012-03-30 Jeff Law <law@redhat.com>
23567
23568 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
23569 due to long keys.
23570 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
23571 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
23572
2f5a5ed0
JL
23573 * resolv/nss_dns/dns-host.c: Update copyright year.
23574
1d39e359
UD
235752012-03-30 Ulrich Drepper <drepper@gmail.com>
23576
c030f70c 23577 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 23578 requests to save a system call. Fix check that all bytes are sent.
c030f70c 23579
1d39e359
UD
23580 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
23581 comments for sendmmsg.
23582
235832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
23584
23585 [BZ #13691]
23586 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
23587 with only 1 character between 0x0041 and 0x01b0.
23588 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
23589 * wcsmbs/tst-mbsnrtowcs.c: New file.
23590
20fde227
DM
235912012-03-29 David S. Miller <davem@davemloft.net>
23592
23593 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
23594 small copies by hand.
23595
984a4237
JL
235962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23597
23598 [BZ #13761]
23599 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
23600 _nss_compat_initgroups_dyn): Fall back to malloc/free
23601 for large group memberships.
23602
18c9d62b
DM
236032012-03-28 David S. Miller <davem@davemloft.net>
23604
88d85d4f
DM
23605 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
23606 that branches into memcpy.
23607 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
23608 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
23609 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
23610 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
23611 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
23612 bits.
23613 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
23614 implementation too.
23615 * sysdeps/sparc/mempcpy.S: New file.
23616
e5aa83e1
DM
23617 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
23618 the IFUNC routine in the libc case.
23619 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23620
88570753
DM
23621 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
23622 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
23623 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
23624 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
23625 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
23626 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
23627 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
23628 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
23629
249d7567
DM
23630 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
23631 loop to 256 bytes instead of 64 bytes and fix test signedness.
23632
18c9d62b
DM
23633 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
23634 * sysdeps/sparc/sparc32/Makefile: rather than here...
23635 * sysdeps/sparc/sparc64/Makefile: and here.
23636
05f3d1f6
UD
236372012-03-28 Ulrich Drepper <drepper@gmail.com>
23638
23639 * malloc/mallocbug.c: Avoid warnings about unused variables.
23640
86ae07a8
JL
236412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23642
23643 [BZ #13760]
23644 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
23645 in the right place. Discard and retry query if response is
23646 larger than input buffer size.
23647
41bf21a1
JM
236482012-03-28 Joseph Myers <joseph@codesourcery.com>
23649
d6270972
JM
23650 [BZ #369]
23651 [BZ #2678]
23652 [BZ #3866]
23653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
23654 x for large integer exponent.
23655 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23656 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
23657 sign of result as needed afterwards.
23658 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
23660 result for underflowing pow the same as for overflow.
23661 (__kernel_standard_l): Handle powl overflow and underflow here
23662 rather than calling __kernel_standard.
23663 * math/libm-test.inc (pow_test): Add more tests.
23664
414fca03 23665 [BZ #3868]
41bf21a1
JM
23666 [BZ #13879]
23667 [BZ #13910]
23668 [BZ #13911]
23669 [BZ #13912]
23670 [BZ #13913]
23671 [BZ #13915]
23672 [BZ #13916]
23673 [BZ #13917]
23674 [BZ #13918]
23675 [BZ #13919]
23676 [BZ #13920]
23677 [BZ #13921]
23678 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
23679 * sysdeps/ieee754/k_standard.c: Include <float.h>.
23680 (__kernel_standard_l): New function.
23681 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
23682 __kernel_standard.
23683 * math/w_acosl.c (__acosl): Likewise.
23684 * math/w_asinl.c (__asinl): Likewise.
23685 * math/w_atan2l.c (__atan2l): Likewise.
23686 * math/w_atanhl.c (__atanhl): Likewise.
23687 * math/w_coshl.c (__coshl): Likewise.
23688 * math/w_exp10l.c (__exp10l): Likewise.
23689 * math/w_exp2l.c (__exp2l): Likewise.
23690 * math/w_fmodl.c (__fmodl): Likewise.
23691 * math/w_hypotl.c (__hypotl): Likewise.
23692 * math/w_j0l.c (__j0l, __y0l): Likewise.
23693 * math/w_j1l.c (__j1l, __y1l): Likewise.
23694 * math/w_jnl.c (__jnl, __ynl): Likewise.
23695 * math/w_lgammal.c (__lgammal): Likewise.
23696 * math/w_log10l.c (__log10l): Likewise.
23697 * math/w_log2l.c (__log2l): Likewise.
23698 * math/w_logl.c (__logl): Likewise.
23699 * math/w_powl.c (__powl): Likewise.
23700 * math/w_remainderl.c (__remainderl): Likewise.
23701 * math/w_scalbl.c (sysv_scalbl): Likewise.
23702 * math/w_sinhl.c (__sinhl): Likewise.
23703 * math/w_sqrtl.c (__sqrtl): Likewise.
23704 * math/w_tgammal.c (__tgammal): Likewise.
23705 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
23706 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
23707 * math/libm-test.inc (acos_test): Add more tests.
23708 (acosh_test): Likewise.
23709 (asin_test): Likewise.
23710 (atanh_test): Likewise.
23711 (exp_test): Likewise.
23712 (exp10_test): Likewise.
23713 (exp2_test): Likewise.
23714 (expm1_test): Likewise.
23715 (lgamma_test): Likewise.
23716 (log_test): Likewise.
23717 (log10_test): Likewise.
23718 (log1p_test): Likewise.
23719 (log2_test): Likewise.
23720 (pow_test): Do not allow some spurious overflow exceptions.
23721 (sqrt_test): Add more tests.
23722 (tgamma_test): Likewise.
23723 (y0_test): Likewise.
23724 (y1_test): Likewise.
23725 (yn_test): Likewise.
23726
dd62fda6
AB
237272012-03-27 Anton Blanchard <anton@samba.org>
23728
23729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
23730 MAP_HUGETLB.
23731 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
23732 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
23733 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
23734
1e3cdfda
AJ
237352012-03-27 David S. Miller <davem@davemloft.net>
23736
b855ab85
DM
23737 * conform/Makefile: Run run-conformtest.sh using $(BASH).
23738
1e3cdfda
AJ
23739 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
23740 have-as-vis3 check.
23741
237422012-03-27 Andreas Jaeger <aj@suse.de>
23743
23744 * sysdeps/x86_64/elf/configure.in: Moved to ...
23745 * sysdeps/x86_64/configure.in: ... here.
23746 * sysdeps/x86_64/elf/start.S: Moved to ...
23747 * sysdeps/x86_64/start.S: ... here.
23748 * sysdeps/x86_64/elf/configure: Delete.
23749
23750 * sysdeps/x86_64/configure.in: Merge contents from
23751 sysdeps/i386/configure.in (without i686 check).
23752
23753 * sysdeps/i386/elf/Versions: Merge into ...
23754 * sysdeps/i386/Versions: ... this.
23755 * sysdeps/i386/elf/Versions: Delete file.
23756 * sysdeps/i386/elf/start.S: Moved to ...
23757 * sysdeps/i386/start.S: ...here.
23758 * sysdeps/i386/elf/configure.in: Merge into...
23759 * sysdeps/i386/configure.in: ...here.
23760 * sysdeps/i386/elf/configure.in: Delete file.
23761 * sysdeps/i386/elf/configure: Delete file.
23762
23763 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
23764 * debug/backtracesyms.c: ... here.
23765 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
23766 * debug/backtracesymsfd.c: ... here.
23767 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
23768 * sysdeps/generic/ifunc-sel.h: ... here.
23769
23770 * sysdeps/unix/i386/start.c: Delete file.
23771 * sysdeps/unix/sparc/start.c: Delete file.
23772 * sysdeps/unix/start.c: Delete file.
23773
23774 * sysdeps/sh/elf/configure.in: Moved to ...
23775 * sysdeps/sh/configure.in: ... here.
23776 * sysdeps/sh/elf/start.S: Moved to ...
23777 * sysdeps/sh/start.S: ... here.
23778 * sysdeps/sh/elf/configure: Delete file.
23779
23780 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
23781 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
23782 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
23783 * sysdeps/powerpc/powerpc64/entry.h: ... here.
23784 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
23785 * sysdeps/powerpc/powerpc64/start.S: here.
23786 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
23787 * sysdeps/powerpc/powerpc64/Makefile: ... this.
23788 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
23789 * sysdeps/powerpc/powerpc64/configure.in: ... this.
23790 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
23791
23792 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
23793 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
23794 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
23795 * sysdeps/powerpc/powerpc32/start.S: ... here.
23796 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
23797 * sysdeps/powerpc/powerpc32/configure.in: ... this.
23798 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
23799
23800 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
23801 * sysdeps/powerpc/ifunc-sel.h: ... here.
23802 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
23803 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
23804
23805 * sysdeps/sparc/elf/configure.in: Moved to ...
23806 * sysdeps/sparc/configure.in: ... here.
23807 * sysdeps/sparc/elf/configure: Delete file.
23808 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
23809 * sysdeps/sparc/sparc32/start.S: ... here.
23810 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
23811 * sysdeps/sparc/sparc64/start.S: ... here.
23812 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
23813 * sysdeps/sparc/sparc32/Makefile: ... this.
23814 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
23815 * sysdeps/sparc/sparc64/Makefile: ... this.
23816
23817 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
23818 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
23819 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
23820 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
23821 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
23822 * sysdeps/s390/s390-32/setjmp.S: ... here.
23823 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
23824 * sysdeps/s390/s390-32/configure.in: ... here.
23825 * sysdeps/s390/s390-32/elf/configure: Delete file.
23826 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
23827 * sysdeps/s390/s390-32/start.S: ... here.
23828
23829 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
23830 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
23831 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
23832 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
23833 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
23834 * sysdeps/s390/s390-64/setjmp.S: ... here.
23835 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
23836 * sysdeps/s390/s390-64/configure.in: ... here
23837 * sysdeps/s390/s390-64/elf/configure: Delete file.
23838 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
23839 * sysdeps/s390/s390-64/start.S: ... here.
23840 * sysdeps/s390/s390-64/elf/configure: Delete.
23841
23842 * configure.in: Remove support for elf directories in sysdeps.
23843
23844 * configure: Regenerated.
23845 * sysdeps/i386/configure: Regenerated.
23846 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23847 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23848 * sysdeps/s390/s390-32/configure: Regenerated.
23849 * sysdeps/s390/s390-64/configure: Regenerated.
23850 * sysdeps/sh/configure: Regenerated.
23851 * sysdeps/sparc/configure: Regenerated.
23852 * sysdeps/x86_64/configure: Regenerated.
23853
a3f61311
AS
238542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
23855
c876e002
AS
23856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23857
a3f61311
AS
23858 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
23859 denormal result into account.
23860
ac4c54f0
RM
238612012-03-25 Roland McGrath <roland@hack.frob.com>
23862
23863 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
23864 Reported by Allan McRae <allan@archlinux.org>.
23865
6a9b9c02
JL
238662012-03-23 Jeff Law <law@redhat.com>
23867
23868 * nss/getnssent.c (__nss_getent): Fix typo.
23869
4c42a0c1
DM
238702012-03-23 David S. Miller <davem@davemloft.net>
23871
23872 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23873
1532c7ac
L
238742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
23875
23876 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
23877 to pad to uint64_t for each field.
23878 (dl_tls_index): Replace unsigned long with uint64_t.
23879
3ff42526
PP
238802012-03-23 Daniel Jacobowitz <dmj@google.com>
23881 Paul Pluzhnikov <ppluzhnikov@google.com>
23882
23883 [BZ #6528]
23884 * grp/Makefile (otherlibs): Don't set it.
23885 * inet/Makefile (otherlibs): Likewise.
23886 * login/Makefile (otherlibs): Likewise.
23887 * nscd/Makefile (otherlibs): Likewise.
23888 * posix/Makefile (otherlibs): Likewise.
23889 * pwd/Makefile (otherlibs): Likewise.
23890 * rt/Makefile (otherlibs): Likewise.
23891 * sunrpc/Makefile (otherlibs): Likewise.
23892 * nss/Makefile (otherlibs): Likewise.
23893 Add libnss_files to routines and static-only-routines.
23894 ($(objpfx)getent): Remove rule.
23895 * resolv/Makefile: Add libnss_dns and libresolv to routines and
23896 static-only-routines.
23897
7c69cd14
JM
238982012-03-22 Joseph Myers <joseph@codesourcery.com>
23899
23900 [BZ #13892]
23901 * math/s_cexp.c: Include <float.h>.
23902 (__cexp): Handle exp result overflowing not necessarily
23903 overflowing both real and imaginary parts of result.
23904 * math/s_cexpf.c: Likewise.
23905 * math/s_cexpl.c: Likewise.
23906 * math/libm-test.inc (cexp_test): Add more tests.
23907 * sysdeps/i386/fpu/libm-test-ulps: Update.
23908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23909
81b035fe
L
239102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23911
23912 * include/link.h (ELFW): New macro.
23913 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
23914 Replace ELF64_R_TYPE with ELFW(R_TYPE).
23915
1da7940c
L
239162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23917
23918 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
23919 with uint64_t.
23920
b749dbb9
L
239212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23922
23923 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
23924 declaration.
23925 (struct La_x32_retval): Likewise.
23926
2ff87f3f
L
239272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
23928
23929 * sysdeps/x86_64/preconfigure.in: New file.
23930 * sysdeps/x86_64/preconfigure: New generated file.
23931
c0df8e69
JM
239322012-03-22 Joseph Myers <joseph@codesourcery.com>
23933
48e44791
JM
23934 [BZ #13824]
23935 * math/e_exp2l.c: Include <float.h>.
23936 (__ieee754_exp2l): Handle overflow and underflow cases
23937 separately. Only pass fractional part of argument to
23938 __ieee754_expl.
23939 * math/libm-test.inc (exp2_test): Add more tests.
23940
c0df8e69
JM
23941 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
23942 negating x to take absolute value.
23943 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
23944 Likewise.
23945 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23946 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
23947 Likewise.
23948 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
23949 computing low part if x was negated.
23950 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23951
c8e43ba7
L
239522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23953
23954 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
23955 la_x32_gnu_pltexit.
23956 (pltexit): Cast int_retval to ptrdiff_t.
23957 * elf/tst-auditmod3b.c: Likewise.
23958 * elf/tst-auditmod4b.c: Likewise.
23959 * elf/tst-auditmod5b.c: Likewise.
23960 * elf/tst-auditmod6b.c: Likewise.
23961 * elf/tst-auditmod6c.c: Likewise.
23962 * elf/tst-auditmod7b.c: Likewise.
23963
23964 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
23965 and x32_gnu_pltexit.
23966
23967 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
23968 __ELF_NATIVE_CLASS.
23969 (La_x32_regs): New macro.
23970 (La_x32_retval): Likewise.
23971 (la_x32_gnu_pltenter): New function prototype.
23972 (la_x32_gnu_pltexit): Likewise.
23973
7998fa78
AS
239742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
23975
dcb33988
AS
23976 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
23977 exponent.
23978
233fc563
AS
23979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23980
7998fa78
AS
23981 * configure.in (libc_cv_cc_nofma): Check for option to disable
23982 generation of FMA instructions.
23983 * configure: Regenerate.
23984 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
23985 * sysdeps/ieee754/dbl-64/Makefile: New file.
23986 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
23987 Remove brandred-fma4.
23988 (CFLAGS-brandred-fma4.c): Remove.
23989 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
23990 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
23991 define.
23992 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
23993 define.
23994
8e95c99a
L
239952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
23996
23997 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
23998 LLONG_MAX != LONG_MAX.
23999 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24000 (_fitoa_word): Likewise.
24001 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
24002 LLONG_MAX != LONG_MAX.
24003 * stdio-common/_itowa.h: Include <_itoa.h>.
24004 (_itowa_word): Use _ITOA_WORD_TYPE on value.
24005 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
24006 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
24007 only if not defined.
24008 (_ITOA_WORD_TYPE): Likewise.
24009 (_itoa_word): Use _ITOA_WORD_TYPE on value.
24010 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
24011
6f4db457
DM
240122012-03-21 David S. Miller <davem@davemloft.net>
24013
24014 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24015
7785fe5a
L
240162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
24017
24018 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
24019 of x86_64 when setting libc_cv_slibdir, libdir and
24020 libc_cv_localedir.
24021 * sysdeps/unix/sysv/linux/configure: Regenerated.
24022
4535cd55
JM
240232012-03-21 Joseph Myers <joseph@codesourcery.com>
24024
24025 * manual/lang.texi (Old Varargs): Remove section.
24026 (How Variadic): Update menu.
24027 (va_start): Do not mention varargs.h.
24028
17228132
TS
240292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24030 Joseph Myers <joseph@codesourcery.com>
24031
24032 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
24033 link test.
24034 * configure: Regenerated.
24035
8149f976
TS
240362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
24037
05f3d1f6
UD
24038 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
24039 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
24040 conformtest.pl
8149f976 24041
1a4ac776
JM
240422012-03-21 Joseph Myers <joseph@codesourcery.com>
24043
be22ce65
JM
24044 * NOTES: Remove.
24045 * Makefile (files-for-dist): Remove NOTES.
24046 (NOTES): Remove rule.
24047 * README: Don't refer to NOTES.
24048 * manual/creature.texi: Don't include macros.texi.
24049 * manual/intro.texi (creature.texi): Remove comment referring to
24050 NOTES.
24051
40b601fb
JM
24052 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
24053 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
24054 * configure: Regenerated.
24055 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
24056 LIBC_TRY_CC_OPTION.
24057 (libc_cv_as_i686): Likewise.
24058 (libc_cv_cc_avx): Likewise.
24059 (libc_cv_cc_sse2avx): Likewise.
24060 (libc_cv_cc_fma4): Likewise.
24061 (libc_cv_cc_novzeroupper): Likewise.
24062 * sysdeps/i386/configure: Regenerated.
24063
1a4ac776
JM
24064 [BZ #13883]
24065 * sysdeps/i386/fpu/s_cexp.S: Remove.
24066 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24067 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24068 * math/libm-test.inc (cexp_test): Add more tests.
24069 * sysdeps/i386/fpu/libm-test-ulps: Update.
24070 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24071
a458e7fe
AM
240722012-03-21 Allan McRae <allan@archlinux.org>
24073
24074 * timezone/Makefile: Do not install iso3166.tab and zone.tab
24075
0cb7efc5
JM
240762012-03-21 Joseph Myers <joseph@codesourcery.com>
24077
24078 [BZ #13871]
24079 * math/w_exp2.c: Do not include <float.h>.
24080 (o_threshold, u_threshold): Remove.
24081 (__exp2): Calculate result before checking finiteness and calling
24082 __kernel_standard.
24083 * math/w_exp2f.c: Likewise.
24084 * math/w_exp2l.c: Likewise.
24085 * math/libm-test.inc (exp2_test): Require overflow exception for
24086 1e6 input.
2460d3aa
JM
24087
24088 [BZ #3866]
24089 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
24090 range of signed 64-bit integers before using fistpll. Remove
24091 checks for whether integers fit in mantissa bits.
24092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
24093 the range of signed 32-bit integers before using fistpl. Remove
24094 checks for whether integers fit in mantissa bits.
24095 * sysdeps/i386/fpu/e_powl.S (p64): New object.
24096 (__ieee754_powl): Test for y outside the range of signed 64-bit
24097 integers before using fistpll. Reduce 64-bit values to 63-bit
24098 ones as needed.
24099 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
24100 divide-by-zero is raised for zero to large negative powers.
24101 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
24102 (__ieee754_powl): Test for y outside the range of signed 64-bit
24103 integers before using fistpll. Reduce 64-bit values to 63-bit
24104 ones as needed.
24105 * math/libm-test.inc (pow_test): Add more tests.
24106
eb96ffb0
L
241072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24108
24109 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
24110 <stdio-common/_itoa.h>.
24111 * debug/segfault.c: Likewise.
24112 * elf/dl-cache.c: Likewise.
24113 * elf/dl-minimal.c: Likewise.
24114 * elf/dl-misc.c: Likewise.
24115 * elf/dl-sysdep.c: Likewise.
24116 * elf/dl-version.c: Likewise.
24117 * elf/rtld.c: Likewise.
24118 * hurd/hurdsock.c: Likewise.
24119 * hurd/lookup-retry.c: Likewise.
24120 * malloc/malloc.c: Likewise.
24121 * malloc/mtrace.c: Likewise.
24122 * nscd/nscd_getgr_r.c: Likewise.
24123 * nscd/nscd_getpw_r.c: Likewise.
24124 * nscd/nscd_getserv_r.c: Likewise.
24125 * posix/getopt_init.c: Likewise.
24126 * posix/wordexp.c: Likewise.
24127 * stdio-common/_itoa.c: Likewise.
24128 * stdio-common/printf_fphex.c: Likewise.
24129 * stdio-common/vfprintf.c: Likewise.
24130 * string/_strerror.c: Likewise.
24131 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
24132 * sysdeps/i386/i686/hp-timing.h: Likewise.
24133 * sysdeps/mach/_strerror.c: Likewise.
24134 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
24135 * sysdeps/mach/hurd/sethostid.c: Likewise.
24136 * sysdeps/mach/hurd/xmknodat.c: Likewise.
24137 * sysdeps/mach/xpg-strerror.c: Likewise.
24138 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24139 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24140 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
24141 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
24142 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24143 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
24144 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
24145 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
24146 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
24147 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
24148 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
24149 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24150 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24152 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24153 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
24154 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
24155 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
24156 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
24157 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
24158 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
24159
24160 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
24161
24162 * stdio-common/_itoa.h: Moved to ...
24163 * sysdeps/generic/_itoa.h: Here.
24164
24165 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
24166
24167 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
24168 instead of "_itoa.h" and "_itowa.h".
24169 * stdio-common/vfprintf.: Likewise.
24170
d1af992d
L
241712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24172
24173 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
24174 <bits/wordsize.h>.
24175 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
24176 (__signbit): Likwise.
24177 (llrintf): Likwise.
24178 (llrint): Likwise.
24179
114883e0
L
241802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
24181
24182 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
24183 __WORDSIZE != 64.
24184
c135cc1b
JM
241852012-03-20 Joseph Myers <joseph@codesourcery.com>
24186
24187 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
24188 OVERFLOW_EXCEPTION_OK.
24189 * math/libm-test.inc ("Philosophy"): Update comment about
24190 exception testing.
24191 (OVERFLOW_EXCEPTION): Define.
24192 (OVERFLOW_EXCEPTION_OK): Likewise.
24193 (INVALID_EXCEPTION_OK): Renumber.
24194 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24195 (IGNORE_ZERO_INF_SIGN): Likewise.
24196 (test_exceptions): Handle FE_OVERFLOW.
24197 (exp10_test): Expect overflow exceptions.
24198 (exp2_test): Likewise.
24199 (expm1_test): Likewise.
24200 (nextafter_test): Likewise.
24201 (pow_test): Likewise.
24202 (scalbn_test): Likewise.
24203 (scalbln_test): Likewise.
24204
95443d88
L
242052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24206
24207 * sysdeps/x86_64/bits/atomic.h
24208 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
24209 64bit integer.
24210 (atomic_exchange_acq): Likewise.
24211 (__arch_exchange_and_add_body): Likewise.
24212 (__arch_add_body): Likewise.
24213 (atomic_add_negative): Likewise.
24214 (atomic_add_zero): Likewise.
24215
490df6c4
L
242162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24217
c2722551 24218 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
24219 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
24220
5e52b189
L
242212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24222
24223 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
24224 Check __x86_64__ instead of __WORDSIZE.
24225
a9879d4c
L
242262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24227
24228 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
24229
5df98260
DM
242302012-03-19 David S. Miller <davem@davemloft.net>
24231
e1497744
DM
24232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24233
5df98260
DM
24234 * sysdeps/sparc/fpu/fenv_private.h: New file.
24235 * sysdeps/sparc/fpu/math_private.h: Use it.
24236 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
24237 Remove.
24238 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
24239 (libc_feholdexcept_setroundl): Remove.
24240 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
24241 Remove.
24242 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
24243 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
24244
b4c35121
L
242452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24246
24247 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
24248 int64_t instead of long int.
24249 (INSERT_WORDS64): Likwise.
24250
56965fd7
L
242512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
24252
24253 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
24254 _Unwind_GetCFA return to _Unwind_Ptr first.
24255
83d1aec8
JM
242562012-03-19 Joseph Myers <joseph@codesourcery.com>
24257
1897ad44
JM
24258 [BZ #13629]
24259 * math/s_clog.c: Include <float.h>.
24260 (__clog): Scale large or subnormal inputs.
24261 * math/s_clogf.c: Likewise.
24262 * math/s_clogl.c: Likewise.
24263 * math/s_clog10.c: Include <float.h>.
24264 (M_LOG10_2): Define.
24265 (__clog10): Scale large or subnormal inputs.
24266 * math/s_clog10f.c: Likewise.
24267 * math/s_clog10l.c: Likewise.
24268 * math/libm-test.inc (clog_test): Add more tests.
24269 (clog10_test): Likewise.
24270 * sysdeps/i386/fpu/libm-test-ulps: Update.
24271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24272
7726d6a9
JM
24273 [BZ #11451]
24274 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
24275 x and y.
24276 * math/libm-test.inc (atan2_test): Add another test.
24277
83d1aec8
JM
24278 * Makerules (common-objdir-compile): Remove.
24279 * sysdeps/unix/Makefile (config-generated): Do not add
24280 $(unix-generated) to variable.
24281 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
24282 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
24283 Remove rule.
24284 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
24285 Likewise.
24286 [generic bits/local_lim.h] (before-compile): Do not append to
24287 variable.
24288 [generic bits/local_lim.h] (common-generated): Likewise.
24289 [generic sys/param.h] (before-compile): Do not append to variable.
24290 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
24291 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
24292 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
24293 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
24294 include.
24295 [generic sys/param.h] (sys/param.h-includes): Remove variable.
24296 [generic sys/param.h] (sys/param.h-includes): Remove rule.
24297 [generic sys/param.h] ($(addprefix
24298 $(common-objpfx),$(sys/param.h-includes))): Likewise.
24299 [generic sys/param.h] (common-generated): Do not append to
24300 variable.
24301 [generic sys/param.h] (sysdep_headers): Likewise.
24302 [generic bits/errno.h] (before-compile): Do not append to
24303 variable.
24304 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
24305 rule.
24306 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
24307 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
24308 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
24309 [generic bits/errno.h] (common-generated): Do not append to
24310 variable.
24311 [generic bits/ioctls.h] (before-compile): Do not append to
24312 variable.
24313 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
24314 rule.
24315 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
24316 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
24317 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
24318 rule.
24319 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
24320 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
24321 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
24322 [generic bits/ioctls.h] (common-generated): Do not append to
24323 variable.
24324 [generic sys/syscall.h] (syscall.h): Remove variable.
24325 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
24326 rule.
24327 [generic sys/syscall.h] (before-compile): Do not append to
24328 variable.
24329 [generic sys/syscall.h] (common-generated): Likewise.
24330 * sysdeps/unix/errnos-tmpl.c: Remove file.
24331 * sysdeps/unix/errnos.awk: Likewise.
24332 * sysdeps/unix/ioctls-tmpl.c: Likewise.
24333 * sysdeps/unix/ioctls.awk: Likewise.
24334 * sysdeps/unix/mk-local_lim.c: Likewise.
24335 * sysdeps/unix/snarf-ioctls: Likewise.
24336
4851a949
RH
243372012-03-19 Richard Henderson <rth@twiddle.net>
24338
bd37f2ee
RH
24339 * sysdeps/i386/fpu/fenv_private.h: New file.
24340 * sysdeps/i386/fpu/math_private.h: Use it.
24341 (math_opt_barrier, math_force_eval): Remove.
24342 (libc_feholdexcept_setround_53bit): Remove.
24343 (libc_feupdateenv_53bit): Remove.
24344 * sysdeps/x86_64/fpu/math_private.h: Likewise.
24345 (math_opt_barrier, math_force_eval): Remove.
24346 (libc_feholdexcept): Remove.
24347 (libc_feholdexcept_setround): Remove.
24348 (libc_fetestexcept, libc_fesetenv): Remove.
24349 (libc_feupdateenv_test): Remove.
24350 (libc_feupdateenv, libc_feholdsetround): Remove.
24351 (libc_feresetround): Remove.
24352
d0adc922
RH
24353 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
24354 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24355
0fe0f1f8
RH
24356 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
24357 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
24358 (libc_feupdateenv_testl): New.
24359 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
24360 (libc_feupdateenv_testf): New.
24361 (libc_feupdateenv): Use libc_feupdateenv_test.
24362 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
24363 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
24364
eb92c487
RH
24365 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
24366 (libc_feholdsetroundf, libc_feholdsetroundl): New.
24367 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
24368 (libc_feresetround_noex): New.
24369 (libc_feresetround_noexf): New.
24370 (libc_feresetround_noexl): New.
24371 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
24372 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
24373 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
24374 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
24375 SET_RESTORE_ROUND.
24376 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
24377 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
24378 (__cos): Likewise.
24379 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
24380 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
24381 SET_RESTORE_ROUND_NOEX.
24382 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
24383 SET_RESTORE_ROUND_NOEXF.
24384 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
24385 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
24386 (libc_feholdsetroundf): New.
24387 (libc_feresetround, libc_feresetroundf): New.
24388
7d2e8012
RH
24389 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
24390 (libc_feholdexcept_setround_53bit): Convert from macro to function.
24391 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
24392
b4dabbb4
RH
24393 * sysdeps/generic/math_private.h: Include <fenv.h>.
24394 (default_libc_feholdexcept): New.
24395 (default_libc_feholdexcept_setround): New.
24396 (default_libc_fesetenv, default_libc_feupdateenv): New.
24397 (libc_feholdexcept): Only define if undefined.
24398 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
24399 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
24400 (libc_feholdexcept_setroundl): Likewise.
24401 (libc_feholdexcept_setround_53bit): Likewise.
24402 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
24403 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
24404 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
24405 (libc_feupdateenv_53bit): Likewise.
24406 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
24407 (libc_feholdexcept): Convert from macro to inline function.
24408 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
24409 (libc_fesetenv, libc_feupdateenv): Likewise.
24410
4851a949
RH
24411 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
24412 not previously defined.
24413 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
24414 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
24415 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
24416 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
24417 * sysdeps/ieee754/flt-32/math_private.h: New file.
24418 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
24419 math_private.h below SET_FLOAT_WORD.
24420 (__isnan, __isinf_ns, __finite): Remove.
24421 (__isnanf, __isinf_nsf, __finitef): Remove.
24422
e79d442e
AS
244232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
24424
24425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24426
90b80344
DM
244272012-03-17 David S. Miller <davem@davemloft.net>
24428
24429 [BZ #6471]
24430 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
24431 for 2.16.
24432
edc21804
DM
244332012-03-16 David S. Miller <davem@davemloft.net>
24434
77e927af
DM
24435 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
24436 warnings.
24437
374976dd
DM
24438 [BZ #6471]
24439 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
24440 properly.
24441 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
24442 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
24443 sysdep_routines when subdir is sysvipc.
24444 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
24445 __getshmlba helper.
24446
edc21804
DM
24447 * sysdeps/sparc/fpu/libm-test/ulps: Update.
24448
473c3ef3
L
244492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24450
24451 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
24452 [__LP64__].
24453
eb0f39b6
L
244542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24455
24456 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
24457 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
24458 (__lround): Renamed to ...
24459 (__llround): This. Replace long int with long long int.
24460 Define lround functions as aliases of llround functions.
24461 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
24462
6b6cd74b
L
244632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24464
24465 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
24466 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
24467 adresses to uintptr_t. Replace "long int" and "unsigned long
24468 int" with "greg_t" on va_arg.
24469
f1a77b01
L
244702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24471
24472 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
24473 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
24474
24475 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
24476 Move e_machine check before EI_CLASS check. Handle x32
24477 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
24478 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
24479 SKIP_EM_IA_64 and include
24480 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
24481
24482 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
24483 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
24484 (add_system_dir): New macro.
24485
24486 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
24487 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
24488
11b90b9f
JM
244892012-03-16 Joseph Myers <joseph@codesourcery.com>
24490
c36e1d23
JM
24491 [BZ #2551]
24492 [BZ #2552]
24493 [BZ #2553]
24494 [BZ #2554]
24495 [BZ #2562]
24496 [BZ #2563]
24497 [BZ #2565]
24498 [BZ #2566]
24499 [BZ #2576]
24500 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
24501 (y0): Likewise.
24502 * math/w_j0f.c (j0f): Likewise.
24503 (y0f): Likewise.
24504 * math/w_j0l.c (__j0l): Likewise.
24505 (__y0l): Likewise.
24506 * math/w_j1.c (j1): Likewise.
24507 (y1): Likewise.
24508 * math/w_j1f.c (j1f): Likewise.
24509 (y1f): Likewise.
24510 * math/w_j1l.c (__j1l): Likewise.
24511 (__y1l): Likewise.
24512 * math/w_jn.c (jn): Likewise.
24513 (yn): Likewise.
24514 * math/w_jnf.c (jnf): Likewise.
24515 (ynf): Likewise.
24516 * math/w_jnl.c (__jnl): Likewise.
24517 (__ynl): Likewise.
24518 * math/libm-test.inc (j0_test): Add more tests.
24519 (j1_test): Likewise.
24520 (jn_test): Likewise. Add trailing semicolon to existing test.
24521 (y0_test): Likewise.
24522 (y1_test): Likewise.
24523 * sysdeps/i386/fpu/libm-test-ulps: Update.
24524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24525
11b90b9f
JM
24526 [BZ #13851]
24527 [BZ #13854]
24528 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
24529 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
24530 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
24531 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
24532 (__tanl): Set errno for infinite argument.
24533 * sysdeps/i386/fpu/mptan.c: Remove.
24534 * sysdeps/i386/fpu/s_tan.S: Likewise.
24535 * sysdeps/i386/fpu/s_tanl.S: Likewise.
24536 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
24537 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
24538 * math/libm-test.inc (tan_test): Add more tests and enable more
24539 tests for double and long double.
24540 * sysdeps/i386/fpu/libm-test-ulps: Update.
24541 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24542
6a1bd2a1
JK
245432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
24544
24545 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
24546 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
24547
10a803e0
RM
245482012-03-16 Roland McGrath <roland@hack.frob.com>
24549
24550 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
24551 * configure.in: Use it for both main tree and add-ons.
24552 * configure: Regenerated.
24553
f196c7f7
L
245542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
24555
24556 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
24557
8848d99d
JM
245582012-03-16 Joseph Myers <joseph@codesourcery.com>
24559
96cbe7f4
JM
24560 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
24561 in comment.
24562
8848d99d
JM
24563 [BZ #13851]
24564 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
24565 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
24566 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
24569 infinite argument.
24570 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
24571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
24572 != 0 for prec == 2.
24573 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
24574 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
24575 * sysdeps/i386/fpu/s_cosl.S: Likewise.
24576 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
24577 * sysdeps/i386/fpu/s_sinl.S: Likewise.
24578 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
24579 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
24580 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
24581 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
24582 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
24583 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
24584 * math/libm-test.inc (cos_test): Add more tests and enable more
24585 tests for long double.
24586 (sin_test): Likewise.
24587 (sincos_test): Likewise.
24588 * sysdeps/i386/fpu/libm-test-ulps: Update.
24589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24590
dd7f4703
DM
245912012-03-16 David S. Miller <davem@davemloft.net>
24592
24593 * sysdeps/sparc/fpu/math_private.h: New file.
24594
006f1daa
DM
245952012-03-15 David S. Miller <davem@davemloft.net>
24596
c0c83bc8
DM
24597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
24598 file.
e6a62e18 24599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
24600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
24601 file.
e6a62e18
DM
24602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
24603 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
24604 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
24605 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
24606 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
24607 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
24608 sysdep routines.
24609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24610
88cb87d9
DM
24611 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
24612 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
24613
006f1daa 24614 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
24615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
24616 sparc-ifunc.h
006f1daa 24617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
24618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
24619 Likewise.
24620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
24621 Likewise.
006f1daa
DM
24622 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
24623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
24624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
24625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
24626 Likewise.
006f1daa
DM
24627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
24629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
24631 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
24632 Likewise.
24633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
24634 Likewise.
006f1daa
DM
24635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24636 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
24637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
24638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
24639 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
24640 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
24641 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
24642 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
24643 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
24644 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
24645 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
24646 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
24647 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
24648 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
24649 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
24650 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
24651 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
24652 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
24653 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
24654 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
24655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
24656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
24657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
24658 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
24659
11e0098e
AS
246602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24661
24662 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
24663 scaling.
24664 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24665
e85b09d0
AJ
246662012-03-15 Andreas Jaeger <aj@suse.de>
24667
24668 [BZ #13852]
24669 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
24670 ieee754/flt-32 implementation for sin, cos and sincos.
24671 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
24672 * sysdeps/i386/fpu/s_cosf.S: Likewise.
24673 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
24674 * sysdeps/i386/fpu/s_sinf.S: Likewise.
24675 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
24676 ieee754/flt-32 implementation for tan.
24677
24678 * math/libm-test.inc (cos_test): Enable some large input tests for
24679 float as well
24680 (sin_test): Likewise.
24681 (sincos_test): Likewise.
24682 (tan_test): Add tests for large input.
24683
24684 * sysdeps/i386/fpu/libm-test-ulps: Update.
24685
81c64153
AJ
246862012-03-15 Andreas Jaeger <aj@suse.de>
24687
24688 [BZ #13658]
24689 * math/libm-test.inc (cos_test): Add more test cases.
24690 (sin_test): Likewise.
24691 (sincos_test): Likewise.
24692
7bbfa5c6
AJ
246932012-03-15 Andreas Jaeger <aj@suse.de>
24694
24695 [BZ #13837]
24696 * math/libm-test.inc (cos_test): Add a test case for large input
24697 value.
24698 (sin_test): Likewise.
24699 (sincos_test): Likewise.
24700
247012012-03-15 Andreas Jaeger <aj@suse.de>,
24702 Joseph Myers <joseph@codesourcery.com>
24703
24704 [BZ #13658]
0671f479 24705 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
24706 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
24707 * sysdeps/i386/fpu/branred.c: Likewise.
24708 * sysdeps/i386/fpu/dosincos.c: Likewise.
24709 * sysdeps/i386/fpu/mpa.c: Likewise.
24710 * sysdeps/i386/fpu/s_cos.S: Likewise.
24711 * sysdeps/i386/fpu/s_sin.S: Likewise.
24712 * sysdeps/i386/fpu/s_sincos.S: Likewise.
24713 * sysdeps/i386/fpu/sincos32.c: Likewise.
24714
24715 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
24716 Define.
24717 (libc_feupdateenv_53bit): Define.
24718 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
24719 Define.
24720 (libc_feupdateenv_53bit): Define.
24721
24722 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
24723 53 bit (without extend i386 double precision).
24724
24725 * math/libm-test.inc (sincos_test): Add tests for large input.
24726 (sin): Likewise.
24727 (cos): Likewise.
24728
24729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
24730
9cad04ea
AS
247312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
24732
24733 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24734
f7062b9a
DM
247352012-03-15 David S. Miller <davem@davemloft.net>
24736
24737 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
24738 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
24739 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
24740 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
24741 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
24742 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
24743 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
24744 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
24745 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
24746 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
24747 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
24748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
24749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
24750 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
24751 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
24752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
24753 file.
f7062b9a 24754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
24755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
24756 file.
f7062b9a 24757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
24758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
24759 file.
f7062b9a 24760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
24761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
24762 file.
f7062b9a
DM
24763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
24764 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
24765 fmin/fmax sysdep routines.
24766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
24767
7bd951ff
DM
247682012-03-14 David S. Miller <davem@davemloft.net>
24769
559398ab
DM
24770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
24771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
24772 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
24773 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
24774 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
24775 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
24776 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
24777 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
24778 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
24779 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
24780 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
24781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
24782 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
24783 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
24784 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
24785 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
24786 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
24787 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
24788 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
24789 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
24790 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
24791 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
24792 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
24793 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
24794 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
24795 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
24796 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
24797 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24798 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
24799 routines.
24800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
24801 file.
559398ab 24802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
24803 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
24804 file.
559398ab 24805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
24806 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
24807 file.
559398ab 24808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
24809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
24810 file.
559398ab 24811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
24812 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
24813 file.
559398ab 24814 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
24815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
24816 file.
24817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
24818 file.
24819 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
24820 file.
24821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
24822 file.
24823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
24824 New file.
24825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
24826 file.
24827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
24828 file.
559398ab 24829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
24830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
24831 file.
559398ab 24832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
24833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
24834 file.
559398ab 24835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
24836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
24837 file.
559398ab 24838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
24839 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
24840 VIS3 routines.
559398ab
DM
24841
24842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
24843 New file.
24844
5a1c1e32
DM
24845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24846
eae47a36
DM
24847 * sysdeps/sparc/configure.in: New file.
24848 * sysdeps/sparc/configure: Generate.
24849 * configure.in (libc_cv_sparc_as_vis3): Substitute.
24850 * configure: Regenerate.
24851 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
24852 * config.make.in (have-as-vis3): New.
24853 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
24854 available use -Av9d instead of -Av9a.
24855 * sysdeps/sparc/sparc64/Makefile: Likewise.
24856 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
24857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
24858 New file.
24859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
24860 file.
24861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
24862 New file.
24863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
24864 file.
eae47a36
DM
24865 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
24866 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
24867 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
24868 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
24869 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
24870
c0c83bc8
DM
24871 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
24872 fzeros/fnegs to load 0x80000000 into a float register instead of
24873 using the stack.
7bd951ff
DM
24874 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
24875
bd951ccb
JM
248762012-03-14 Joseph Myers <joseph@codesourcery.com>
24877
24878 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24879 bits/syscall.h.
24880 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
24881 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
24882 ($(inst_includedir)/bits/syscall.h): Remove rule.
24883 ($(objpfx)bits/syscall.d): Include instead of
24884 $(objpfx)syscall-list.d.
24885 (generated): Change syscall-list.h and syscall-list.d to
24886 bits/syscall.h and bits/syscall.d.
24887
bb4e6db2
RM
248882012-03-14 Roland McGrath <roland@hack.frob.com>
24889
24890 [BZ #13846]
24891 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
24892
aa4a2ae1
JM
248932012-03-14 Joseph Myers <joseph@codesourcery.com>
24894
e456826d
JM
24895 [BZ #13841]
24896 * math/s_csqrt.c: Include <float.h>.
24897 (__csqrt): Scale large or subnormal inputs.
24898 * math/s_csqrtf.c: Likewise.
24899 * math/s_csqrtl.c: Likewise.
24900 * math/libm-test.inc (csqrt_test): Add more tests.
24901 * sysdeps/i386/fpu/libm-test-ulps: Update.
24902 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24903
aa4a2ae1
JM
24904 [BZ #13840]
24905 * math/libm-test.inc (hypot_test): Add more tests.
24906
7c10fd35
DM
249072012-03-13 David S. Miller <davem@davemloft.net>
24908
24909 [BZ #13840]
24910 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
24911 double-precision for the calculation instead of scaling.
24912
f453b98b
JM
249132012-03-13 Joseph Myers <joseph@codesourcery.com>
24914
24915 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
24916 manipulate bits before adding and subtracting TWO52[sx].
24917 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
24918 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
24919 Likewise.
24920 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
24921
09a3453f
DM
249222012-03-13 David S. Miller <davem@davemloft.net>
24923
8e59da90
DM
24924 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
24925 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
24926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
24927 rtld-global-offsets.h
24928 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24929
2a8ab7f2
DM
24930 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
24931 large parameters.
24932
10f62770
DM
24933 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
24934
5f0bdb18
DM
24935 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
24936 'err' in the ifdef scope in which it is actually used.
24937
09a3453f
DM
24938 * nss/nss_db/db-init.c: Include string.h
24939
b4b2eb5e
DM
249402012-03-12 David S. Miller <davem@davemloft.net>
24941
98bb2f1c
DM
24942 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
24943 masking out of the most significant byte of random value used.
24944 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24945 Fix coding style in previous change.
24946
b4b2eb5e
DM
24947 * sysdeps/unix/sysv/linux/kernel-features.h
24948 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
24949 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
24950 expression.
24951 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
24952 later.
24953
6e226b09
DM
249542012-03-11 David S. Miller <davem@davemloft.net>
24955
a1bcbd40
DM
24956 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24957 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
24958 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
24959 for 'resultvar' otherwise things get truncated on 64-bit.
24960
cb9d6174
DM
24961 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
24962 Fix masking out of the most significant byte of random value used.
24963
6e226b09
DM
24964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24965
058c132d
AS
249662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
24967
24968 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24969
2d2cd515
DM
249702012-03-09 David S. Miller <davem@davemloft.net>
24971
24972 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
24973 variables with appropriate CPP guards.
24974 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
24975 frame pointer, not the stack pointer. Correct layout comments. Fix test
24976 on resulting framesize and the management of the outregs buffer for pltexit.
24977 Preserve floating point return values across _dl_call_pltexit call.
24978 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
24979 framesize and the management of the outregs buffer for pltexit.
24980 Preserve floating point return values across _dl_call_pltexit
24981 call.
24982 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
24983 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
24984 (print_exit): Fix format string for return register value.
24985
9a07f9d0
JM
249862012-03-10 Joseph Myers <joseph@codesourcery.com>
24987
24988 * sunrpc/Makefile (others): Add rpcgen.
24989 ($(objpfx)rpcgen): Remove special build rule and dependency on
24990 libc.
24991 * sunrpc/rpcgen.c: New file.
24992
547b5e30
PE
249932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
24994
c524201a
PE
24995 [BZ #13673]
24996 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
24997 * stdio-common/bug-vfprintf-nargs.c: Likewise.
24998 * sysdeps/i386/crti.S: Likewise.
24999 * sysdeps/i386/crtn.S: Likewise.
25000 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
25001 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
25002 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
25003 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
25004 * sysdeps/sh/crti.S: Likewise.
25005 * sysdeps/sh/crtn.S: Likewise.
25006 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25007
7b6235f2
PE
25008 [BZ #13673]
25009 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
25010 with URL.
25011 * locale/programs/locfile-kw.gperf: Likewise.
25012 * locale/programs/charmap-kw.h: Regenerated.
25013 * locale/programs/locfile-kw.h: Likewise.
25014
547b5e30
PE
25015 [BZ #13673]
25016 * intl/plural.y: Replace FSF snail mail address with URL.
25017 * intl/plural.c: Regenerated.
25018
5f0a5dae
RH
250192012-03-09 Richard Henderson <rth@twiddle.net>
25020
25021 * include/math_private.h: Remove file.
25022 * math/math_private.h: Move file ...
25023 * sysdeps/generic/math_private.h: ... here.
25024
b8c03620
RH
25025 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
25026 * sysdeps/powerpc/fpu/math_private.h: Likewise.
25027 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25028
4e234f5d 25029 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
25030 and <math_private.h>.
25031 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
25032 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
25033 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
25034 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
25035 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
25036 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
25037 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
25038 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
25039 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
25040 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
25041 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
25042 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
25043 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
25044 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
25045 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
25046 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
25047 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
25048 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25049 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
25050 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
25051 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
25052 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
25053 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
25054 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
25055 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
25056 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
25057 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
25058 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
25059 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
25060 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25061 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
25062 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
25063 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
25064 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
25065 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
25066 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25067 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25068 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
25069 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
25070 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
25071 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
25072 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
25073 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
25074 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25075 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
25076 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25077 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
25078 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
25079 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25080 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
25081 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
25082 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
25083 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
25084 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
25085 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
25086 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
25087 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
25088 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
25089 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
25090 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
25091 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
25092 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
25093 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
25094 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
25095 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
25096 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
25097 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
25098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
25099 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
25100 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
25101 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25102 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
25103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25104 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25105 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
25106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
25108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25109 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
25110 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
25111 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25112 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
25113 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25114 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
25115 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25116 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
25117 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
25118 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
25119 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
25120 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
25121 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
25122 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
25123 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
25124 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
25125 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
25126 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
25127 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
25128 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
25129 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
25130 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
25131 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
25132 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
25133 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
25134 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
25135 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25136 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
25137 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
25138 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
25139 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25140 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25141 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25142 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25143 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
25144 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25145 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
25146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
25147 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25148 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
25149 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25150 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
25151 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25152 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
25153 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
25154 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
25155 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25156 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
25157 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
25158 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
25159 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
25160 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
25161 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
25162 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
25163 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25164 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
25165 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
25166 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
25167 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
25168 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
25169 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
25170 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
25171 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
25172 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
25173 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
25174 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
25175 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
25176 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
25177 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
25178 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
25179 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
25180 * sysdeps/ieee754/k_standard.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
25184 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
25185 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
25186 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
25187 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
25188 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
25189 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
25190 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
25191 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
25192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
25193 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
25194 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
25195 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
25196 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
25197 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25198 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
25199 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
25200 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
25201 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
25202 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
25203 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25204 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
25205 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25206 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
25207 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
25208 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
25209 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
25210 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25211 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25212 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
25213 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
25214 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
25215 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25216 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
25217 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
25218 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
25219 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
25220 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
25221 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25222 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25223 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25224 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
25225 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25226 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25227 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
25228 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
25229 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
25230 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25231 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25232 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25233 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
25234 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
25235 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25236 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25237 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
25238 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
25239 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
25240 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
25241 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25242 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25243 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
25244 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
25245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
25246 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
25247 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
25248 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
25249 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
25250 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
25251 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
25252 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
25253 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
25254 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
25255 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
25256 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
25257 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
25258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
25259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25260 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25261 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25262 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25263 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
25264 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
25265 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
25266 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
25267 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
25268 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25269 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25270 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
25271 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
25272 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
25273 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
25274 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
25276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
25277 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
25278 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
25279 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
25280 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
25281 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
25282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
25283 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25284 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
25285 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
25286 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25287 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25288 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
25289 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
25290 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
25291 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
25292 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
25293 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
25294 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
25295 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
25296 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
25297 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
25298 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
25299 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
25300 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
25301 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
25302 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
25303 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25304 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
25305 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
25306 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
25307 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25308 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
25309 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
25310 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25311 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25312 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25313 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25314 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25315 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
25316 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
25317 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
25318 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25319 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25320 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
25321 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
25322 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25323 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
25324 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
25325 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
25326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25327 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25328 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
25329 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
25330 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
25331 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25332 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
25333 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
25334 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25335 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
25336 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
25337 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
25338 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
25339 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
25340 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25341 * sysdeps/ieee754/s_lib_version.c: Likewise.
25342 * sysdeps/ieee754/s_matherr.c: Likewise.
25343 * sysdeps/ieee754/s_signgam.c: Likewise.
25344 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25345 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25346 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
25347 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
25348 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
25349 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
25350 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
25351 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
25352 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
25353 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
25354 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25355 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
25356 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
25357 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
25358 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
25359 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
25360 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
25361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
25362 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
25363 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25364 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 25365
1991fa03
JM
253662012-03-09 Joseph Myers <joseph@codesourcery.com>
25367
25368 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
25369 * sunrpc/rpc_main.c: Likewise.
25370 * sunrpc/rpc_svcout.c: Likewise.
25371
60d6f5a6
DM
253722012-03-09 David S. Miller <davem@davemloft.net>
25373
25374 * include/math_private.h: New file.
25375
4962050e
JM
253762012-03-09 Joseph Myers <joseph@codesourcery.com>
25377
02a6f887
JM
25378 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
25379 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
25380 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
25381 from <bits/socket_type.h>.
25382 (enum __socket_type): Don't define here.
25383 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
25384 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
25385 bits/socket_type.h.
25386
c6e013c1
JM
25387 [BZ #13566]
25388 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
25389 checking __USE_GNU.
25390
4962050e
JM
25391 * Makerules ($(inst_includedir)/%.h): New rule.
25392 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
25393 (install-others): Remove variable setting.
25394 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
25395
38842f45
RH
253962012-03-08 Richard Henderson <rth@twiddle.net>
25397
67bb6da6
RH
25398 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
25399 from macro to inline function; merge with the
25400 !__LIBC_INTERNAL_MATH_INLINES version.
25401 (__ieee754_sqrtf): Likewise.
25402
15194b4b
RH
25403 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
25404 to inline function.
25405 (__rintf, __floor, __floorf): Likewise.
25406
64e21ede
RH
25407 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
25408 macro to inline function.
25409 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
25410
38842f45
RH
25411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
25412 not <math/math_private.h>.
25413
c64bf5fe
DM
254142012-03-08 David S. Miller <davem@davemloft.net>
25415
25416 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
25417 copyright year.
25418 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
25419
82d86f28
TS
254202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
25421
25422 * resolv/gai_misc.c (handle_requests): Fix struct timespec
25423 normalization.
25424 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
25425 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25426
aea5d727
UD
254272012-03-08 Ulrich Drepper <drepper@gmail.com>
25428
25429 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
25430 be defined individually, they must be defined as a block. Define
25431 S for printing a string instead of hidint the different by using a
25432 macro for adding the 'l'.
25433 * stdio-common/tst-fphex-wide.c: Adjust.
25434
70bca0a3
MP
254352012-03-07 Marek Polacek <polacek@redhat.com>
25436
25437 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
25438
65b81130
MP
254392012-03-08 Marek Polacek <polacek@redhat.com>
25440
25441 [BZ #13806]
25442 * stdio-common/Makefile (tests): Add tst-fphex-wide.
25443 * stdio-common/tst-fphex.c: Define a few macros to make the
25444 test reusable. Use them.
25445 * stdio-common/tst-fphex-wide.c: New file.
25446
07037eeb
JM
254472012-03-08 Joseph Myers <joseph@codesourcery.com>
25448
a7a93d50
JM
25449 [BZ #6911]
25450 * manual/macros.texi (gnusystems): New macro.
25451 (nongnusystems): Likewise.
25452 (gnulinuxhurdsystems): Likewise.
25453 (gnuhurdsystems): Likewise..
25454 (gnulinuxsystems): Likewise.
25455 * manual/charset.texi: Use new macros or @theglibc{} to refer to
25456 variants of the GNU system, not "GNU system".
25457 * manual/conf.texi: Likewise.
25458 * manual/errno.texi: Likewise. Update example of errno macro
25459 expansion.
25460 * manual/filesys.texi: Likewise.
25461 (getumask): Document as specific to GNU/Hurd.
25462 * manual/install.texi: Likewise. Reword some references to
25463 GNU/Linux.
25464 * manual/intro.texi: Likewise.
25465 * manual/io.texi: Likewise.
25466 (File Name Portability): Detail which constraints are inapplicable
25467 to all GNU systems and which are only inapplicable to GNU/Hurd.
25468 * manual/job.texi: Likewise.
25469 * manual/llio.texi: Likewise.
25470 (O_NOCTTY): Document as present on GNU/Linux.
25471 * manual/maint.texi: Likewise.
25472 * manual/memory.texi: Likewise.
25473 * manual/pattern.texi: Likewise.
25474 * manual/pipe.texi: Likewise.
25475 * manual/process.texi: Likewise.
25476 * manual/resource.texi: Likewise.
25477 (RUSAGE_CHILDREN): Remove statement about specifying a particular
25478 child on GNU/Hurd.
25479 * manual/setjmp.texi: Likewise.
25480 * manual/signal.texi: Likewise.
25481 * manual/startup.texi: Likewise.
25482 * manual/stdio.texi: Likewise.
25483 * manual/terminal.texi: Likewise.
25484 (ONLCR): Document as POSIX.
25485 (OXTABS): Document availability on GNU/Linux as XTABS.
25486 (ONOEOT): Document availability separately from other bits.
25487 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
25488 * manual/time.texi: Likewise.
25489 * manual/users.texi: Likewise.
25490 * INSTALL: Regenerated.
25491 * sysdeps/gnu/errlist.c: Regenerated.
25492
07037eeb
JM
25493 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
25494 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
25495 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
25496 puts.
25497 * configure: Regenerated.
25498
d1d3431a
JM
254992012-03-07 Joseph Myers <joseph@codesourcery.com>
25500
af6a1e37
JM
25501 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
25502 default includes instead of AC_HEADER_CHECK.
25503 * sysdeps/i386/configure: Regenerated.
25504
d1d3431a
JM
25505 [BZ #10716]
25506 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
25507 * math/s_cacoshf.c (__cacoshf): Likewise.
25508 * math/s_cacoshl.c (__cacoshl): Likewise.
25509 * math/s_casinh.c (__casinh): Set signs of result from argument.
25510 * math/s_casinhf.c (__casinhf): Likewise.
25511 * math/s_casinhl.c (__casinhl): Likewise.
25512 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
25513 (casinh_test): Add more tests.
25514 * sysdeps/i386/fpu/libm-test-ulps: Update.
25515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25516
482ff4da
UD
255172012-03-07 Ulrich Drepper <drepper@gmail.com>
25518
872fda05
UD
25519 * po/zh_TW.po: Update from translation team.
25520
a4300c7a
UD
25521 * login/Makefile (distribute): Remove variable.
25522 * catgets/Makefile: Likewise.
25523 * mach/Makefile: Likewise.
25524 * malloc/Makefile: Likewise.
25525 * misc/Makefile: Likewise.
25526 * iconv/Makefile: Likewise.
25527 * nscd/Makefile: Likewise.
25528 * hurd/Makefile: Likewise.
25529 * manual/Makefile: Likewise.
25530 * locale/Makefile: Likewise.
25531 * intl/Makefile: Likewise.
25532 * conform/Makefile: Likewise.
25533 * nss/Makefile: Likewise.
25534 * time/Makefile: Likewise.
25535 * soft-fp/Makefile: Likewise.
25536 * dirent/Makefile: Likewise.
25537 * gmon/Makefile: Likewise.
25538 * po/Makefile: Likewise.
25539 * rt/Makefile: Likewise.
25540 * socket/Makefile: Likewise.
25541 * math/Makefile: Likewise.
25542 * signal/Makefile: Likewise.
25543 * debug/Makefile: Likewise.
25544 * elf/Makefile: Likewise.
25545 * timezone/Makefile: Likewise.
25546 * stdlib/Makefile: Likewise.
25547 * iconvdata/Makefile: Likewise.
25548 * sunrpc/Makefile: Likewise.
25549 * io/Makefile: Likewise.
25550 * argp/Makefile: Likewise.
25551 * inet/Makefile: Likewise.
25552 * hesiod/Makefile: Likewise.
25553 * grp/Makefile: Likewise.
25554 * csu/Makefile: Likewise.
25555 * wctype/Makefile: Likewise.
25556 * crypt/Makefile: Likewise.
25557 * libio/Makefile: Likewise.
25558 * string/Makefile: Likewise.
25559 * nis/Makefile: Likewise.
25560 * resolv/Makefile: Likewise.
25561 * stdio-common/Makefile: Likewise.
25562 * wcsmbs/Makefile: Likewise.
25563 * dlfcn/Makefile: Likewise.
25564 * posix/Makefile: Likewise.
25565
3b7c4e74 25566 [BZ #6959]
482ff4da
UD
25567 * timezone/Makefile: Don't install timezone files, just the programs
25568 and scripts.
25569
f72ed77d
UD
255702012-03-06 Ulrich Drepper <drepper@gmail.com>
25571
a000466f
UD
25572 * nss/databases.def: Add missing gshadow entry.
25573
f72ed77d
UD
25574 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
25575
a53b7a4e
MP
255762012-03-06 Marek Polacek <polacek@redhat.com>
25577
25578 [BZ #13726]
25579 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
25580 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25581 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
25582 * stdio-common/tst-long-dbl-fphex.c: New file.
25583
e9258400
DM
255842012-03-06 David S. Miller <davem@davemloft.net>
25585
25586 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25587 (set_obp_int): New function.
25588 (get_obp_int): New function.
25589 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
25590 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
25591 Avoid unused variable warnings on 'val' and use builtin_expect.
25592 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
25593 __builtin_expect.
e9258400
DM
25594 (INLINE_CLONE_SYSCALL): Likewise.
25595
3bd2c723
DM
255962012-03-05 David S. Miller <davem@davemloft.net>
25597
25598 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25599
bbb78d03
AS
256002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
25601
884c5db4
AS
25602 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25603
bbb78d03
AS
25604 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
25605 only for |x| >= 40.
25606 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
25607
1c9f702a 256082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
25609
25610 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
25611 Replace gettimeofday with __vdso_gettimeofday.
25612
7be16f82
RM
25613 * sysdeps/unix/sysv/linux/x86_64/init-first.c
25614 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
25615 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
25616
25617 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
25618 time with __vdso_time.
25619
ed58a00f
JM
256202012-03-05 Joseph Myers <joseph@codesourcery.com>
25621
25622 * manual/lang.texi (size_t): Note types to which size_t may be
25623 equivalent with the GNU C Library, but do not describe when
25624 differences between them are significant.
25625
30ee4ced
AJ
256262012-03-05 Andreas Jaeger <aj@suse.de>
25627
25628 * sysdeps/i386/fpu/libm-test-ulps: Update.
25629
b7cd39e8
JM
256302012-03-05 Joseph Myers <joseph@codesourcery.com>
25631
25632 [BZ #3976]
25633 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
25634 (__ieee754_pow): Save and restore rounding mode and use
25635 round-to-nearest for main computations.
25636 * math/libm-test.inc (pow_test_tonearest): New function.
25637 (pow_test_towardzero): Likewise.
25638 (pow_test_downward): Likewise.
25639 (pow_test_upward): Likewise.
25640 (main): Call the new functions.
25641 * sysdeps/i386/fpu/libm-test-ulps: Update.
25642 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
25643
25644 [BZ #3976]
25645 * math/libm-test.inc (cosh_test_tonearest): New function.
25646 (cosh_test_towardzero): Likewise.
25647 (cosh_test_downward): Likewise.
25648 (cosh_test_upward): Likewise.
25649 (sinh_test_tonearest): Likewise.
25650 (sinh_test_towardzero): Likewise.
25651 (sinh_test_downward): Likewise.
25652 (sinh_test_upward): Likewise.
25653 (main): Call the new functions.
25654 * sysdeps/i386/fpu/libm-test-ulps: Update.
25655 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25656
6c6a98c9
TV
256572012-03-05 Tom de Vries <tom@codesourcery.com>
25658
25659 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
25660 default stack guard is set in last bytes.
25661 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
25662
21bb2d2e 256632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 25664
21bb2d2e 25665 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 25666
21bb2d2e
AJ
25667 [BZ #13656]
25668 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
25669 possibly allocate from heap instead of stack.
25670 * stdio-common/bug-vfprintf-nargs.c: New file.
25671 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 25672
c6922934
AS
256732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
25674
25675 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25676
bc957d53
MP
256772012-03-03 Marek Polacek <polacek@redhat.com>
25678
25679 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
25680 * math/math_private.h: Likewise.
25681 * stdlib/tst-strtod.c: Likewise.
25682 * sysdeps/i386/i486/bits/atomic.h: Likewise.
25683 * sysdeps/x86_64/bits/atomic.h: Likewise.
25684
6358490d
DM
256852012-03-02 David S. Miller <davem@davemloft.net>
25686
25687 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
25688 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
25689 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
25690 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
25691 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
25692 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
25693 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
25694 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
25695
01ae168d
RM
256962012-03-02 Roland McGrath <roland@hack.frob.com>
25697
d9a17c07
RM
25698 [BZ #13792]
25699 * manual/examples/README: New file, says the example source files
25700 can be used under GPL>=2.
25701 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
25702 line containing just "*/".
25703 * manual/examples/add.c: Add copyright header (GPL>=2).
25704 * manual/examples/argp-ex1.c: Likewise.
25705 * manual/examples/argp-ex2.c: Likewise.
25706 * manual/examples/argp-ex3.c: Likewise.
25707 * manual/examples/argp-ex4.c: Likewise.
25708 * manual/examples/atexit.c: Likewise.
25709 * manual/examples/db.c: Likewise.
25710 * manual/examples/dir.c: Likewise.
25711 * manual/examples/dir2.c: Likewise.
25712 * manual/examples/execinfo.c: Likewise.
25713 * manual/examples/filecli.c: Likewise.
25714 * manual/examples/filesrv.c: Likewise.
25715 * manual/examples/fmtmsgexpl.c: Likewise.
25716 * manual/examples/genpass.c: Likewise.
25717 * manual/examples/inetcli.c: Likewise.
25718 * manual/examples/inetsrv.c: Likewise.
25719 * manual/examples/isockad.c: Likewise.
25720 * manual/examples/longopt.c: Likewise.
25721 * manual/examples/memopen.c: Likewise.
25722 * manual/examples/memstrm.c: Likewise.
25723 * manual/examples/mkfsock.c: Likewise.
25724 * manual/examples/mkisock.c: Likewise.
25725 * manual/examples/mygetpass.c: Likewise.
25726 * manual/examples/pipe.c: Likewise.
25727 * manual/examples/popen.c: Likewise.
25728 * manual/examples/rprintf.c: Likewise.
25729 * manual/examples/search.c: Likewise.
25730 * manual/examples/select.c: Likewise.
25731 * manual/examples/setjmp.c: Likewise.
25732 * manual/examples/sigh1.c: Likewise.
25733 * manual/examples/sigusr.c: Likewise.
25734 * manual/examples/stpcpy.c: Likewise.
25735 * manual/examples/strdupa.c: Likewise.
25736 * manual/examples/strftim.c: Likewise.
25737 * manual/examples/strncat.c: Likewise.
25738 * manual/examples/subopt.c: Likewise.
25739 * manual/examples/swapcontext.c: Likewise.
25740 * manual/examples/termios.c: Likewise.
25741 * manual/examples/testopt.c: Likewise.
25742 * manual/examples/testpass.c: Likewise.
25743 * manual/examples/timeval_subtract.c: Likewise.
25744
01ae168d
RM
25745 [BZ #13792]
25746 * manual/time.texi (Elapsed Time): Move timeval_subtract example
25747 function to ...
25748 * manual/timeval_subtract.c.texi: ... here, new file.
25749
49efa33d
DM
257502012-03-02 David S. Miller <davem@davemloft.net>
25751
25752 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
25753
28afd92d
JM
257542012-03-02 Joseph Myers <joseph@codesourcery.com>
25755
804360ed
JM
25756 [BZ #3976]
25757 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
25758 (__sin): Save and restore rounding mode and use round-to-nearest
25759 for all computations.
25760 (__cos): Save and restore rounding mode and use round-to-nearest
25761 for all computations.
25762 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
25763 <fenv.h>.
25764 (tan): Save and restore rounding mode and use round-to-nearest for
25765 all computations.
25766 * math/libm-test.inc (cos_test_tonearest): New function.
25767 (cos_test_towardzero): Likewise.
25768 (cos_test_downward): Likewise.
25769 (cos_test_upward): Likewise.
25770 (sin_test_tonearest): Likewise.
25771 (sin_test_towardzero): Likewise.
25772 (sin_test_downward): Likewise.
25773 (sin_test_upward): Likewise.
25774 (tan_test_tonearest): Likewise.
25775 (tan_test_towardzero): Likewise.
25776 (tan_test_downward): Likewise.
25777 (tan_test_upward): Likewise.
25778 (main): Call the new functions.
25779 * sysdeps/i386/fpu/libm-test-ulps: Update.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25781
a6d06d7b
JM
25782 [BZ #10135]
25783 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
25784 small n, then large n, before computing and testing k+n.
25785 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
25786 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
25787 Likewise.
25788 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
25789 Likewise.
25790 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
25791 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
25792 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
25793 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
25794 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25795 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
25797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
25798 * math/libm-test.inc (scalbn_test): Add more tests.
25799 (scalbln_test): Likewise.
25800
07e12bb3
JM
25801 * manual/filesys.texi (mode_t): Describe constraints on size and
25802 signedness, not exact equivalence to a particular type.
25803 (ino_t): Likewise.
25804 (ino64_t): Likewise.
25805 (dev_t): Likewise.
25806 (nlink_t): Likewise.
25807 (blkcnt_t): Likewise.
25808 (blkcnt64_t): Likewise.
25809 * manual/llio.texi (off_t): Likewise.
25810
28afd92d
JM
25811 [BZ #3976]
25812 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
25813 (__ieee754_exp): Save and restore rounding mode and use
25814 round-to-nearest for all computations.
25815 * math/libm-test.inc (exp_test_tonearest): New function.
25816 (exp_test_towardzero): Likewise.
25817 (exp_test_downward): Likewise.
25818 (exp_test_upward): Likewise.
25819 (main): Call the new functions.
25820 * sysdeps/i386/fpu/libm-test-ulps: Update.
25821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25822
b1eeb65d
CD
258232012-03-01 Chris Demetriou <cgd@google.com>
25824
25825 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
25826 have predictable order.
25827
53362a4b
DM
258282012-03-01 David S. Miller <davem@davemloft.net>
25829
3c969083
DM
25830 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
25831
759707de
DM
25832 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
25833 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
25834 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
25835 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
25836
dfdb8ff2
DM
25837 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
25838 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
25839 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
25840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
25841 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
25842 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
25843 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
25844 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
25845 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
25846
ead89f96
DM
25847 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25848
7f66bd07
DM
25849 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
25850 * sysdeps/sparc/fpu/libm-test-ulps: to here.
25851 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
25852
53362a4b
DM
25853 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
25854 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
25855 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
25856 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
25857 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
25858 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
25859 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
25860 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
25861 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
25862 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
25863 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
25864 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
25865 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
25866 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
25867 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25868 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25869 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
25870 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
25871 * sysdeps/sparc/elf/configure: Regenerated.
25872
7b1902cb
JM
258732012-03-01 Joseph Myers <joseph@codesourcery.com>
25874
bec039bc
JM
25875 * configure.in (AS, LD): Require binutils 2.20 or later.
25876 * configure: Regenerated.
25877 * manual/install.texi (Tools for Compilation): Give binutils 2.20
25878 as required minimum version.
25879 * INSTALL: Regenerated.
25880
7b1902cb
JM
25881 [BZ #2541]
25882 [BZ #4108]
25883 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
25884 before squaring exponent.
25885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
25886 bottom long double and 27 bits of top long double before squaring
25887 exponent.
25888 * math/libm-test.inc (erfc_test): Add more tests.
25889 * sysdeps/i386/fpu/libm-test-ulps: Update.
25890 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25892
f775c276
KT
258932012-03-01 Kai Tietz <ktietz@redhat.com>
25894
25895 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
25896 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
25897 containing bit-fields.
25898 * soft-fp/extended.h (_FP_UNION_E): Likewise.
25899 * soft-fp/single.h (_FP_UNION_S): Likewise.
25900 * soft-fp/double.h (_FP_UNION_D): Likewise.
25901
5b8a4d4a
JM
259022012-02-29 Joseph Myers <joseph@codesourcery.com>
25903
0bab47b6
JM
25904 [BZ #13786]
25905 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
25906 not include ../strcmp.S.
25907 [USE_AS_STRNCASECMP_L]: Likewise.
25908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
25909 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
25910 * sysdeps/i386/i686/multiarch/strncase_l-c.c
25911 (__strncasecmp_l_ia32): Define as alias to
25912 __strncasecmp_l_nonascii.
25913
0fcad3e2
JM
25914 [BZ #5794]
25915 * math/libm-test.inc (expm1_test): Add test for bug 5794.
25916 * sysdeps/i386/fpu/libm-test-ulps: Update.
25917 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25918
5b8a4d4a
JM
25919 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
25920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25921
8fdceb2e
JL
259222012-02-29 Jeff Law <law@redhat.com>
25923
25924 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
25925 out of bounds read.
25926
1f393a11
MP
259272012-02-29 Marek Polacek <polacek@redhat.com>
25928
25929 [BZ #13706]
25930 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
25931 * elf/Makefile: Add rules to run tst-unused-dep.out.
25932
8847f037
DM
259332012-02-28 David S. Miller <davem@davemloft.net>
25934
25935 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
25936 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
25937 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
25938 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
25939 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
25940 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
25941
169d7f11
JM
259422012-02-29 Joseph Myers <joseph@codesourcery.com>
25943
25944 * math/libm-test.inc (llround_test): Move one test from
25945 lround_test. Use TEST_f_L in moved test.
25946 (lround_test): Move misplaced test to llround_test. Add testcase
25947 from bug 2561.
25948
39adf059
UD
259492012-02-28 Ulrich Drepper <drepper@gmail.com>
25950
25951 * sysdeps/x86_64/fpu/e_expf.S: New file.
25952 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
25953
71b5d1c5
SB
259542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
25955
25956 [BZ #13637]
25957 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
25958 of remain_len that may cause incomplete multi-byte character and
25959 false match.
25960 * posix/bug-regex33.c: New file.
25961 * posix/Makefile (tests): Add bug-regex33.
25962
1f77f049
JM
259632012-02-28 Joseph Myers <joseph@codesourcery.com>
25964
25965 * manual/macros.texi: New file.
25966 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
25967 * manual/libc.texinfo: Include macros.texi.
25968 * manual/creatute.texi: Likewise.
25969 * manual/install.texi: Likewise.
25970 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
25971 @glibcadj{} in references to the GNU C Library.
25972 * manual/charset.texi: Likewise.
25973 * manual/conf.texi: Likewise.
25974 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
25975 when not using those macros.
25976 * manual/creature.texi: Likewise.
25977 * manual/crypt.texi: Likewise.
25978 * manual/errno.texi: Likewise.
25979 * manual/filesys.texi: Likewise.
25980 * manual/header.texi: Likewise.
25981 * manual/install.texi: Likewise.
25982 * manual/intro.texi: Likewise.
25983 * manual/io.texi: Likewise.
25984 * manual/job.texi: Likewise.
25985 * manual/lang.texi: Likewise.
25986 * manual/libc.texiinfo: Likewise.
25987 * manual/llio.texi: Likewise.
25988 * manual/locale.texi: Likewise.
25989 * manual/maint.texi: Likewise.
25990 * manual/math.texi: Likewise.
25991 * manual/memory.texi: Likewise.
25992 * manual/message.texi: Likewise.
25993 * manual/nss.texi: Likewise.
25994 * manual/pattern.texi: Likewise.
25995 * manual/process.texi: Likewise.
25996 * manual/resource.texi: Likewise.
25997 * manual/search.texi: Likewise.
25998 * manual/setjmp.texi: Likewise.
25999 * manual/signal.texi: Likewise.
26000 * manual/socket.texi: Likewise.
26001 * manual/startup.texi: Likewise.
26002 * manual/stdio.texi: Likewise.
26003 * manual/string.texi: Likewise.
26004 * manual/sysinfo.texi: Likewise.
26005 * manual/syslog.texi: Likewise.
26006 * manual/terminal.texi: Likewise.
26007 * manual/time.texi: Likewise.
26008 * manual/users.texi: Likewise.
26009 * INSTALL: Regenerated.
26010 * NOTES: Regenerated.
d40c5d54 26011 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 26012
450bf206
AS
260132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
26014
26015 * include/dirent.h: Include <dirstream.h> before
26016 <dirent/dirent.h>.
26017
741a235b
DM
260182012-02-28 David S. Miller <davem@davemloft.net>
26019
26020 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
26021 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
26022 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
26023 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
26024
d6b5aa58
DM
260252012-02-27 David S. Miller <davem@davemloft.net>
26026
1aff59a3
DM
26027 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
26028 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
26029 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
26030 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
26031
d6b5aa58
DM
26032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
26033 frame pointer instead of stack pointer relative arg slot.
26034 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26035 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26036 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26037
433f48bf
CD
260382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
26039
26040 [BZ #3992]
26041 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
26042
d674b76d
DM
260432012-02-27 David S. Miller <davem@davemloft.net>
26044
26045 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
26046 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
26047 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
26048 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
26049 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
26050 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
26051 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
26052 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
26053
0e7727f7
JM
260542012-02-27 Joseph Myers <joseph@codesourcery.com>
26055
26056 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
26057 later. Allow versions 5-9.
43be4ca2 26058 * configure: Regenerated.
0e7727f7
JM
26059 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
26060 required minimum version and 4.6 as recommended version. Do not
26061 mention bugs in GCC 2.7 and 2.8.
43be4ca2 26062 * INSTALL: Regenerated.
0e7727f7 26063
a78bc654
DM
260642012-02-27 David S. Miller <davem@davemloft.net>
26065
428d5830
DM
26066 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
26067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
26068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
26069 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
26070 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
26071 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
26072 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
26073 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
26074
a78bc654
DM
26075 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
26076 manipulate bits before adding and subtracting TWO112[sx].
26077 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
26078
4579f81c
RM
260792012-02-27 Roland McGrath <roland@hack.frob.com>
26080
36c8acb4
RM
26081 [BZ #13775]
26082 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
26083 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
26084 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
26085 being in POSIX, because they are in 1003.1-2008.
26086
84ad622b
RM
26087 * rt/tst-aio.c: Include <fcntl.h>.
26088 * rt/tst-aio7.c: Likewise.
26089 * rt/tst-aio64.c: Likewise.
26090
4579f81c
RM
26091 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
26092
abd923db
JM
260932012-02-27 Joseph Myers <joseph@codesourcery.com>
26094
26095 * manual/install.texi (--with-headers): Describe headers as
26096 interface headers, not private headers.
26097 (Specific advice for GNU/Linux systems): Describe use of headers
26098 from "make headers_install", not private headers from older
26099 kernels.
43be4ca2 26100 * INSTALL: Regenerated.
abd923db
JM
26101 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
26102 Change to 2.6.19.
26103 * sysdeps/unix/sysv/linux/configure: Regenerated.
26104
6664049b
JM
26105 * manual/llio.texi (fclean): Remove documentation.
26106
bb8b6697
JM
26107 * manual/Makefile (libc-texi-generated): New variable. Include
26108 version.texi.
26109 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
26110 $(libc-texi-generated), not duplicated list of files.
26111 (version.texi, stamp-version): New rules.
26112 (realclean): Remove $(libc-texi-generated), not individual files
26113 from that list. Do not remove dir-add.texinfo.
26114 * manual/libc.texinfo: Comment out uses of edition numbers and
26115 references to printed manual. Remove last-updated dates.
26116 (EDITION): Comment out.
26117 (ISBN): Likewise.
26118 (VERSION, UPDATED): Remove.
26119 (version.texi): Include.
26120
12e5c3b9
AS
261212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
26122
26123 * sysdeps/posix/spawni.c: Include <signal.h>.
26124 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
26125 * sysdeps/pthread/aio_fsync.c: Likewise.
26126
4efeffc1 261272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 26128
ba63ba08
UD
26129 * conform/Makefile (tests): Run only when not cross-compiling and
26130 when fast-check is not defined.
26131
d94a4670
UD
26132 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
26133 * conform/data/limits.h-data: Fixes for POSIX2008.
26134 * conform/run-conformtest.sh: Run all tests.
26135 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
26136 headers.
26137 * include/bits/dlfcn.h: Likewise.
26138 * include/langinfo.h: Likewise.
26139 * include/monetary.h: Likewise.
26140 * include/sys/poll.h: Likewise.
26141
26142 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
26143 for __USE_GNU.
26144 * posix/spawn.h: Define __need_sigset_t.
26145 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
26146 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
26147 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
26148 to get sigevent_t only.
26149 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
26150 only for __USE_GNU.
26151 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
26152 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26153 process_vm_writev only for __USE_GNU.
26154 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
26155
26156 * conform/Makefile: For now ignore errors from run-conformtest.
26157 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
26158 POSIX to avoid namespace pollution. Don't prepend headers.
26159 * conform/data/aio.h-data: Fixes for POSIX testing.
26160 * conform/data/fcntl.h-data: Likewise.
26161 * conform/data/glob.h-data: Likewise.
26162 * conform/data/grp.h-data: Likewise.
26163 * conform/data/pthread.h-data: Likewise.
26164 * conform/data/pwd.h-data: Likewise.
26165 * conform/data/signal.h-data: Likewise.
26166 * conform/data/spawn.h-data: Likewise.
26167 * conform/data/stdio.h-data: Likewise.
26168 * conform/data/stdlib.h-data: Likewise.
26169 * conform/data/stropts.h-data: Likewise.
26170 * conform/data/sys/mman.h-data: Likewise.
26171 * conform/data/sys/stat.h-data: Likewise.
26172 * conform/data/sys/types.h-data: Likewise.
26173 * conform/data/sys/wait.h-data: Likewise.
26174 * conform/data/time.h-data: Likewise.
26175 * conform/data/unistd.h-data: Likewise.
26176 * conform/data/utime.h-data: Likewise.
26177
26178 * io/sys/stat.h: fchmod was always in POSIX.
26179 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
26180 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
26181 * rt/aio.h: Define __need_timespec before including <time.h>.
26182 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
26183 struct. Add forward declaration of pthread_attr_t and use it in
26184 sigevent.
26185 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
26186 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26187 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
26188 always remove CLK_TCK definition.
26189
c20105c3
AS
261902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
26191
26192 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
26193
7a270350
UD
261942012-02-25 Ulrich Drepper <drepper@gmail.com>
26195
31341567
UD
26196 * conform/run-conformtest.sh: New file.
26197 * conform/Makefile: Run run-conformtest for tests.
26198 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
26199 support.
26200
26201 * conform/data/uchar.h-data: New file.
26202 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
26203 * conform/data/arpa/inet.h-data: Likewise.
26204 * conform/data/assert.h-data: Likewise.
26205 * conform/data/complex.h-data: Likewise.
26206 * conform/data/cpio.h-data: Likewise.
26207 * conform/data/ctype.h-data: Likewise.
26208 * conform/data/dirent.h-data: Likewise.
26209 * conform/data/dlfcn.h-data: Likewise.
26210 * conform/data/errno.h-data: Likewise.
26211 * conform/data/fcntl.h-data: Likewise.
26212 * conform/data/float.h-data: Likewise.
26213 * conform/data/fmtmsg.h-data: Likewise.
26214 * conform/data/fnmatch.h-data: Likewise.
26215 * conform/data/ftw.h-data: Likewise.
26216 * conform/data/glob.h-data: Likewise.
26217 * conform/data/grp.h-data: Likewise.
26218 * conform/data/iconv.h-data: Likewise.
26219 * conform/data/inttypes.h-data: Likewise.
26220 * conform/data/langinfo.h-data: Likewise.
26221 * conform/data/libgen.h-data: Likewise.
26222 * conform/data/limits.h-data: Likewise.
26223 * conform/data/locale.h-data: Likewise.
26224 * conform/data/math.h-data: Likewise.
26225 * conform/data/monetary.h-data: Likewise.
26226 * conform/data/mqueue.h-data: Likewise.
26227 * conform/data/ndbm.h-data: Likewise.
26228 * conform/data/net/if.h-data: Likewise.
26229 * conform/data/netdb.h-data: Likewise.
26230 * conform/data/netinet/in.h-data: Likewise.
26231 * conform/data/nl_types.h-data: Likewise.
26232 * conform/data/poll.h-data: Likewise.
26233 * conform/data/pthread.h-data: Likewise.
26234 * conform/data/pwd.h-data: Likewise.
26235 * conform/data/regex.h-data: Likewise.
26236 * conform/data/sched.h-data: Likewise.
26237 * conform/data/search.h-data: Likewise.
26238 * conform/data/semaphore.h-data: Likewise.
26239 * conform/data/setjmp.h-data: Likewise.
26240 * conform/data/signal.h-data: Likewise.
26241 * conform/data/spawn.h-data: Likewise.
26242 * conform/data/stdarg.h-data: Likewise.
26243 * conform/data/stdio.h-data: Likewise.
26244 * conform/data/stdlib.h-data: Likewise.
26245 * conform/data/string.h-data: Likewise.
26246 * conform/data/strings.h-data: Likewise.
26247 * conform/data/stropts.h-data: Likewise.
26248 * conform/data/sys/ipc.h-data: Likewise.
26249 * conform/data/sys/mman.h-data: Likewise.
26250 * conform/data/sys/msg.h-data: Likewise.
26251 * conform/data/sys/resource.h-data: Likewise.
26252 * conform/data/sys/select.h-data: Likewise.
26253 * conform/data/sys/sem.h-data: Likewise.
26254 * conform/data/sys/shm.h-data: Likewise.
26255 * conform/data/sys/socket.h-data: Likewise.
26256 * conform/data/sys/stat.h-data: Likewise.
26257 * conform/data/sys/statvfs.h-data: Likewise.
26258 * conform/data/sys/time.h-data: Likewise.
26259 * conform/data/sys/timeb.h-data: Likewise.
26260 * conform/data/sys/times.h-data: Likewise.
26261 * conform/data/sys/types.h-data: Likewise.
26262 * conform/data/sys/uio.h-data: Likewise.
26263 * conform/data/sys/un.h-data: Likewise.
26264 * conform/data/sys/utsname.h-data: Likewise.
26265 * conform/data/sys/wait.h-data: Likewise.
26266 * conform/data/syslog.h-data: Likewise.
26267 * conform/data/tar.h-data: Likewise.
26268 * conform/data/termios.h-data: Likewise.
26269 * conform/data/utime.h-data: Likewise.
26270 * conform/data/utmpx.h-data: Likewise.
26271 * conform/data/varargs.h-data: Likewise.
26272 * conform/data/wchar.h-data: Likewise.
26273 * conform/data/wctype.h-data: Likewise.
26274 * conform/data/wordexp.h-data: Likewise.
26275
26276 * include/stropts.h: New file.
26277 * include/uchar.h: New file.
26278 * include/aio.h: Changes to allow conformtest.pl to use the headers.
26279 * include/assert.h: Likewise.
26280 * include/ctype.h: Likewise.
26281 * include/dirent.h: Likewise.
26282 * include/dlfcn.h: Likewise.
26283 * include/fcntl.h: Likewise.
26284 * include/fnmatch.h: Likewise.
26285 * include/glob.h: Likewise.
26286 * include/grp.h: Likewise.
26287 * include/libio.h: Likewise.
26288 * include/locale.h: Likewise.
26289 * include/math.h: Likewise.
26290 * include/net/if.h: Likewise.
26291 * include/netdb.h: Likewise.
26292 * include/netinet/in.h: Likewise.
26293 * include/pthread.h: Likewise.
26294 * include/pwd.h: Likewise.
26295 * include/regex.h: Likewise.
26296 * include/sched.h: Likewise.
26297 * include/search.h: Likewise.
26298 * include/setjmp.h: Likewise.
26299 * include/signal.h: Likewise.
26300 * include/stdio.h: Likewise.
26301 * include/stdlib.h: Likewise.
26302 * include/string.h: Likewise.
26303 * include/sys/cdefs.h: Likewise.
26304 * include/sys/mman.h: Likewise.
26305 * include/sys/msg.h: Likewise.
26306 * include/sys/resource.h: Likewise.
26307 * include/sys/select.h: Likewise.
26308 * include/sys/socket.h: Likewise.
26309 * include/sys/stat.h: Likewise.
26310 * include/sys/statvfs.h: Likewise.
26311 * include/sys/time.h: Likewise.
26312 * include/sys/times.h: Likewise.
26313 * include/sys/uio.h: Likewise.
26314 * include/sys/utsname.h: Likewise.
26315 * include/sys/wait.h: Likewise.
26316 * include/termios.h: Likewise.
26317 * include/time.h: Likewise.
26318 * include/ulimit.h: Likewise.
26319 * include/unistd.h: Likewise.
26320 * include/utime.h: Likewise.
26321 * include/wchar.h: Likewise.
26322 * include/wctype.h: Likewise.
26323 * include/wordexp.h: Likewise.
26324
26325 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
26326
7a270350
UD
26327 * time/time.h: TIME_UTC must be a macro.
26328 Make timespec_get available for ISO C11 only as well.
26329
7724defc
UD
263302012-02-24 Ulrich Drepper <drepper@gmail.com>
26331
26332 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
26333 Reported by Peng Haitao <penght@cn.fujitsu.com>.
26334
6b1d1d46
JM
263352012-02-24 Joseph Myers <joseph@codesourcery.com>
26336
26337 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 26338
0f8bbd69
JM
263392012-02-24 Joseph Myers <joseph@codesourcery.com>
26340
26341 * manual/texinfo.tex: Update to version 2012-01-19.16.
26342
66ab80bc
JM
263432012-02-24 Joseph Myers <joseph@codesourcery.com>
26344
26345 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
26346
74981cc5
RM
263472012-02-24 Roland McGrath <roland@hack.frob.com>
26348
ee968201
RM
26349 [BZ #13738]
26350 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
26351 * manual/fdl-1.3.texi: New file.
26352 * manual/fdl-1.1.texi: File removed.
26353
74981cc5
RM
26354 [BZ #13738]
26355 * manual/libc.texinfo (FDL_VERSION): New @set.
26356 Use it for mention of FDL in cover text.
26357 (Documentation License): Use it in @include file name.
26358
7bb764bc
JM
263592012-02-22 Joseph Myers <joseph@codesourcery.com>
26360 Roland McGrath <roland@hack.frob.com>
26361
26362 [BZ #5461]
26363 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
26364 not LONG_LONG_MAX and LONG_LONG_MIN.
26365 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
26366 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
26367 name.
26368 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
26369
6cbeae47
JM
263702012-02-22 Joseph Myers <joseph@codesourcery.com>
26371
26372 [BZ #2547]
26373 [BZ #11365]
26374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
26375 manipulate bits before adding and subtracting TWO23[sx].
26376 * math/libm-test.inc (nearbyint_test): Add more tests.
26377
fe45ce09
JM
263782012-02-22 Joseph Myers <joseph@codesourcery.com>
26379
26380 [BZ #2548]
26381 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
26382 bits before adding and subtracting TWO23[sx].
26383 * math/libm-test.inc (rint_test): Add more tests.
26384 (rint_test_tonearest): Likewise.
26385 (rint_test_towardzero): Likewise.
26386 (rint_test_downward): Likewise.
26387 (rint_test_upward: Likewise.
26388
ff3b3d82
JM
263892012-02-22 Joseph Myers <joseph@codesourcery.com>
26390
26391 [BZ #10110]
26392 * include/stdc-predef.h: New file. Extracted from features.h.
26393 * include/features.h: Include stdc-predef.h.
26394 * Makefile (headers): Add stdc-predef.h.
26395 * CONFORMANCE (Compiler limitations): Update.
26396
ef0aab35
JM
263972012-02-22 Joseph Myers <joseph@codesourcery.com>
26398
26399 * manual/libc.texinfo (VERSION, UPDATED): Revert.
26400
58639409
DM
264012012-02-21 David S. Miller <davem@davemloft.net>
26402
26403 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
26404 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26405
c0e70b25
DM
264062012-02-20 David S. Miller <davem@davemloft.net>
26407
26408 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
26409 using a normal save/restore sequence, rather than allocating a
26410 dummy stack frame just to store a frame pointer and restore.
26411 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26412
fb06851d
JM
264132012-02-21 Joseph Myers <joseph@codesourcery.com>
26414
26415 * manual/install.texi: Fix stray word in line-wrapped comment.
26416
7a8b71c3
DM
264172012-02-20 David S. Miller <davem@davemloft.net>
26418
d510c123
DM
26419 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
26420 both binutils and gcc support GOTDATA.
26421
0722d7c2
DM
26422 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
26423 "rd %pc" in the PIC register setup sequences.
26424
3d2b3019
DM
26425 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
26426 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
26427 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
26428 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
26429 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
26430 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26431 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26432 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
26433 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
26434 (SYSCALL_ERROR_HANDLER): Likewise.
26435 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
26436 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26437 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
26438 (SYSCALL_ERROR_HANDLER): Likewise.
26439
c80098a9
DM
26440 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
26441 (HAVE_GCC_GOTDATA): New.
26442 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
26443 relocation support in both binutils and gcc.
26444 * sysdeps/sparc/elf/configure: Regenerate.
26445
3a2545a0
DM
26446 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
26447 * sysdeps/sparc/sparc32/elf/configure: Delete.
26448 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
26449 * sysdeps/sparc/sparc64/elf/configure: Delete.
26450 * sysdeps/sparc/elf/configure.in: New file.
26451 * sysdeps/sparc/elf/configure: Generate.
26452
7a8b71c3
DM
26453 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
26454 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
26455 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
26456 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
26457 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
26458
f1e86fca
JM
264592012-02-21 Joseph Myers <joseph@codesourcery.com>
26460
26461 * manual/install.texi: Do not mention specific glibc version
26462 numbers.
26463 * manual/libc.texinfo (VERSION, UPDATED): Update.
26464 (@copying): Use @copyright{} and range of years.
26465
0e7dfaef
JM
264662012-02-21 Joseph Myers <joseph@codesourcery.com>
26467
26468 [BZ #13695]
26469 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
26470 [crti.S not in sysdirs] (generated): Do not append.
26471 [crti.S not in sysdirs] (omit-deps): Likewise.
26472 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
26473 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
26474 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
26475 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
26476 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
26477 Likewise.
26478 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
26479 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
26480 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
26481 * csu/defs.awk: Remove file.
26482 * sysdeps/generic/initfini.c: Likewise.
26483 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
26484 variable.
26485 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
26486 Likewise.
26487
599af3ca
JM
264882012-02-20 Joseph Myers <joseph@codesourcery.com>
26489
26490 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
26491 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
26492 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
26493 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
26494 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
26495 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
26496 <bits/epoll.h>.
26497 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
26498 (__EPOLL_PACKED): Define to empty if not defined by
26499 <bits/epoll.h>.
26500 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
26501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26502 bits/epoll.h.
26503
0e499750
JM
265042012-02-20 Joseph Myers <joseph@codesourcery.com>
26505
26506 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
26507 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
26508 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
26509 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
26510 <bits/timerfd.h>.
26511 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
26512 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26513 bits/timerfd.h.
26514
5ad91f6e
JM
265152012-02-20 Joseph Myers <joseph@codesourcery.com>
26516
26517 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
26518 in C locale.
26519 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26520 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26521 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
26522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26523
06b99b02
AJ
265242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
26525
26526 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26527 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
26528
7638c0fd
AS
265292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
26530
26531 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
26532 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
26533 defined.
26534 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
26535 Likewise.
26536 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
26537 entry for 2.16.
26538
92221550
AJ
265392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
26540
26541 * math/w_acos.c: Use non-signaling floating-point comparisons.
26542 * math/w_acosf.c: Likewise.
26543 * math/w_acosh.c: Likewise.
26544 * math/w_acoshf.c: Likewise.
26545 * math/w_acoshl.c: Likewise.
26546 * math/w_acosl.c: Likewise.
26547 * math/w_asin.c: Likewise.
26548 * math/w_asinf.c: Likewise.
26549 * math/w_asinl.c: Likewise.
26550 * math/w_atanh.c: Likewise.
26551 * math/w_atanhf.c: Likewise.
26552 * math/w_atanhl.c: Likewise.
26553 * math/w_exp2.c: Likewise.
26554 * math/w_exp2f.c: Likewise.
26555 * math/w_exp2l.c: Likewise.
26556 * math/w_j0.c: Likewise.
26557 * math/w_j0f.c: Likewise.
26558 * math/w_j0l.c: Likewise.
26559 * math/w_j1.c: Likewise.
26560 * math/w_j1f.c: Likewise.
26561 * math/w_j1l.c: Likewise.
26562 * math/w_jn.c: Likewise.
26563 * math/w_jnf.c: Likewise.
26564 * math/w_log.c: Likewise.
26565 * math/w_log10.c: Likewise.
26566 * math/w_log10f.c: Likewise.
26567 * math/w_log10l.c: Likewise.
26568 * math/w_log2.c: Likewise.
26569 * math/w_log2f.c: Likewise.
26570 * math/w_log2l.c: Likewise.
26571 * math/w_logf.c: Likewise.
26572 * math/w_logl.c: Likewise.
26573 * math/w_sqrt.c: Likewise.
26574 * math/w_sqrtf.c: Likewise.
26575 * math/w_sqrtl.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26578 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26579 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26580 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26581
ebaf36eb
JM
265822012-02-19 Joseph Myers <joseph@codesourcery.com>
26583
26584 [BZ #9739]
26585 * manual/string.texi (strnlen): Use correct parameter name in
26586 equivalent expression.
26587
71c254a6
JM
265882012-02-19 Joseph Myers <joseph@codesourcery.com>
26589
26590 [BZ #11174]
26591 * manual/users.texi (seteuid): Consistently use neweuid for
26592 argument name.
26593
16d2c631
JM
265942012-02-19 Joseph Myers <joseph@codesourcery.com>
26595
26596 [BZ #13704]
26597 * manual/nss.texi (Services in the NSS configuration): Correct
26598 list of services in example configuration file.
26599
cd837b09
NB
266002012-02-19 Nick Bowler <nbowler@draconx.ca>
26601
26602 [BZ #11322]
26603 * manual/arith.texi: Remove statements about negative zero
26604 behaving identically to zero.
26605
02c4bbad
JM
266062012-02-18 Joseph Myers <joseph@codesourcery.com>
26607
26608 [BZ #5993]
26609 * manual/install.texi: Do not document upgrading from libc5.
26610
366842e7
JM
266112012-02-18 Joseph Myers <joseph@codesourcery.com>
26612
26613 [BZ #4596]
26614 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
26615
dd54084d
DM
266162012-02-18 David S. Miller <davem@davemloft.net>
26617
26618 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
26619 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
26620 %o7 across the call.
26621 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
26622 instead.
26623 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
26624 SETUP_PIC_REG_LEAF.
26625 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26626 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
26627 * sysdeps/sparc/crtn.S: Likewise.
26628
2bcc53a3
UD
266292012-02-17 Ulrich Drepper <drepper@gmail.com>
26630
26631 * aout/Makefile: Remove.
26632
09c093b5
RK
266332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
26634
26635 [BZ #13058]
26636 * manual/examples/argp-ex1.c (main): Format definition in GNU
26637 style.
26638 * manual/examples/argp-ex2.c (main): Likewise.
26639 * manual/examples/argp-ex3.c (main): Likewise.
26640 * manual/examples/argp-ex4.c (main): Likewise.
26641 * manual/examples/longopt.c (main): Use new-style prototype
26642 definition.
26643 * manual/examples/strncat.c (main): Specify return type and use
26644 (void) for arguments.
26645 * manual/examples/subopt.c (main): Use char **argv argument.
26646
2ee633a2
JM
266472012-02-17 Joseph Myers <joseph@codesourcery.com>
26648
26649 [BZ #5077]
26650 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
26651 rounding modes.
26652
0520adde
FB
266532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
26654
26655 [BZ #6907]
26656 * manual/string.texi (strchr): Change when strchrnul is
26657 recommended.
26658
3f4081cd
DGM
266592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
26660
26661 [BZ #174]
26662 * manual/locale.texi (setlocale): Document LOCPATH.
26663
d1b10e78
JM
266642012-02-17 Joseph Myers <joseph@codesourcery.com>
26665
26666 [BZ #10210]
26667 * manual/process.texi (execle): Move @dots{} before last argument.
26668
79c6869c
PB
266692012-02-17 Paul Bolle <pebolle@tiscali.nl>
26670
26671 [BZ #12047]
26672 * manual/charset.texi (Generic Charset Conversion): Fix typo
26673 (LC_TYPE -> LC_CTYPE).
26674
cc6e48bc
NB
266752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
26676
26677 [BZ #5805]
26678 * manual/arith.texi (scalbn): Use @var{} on parameter names.
26679 (scalbnf): Likewise.
26680 (scalbnl): Likewise.
26681 (scalbln): Likewise.
26682 (scalblnf): Likewise.
26683 (scalblnl): Likewise.
26684 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
26685 (vwarnx): Likewise.
26686 (verr): Likewise.
26687 (verrx): Likewise.
26688 * manual/filesys.texi (telldir): Use braces around return type.
26689 * manual/llio.texi (mmap): Add space after comma.
26690 (mmap64): Likewise.
26691 * manual/math.texi (jn): Use @var{} on parameter names.
26692 (jnf): Likewise.
26693 (jnl): Likewise.
26694 (yn): Likewise.
26695 (ynf): Likewise.
26696 (ynl): Likewise.
26697 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
26698 line.
26699 * manual/resource.texi (ulimit): Use @dots{} instead of literal
26700 "...".
26701 (sched_get_priority_min): Remove semicolon on @deftypefun line.
26702 (sched_get_priority_max): Likewise.
26703 * manual/signal.texi (sigvec): Add space after comma.
26704 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
26705 names.
26706 (if_indextoname): Likewise.
26707 (if_freenameindex): Likewise.
26708 (sendto): Use ',' instead of '.' in prototype.
26709 * manual/startup.texi (syscall): Use @dots{} instead of literal
26710 "...".
26711 * manual/stdio.texi (__fpending): Separate initial words of
26712 paragraph from @deftypefun line.
26713 * manual/syslog.texi (syslog): Use @dots{} instead of literal
26714 "...".
26715 (vsyslog): Use @var{} on parameter names.
26716 * manual/terminal.texi (stty): Use @var{} on parameter names.
26717 * manual/users.texi (getutmp): Use @var{} on parameter names.
26718 (getutmpx): Likewise.
26719
5b23062f
JM
267202012-02-17 Joseph Myers <joseph@codesourcery.com>
26721
26722 [BZ #6884]
26723 * manual/stdio.texi (fopen): Fix typos in description of
26724 ",ccs=STRING".
26725
8dee4833
AJ
267262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
26727
26728 [BZ #4026]
26729 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
26730 get clock_id definition.
26731
9078ce93
TS
267322012-02-17 Thomas Schwinge <thomas@schwinge.name>
26733
26734 [BZ #4822]
26735 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
26736 (madvise): Cast every argument to void on its own.
26737
3835c55f
JM
267382012-02-17 Joseph Myers <joseph@codesourcery.com>
26739
26740 [BZ #9902]
26741 * manual/startup.texi (Exit Status): Fix typo.
26742
35c47e37
JM
267432012-02-17 Joseph Myers <joseph@codesourcery.com>
26744
26745 [BZ #10140]
26746 * manual/examples/argp-ex1.c: Include <stdlib.h>.
26747 * manual/examples/argp-ex2.c: Likewise.
26748 * manual/examples/argp-ex3.c: Likewise.
26749
e3b69ca7
RH
267502012-02-16 Richard Henderson <rth@redhat.com>
26751
26752 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
26753 * sysdeps/s390/s390-32/initfini.c: Remove.
26754 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
26755 * sysdeps/s390/s390-64/initfini.c: Remove.
26756
df83af67
KK
267572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26758
26759 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
26760 compiler output for sysdeps/generic/initfini.c.
26761 * sysdeps/sh/elf/initfini.c: Remove file.
26762
f63f3380
DM
267632012-02-16 David S. Miller <davem@davemloft.net>
26764
fb59b3a4
DM
26765 [BZ #11494]
26766 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
26767
f63f3380
DM
26768 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
26769 * sysdeps/sparc/crti.S: New file.
26770 * sysdeps/sparc/crtn.S: New file.
26771 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
26772 * sysdeps/sparc/sparc64/Makefile: Likewise.
26773
df6a4a4a
MF
267742012-02-15 Mike Frysinger <vapier@gentoo.org>
26775
6dd8f3dc 26776 [BZ #3335]
df6a4a4a
MF
26777 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
26778
1cac7236
RM
267792012-02-15 Roland McGrath <roland@hack.frob.com>
26780
d2c736f8
RM
26781 [BZ #4822]
26782 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
26783
1cac7236
RM
26784 * mach/devstream.c (cookie_io_functions_t): Macro removed.
26785 (write, read, close): Likewise.
26786 Patch by Aurelien Jarno <aurelien@aurel32.net>.
26787
8e475601
JM
267882012-02-15 Joseph Myers <joseph@codesourcery.com>
26789
26790 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
26791 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
26792 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
26793 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
26794 <bits/signalfd.h>.
26795 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
26796 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26797 bits/signalfd.h.
26798
ed656b40
MP
267992012-02-14 Marek Polacek <polacek@redhat.com>
26800
26801 * sysdeps/x86_64/crti.S: New file.
26802 * sysdeps/x86_64/crtn.S: New file.
26803 * sysdeps/x86_64/elf/initfini.c: Remove file.
26804
2a979d3a
JM
268052012-02-13 Joseph Myers <joseph@codesourcery.com>
26806
26807 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
26808 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
26809 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
26810 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
26811 <bits/inotify.h>.
26812 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
26813 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26814 bits/inotify.h.
26815
2a418ac3
JM
268162012-02-13 Joseph Myers <joseph@codesourcery.com>
26817
26818 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
26819 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
26820 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
26821 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
26822 <bits/eventfd.h>.
26823 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
26824 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26825 bits/eventfd.h.
26826
fb779be7
TS
268272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
26828
e19e83c5
RM
26829 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
26830 __feraiseexcept instead of feraiseexcept.
7c35ffed 26831
fb779be7
TS
26832 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
26833 nanosleep invocations.
26834 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
26835 strings, and add error checking for a nanosleep invocations.
26836
59ba27a6
PE
268372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
26838
26839 Replace FSF snail mail address with URLs, as per GNU coding standards.
26840 Most of the snail mail addresses were wrong anyway, and omitting
26841 them makes the source code easier to maintain. Almost all of the
26842 changes are to license notices and to locale LC_IDENTIFICATION
26843 addresses, except for this one:
26844 * manual/libc.texinfo: In "Published by", give the FSF's URL,
26845 not its snail mail address.
26846
57b957eb
RH
268472012-02-09 Richard Henderson <rth@twiddle.net>
26848
af850b1c
RH
26849 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
26850 of kernel-features.h.
26851
57b957eb
RH
26852 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
26853
6b73181a
MP
268542012-02-08 Marek Polacek <polacek@redhat.com>
26855
26856 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
26857 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
26858 * sysdeps/gnu/_G_config.h: Likewise.
26859 * sysdeps/generic/_G_config.h: Likewise.
26860
26ecc33a
AS
268612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
26862
6c6dbc63
AS
26863 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
26864 tests.
26865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26866
e216c012
AS
26867 * sysdeps/powerpc/powerpc32/crti.S: New file.
26868 * sysdeps/powerpc/powerpc32/crtn.S: New file.
26869 * sysdeps/powerpc/powerpc64/crti.S: New file.
26870 * sysdeps/powerpc/powerpc64/crtn.S: New file.
26871
26ecc33a
AS
26872 * Makeconfig (have-initfini): Don't set.
26873 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
26874 * configure.in (nopic_initfini): Don't substitute.
26875 * config.h.in (HAVE_INITFINI): Don't #undef.
26876 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
26877 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
26878
3add8e13
JM
268792012-02-08 Joseph Myers <joseph@codesourcery.com>
26880
26881 Support crti.S and crtn.S provided directly by architectures.
26882 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
26883 [crti.S in sysdirs] (omit-deps): Likewise.
26884 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
26885 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
26886 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
26887 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
26888 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
26889 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
26890 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
26891 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
26892 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
26893 compiler output for sysdeps/generic/initfini.c.
26894 * sysdeps/i386/elf/Makefile: Remove file.
26895 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
26896
a22f12b4
MP
268972012-02-07 Marek Polacek <polacek@redhat.com>
26898
26899 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
26900 * sysdeps/gnu/_G_config.h: Likewise.
26901 * sysdeps/mach/hurd/_G_config.h: Likewise.
26902
148cf100
MP
269032012-02-07 Marek Polacek <polacek@redhat.com>
26904
26905 * math/Makefile (tests): Add tst-CMPLX2.
26906 * math/tst-CMPLX2.c: New file.
26907
cfdc0dd7
AS
269082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
26909
84ba42c4
AS
26910 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26911
cfdc0dd7
AS
26912 * math/libm-test.inc (jn_test): Add missing L suffix.
26913
622c86f4
MP
269142012-02-06 Marek Polacek <polacek@redhat.com>
26915
26916 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
26917 * sysdeps/i386/fpu/e_powf.S: Likewise.
26918 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26919 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26920 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26921 * sysdeps/i386/fpu/e_pow.S: Likewise.
26922 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26923 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26924 * sysdeps/i386/fpu/s_expm1.S: Likewise.
26925 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26926 * sysdeps/i386/fpu/e_log2.S: Likewise.
26927 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26928 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26929 * sysdeps/i386/fpu/e_powl.S: Likewise.
26930 * sysdeps/i386/fpu/s_log1p.S: Likewise.
26931 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26932 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26933 * sysdeps/i386/fpu/e_logl.S: Likewise.
26934 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26935 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
26936 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26937 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26938 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26939 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26940 * sysdeps/i386/fpu/e_log.S: Likewise.
26941 * sysdeps/i386/fpu/s_cexp.S: Likewise.
26942 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26943 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
26944 * sysdeps/i386/fpu/e_logf.S: Likewise.
26945 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26946 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26947 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
26948 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26949 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26950 * sysdeps/i386/fpu/e_log10.S: Likewise.
26951 * sysdeps/i386/fpu/s_frexp.S: Likewise.
26952 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26953 * sysdeps/i386/fpu/s_asinh.S: Likewise.
26954 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26955 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26956 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26957 * sysdeps/i386/asm-syntax.h: Likewise.
26958 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26959 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26960 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26961 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
26962 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
26963 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26964 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26965 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26966 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26967 * sysdeps/powerpc/sysdep.h: Likewise.
26968 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
26969 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26970
d4a54ac6
JM
269712012-02-06 Joseph Myers <joseph@codesourcery.com>
26972
26973 [BZ #411]
26974 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
26975
314054ea
JM
269762012-02-06 Joseph Myers <joseph@codesourcery.com>
26977
26978 * sysdeps/i386/sysdep.h: Include <features.h>.
26979 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
26980 version.
26981
d8e0ca50
JM
269822012-02-05 Joseph Myers <joseph@codesourcery.com>
26983
26984 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
26985 Define.
26986 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
26987 LOAD_PIC_REG_STR.
26988
b1da7dd9
JM
269892012-02-03 Joseph Myers <joseph@codesourcery.com>
26990
26991 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
26992 (SETUP_PIC_REG): Use GET_PC_THUNK.
26993 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
26994 macro.
26995
9a1d9254
JM
269962012-02-03 Joseph Myers <joseph@codesourcery.com>
26997
26998 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
26999 for non-PIC compilation.
27000 (SETUP_PIC_REG): Add .p2align directive.
27001 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
27002 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
27003 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27004 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
27006 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27007 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
27008 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
27009 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27010 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27011 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27012 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27013 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27014 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27015 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27016 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
27017 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
27018 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27019 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27020 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27021 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27022 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
27023 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27024 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27025 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
27026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
27027 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27028 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
27029 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27030 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27031 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27032 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27033 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27034 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27035 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27036 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27037 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27038 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27039 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27040 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27041 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27042
65dc3b75
JM
270432012-02-03 Joseph Myers <joseph@codesourcery.com>
27044
27045 * math/tst-CMPLX.c: Include <stdio.h>.
27046
d55bf177
JM
270472012-01-31 Joseph Myers <joseph@codesourcery.com>
27048
27049 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
27050 float.
27051 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27052 * sysdeps/sparc/bits/mathdef.h: Likewise.
27053
69db4f8f
MP
270542012-01-31 Marek Polacek <polacek@redhat.com>
27055
27056 * libio/libio.h: Don't define _PARAMS.
27057 * locale/programs/config.h: Don't define PARAMS.
27058 * stdlib/strtol_l.c: Likewise.
27059 (__strtol_l): Remove PARAMS from the prototype.
27060
41b81892
UD
270612012-01-31 Ulrich Drepper <drepper@gmail.com>
27062
3b49edc0
UD
27063 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
27064 names. Just use the correct names. Remove unnecessary wrapper
27065 functions.
27066 * malloc/arena.c: Likewise.
27067 * malloc/hooks.c: Likewise.
27068
41b81892
UD
27069 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
27070 ARENA_TEST says not to. Simplify test for creation of a new arena.
27071 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
27072
27a25b6e
UD
270732012-01-30 Ulrich Drepper <drepper@gmail.com>
27074
27075 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
27076 into tail calls.
27077 (update_get_addr): New function.
27078 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
27079 GET_ADDR_MODULE parameter.
27080
c8a89e7d
JM
270812012-01-30 Joseph Myers <joseph@codesourcery.com>
27082
27083 * crypt/cert.c: Remove __STDC__ conditionals.
27084 * crypt/crypt-entry.c: Likewise.
27085 * crypt/crypt_util.c: Likewise.
27086 * libio/filedoalloc.c: Likewise.
27087 * libio/fileops.c: Likewise.
27088 * libio/genops.c: Likewise.
27089 * libio/iofclose.c: Likewise.
27090 * libio/iofdopen.c: Likewise.
27091 * libio/iofopen.c: Likewise.
27092 * libio/iofopen64.c: Likewise.
27093 * libio/iogetdelim.c: Likewise.
27094 * libio/iopopen.c: Likewise.
27095 * libio/obprintf.c: Likewise.
27096 * libio/oldfileops.c: Likewise.
27097 * libio/oldiofclose.c: Likewise.
27098 * libio/oldiofdopen.c: Likewise.
27099 * libio/oldiofopen.c: Likewise.
27100 * libio/oldiopopen.c: Likewise.
27101 * libio/wfiledoalloc.c: Likewise.
27102 * libio/wgenops.c: Likewise.
27103 * locale/programs/xmalloc.c: Likewise.
27104 * misc/syslog.c: Likewise.
27105 * stdio-common/xbug.c: Likewise.
27106 * string/memchr.c: Likewise.
27107 * string/memcmp.c: Likewise.
27108 * string/memrchr.c: Likewise.
27109 * string/rawmemchr.c: Likewise.
27110 * sysdeps/posix/getcwd.c: Likewise.
27111 * time/strftime_l.c: Likewise.
27112
3b100462
JM
271132012-01-30 Joseph Myers <joseph@codesourcery.com>
27114
27115 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
27116 * config.make.in (config-cflags-sse2avx): Define.
27117 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
27118 Fix typo.
27119
607998af
CM
271202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
27121
27122 * scripts/config.guess: Update from upstream config git repository.
27123 * scripts/config.sub: Likewise.
27124
3601428f
CM
271252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
27126
3ac8b282
CM
27127 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
27128 (EM_NUM): Update.
27129 (R_TILEPRO_*, R_TILEGX_*): New macros.
27130
e034841e
CM
27131 * scripts/firstversions.awk: Fix bug in version range handling.
27132
540d7568
CM
27133 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
27134
3601428f
CM
27135 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
27136
463de862
CM
27137 * include/sys/epoll.h: New file.
27138 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
27139 libc_hidden_def.
27140
73139a76
UD
271412012-01-28 Ulrich Drepper <drepper@gmail.com>
27142
96bc5b45
UD
27143 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
27144 Avoid unnecessary __WORDSIZE == 64 test.
27145 (fmaxf): Use VEX format if possible.
27146 (fmax): Likewise.
27147 (fminf): Likewise.
27148 (fmin): Likewise.
27149
56f6f6a2
UD
27150 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
27151 * math/math_private.h: Remove libc_fegetround* and
27152 libc_fesetround*.
27153 * sysdeps/i386/configure.in: Check for -msse2avx.
27154 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
27155 also if SSE2AVX is defined.
27156 Remove libc_fegetround* and libc_fesetround*.
27157 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
27158 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
27159 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
27160 of HAS_YMM_USABLE.
27161 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27162 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27163 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27164 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27165 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
27166
73139a76
UD
27167 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
27168
d73f93a4
AZ
271692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27170
27171 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
27172 size is not set.
27173 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
27174
6ee65ed6
UD
271752012-01-27 Ulrich Drepper <drepper@gmail.com>
27176
27177 [BZ #13618]
27178 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
27179 relocation.
27180 * Makeconfig (libm): Define.
27181 * elf/Makefile: Add rules to build and run tst-relsort1.
27182 * elf/tst-relsort1.c: New file.
27183 * elf/tst-relsort1mod1.c: New file.
27184 * elf/tst-relsort1mod2.c: New file.
27185
8db21882
JM
271862012-01-27 Joseph Myers <joseph@codesourcery.com>
27187
27188 * math/s_ldexp.c: Remove __STDC__ conditionals.
27189 * math/s_ldexpf.c: Likewise.
27190 * math/s_ldexpl.c: Likewise.
27191 * math/s_nextafter.c: Likewise.
27192 * math/s_nexttowardf.c: Likewise.
27193 * math/s_significand.c: Likewise.
27194 * math/s_significandf.c: Likewise.
27195 * math/s_significandl.c: Likewise.
27196 * math/w_jnl.c: Likewise.
27197 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27198 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27199 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27200 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27201 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27202 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27203 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
27204 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27205 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27206 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27207 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27208 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27209 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27210 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27211 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27212 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27213 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27214 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27216 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27217 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27218 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27219 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27220 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27221 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27222 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27223 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27224 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27225 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27226 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27229 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27230 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27231 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27232 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27233 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27234 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27235 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27236 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27237 * sysdeps/ieee754/k_standard.c: Likewise.
27238 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27239 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27240 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27241 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27242 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27243 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27244 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27245 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27246 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27247 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27248 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27249 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27250 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27251 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27252 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27254 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27255 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27256 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27257 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27260 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27261 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27262 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27263 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27264 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27265 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27266 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27267 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27268 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27269 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
27270 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27271 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27272 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27273 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27274 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
27275 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27276 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27277 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
27278 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
27279 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27280 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
27281 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
27282 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27284 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27287 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
27288 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
27289 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27290 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27291 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27292 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27293 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27294 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
27295 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27296 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27297 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27298 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27299 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27300 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27301 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27302 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27303 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27304 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27305 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27306 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27307 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27308 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27309 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27310 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27311 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27312 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27313 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27314 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27315 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27317 * sysdeps/ieee754/s_matherr.c: Likewise.
27318 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27319 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27320 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27321 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27322
965a54a4
JM
273232012-01-26 Joseph Myers <joseph@codesourcery.com>
27324
27325 * crypt/md5.h: Remove __STDC__ conditionals.
27326 * libio/libioP.h: Likewise.
27327 * locale/programs/config.h: Likewise.
27328 * sysdeps/generic/sysdep.h: Likewise.
27329 * sysdeps/i386/asm-syntax.h: Likewise.
27330 * sysdeps/s390/asm-syntax.h: Likewise.
27331 * sysdeps/unix/sysdep.h: Likewise.
27332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
27333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
27334
7071ad79
JM
273352012-01-26 Joseph Myers <joseph@codesourcery.com>
27336
27337 * libio/libio.h: Remove __STDC__ conditionals.
27338 * malloc/obstack.h: Likewise.
27339 * math/complex.h: Likewise.
27340 * math/math.h: Likewise.
27341 * sysdeps/generic/_G_config.h: Likewise.
27342 * sysdeps/gnu/_G_config.h: Likewise.
27343 * sysdeps/mach/hurd/_G_config.h: Likewise.
27344 * sysdeps/powerpc/bits/mathdef.h: Likewise.
27345 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
27346 * sysdeps/sparc/bits/mathdef.h: Likewise.
27347
afc5ed09
UD
273482012-01-26 Ulrich Drepper <drepper@gmail.com>
27349
27350 [BZ #13583]
27351 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 27352 Clean up HAS_* macros.
afc5ed09 27353 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
27354 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
27355 possible.
27356 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
27357 HAS_AVX.
27358 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
27359 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
27360 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
27361 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
27362 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 27363
bdb6de1d
JM
273642012-01-25 Joseph Myers <joseph@codesourcery.com>
27365
27366 * elf/tst-unique3.cc (gets): Remove declaration.
27367 * elf/tst-unique3lib.cc (gets): Likewise.
27368 * elf/tst-unique3lib2.cc (gets): Likewise.
27369 * elf/tst-unique4.cc (gets): Likewise.
27370
b15549e6
UD
273712012-01-24 Ulrich Drepper <drepper@gmail.com>
27372
27373 * include/stdio.h: Add C++ protection. Add gets declarations and
27374 definitions.
27375 * debug/tst-chk1.c: Don't declare gets here.
27376 * stdio-common/tst-gets.c: Likewise.
27377
a037381f
JM
273782012-01-24 Joseph Myers <joseph@codesourcery.com>
27379
27380 * posix/glob: Remove directory.
27381
f1d4aa75
JM
273822012-01-24 Joseph Myers <joseph@codesourcery.com>
27383
27384 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
27385
81c0c964
PT
273862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
27387
27388 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
27389 of the non-standard EPFNOSUPPORT.
27390
0ea698ae
ST
273912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
27392
27393 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
27394 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
27395 ANYWHERE set to 1 only on KERN_NO_SPACE error.
27396
d220b117
UD
273972012-01-21 Ulrich Drepper <drepper@gmail.com>
27398
27399 * wcsmbs/uchar.h: Test __STDC_VERSION__.
27400
3e1aa84e
UD
274012012-01-20 Ulrich Drepper <drepper@gmail.com>
27402
27403 * nscd/aicache.c (addhstaiX): Do not cache negative results of
27404 transient errors.
27405 * nscd/grpcache.c (cache_addgr): Likewise.
27406 * nscd/hstcache.c (cache_addhst): Likewise.
27407 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27408 * nscd/pwdcache.c (cache_addpw): Likewise.
27409 * nscd/servicescache.c (cache_addserv): Likewise.
27410
400aa020
UD
274112012-01-16 Ulrich Drepper <drepper@gmail.com>
27412
d77e7869
UD
27413 * malloc/malloc.c: Various cleanups.
27414 * malloc/hooks.c: Likewise.
27415
400aa020
UD
27416 * stdlib/Makefile (tests): Add bug-fmtmsg1.
27417 * stdlib/bug-fmtmsg1.c: New file.
27418
27419 * stdlib/fmtmsg.c (init): Add missing unlock.
27420 Patch by Peng Haitao <penght@cn.fujitsu.com>.
27421
e0a309cf
MP
274222012-01-12 Marek Polacek <polacek@redhat.com>
27423
27424 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
27425 and _GNU_SOURCE.
27426
929d11c7
WS
274272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27428
27429 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
27430 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
27431 macro to ensure uniqueness of label name.
27432 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
27433 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
27434
41d0e869
UD
274352012-01-11 Ulrich Drepper <drepper@gmail.com>
27436
0cc5ed3b
UD
27437 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
27438
41d0e869
UD
27439 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
27440 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27441 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27442 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
27443
a47a831a
UD
274442012-01-10 Ulrich Drepper <drepper@gmail.com>
27445
daa891c0
UD
27446 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
27447
27448 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
27449 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27450 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27451
e58ef0f2
UD
27452 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
27453
a47a831a 27454 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
27455 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 27457 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
27458
27459 * math/bits/math-finite.h: Add ldexp support.
27460
a0bfc9c7
MP
274612012-01-10 Marek Polacek <polacek@redhat.com>
27462
27463 * locale/programs/localedef.h (show_archive_content): Add noreturn
27464 attribute.
27465
d6e97a1d
UD
274662012-01-09 Ulrich Drepper <drepper@gmail.com>
27467
27468 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
27469
d5835c26
UD
274702012-01-08 Ulrich Drepper <drepper@gmail.com>
27471
e5f484c6
UD
27472 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
27473
d5835c26
UD
27474 * io/Makefile (headers): Add bits/poll2.h.
27475
d1f741e9
WS
274762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
27477
27478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
27479 typo #include statement.
27480
ec09c1c4
UD
274812012-01-08 Ulrich Drepper <drepper@gmail.com>
27482
27483 * include/sys/cdefs.h: Define __attribute_alloc_size.
27484 * catgets/gencat.c: Add alloc_size attribute and apply consistently
27485 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
27486 * elf/pldd.c: Likewise.
27487 * iconv/iconv_charmap.c: Likewise.
27488 * iconv/iconvconfig.c: Likewise.
27489 * iconv/strtab.c: Likewise.
27490 * locale/programs/locale.c: Likewise.
27491 * locale/programs/localedef.h: Likewise.
27492 * locale/programs/simple-hash.c: Likewise.
27493 * nscd/nscd.h: Likewise.
27494 * nss/makedb.c: Likewise.
27495 * sysdeps/generic/ldconfig.h: Likewise.
27496 * locale/programs/localedef.c: Remove xmalloc prototype.
27497 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
27498
20b38e03
PP
274992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
27500
27501 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
27502 appropriate.
27503
a0da5fe1
UD
275042012-01-08 Ulrich Drepper <drepper@gmail.com>
27505
1d5a644a 27506 * math/Makefile (tests): Add tst-CMPLX.
669704fd 27507 * math/tst-CMPLX.c: New file.
1d5a644a 27508
8784a6db
UD
27509 * math/complex.h (CMPLXL): Fix typo.
27510
d9a216c0
UD
27511 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
27512 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
27513 GLIBC_2.16.
27514 * debug/tst-chk1.c: Add poll and ppoll tests.
27515 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
27516 * include/sys/poll.h: Add hidden proto for ppoll.
27517 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
27518 * sysdeps/mach/hurd/ppoll.c: Likewise.
27519 * io/ppoll.c: Likewise.
27520 * debug/poll_chk.c: New file.
27521 * debug/ppoll_chk.c: New file.
27522 * include/bits/poll2.h: New file.
27523 * io/bits/poll2.h: New file.
27524
ac097f5c
UD
27525 [BZ #1350]
27526 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
27527
2119dcfa
UD
27528 * configure.in: static is always set to yes. Remove.
27529 * config.make.in: Don't set build-static.
27530 * Makeconfig: Remove use of build-static.
27531 * dlfcn/Makefile: Likewise.
27532 * elf/Makefile: Likewise.
27533 * math/Makefile: Likewise.
27534 * misc/Makefile: Likewise.
27535 * nptl/Makefile: Likewise.
27536 * sysdeps/mach/hurd/Makefile: Likewise.
27537
121766a9
UD
27538 * configure.in: PWD_P is not used anymore.
27539 * config.make.in: Remove PWD_P entry.
27540
51a1d39c 27541 * configure.in: Remove last remnants of RANLIB.
8720d066 27542 No need to check for signed size_t anymore.
215f4bdc
UD
27543 Don't set libc_commonpagesize and libc_relro_required here for Alpha
27544 and IA-64.
3857022a 27545 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
27546 * aclocal.m4: Likewise.
27547
d3ed7225
UD
27548 * wcsmbs/mbrtoc16.c: Implement using towc function.
27549 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
27550 * wcsmbs/wcsmbsload.c: Likewise.
27551 * iconv/gconv_simple.c: Likewise.
27552 * iconv/gconv_int.h: Likewise.
27553 * iconv/gconv_builtin.h: Likewise.
27554 * iconv/iconv_prog.c: Remove CHAR16 handling.
27555
27556 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
27557
27558 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
27559
a0da5fe1
UD
27560 * configure.in: Remove --with-elf and --enable-bounded options.
27561 Dont set base_machine for ia64. More non-ELF conditions removed.
27562 Remove testing and setting of leading underscore information.
27563 * config.make.in (build-bounded): Set to no.
27564 * config.h.in: Remove NO_UNDERSCORES entry.
27565 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
27566 them.
27567 * csu/start.c: Remove !NO_UNDERSCORE code.
27568 * locale/localeinfo.h: Likewise.
27569 * sysdeps/generic/machine-gmon.h: Likewise.
27570 * sysdeps/generic/sysdep.h: Likewise.
27571 * sysdeps/i386/sysdep.h: Likewise.
27572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27573 * sysdeps/mach/sysdep.h: Likewise.
27574 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27575 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27576 * sysdeps/sh/sysdep.h: Likewise.
27577 * sysdeps/sparc/sparc32/alloca.S: Likewise.
27578 * sysdeps/unix/i386/sysdep.S: Likewise.
27579 * sysdeps/unix/sparc/start.c: Likewise.
27580 * sysdeps/unix/sparc/sysdep.S: Likewise.
27581 * sysdeps/unix/sparc/sysdep.h: Likewise.
27582 * sysdeps/unix/start.c: Likewise.
27583 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27584 * sysdeps/x86_64/sysdep.h: Likewise.
27585
df78418a
UD
275862012-01-07 Ulrich Drepper <drepper@gmail.com>
27587
a784e502
UD
27588 [BZ #13553]
27589 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
27590 for non-gcc.
27591 * argp/argp-fmtstream.h: Use const instead __const.
27592 * argp/argp.h: Likewise.
27593 * assert/assert.h: Likewise.
27594 * bits/fenv.h: Likewise.
27595 * bits/sched.h: Likewise.
27596 * bits/sigset.h: Likewise.
27597 * bits/sigthread.h: Likewise.
27598 * catgets/nl_types.h: Likewise.
27599 * conform/data/pthread.h-data: Likewise.
27600 * crypt/crypt-private.h: Likewise.
27601 * crypt/crypt.h: Likewise.
27602 * crypt/crypt_util.c: Likewise.
27603 * ctype/ctype.h: Likewise.
27604 * debug/execinfo.h: Likewise.
27605 * debug/mbsnrtowcs_chk.c: Likewise.
27606 * debug/mbsrtowcs_chk.c: Likewise.
27607 * debug/wcsnrtombs_chk.c: Likewise.
27608 * debug/wcsrtombs_chk.c: Likewise.
27609 * debug/wcstombs_chk.c: Likewise.
27610 * dirent/dirent.h: Likewise.
27611 * dlfcn/dlfcn.h: Likewise.
27612 * elf/neededtest4.c: Likewise.
27613 * grp/grp.h: Likewise.
27614 * gshadow/gshadow.h: Likewise.
27615 * iconv/gconv.h: Likewise.
27616 * iconv/gconv_int.h: Likewise.
27617 * iconv/gconv_simple.c: Likewise.
27618 * iconv/iconv.h: Likewise.
27619 * iconv/loop.c: Likewise.
27620 * iconv/skeleton.c: Likewise.
27621 * include/aio.h: Likewise.
27622 * include/aliases.h: Likewise.
27623 * include/argz.h: Likewise.
27624 * include/arpa/inet.h: Likewise.
27625 * include/assert.h: Likewise.
27626 * include/dirent.h: Likewise.
27627 * include/dlfcn.h: Likewise.
27628 * include/execinfo.h: Likewise.
27629 * include/fcntl.h: Likewise.
27630 * include/fenv.h: Likewise.
27631 * include/glob.h: Likewise.
27632 * include/grp.h: Likewise.
27633 * include/libintl.h: Likewise.
27634 * include/mntent.h: Likewise.
27635 * include/netdb.h: Likewise.
27636 * include/pwd.h: Likewise.
27637 * include/rpc/netdb.h: Likewise.
27638 * include/sched.h: Likewise.
27639 * include/search.h: Likewise.
27640 * include/shadow.h: Likewise.
27641 * include/signal.h: Likewise.
27642 * include/stdio.h: Likewise.
27643 * include/stdlib.h: Likewise.
27644 * include/string.h: Likewise.
27645 * include/sys/socket.h: Likewise.
27646 * include/sys/stat.h: Likewise.
27647 * include/sys/statfs.h: Likewise.
27648 * include/sys/statvfs.h: Likewise.
27649 * include/sys/syslog.h: Likewise.
27650 * include/sys/time.h: Likewise.
27651 * include/sys/uio.h: Likewise.
27652 * include/time.h: Likewise.
27653 * include/unistd.h: Likewise.
27654 * include/utmp.h: Likewise.
27655 * include/wchar.h: Likewise.
27656 * include/wctype.h: Likewise.
27657 * inet/aliases.h: Likewise.
27658 * inet/arpa/inet.h: Likewise.
27659 * inet/netinet/ether.h: Likewise.
27660 * inet/netinet/in.h: Likewise.
27661 * intl/libintl.h: Likewise.
27662 * io/bits/fcntl2.h: Likewise.
27663 * io/fcntl.h: Likewise.
27664 * io/ftw.h: Likewise.
27665 * io/sys/poll.h: Likewise.
27666 * io/sys/stat.h: Likewise.
27667 * io/sys/statfs.h: Likewise.
27668 * io/sys/statvfs.h: Likewise.
27669 * io/utime.h: Likewise.
27670 * libio/bits/stdio.h: Likewise.
27671 * libio/bits/stdio2.h: Likewise.
27672 * libio/libio.h: Likewise.
27673 * libio/libioP.h: Likewise.
27674 * libio/stdio.h: Likewise.
27675 * locale/lc-ctype.c: Likewise.
27676 * locale/locale.h: Likewise.
27677 * login/utmp.h: Likewise.
27678 * malloc/arena.c: Likewise.
27679 * malloc/malloc.c: Likewise.
27680 * malloc/malloc.h: Likewise.
27681 * malloc/mcheck.c: Likewise.
27682 * malloc/mtrace.c: Likewise.
27683 * math/bits/mathcalls.h: Likewise.
27684 * math/fenv.h: Likewise.
27685 * math/math_private.h: Likewise.
27686 * misc/bits/error.h: Likewise.
27687 * misc/bits/syslog.h: Likewise.
27688 * misc/err.h: Likewise.
27689 * misc/error.h: Likewise.
27690 * misc/fstab.h: Likewise.
27691 * misc/mntent.h: Likewise.
27692 * misc/regexp.h: Likewise.
27693 * misc/search.h: Likewise.
27694 * misc/sgtty.h: Likewise.
27695 * misc/sys/mman.h: Likewise.
27696 * misc/sys/syslog.h: Likewise.
27697 * misc/sys/uio.h: Likewise.
27698 * misc/sys/xattr.h: Likewise.
27699 * misc/ttyent.h: Likewise.
27700 * nis/rpcsvc/ypclnt.h: Likewise.
27701 * nss/nss.h: Likewise.
27702 * posix/bits/unistd.h: Likewise.
27703 * posix/fnmatch.h: Likewise.
27704 * posix/glob.h: Likewise.
27705 * posix/sched.h: Likewise.
27706 * posix/spawn.h: Likewise.
27707 * posix/sys/wait.h: Likewise.
27708 * posix/unistd.h: Likewise.
27709 * posix/wordexp.h: Likewise.
27710 * pwd/pwd.h: Likewise.
27711 * resolv/netdb.h: Likewise.
27712 * resource/sys/resource.h: Likewise.
27713 * rt/aio.h: Likewise.
27714 * rt/bits/mqueue2.h: Likewise.
27715 * rt/mqueue.h: Likewise.
27716 * shadow/shadow.h: Likewise.
27717 * signal/signal.h: Likewise.
27718 * socket/send.c: Likewise.
27719 * socket/sendto.c: Likewise.
27720 * socket/sys/socket.h: Likewise.
27721 * stdio-common/printf.h: Likewise.
27722 * stdlib/bits/stdlib.h: Likewise.
27723 * stdlib/fmtmsg.h: Likewise.
27724 * stdlib/monetary.h: Likewise.
27725 * stdlib/stdlib.h: Likewise.
27726 * stdlib/ucontext.h: Likewise.
27727 * streams/stropts.h: Likewise.
27728 * string/argz.h: Likewise.
27729 * string/bits/string2.h: Likewise.
27730 * string/string.h: Likewise.
27731 * string/strings.h: Likewise.
27732 * sunrpc/rpc/auth.h: Likewise.
27733 * sunrpc/rpc/auth_des.h: Likewise.
27734 * sunrpc/rpc/clnt.h: Likewise.
27735 * sunrpc/rpc/netdb.h: Likewise.
27736 * sunrpc/rpc/pmap_clnt.h: Likewise.
27737 * sunrpc/rpc/xdr.h: Likewise.
27738 * sysdeps/generic/inttypes.h: Likewise.
27739 * sysdeps/generic/net/if.h: Likewise.
27740 * sysdeps/generic/sys/swap.h: Likewise.
27741 * sysdeps/gnu/net/if.h: Likewise.
27742 * sysdeps/gnu/utmpx.h: Likewise.
27743 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
27744 * sysdeps/i386/i486/bits/string.h: Likewise.
27745 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
27746 * sysdeps/s390/bits/string.h: Likewise.
27747 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
27748 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
27749 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
27750 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
27751 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
27752 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
27753 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
27754 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
27755 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
27756 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
27757 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
27758 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27759 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
27760 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27761 * sysdeps/unix/sysv/linux/readv.c: Likewise.
27762 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
27763 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
27764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27765 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
27766 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
27767 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
27768 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
27769 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
27770 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
27771 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
27772 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
27773 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
27774 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27775 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
27776 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
27777 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
27778 * sysvipc/sys/ipc.h: Likewise.
27779 * sysvipc/sys/msg.h: Likewise.
27780 * sysvipc/sys/sem.h: Likewise.
27781 * sysvipc/sys/shm.h: Likewise.
27782 * termios/termios.h: Likewise.
27783 * time/sys/time.h: Likewise.
27784 * time/time.h: Likewise.
27785 * wcsmbs/bits/wchar2.h: Likewise.
27786 * wcsmbs/uchar.h: Likewise.
27787 * wcsmbs/wchar.h: Likewise.
27788 * wctype/wctype.h: Likewise.
27789
0269750c
UD
27790 [BZ #13551]
27791 * Makeconfig: Remove all but ELF support including AIX support.
27792 * Makerules: Likewise.
27793 * config.h.in: Likewise.
27794 * config.make.in: Likewise.
27795 * configure: Likewise.
27796 * configure.in: Likewise.
27797 * csu/Makefile: Likewise.
27798 * csu/version.c: Likewise.
27799 * debug/Makefile: Likewise.
27800 * dlfcn/Makefile: Likewise.
27801 * elf/Makefile: Likewise.
27802 * extra-lib.mk: Likewise.
27803 * iconv/Makefile: Likewise.
27804 * include/libc-symbols.h: Likewise.
27805 * include/shlib-compat.h: Likewise.
27806 * resolv/Makefile: Likewise.
27807 * resolv/res_libc.c: Likewise.
27808 * rt/Makefile: Likewise.
27809 * sysdeps/i386/asm-syntax.h: Likewise.
27810 * sysdeps/i386/sysdep.h: Likewise.
27811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
27812 * sysdeps/mach/sysdep.h: Likewise.
27813 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
27814 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
27815 * sysdeps/s390/asm-syntax.h: Likewise.
27816 * sysdeps/s390/s390-32/sysdep.h: Likewise.
27817 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27818 * sysdeps/sh/sysdep.h: Likewise.
27819 * sysdeps/unix/sparc/sysdep.h: Likewise.
27820 * sysdeps/wordsize-32/divdi3.c: Likewise.
27821 * sysdeps/x86_64/sysdep.h: Likewise.
27822
00bbd29b
UD
27823 * argp/Versions: Remove _argp_unlock_xxx.
27824
27825 [BZ #13559]
27826 * abilist/ld.abilist: Update. Adjust for removal of tls option.
27827 * abilist/libBrokenLocale.abilist: Likewise.
27828 * abilist/libanl.abilist: Likewise.
27829 * abilist/libc.abilist: Likewise.
27830 * abilist/libcrypt.abilist: Likewise.
27831 * abilist/libdl.abilist: Likewise.
27832 * abilist/libm.abilist: Likewise.
27833 * abilist/libnsl.abilist: Likewise.
27834 * abilist/libpthread.abilist: Likewise.
27835 * abilist/libresolv.abilist: Likewise.
27836 * abilist/librt.abilist: Likewise.
27837 * abilist/libthread_db.abilist: Likewise.
27838 * abilist/libutil.abilist: Likewise.
27839 * abilist/libnss_db.abilist: New file.
27840
27841 * scripts/abilist.awk: Add support for indirect functions.
27842
a2693a0e
UD
27843 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
27844
3f05895f
UD
27845 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
27846
ecb6fb48
UD
27847 * shlib-versions: Remove entries for ports architectures.
27848
664f8cb9
UD
27849 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
27850 files in ports.
27851 * elf/stackguard-macros.h: Remove support for IA-64.
27852 * elf/tst-auditmod1.c: Likewise.
27853 * sysdeps/generic/ldsodefs.h: Likewise.
27854
7ae81d88
UD
27855 * sysdeps/unix/sysv/linux/configure.in: Ports should define
27856 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
27857 configure files.
27858
bdeba135
UD
27859 [BZ #13552]
27860 * configure.in: Remove --enable-omitfp support.
27861 * FAQ.in: Adjust.
27862 * config.make.in: Likewise.
27863 * Makeconfig: Likewise.
27864 * manual/install.texi: Likewise.
27865
d75a0a62
UD
27866 In case anyone cares, the IA-64 architecture could move to ports.
27867 * sysdeps/ia64/*: Removed.
27868 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 27869 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 27870
dcc9756b
UD
27871 [BZ #13555]
27872 * configure.in: Remove entries for unsupported architectures.
27873
d3761ebc 27874 [BZ #13533]
9954432e
UD
27875 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
27876 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
27877 routines.
27878 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
27879 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
27880 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
27881 fall back to using wcrtomb.
27882 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
27883 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
27884 renaming.
27885 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
27886 * wcsmbs/tst-c16c32-1.c: New file.
27887
27888 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
27889 local variable.
27890
c3a87236
UD
27891 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
27892
28926a1b
UD
27893 * elf/tst-unique3.cc: Add explicit declaration of gets.
27894 * elf/tst-unique3lib.cc: Likewise.
27895 * elf/tst-unique3lib2.cc: Likewise.
27896 * elf/tst-unique4.cc: Likewise.
27897
df78418a
UD
27898 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
27899
8ecd6b2a
JM
279002012-01-06 Joseph Myers <joseph@codesourcery.com>
27901
27902 [BZ #13566]
27903 * assert/assert.h (static_assert): Don't define for C++.
27904 * libio/stdio.h (gets): Do declare for C++ <= C++11.
27905 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
27906
9f115170
UD
279072012-01-03 Ulrich Drepper <drepper@gmail.com>
27908
5e0d0300
UD
27909 * iconv/loop.c (single loop): Fix assertion in storing of
27910 remaining bytes.
27911
9f115170
UD
27912 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
27913
81fb02b0
UD
279142012-01-01 Ulrich Drepper <drepper@gmail.com>
27915
27916 * posix/getconf.c: Update copyright year.
27917 * nss/getent.c: Likewise.
a316c1f6 27918 * nss/makedb.c: Likewise.
81fb02b0
UD
27919 * iconv/iconvconfig.c: Likewise.
27920 * iconv/iconv_prog.c: Likewise.
27921 * elf/ldconfig.c: Likewise.
a316c1f6
UD
27922 * elf/pldd.c: Likewise.
27923 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
27924 * catgets/gencat.c: Likewise.
27925 * csu/version.c: Likewise.
27926 * elf/ldd.bash.in: Likewise.
27927 * elf/sprof.c (print_version): Likewise.
27928 * locale/programs/locale.c: Likewise.
27929 * locale/programs/localedef.c: Likewise.
a316c1f6 27930 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
27931 * nscd/nscd.c (print_version): Likewise.
27932 * debug/xtrace.sh: Likewise.
27933 * malloc/memusage.sh: Likewise.
27934 * malloc/mtrace.pl: Likewise.
27935 * debug/catchsegv.sh: Likewise.
27936
2ba92745
JJ
279372011-12-30 Jakub Jelinek <jakub@redhat.com>
27938
27939 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
27940 pure attribute.
27941
dadebdae
UD
279422011-12-24 Ulrich Drepper <drepper@gmail.com>
27943
d3761ebc 27944 [BZ #13533]
db6af3eb
UD
27945 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
27946 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
27947 transformations.
27948 * iconv/gconv_int.h: Likewise.
27949 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
27950 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
27951 from libc for GLIBC_2.16.
27952 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
27953 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
27954 * wcsmbs/uchar.h: Really define mbstate_t.
27955 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
27956 * wcsmbs/c16rtomb.c: New file.
27957 * wcsmbs/mbrtoc16.c: New file.
27958 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
27959 for C/POSIX locale.
27960 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
27961 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
27962
dadebdae
UD
27963 * wcsmbs/wchar.h: Add missing __restrict.
27964
67371b56
UD
279652011-12-23 Ulrich Drepper <drepper@gmail.com>
27966
74033a25
UD
27967 [BZ #13532]
27968 * time/Makefile (routines): Add timespec_get.
27969 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
27970 * time/time.h: Define TIME_UTC and declare timespec_get. Define
27971 timespec for ISO C11.
27972 * time/timespec_get.c: New file.
27973 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
27974 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
27975
380d7e87
UD
27976 [BZ #13531]
27977 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
27978 * stdlib/stdlib.h: Declare aligned_alloc.
27979 * Versions.def: Add GLIBC_2.16 for libc.
27980 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
27981
4e9e7a35
UD
27982 [BZ 13527]
27983 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
27984 ISO C11.
27985
380d7e87 27986 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
27987 code.
27988
03a71829
UD
27989 [BZ #13528]
27990 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
27991
839e283e
UD
27992 [BZ #13529]
27993 * assert/assert.h (static_assert): Define.
27994
ce5294e2 27995 * version.h: Update for 2.16 development version.
90fa7312 27996
8d44e150 27997 [BZ #13526]
d7809905
UD
27998 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
27999 _ISOC11_SOURCE.
28000
c0da14cd
UD
28001 * version.h (RELEASE): Bump for 2.15 release.
28002 * include/features.h (__GLIBC_MINOR__): Bump to 15.
28003
530a3249
MP
28004 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
28005 Patch by Marek Polacek <mpolacek@redhat.com>.
28006
67371b56
UD
28007 * bits/byteswap.h: Protect long long constants with __extension__.
28008 * sysdeps/i386/bits/byteswap.h: Likewise.
28009 * sysdeps/ia64/bits/byteswap.h: Likewise.
28010 * sysdeps/s390/bits/byteswap.h: Likewise.
28011 * sysdeps/x86_64/bits/byteswap.h: Likewise.
28012
15db4de1
LD
280132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28014
28015 [BZ #13540]
bbe315ea
LD
28016 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
28017 destination buffer.
15db4de1
LD
28018 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28019
2b2596b1
MP
280202011-12-23 Marek Polacek <polacek@redhat.com>
28021
28022 * elf/dl-addr.c (determine_info): Add inline keyword.
28023 * elf/tst-auditmod4b.c (check_avx): Likewise.
28024 * elf/tst-auditmod6b.c (check_avx): Likewise.
28025 * elf/tst-auditmod6c.c (check_avx): Likewise.
28026 * elf/tst-auditmod7b.c (check_avx): Likewise.
28027
70c6c246
UD
280282011-12-23 Ulrich Drepper <drepper@gmail.com>
28029
28030 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
28031 !__SSE_MATH__.
28032
c044cf14
LD
280332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28034
15db4de1 28035 [BZ #13540]
c044cf14
LD
28036 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
28037 processing for last bytes.
28038
6b13d9d9
BH
280392011-08-06 Bruno Haible <bruno@clisp.org>
28040
d455f537
BH
28041 [BZ #13061]
28042 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
28043 U+0385, not to U+1FEE.
28044
6b13d9d9
BH
28045 [BZ #13062]
28046 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
28047 entry for U+00A5 U+0301.
28048
db910efd
UD
280492011-12-22 Ulrich Drepper <drepper@gmail.com>
28050
27deeafc
UD
28051 [BZ #13166]
28052 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
28053 buffer for the output is too small.
28054
aed9d171
UD
28055 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
28056 optimization.
28057
db910efd
UD
28058 [BZ #13185]
28059 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
28060 SSE flags if possible.
28061
2bd779ae
LD
280622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28063
e7f9dac3 28064 [BZ #13540]
2bd779ae
LD
28065 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
28066 processing for last bytes.
28067
154bfc16
JM
280682011-12-22 Joseph Myers <joseph@codesourcery.com>
28069
28070 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
28071 (syscall-list-default-options, syscall-list-default-condition)
28072 (syscall-list-includes): Define.
28073 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
28074 list of ABIs and options and #if conditions for each ABI. Do not
28075 handle common syscalls between ABIs specially.
28076 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
28077 Remove.
28078 (syscall-list-variants, syscall-list-32bit-options)
28079 (syscall-list-32bit-condition, syscall-list-64bit-options)
28080 (syscall-list-64bit-condition): Define.
28081 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
28082 (syscall-list-variants, syscall-list-32bit-options)
28083 (syscall-list-32bit-condition, syscall-list-64bit-options)
28084 (syscall-list-64bit-condition): Define.
28085 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
28086 Remove.
28087 (syscall-list-variants, syscall-list-32bit-options)
28088 (syscall-list-32bit-condition, syscall-list-64bit-options)
28089 (syscall-list-64bit-condition): Define.
28090 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
28091 Remove.
28092 (syscall-list-variants, syscall-list-32bit-options)
28093 (syscall-list-32bit-condition, syscall-list-64bit-options)
28094 (syscall-list-64bit-condition): Define.
28095
21eaf3a5
UD
280962011-12-22 Ulrich Drepper <drepper@gmail.com>
28097
16c6f992
UD
28098 * locale/iso-639.def: Add brx entry.
28099
41043168
UD
28100 [BZ #13328]
28101 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
28102 Proposed by Mariusz_Cukr <marcukr@op.pl>.
28103
21eaf3a5
UD
28104 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
28105 __feraiseexcept_renamed.
28106
e3a851a2
UD
281072011-12-21 Ulrich Drepper <drepper@gmail.com>
28108
4920765e
UD
28109 [BZ #13538]
28110 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
28111 EPOLLET with unsigned values.
28112 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28113 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
28114
e3a851a2
UD
28115 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
28116 to large cancellation.
28117 * math/s_cacoshf.c: Likewise.
28118 * math/s_cacoshl.c: Likewise.
28119
b27e24b8
RK
281202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
28121
28122 [BZ #13305]
aebefeee 28123 [BZ #12786]
b27e24b8
RK
28124 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
28125 * math/s_cacoshf.c: Likewise.
28126 * math/s_cacoshl.c: Likewise.
28127
ee190f67
UD
281282011-12-21 Ulrich Drepper <drepper@gmail.com>
28129
28130 [BZ #13439]
28131 * iconv/gconv.h: Define __GCONV_SWAP.
28132 * iconvdata/unicode.c: The swap bit must be stored in __flags.
28133 * iconvdata/utf-16.c: Likewise.
28134 * iconvdata/utf-32.c: Likewise.
28135
707f25df
AS
281362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
28137
28138 [BZ #13524]
28139 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
28140 numerator after shifting it by one limb.
28141
d2daaa1e
RÁE
281422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
28143
28144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
28145 under [__USE_EXTERN_INLINES].
28146
a4647e72
UD
281472011-12-17 Ulrich Drepper <drepper@gmail.com>
28148
28149 [BZ #13446]
28150 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
28151
f0b264f1
AZ
281522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28153
28154 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
28155 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
28156 optimized code.
28157 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
28158 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
28159 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
28160 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
28161 for strncasecmp/strncasecmp_l compilation.
28162 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
28163 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
28164
8ef4f244
MP
281652011-12-08 Marek Polacek <mpolacek@redhat.com>
28166
28167 [BZ #13484]
28168 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
28169 of __asm__.
28170
97ac2654
UD
281712011-12-17 Ulrich Drepper <drepper@gmail.com>
28172
28173 [BZ #13506]
28174 * time/tzfile.c (__tzfile_read): Check values from file header.
28175
91d2a845
WS
281762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
28177
28178 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
28179 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
28180 * powerpc/powerpc32/dl-start.S: Likewise.
28181 * powerpc/powerpc32/elf/start.S: Likewise.
28182 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28183 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
28184 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
28185 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
28186 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
28187 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
28188 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
28189 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28190 * powerpc/powerpc32/fpu/s_round.S: Likewise.
28191 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
28192 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
28193 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
28194 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28195 * powerpc/powerpc32/memset.S: Likewise.
28196 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
28197 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
28198 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
28199 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
28200 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
28201 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28202 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28203 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28204 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
28205 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
28206 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
28207 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28208 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28209
a1267ba1
AZ
282102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28211
28212 * math/libm-test.inc: Added more nearbyint tests.
28213 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
28214 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
28215 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
28216 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
28217
ad8ac1bd
RL
282182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
28219
28220 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
28221 FD_CLOEXEC.
28222
1d3e4b61
UD
282232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28224
28225 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
28226 Add wcscpy-ssse3 wcscpy-c.
28227 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
28228 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
28229 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
28230 * sysdeps/x86_64/wcschr.S: New file.
28231 * sysdeps/x86_64/wcsrchr.S: New file.
28232 * string/test-strcmp.c: Remove checking of wcscmp function for
28233 wrong alignments.
28234 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
28235 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
28236 wcsrchr-sse2 wcsrchr-c.
28237 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
28238 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
28239 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
28240 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
28241 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
28242 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
28243 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
28244 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
28245 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
28246 * wcsmbc/wcschr.c (WCSCHR): New macro.
28247
5b330a2d
UD
282482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28249
28250 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
28251 * wcsmbs/test-wcsrchr.c: New file.
28252 * string/test-strrchr.c: Add wcsrchr support.
28253 (WIDE): New macro.
28254 * wcsmbs/test-wcscpy.c: New file.
28255 * string/test-strcpy.c: Add wcscpy support.
28256 (WIDE): New macro.
26428b7c 28257
f039c043
UD
282582011-12-10 Ulrich Drepper <drepper@gmail.com>
28259
28260 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
28261 the inner loop.
28262
850fb039
AS
282632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
28264
28265 [BZ #13472]
28266 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
28267
4efbd5cb
UD
282682011-12-04 Ulrich Drepper <drepper@gmail.com>
28269
52ff5dd0 28270 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 28271 Minor optimizations.
52ff5dd0 28272
4efbd5cb
UD
28273 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
28274 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
28275 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
28276
8a426e12
UD
282772011-12-03 Ulrich Drepper <drepper@gmail.com>
28278
aff2453d
UD
28279 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
28280 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
28281 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
28282 for gcc to avoid warnings.
28283 * inet/Makefile (tests): Add tst-checks.
28284 * inet/tst-checks.c: New file.
28285
28286 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
28287 warning.
28288
28289 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
28290 __wmemcmp_sse2.
28291
28292 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
28293 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
28294
8a426e12
UD
28295 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
28296
9bea3473
UD
282972011-12-02 Ulrich Drepper <drepper@gmail.com>
28298
3a965496
UD
28299 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
28300 problem.
28301
9bea3473
UD
28302 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
28303
f101631b
UD
283042011-11-29 Joseph Myers <joseph@codesourcery.com>
28305
28306 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
28307 conditional on GCC version.
28308 (__arch_compare_and_exchange_val_8_acq)
28309 (__arch_compare_and_exchange_val_16_acq)
28310 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
28311 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
28312 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
28313
a98275aa
UD
283142011-12-02 Joseph Myers <joseph@codesourcery.com>
28315
28316 * sysdeps/sh/backtrace.c: New file.
28317
d4cc29a2
AS
283182011-12-02 Andreas Schwab <schwab@redhat.com>
28319
28320 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
28321 parenthesis.
28322
6257af2d
AS
283232011-12-01 Andreas Schwab <schwab@redhat.com>
28324
28325 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
28326 falling back to utime.
28327
b5f44c1a
AS
283282011-11-30 Andreas Schwab <schwab@redhat.com>
28329
28330 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
28331 expectations for float.
28332
f3a6cc0a
AS
283332011-11-29 Andreas Schwab <schwab@redhat.com>
28334
28335 * locale/weight.h (findidx): Add parameter len.
28336 * locale/weightwc.h (findidx): Likewise.
28337 * posix/fnmatch_loop.c (FCT): Adjust caller.
28338 * posix/regcomp.c (build_equiv_class): Likewise.
28339 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
28340 * posix/regexec.c (check_node_accept_bytes): Likewise.
28341 * string/strcoll_l.c (STRCOLL): Likewise.
28342 * string/strxfrm_l.c (STRXFRM): Likewise.
28343
9d65ea3a
UD
283442011-11-17 Ulrich Drepper <drepper@gmail.com>
28345
28346 * Makefile.in: Remove CVSOPT handling.
28347 * configure.in: Remove use of AC_REVISION.
28348 * iconvdata/Makefile (distribute): No need to filter out CVS.
28349 * scripts/list-sources.sh: Remove CVS, subversion and monotone
28350 handling.
28351
5583a086
AS
283522011-11-16 Andreas Schwab <schwab@redhat.com>
28353
28354 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
28355 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
28356 [USE_AS_STRNCASECMP_L]: Likewise.
28357 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
28358 NO_TLS_DIRECT_SEG_REFS.
28359 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
28360 Fix argument offsets for non-PIC.
28361 [USE_AS_STRNCASECMP_L]: Likewise.
28362 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
28363 NO_TLS_DIRECT_SEG_REFS.
28364
d62a8200
UD
283652011-11-15 Ulrich Drepper <drepper@gmail.com>
28366
9d65ea3a 28367 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
28368 O_CLOEXEC.
28369 * locale/loadlocale.c (_nl_load_locale): Likewise.
28370
09f93bd3
AS
283712011-11-15 Andreas Schwab <schwab@redhat.com>
28372
446514f9
AS
28373 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
28374 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
28375 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
28376 (SYSCALL_GETTIME): Set errno on error.
28377
09f93bd3
AS
28378 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
28379 count references to noai6ai_cached.
28380
312be3f9
UD
283812011-11-15 Ulrich Drepper <drepper@gmail.com>
28382
28383 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
28384
28385 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
28386 FD_CLOEXEC for /proc/self/maps.
28387
28388 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
28389 FD_CLOEXEC for /proc/meminfo.
28390
28391 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
28392 gai.conf.
28393
28394 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
28395 FD_CLOEXEC for given file.
28396
28397 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
28398
28399 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
28400 FD_CLOEXEC for /etc/hosts.
28401 (_gethtent): Likewise.
28402
28403 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
28404
28405 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
28406 cancellation and set FD_CLOEXEC for /etc/netgroup.
28407
28408 * nss/nss_files/files-key.c (search): Don't allow cancellation when
28409 reading /etc/publickey.
28410
28411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
28412 allow cancellation when reading /etc/group.
28413
28414 * nss/nss_files/files-alias.c (internal_setent): Don't allow
28415 cancellation.
28416 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
28417
28418 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
28419 when using data file.
28420
28421 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
28422
28423 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
28424 (write_nis_obj): Use "c" and "e" in fopen.
28425
28426 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
28427
28428 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
28429
28430 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
28431
28432 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
28433
28434 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
28435 locale.alias.
28436
28437 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
28438
28439 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
28440
28441 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
28442
28443 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
28444 file parsing and set FD_CLOEXEC.
28445
82af0fa8
UD
284462011-11-14 Ulrich Drepper <drepper@gmail.com>
28447
28448 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
28449
a5fb313c
AS
284502011-11-14 Andreas Schwab <schwab@redhat.com>
28451
28452 * malloc/arena.c (arena_get2): Don't call reused_arena when
28453 _int_new_arena failed.
28454
6abf3465
UD
284552011-11-14 Ulrich Drepper <drepper@gmail.com>
28456
28457 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
28458 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
28459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
28460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28461 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
28463 to compile strcasecmp and strncasecmp.
28464 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
28465 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
28466
28467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
28468
76e3966e
UD
284692011-11-13 Ulrich Drepper <drepper@gmail.com>
28470
28471 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
28472 locale-defines.sym to gen-as-const-headers.
28473 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
28474 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
28475 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
28476 to compile strcasecmp and strncasecmp.
28477 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
28478 strcasecmp_l and strncasecmp_l.
28479 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
28480 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
28481 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
28482 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
28483 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
28484 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
28485 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
28486 * sysdeps/i386/i686/multiarch/strncase.S: New file.
28487 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
28488 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
28489 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
28490
ab26144e
UD
284912011-11-12 Ulrich Drepper <drepper@gmail.com>
28492
7edb22ef
UD
28493 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
28494 result of SYSDEP_GETTIME_CPU to retval.
28495 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
28496 parameter list to macro. Remove trailing semicolon. Adjust users.
28497
9694fc44
UD
28498 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
28499 variable.
28500
8ad89ef8
UD
28501 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
28502 mantissa words.
28503 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
28504
0c822ef9
UD
28505 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
28506 from unused variable.
28507
874e0564
UD
28508 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
28509 DWARF definitions.
28510 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
28511 for assembling.
28512
3a2edc79
UD
28513 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
28514 over namespaces.
28515
f3c2577f
UD
28516 * sunrpc/rpc_prot.c (rejected): Fix case value.
28517
294ce126
UD
28518 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
28519 unsigned long long int to avoid warnings in shift.
28520
5e2b63c6
UD
28521 * posix/regex_internal.c (re_string_reconstruct): Actually use result
28522 of use of trans.
28523 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
28524 variable tmp.
28525
e7f4b08e
UD
28526 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
28527 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28528 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28529
ab26144e
UD
28530 * nis/nis_table.c (nis_list): Use variable of correct type for
28531 result of __follow_path call.
28532
8a6d5255
AZ
285332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28534
28535 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
28536 of math functions ceil, trunc, floor, round, and sqrt, when
28537 avaliable on the platform.
28538 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
28539 name clash.
28540 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28541 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
28542 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
28543
aaddc98c
MP
285442011-10-30 Marek Polacek <mpolacek@redhat.com>
28545
28546 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
28547 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28548
95b7042b
RM
285492011-11-11 Roland McGrath <roland@hack.frob.com>
28550
28551 * include/unistd.h: Fix __readlink return type.
28552 Reported by Chris Metcalf <cmetcalf@tilera.com>.
28553
57769839
UD
285542011-11-11 Ulrich Drepper <drepper@gmail.com>
28555
28556 * stdlib/ucontext.h: Undo last change for makecontext.
28557
edc5984d
AS
285582011-11-11 Andreas Schwab <schwab@redhat.com>
28559
98591e58
AS
28560 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
28561
edc5984d
AS
28562 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
28563 * setjmp/setjmp.h: Mark functions as non-leaf.
28564 * setjmp/bits/setjmp2.h: Likewise.
28565 * stdlib/ucontext.h: Likewise.
28566
77cdc054
AS
285672011-11-10 Andreas Schwab <schwab@redhat.com>
28568
28569 * malloc/arena.c (_int_new_arena): Don't increment narenas.
28570 (reused_arena): Don't check arena limit.
28571 (arena_get2): Atomically check arena limit.
28572
fe72eebd
UD
285732011-11-08 Ulrich Drepper <drepper@gmail.com>
28574
5f078c32
UD
28575 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
28576 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
28577
fe72eebd
UD
28578 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
28579 instructions.
28580
ae1bc2fa
AS
285812011-11-07 Andreas Schwab <schwab@redhat.com>
28582
7583a88d
AS
28583 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
28584 handler when locking.
28585
ae1bc2fa
AS
28586 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
28587 Fix size of allocated buffer.
28588
10fb0bfa
AS
285892011-11-04 Andreas Schwab <schwab@redhat.com>
28590
998832a4
AS
28591 [BZ #10103]
28592 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
28593 declarations for long double functions.
28594 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
28595
10fb0bfa
AS
28596 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
28597
3d7ba52b
AS
285982011-11-03 Andreas Schwab <schwab@redhat.com>
28599
a9ae54a1
AS
28600 * nscd/nscd.c (main): Don't start AVC thread until credentials are
28601 installed.
28602
3d7ba52b
AS
28603 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
28604 is disabled.
28605
bc8db248
ST
286062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
28607
28608 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
28609
45b96dd6
AS
286102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
28611
647776f6
AS
28612 * include/alloca.h (stackinfo_alloca_round): Define.
28613 (extend_alloca): Use it.
28614 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
28615 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
28616 here.
28617
d91a8b93
AS
28618 * scripts/check-local-headers.sh: Ignore libaudit.h.
28619
45b96dd6
AS
28620 * nscd/Makefile (extra-objs): Make recursively expanded.
28621
432d41ce
UD
286222011-11-01 Ulrich Drepper <drepper@gmail.com>
28623
34372fc6
UD
28624 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
28625 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28626
fadb59f8
UD
28627 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
28628 * posix/tst-rfc3484-2.c: Likewise.
28629 * posix/tst-rfc3484-3.c: Likewise.
28630
78239589
UD
28631 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28632 process_vm_writev.
28633 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
28634 process_vm_writev.
28635 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
28636 process_vm_writev from libc using GLIBC_2.15 version.
28637
432d41ce
UD
28638 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
28639
02f9c6cf
PP
286402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
28641
28642 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
28643 stack usage.
28644
3a2c0242
UD
286452011-10-31 Ulrich Drepper <drepper@gmail.com>
28646
f4ec4833
UD
28647 [BZ #13367]
28648 * nss/getent.c (initgroups_keys): Show error message in case no group
28649 names are given.
28650
3a2c0242
UD
28651 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
28652 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
28653 __bump_nl_timestamp.
28654 * nscd/connections (nscd_init): When host database is served open
28655 netlink socket and request notification about configuration changes.
28656 (main_loop_poll): Track netlink file descriptor and bump timestamp
28657 in case data becomes available.
28658 (main_loop_epoll): Likewise.
28659 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
28660 (database_pers_head): Add extra_data fileds.
28661 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
28662 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
28663 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
28664 Adjust caller.
28665 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
28666 in6ai data, call __free_in6ai.
28667 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
28668 Add -DHAVE_NETLINK.
28669 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
28670 interface information. Reuse previous data if netlink timestamp
28671 is not changed.
28672 (__bump_nl_timestamp): New function.
28673 (__free_in6ai): New function.
28674
636064eb
UD
286752011-10-30 Ulrich Drepper <drepper@gmail.com>
28676
28677 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
28678 close_not_cancel_no_status here.
28679 (__check_pf): Reorganize code a bit to not call close twice if OOM.
28680
9beb2334
UD
286812011-10-29 Ulrich Drepper <drepper@gmail.com>
28682
6ef76f3b
UD
28683 [BZ #13276]
28684 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
28685 return value.
28686
0ffc4f3e 28687 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
28688 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
28689 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
28690
cb95113e
UD
286912011-07-03 Andreas Jaeger <aj@suse.de>
28692
28693 [BZ #10709]
28694 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
28695 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
28696 * math/libm-test.inc (sin_test): Add test case.
28697
a1b560ff
UD
286982011-10-29 Ulrich Drepper <drepper@gmail.com>
28699
c9aaface
UD
28700 [BZ #13337]
28701 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
28702 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28703
d272e7f1
UD
28704 * elf/chroot_canon.c (chroot_canon): Cleanups.
28705
1bc33071
UD
28706 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
28707
1760874d
TJ
28708 [BZ #13335]
28709 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
28710 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
28711
51d91b18
UD
28712 * string/test-strchr.c: Make usable for strchrnul testing.
28713 * string/test-strchrnul.c: New file.
28714 * string/Makefile (strop-tests): Add strchrnul.
28715
a1b560ff 28716 * po/it.po: Update from translation team.
b611fb81 28717 * po/es.po: Likewise.
a1b560ff 28718
a5b81e1f
UD
287192011-10-28 Ulrich Drepper <drepper@gmail.com>
28720
fd52bc6d
UD
28721 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
28722 the three constants needed as parameters. Drop the others.
28723 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
28724 __m128i_strloadu_tolower.
52e4b9eb
UD
28725 Create and initialize variable zero and use it in all the places
28726 where _mm_setzero_si128 was used.
fd52bc6d 28727
a5b81e1f
UD
28728 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
28729 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
28730 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
28731 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
28732 anymore.
28733 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
28734 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
28735 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
28736 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
28737 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
28738 __mpranred, __mptan.
28739 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
28740 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
28741 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
28742 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
28743 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
28744 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
28745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
28746 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
28747 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
28748
b4343346
AS
287492011-10-28 Andreas Schwab <schwab@redhat.com>
28750
0c92d8a8
AS
28751 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
28752 redefine if SHARED.
28753 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
28754
b4343346
AS
28755 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
28756 wide char related routines to wcsmbs subdir.
28757
3871f58f
AS
287582011-10-27 Andreas Schwab <schwab@redhat.com>
28759
28760 [BZ #13344]
28761 * misc/sys/cdefs.h (__THROWNL): Define.
28762 * posix/unistd.h: Use __THREADNL instead of __THREAD
28763 for memory synchronization functions.
28764
94d44d9f
RM
287652011-10-26 Roland McGrath <roland@hack.frob.com>
28766
21b64b15 28767 [BZ #13349]
94d44d9f
RM
28768 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
28769 doesn't exist.
28770 * manual/stdio.texi (Obstack Streams): Node removed.
28771
f6ce9294
AS
287722011-10-26 Andreas Schwab <schwab@redhat.com>
28773
80479147
AS
28774 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
28775 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28776 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28777
f6ce9294
AS
28778 * math/math_private.h (math_force_eval): Allow non-addressable
28779 arguments.
28780 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
28781
618280a1
UD
287822011-10-25 Ulrich Drepper <drepper@gmail.com>
28783
e0016b11
UD
28784 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
28785 file is not needed.
28786
28787 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
28788 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
28789 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28790 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28791 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28792 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28793 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28794 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
28795 Add AVX variants.
28796 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
28797 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
28798 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
28799 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
28800 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
28801 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
28802 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
28803 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
28804 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
28805 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
28806 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
28807 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
28808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
28809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
28810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
28811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
28812 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
28813 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
28814 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
28815
28816 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
28817 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
28818
618280a1
UD
28819 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
28820 place. Use VEX encoding when compiling for AVX.
28821
37822576
AS
288222011-10-25 Andreas Schwab <schwab@redhat.com>
28823
1f1e1947
AS
28824 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
28825 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28826
37822576
AS
28827 * string/test-strchr.c (do_test): Don't generate NUL bytes.
28828
31ea014d
UD
288292011-10-25 Ulrich Drepper <drepper@gmail.com>
28830
d7826aa1 28831 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 28832 useless if() expression.
d7826aa1
UD
28833 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
28834 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
28835 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28836 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
28839 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
28840 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
28841 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
28842 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28843 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
28844 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
28846 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
28852
31ea014d
UD
28853 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
28854
16437fec
AS
288552011-10-25 Andreas Schwab <schwab@redhat.com>
28856
28857 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
28858 condition.
28859 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28860
31d3cc00
UD
288612011-10-25 Ulrich Drepper <drepper@gmail.com>
28862
28863 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
28864 .text section. Avoid duplicate constants.
28865 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
28866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28867 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
28868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28869 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28870 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28871 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28872 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28873 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
28874 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
28875 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
28876 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
28877 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
28878 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
28879 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
28880 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
28881 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
28882 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
28883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
28884 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28885 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
28886 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
28887 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
28888 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
28889 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
28890 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
28891 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
28892 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
28893 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
28894 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
28895 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
28896 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
28897 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28898 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
28899 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
28900 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
28901 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
28902 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
28903 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
28904 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
28905 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
28906 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
28907 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
28908 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
28909 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
28910
58985aa9
UD
289112011-10-24 Ulrich Drepper <drepper@gmail.com>
28912
202c9deb
UD
28913 * sysdeps/x86_64/dla.h: Move to ...
28914 * sysdeps/x86_64/fpu/dla.h: ...here.
28915 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
28916 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 28917
af968f62
UD
28918 * config.make.in: Add have-mfma4 entry.
28919 * configure.in: Substitute libc_cv_cc_fma4.
28920 * math/Makefile (dbl-only-routines): Add sincostab.
28921 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
28922 Use __sincostab not sincos.
28923 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
28924 name is a macro.
28925 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
28926 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28927 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28928 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
28929 using __copysign.
28930 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
28931 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
28932 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
28933 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
28934 and __inv.
28935 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
28936 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
28937 __copysign.
28938 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
28939 define aliases when function name is a macro.
28940 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
28941 sysdeps/ieee754/dbl-64/sincos.tbl.
28942 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
28943 fma4-enabled routines.
28944 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
28945 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
28946 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
28947 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
28948 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
28949 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
28950 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
28951 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
28952 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
28953 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
28954 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
28955 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
28956 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
28957 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
28958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
28959 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
28960 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
28961 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
28962 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
28963 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
28964 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
28965 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
28966 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
28967 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
28968 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
28969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
28970 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
28971 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
28972 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
28973 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
28974
58985aa9
UD
28975 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
28976 rename.
28977 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28978 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
28979 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
28980 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
28981 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
28982 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
28983 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
28984 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
28985
a201fbcf
AS
289862011-10-24 Andreas Schwab <schwab@redhat.com>
28987
28988 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
28989
fc2ee42a
LD
289902011-10-23 Ulrich Drepper <drepper@gmail.com>
28991
bb3129bd
UD
28992 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
28993
0275fff8
UD
28994 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
28995 prediction.
28996 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
28997
2fa2ae85
UD
28998 * string/strnlen.c: Don't define STRNLEN, reverse logic.
28999 Remove unused variable magic_bits.
29000 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
29001
fc2ee42a
LD
29002 * string/strnlen.c: Define and use STRNLEN macro.
29003 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
29004 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
29005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
29006 * wcsmbs/wcslen.c: Define and use WCSLEN.
29007 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
29008 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
29009 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
29010 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
29011 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
29012 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
29013 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29014
ce7dd29f
LD
290152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29016
29017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29018 strnlen-sse2-no-bsf.
29019 Rename strlen-no-bsf to strlen-sse2-no-bsf.
29020 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
29021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
29022 Add strnlen support.
29023 (USE_AS_STRNLEN): New macro.
29024 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
29025 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
29026 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
29027 * sysdeps/x86_64/wcslen.S: New file.
29028
979c70a3
MZ
290292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
29030
29031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
29032 XMM-moves are used for copying on small sizes.
29033
2d09f82f
LD
290342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29035
29036 * wcsmbs/Makefile (strop-tests): Add wcschr.
29037 * wcsmbs/test-wcschr.c: New file.
29038 * string/test-strchr.c: Update.
29039 Add wcschr support.
29040 (WIDE): New macro.
29041
619fccca
LD
290422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29043
2d09f82f 29044 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
29045 * wcsmbs/test-wcslen.c: New file.
29046 * string/test-strlen.c: Update.
29047 Add wcslen support.
29048 (WIDE): New macro.
29049
09f699ea
UD
290502011-10-23 Ulrich Drepper <drepper@gmail.com>
29051
29052 * po/it.po: Update from translation team.
29053
95584d3b
LD
290542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29055
29056 * sysdeps/x86_64/wcscmp.S: Update.
29057 Fix wrong comparison semantics.
29058 wcscmp shall use signed comparison not unsigned.
29059 Don't use substraction to avoid overflow bug.
29060 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29061 * wcsmbc/wcscmp.c: Likewise.
29062 * string/test-strcmp.c: Likewise.
29063 Add new tests to check cases with negative values.
29064
c8b3296b
UD
290652011-10-23 Ulrich Drepper <drepper@gmail.com>
29066
29067 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
29068 * sysdeps/x86_64/dla.h: ...here. New file.
29069 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
29070 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29071 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29073 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29076 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29077 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29078
246ad57a
AS
290792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
29080
29081 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
29082 __ynl_finite aliases.
29083
a1a87169
UD
290842011-10-22 Ulrich Drepper <drepper@gmail.com>
29085
0d355eb7
UD
29086 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29087
a1a87169
UD
29088 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
29089 define DLA_FMA.
29090 [DLA_FMA] (EMULV): Use DLA_FMA.
29091 [DLA_FMA] (MUL12): Use EMULV.
29092 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
29093 that are not needed.
29094 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29096 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29097 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29098 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29099 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29100 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29101
ee2aafe0
AS
291022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
29103
29104 * math/s_nan.c: Undef __nan.
29105 * math/s_nanf.c: Undef __nanf.
29106 * math/s_nanl.c: Undef __nanl.
29107 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
29108 "math_private.h".
29109
bc62c2fb
UD
291102011-10-22 Ulrich Drepper <drepper@gmail.com>
29111
77425c63
UD
29112 * math/s_catan.c: Add branch predictions.
29113 * math/s_catanf.c: Likewise.
29114 * math/s_catanh.c: Likewise.
29115 * math/s_catanhf.c: Likewise.
29116 * math/s_catanhl.c: Likewise.
29117 * math/s_catanl.c: Likewise.
29118 * math/s_cexp.c: Likewise.
29119 * math/s_cexpf.c: Likewise.
29120 * math/s_cexpl.c: Likewise.
29121 * math/s_clog.c: Likewise.
29122 * math/s_clog10.c: Likewise.
29123 * math/s_clog10f.c: Likewise.
29124 * math/s_clog10l.c: Likewise.
29125 * math/s_clogf.c: Likewise.
29126 * math/s_clogl.c: Likewise.
29127 * math/s_csqrt.c: Likewise.
29128 * math/s_csqrtf.c: Likewise.
29129 * math/s_csqrtl.c: Likewise.
29130 * math/s_ctanf.c: Likewise.
29131 * math/s_ctanh.c: Likewise.
29132 * math/s_ctanhf.c: Likewise.
29133 * math/s_ctanhl.c: Likewise.
29134 * math/s_ctanl.c: Likewise.
29135
bc62c2fb
UD
29136 * math/math_private.h: Define __nan, __nanf, __nanl.
29137 * math/s_cacosh.c: Include <math_private.h>.
29138 * math/s_cacoshl.c: Likewise.
29139 * math/s_casinh.c: Likewise.
29140 * math/s_casinhf.c: Likewise.
29141 * math/s_casinhl.c: Likewise.
29142 * math/s_ccos.c: Rely entire on ccosh.
29143 * math/s_ccosf.c: Rely entire on ccoshf.
29144 * math/s_ccosl.c: Rely entirely on ccoshl.
29145 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
29146 Remove tests for FE_INVALID.
29147 * math/s_ccoshf.c: Likewise.
29148 * math/s_ccoshl.c: Likewise.
29149 * math/s_csin.c: Likewise.
29150 * math/s_csinf.c: Likewise.
29151 * math/s_csinh.c Likewise.
29152 * math/s_csinhf.c: Likewise.
29153 * math/s_csinhl.c: Likewise.
29154 * math/s_csinl.c: Likewise.
29155 * math/s_ctan.c: Likewise.
29156 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
29157 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
29158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
29159
8ec250a4
UD
291602011-10-21 Ulrich Drepper <drepper@gmail.com>
29161
c196fed8
UD
29162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
29163 compilation problems.
29164
8ec250a4
UD
29165 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
29166 __builtin_expect.
29167
8d4f46c6
UD
291682011-10-20 Ulrich Drepper <drepper@gmail.com>
29169
ed72b654
UD
29170 * sysdeps/i386/configure.in: Test for -mfma4 option.
29171 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
29172 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
29173 COMMON_CPUID_INDEX_80000001.
29174 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
29175 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
29176 use it if FMA3 is not supported.
29177 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
29178
8d4f46c6
UD
29179 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
29180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
29181
d45c60c2
AS
291822011-10-20 Andreas Schwab <schwab@redhat.com>
29183
29184 [BZ #12892]
29185 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
29186 it would create a cycle with a link time dependency.
29187
d9a4d2ab
UD
291882011-10-19 Ulrich Drepper <drepper@gmail.com>
29189
855d1560
UD
29190 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
29191 instruction.
29192 * string/Makefile (strop-tests): Add rawmemchr.
29193 * string/test-rawmemchr.c: New file.
29194
d9a4d2ab
UD
29195 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
29196 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
29197 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
29198 when compiling str{,n}casecmp and when AVX is available. Hook up
29199 new optimized code in initializers.
29200
8f3b1ffe
AS
292012011-10-19 Andreas Schwab <schwab@redhat.com>
29202
29203 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
29204 __feraiseexcept instead of feraiseexcept.
29205
d38f1dba
UD
292062011-10-18 Ulrich Drepper <drepper@gmail.com>
29207
d9a8d0ab
UD
29208 * math/math_private.h: Define defaults for libc_fetestexcept and
29209 libc_feupdateenv.
29210 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
29211 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
29212 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29213 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29214 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
29215 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29216 libc_fetestexcept and libc_feupdateenv.
29217
4855e3dd
UD
29218 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
29219 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
29220 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
29221 * sysdeps/x86_64/fpu/math_private.h: Define special version of
29222 libc_feholdexcept_setround.
29223
581d30e3
UD
29224 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
29225 Add s_nearbyint-c and s_nearbyintf-c.
29226 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
29227 nearbyintf inlines.
29228 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
29229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
29230 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
29231 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
29232
d38f1dba
UD
29233 * math/math_private.h: Define defaults for libc_fegetround,
29234 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
29235 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
29236 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
29237 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
29238 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
29239 standard functions.
29240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29241 Remove comments and hacks for old compiler versions.
29242 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
29243 libc_fegetround, libc_fesetround, libc_feholdexcept, and
29244 libc_feholdexceptl.
29245
caa6c9d8
AS
292462011-10-18 Andreas Schwab <schwab@redhat.com>
29247
29248 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
29249 (__feraiseexcept_renamed): Add __NTH.
29250 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
29251 namespace violations.
29252
97c066e6
UD
292532011-10-17 Ulrich Drepper <drepper@gmail.com>
29254
99ce7b04
UD
29255 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
29256
1004d182
UD
29257 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
29258
228a984d
UD
29259 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
29260 recently added interfaces.
29261 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
29262
c8553a6a
UD
29263 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
29264 about macro parameter expansion.
29265
ed22dcf6
UD
29266 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
29267 __NO_MATH_INLINES is defined. Cleanups.
29268
29269 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
29270 and __floorf is target has SSE4.1.
29271 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
29272 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
29273 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
29274 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
29275
b171c137
UD
29276 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
29277 name.
29278 (floorf): Likewise.
29279
97c066e6
UD
29280 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
29281
629f62ef
AS
292822011-10-17 Andreas Schwab <schwab@redhat.com>
29283
49a43d80
AS
29284 * misc/sys/cdefs.h: Fix last change.
29285
629f62ef
AS
29286 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
29287 database lookup.
29288
e453f6cd
UD
292892011-10-16 Ulrich Drepper <drepper@gmail.com>
29290
aa78043a
UD
29291 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
29292
ad0f5cad
UD
29293 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
29294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
29297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29298 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
29299 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
29300 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
29301 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
29302 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
29303 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
29304 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
29305 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
29306 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
29307 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
29308 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
29309 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
29310 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
29311 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
29312 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
29313 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
29314 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
29315
29316 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
29317 ceil, ceilf, floor, floorf.
29318
29319 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
29320 Perform IRELATIVE relocations last.
29321
e453f6cd
UD
29322 * elf/do-rel.h: Add another parameter nrelative, replacing the
29323 local variable with the same name. Change name of the function
29324 to end in Rel or Rela (uppercase).
29325 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
29326 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
29327 elf_dynamic_do_##reloc function.
29328
fd5bdc09
UD
293292011-10-15 Ulrich Drepper <drepper@gmail.com>
29330
79b195b5
UD
29331 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
29332 is sufficient, at least on modern CPUs.
29333
d4a28569
UD
29334 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
29335
b61099b5
UD
29336 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
29337 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
29338
bcf01e6d
UD
29339 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
29340 __expl_finite.
29341 * math/bits/math-finite.h: Add entries for exp.
29342 * math/e_expl.c: Add __*_finite alias.
29343 * sysdeps/i386/fpu/e_exp.S: Likewise.
29344 * sysdeps/i386/fpu/e_expf.S: Likewise.
29345 * sysdeps/i386/fpu/e_expl.c: Likewise.
29346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29347 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
29348 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29350 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
29351 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
29352 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
29353
ba1a0d59
UD
29354 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
29355 is sufficient, at least on modern CPUs.
29356
fd5bdc09
UD
29357 * ctype/ctype-info.c (__ctype_init): Define.
29358 * include/ctype.h (__ctype_init): Declare.
29359 (__ctype_b_loc): The variable is always initialized.
29360 (__ctype_toupper_loc): Likewise.
29361 (__ctype_tolower_loc): Likewise.
29362 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
29363 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
29364
7872cfb0
AS
293652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
29366
b468825a
AS
29367 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
29368
7872cfb0
AS
29369 * configure.in: Also look in $cxxmachine/include for C++ system
29370 headers.
29371
be13f7bf
LD
293722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29373
29374 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
29375 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
29376 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
29377 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
29378 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
29379 (USE_AS_WMEMCMP): New macro.
29380 Fixing indents.
29381 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
29382 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
29383 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
29384 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
29385 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29386 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
29387 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
29388 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
29389 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
29390 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
29391 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
29392 (USE_AS_WMEMCMP): New macro.
29393 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
29394 * sysdeps/string/test-memcmp.c: Update.
29395 Fix simple_wmemcmp.
29396 Add new tests.
29397 * wcsmbs/wmemcmp.c: Update.
29398 (WMEMCMP): New macro.
29399 Fix overflow bug.
29400
556a2007
AJ
294012011-10-12 Andreas Jaeger <aj@suse.de>
29402
29403 [BZ #13268]
29404 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
29405
538faaa7
UD
294062011-10-15 Ulrich Drepper <drepper@gmail.com>
29407
ab6737ff
UD
29408 * libio/iofwide.c (do_length): Avoid warning.
29409
538faaa7
UD
29410 * ctype/ctype.h (__isctype_f): Add missing __THROW.
29411
396a21b1
UD
294122011-10-14 Ulrich Drepper <drepper@gmail.com>
29413
cdf2901f
UD
29414 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
29415
38ad40ce
UD
29416 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
29417 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
29418 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
29419 * sysdeps/i386/i686/fpu/e_log.S: New file.
29420 * sysdeps/i386/i686/fpu/e_logf.S: New file.
29421 * sysdeps/i386/i686/fpu/e_logl.S: New file.
29422
396a21b1
UD
29423 * ctype/ctype.h: Add support for inlined isXXX functions when
29424 compiling C++ code.
29425
6b1f68c9
AS
294262011-10-14 Andreas Schwab <schwab@redhat.com>
29427
349290c0
AS
29428 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29429
6b1f68c9
AS
29430 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
29431
f2282d42
RM
294322011-10-13 Roland McGrath <roland@hack.frob.com>
29433
29434 [BZ #13291]
29435 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
29436
5298ffa8
AS
294372011-10-13 Andreas Schwab <schwab@redhat.com>
29438
714fad23
AS
29439 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
29440 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
29441 feraiseexcept.
29442
81dcc7fb
AS
29443 * sysdeps/x86_64/memrchr.S: Check for zero size.
29444
5298ffa8
AS
29445 * string/stratcliff.c: Add memrchr tests.
29446
951fbcec
LD
294472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29448
29449 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29450 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
29451 rawmemchr-sse2 rawmemchr-sse2-bsf.
29452 * sysdeps/i386/i686/multiarch/memchr.S: New file.
29453 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
29454 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
29455 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
29456 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
29457 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
29458 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
29459 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
29460 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
29461 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
29462 * string/memrchr.c (MEMRCHR): New macro.
29463
0ac5ae23
UD
294642011-10-12 Ulrich Drepper <drepper@gmail.com>
29465
29466 Add integration with gcc's -ffinite-math-only and optimize wrapper
29467 functions in libm.
29468 * Versions.def: Define GLIBC_2.15 version for libm.
29469 * math/Makefile (headers): Add bits/math-finite.h.
29470 * math/bits/math-finite.h: New file.
29471 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
29472 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
29473 * math/e_acoshl.c: Add __*_finite alias.
29474 * math/e_acosl.c: Likewise.
29475 * math/e_asinl.c: Likewise.
29476 * math/e_atan2l.c: Likewise.
29477 * math/e_atanhl.c: Likewise.
29478 * math/e_coshl.c: Likewise.
29479 * math/e_exp10.c: Likewise.
29480 * math/e_exp10f.c: Likewise.
29481 * math/e_exp10l.c: Likewise.
29482 * math/e_exp2l.c: Likewise.
29483 * math/e_fmodl.c: Likewise.
29484 * math/e_gammal_r.c: Likewise.
29485 * math/e_hypotl.c: Likewise.
29486 * math/e_j0l.c: Likewise.
29487 * math/e_j1l.c: Likewise.
29488 * math/e_jnl.c: Likewise.
29489 * math/e_lgammal_r.c: Likewise.
29490 * math/e_log10l.c: Likewise.
29491 * math/e_log2l.c: Likewise.
29492 * math/e_logl.c: Likewise.
29493 * math/e_powl.c: Likewise.
29494 * math/e_sinhl.c: Likewise.
29495 * math/e_sqrtl.c: Likewise.
29496 * math/e_scalb.c: Completely rewritten and optimized.
29497 * math/e_scalbf.c: Likewise.
29498 * math/e_scalbl.c: Likewise.
29499 * math/w_acos.c: Likewise.
29500 * math/w_acosf.c: Likewise.
29501 * math/w_acosl.c: Likewise.
29502 * math/w_acosh.c: Likewise.
29503 * math/w_acoshf.c: Likewise.
29504 * math/w_acoshl.c: Likewise.
29505 * math/w_asin.c: Likewise.
29506 * math/w_asinf.c: Likewise.
29507 * math/w_asinl.c: Likewise.
29508 * math/w_atan2.c: Likewise.
29509 * math/w_atan2f.c: Likewise.
29510 * math/w_atan2l.c: Likewise.
29511 * math/w_atanh.c: Likewise.
29512 * math/w_atanhf.c: Likewise.
29513 * math/w_atanhl.c: Likewise.
29514 * math/w_exp10.c: Likewise.
29515 * math/w_exp10f.c: Likewise.
29516 * math/w_exp10l.c: Likewise.
29517 * math/w_fmod.c: Likewise.
29518 * math/w_fmodf.c: Likewise.
29519 * math/w_fmodl.c: Likewise.
29520 * math/w_j0.c: Likewise.
29521 * math/w_j0f.c: Likewise.
29522 * math/w_j0l.c: Likewise.
29523 * math/w_j1.c: Likewise.
29524 * math/w_j1f.c: Likewise.
29525 * math/w_j1l.c: Likewise.
29526 * math/w_jn.c: Likewise.
29527 * math/w_jnf.c: Likewise.
29528 * math/w_log.c: Likewise.
29529 * math/w_logf.c: Likewise.
29530 * math/w_logl.c: Likewise.
29531 * math/w_log10.c: Likewise.
29532 * math/w_log10f.c: Likewise.
29533 * math/w_log10l.c: Likewise.
29534 * math/w_log2.c: Likewise.
29535 * math/w_log2f.c: Likewise.
29536 * math/w_log2l.c: Likewise.
29537 * math/w_pow.c: Likewise.
29538 * math/w_powf.c: Likewise.
29539 * math/w_powl.c: Likewise.
29540 * math/w_remainder.c: Likewise.
29541 * math/w_remainderf.c: Likewise.
29542 * math/w_remainderl.c: Likewise.
29543 * math/w_scalb.c: Likewise.
29544 * math/w_scalbf.c: Likewise.
29545 * math/w_scalbl.c: Likewise.
29546 * math/w_sqrt.c: Likewise.
29547 * math/w_sqrtf.c: Likewise.
29548 * math/w_sqrtl.c: Likewise.
29549 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
29550 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
29551 used.
29552 * math/math_private.h: Declare __kernel_standard_f.
29553 * math/w_cosh.c: Remove cruft and optimize a bit.
29554 * math/w_coshf.c: Likewise.
29555 * math/w_coshl.c: Likewise.
29556 * math/w_exp2.c: Likewise.
29557 * math/w_exp2f.c: Likewise.
29558 * math/w_exp2l.c: Likewise.
29559 * math/w_hypot.c: Likewise.
29560 * math/w_hypotf.c: Likewise.
29561 * math/w_hypotl.c: Likewise.
29562 * math/w_lgamma.c: Likewise.
29563 * math/w_lgamma_r.c: Likewise.
29564 * math/w_lgammaf.c: Likewise.
29565 * math/w_lgammaf_r.c: Likewise.
29566 * math/w_lgammal.c: Likewise.
29567 * math/w_lgammal_r.c: Likewise.
29568 * math/w_sinh.c: Likewise.
29569 * math/w_sinhf.c: Likewise.
29570 * math/w_sinhl.c: Likewise.
29571 * math/w_tgamma.c: Likewise.
29572 * math/w_tgammaf.c: Likewise.
29573 * math/w_tgammal.c: Likewise.
29574 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
29575 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
29576 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
29577 Minor optimizations. Pretty printing. Remove cruft.
29578 * sysdeps/i386/fpu/e_acosf.S: Likewise.
29579 * sysdeps/i386/fpu/e_acosh.S: Likewise.
29580 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29581 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29582 * sysdeps/i386/fpu/e_acosl.c: Likewise.
29583 * sysdeps/i386/fpu/e_asin.S: Likewise.
29584 * sysdeps/i386/fpu/e_asinf.S: Likewise.
29585 * sysdeps/i386/fpu/e_atan2.S: Likewise.
29586 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
29587 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
29588 * sysdeps/i386/fpu/e_atanh.S: Likewise.
29589 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29590 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29591 * sysdeps/i386/fpu/e_exp10.S: Likewise.
29592 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
29593 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
29594 * sysdeps/i386/fpu/e_exp2.S: Likewise.
29595 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
29596 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
29597 * sysdeps/i386/fpu/e_fmod.S: Likewise.
29598 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
29599 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
29600 * sysdeps/i386/fpu/e_hypot.S: Likewise.
29601 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
29602 * sysdeps/i386/fpu/e_log.S: Likewise.
29603 * sysdeps/i386/fpu/e_log10.S: Likewise.
29604 * sysdeps/i386/fpu/e_log10f.S: Likewise.
29605 * sysdeps/i386/fpu/e_log10l.S: Likewise.
29606 * sysdeps/i386/fpu/e_log2.S: Likewise.
29607 * sysdeps/i386/fpu/e_log2f.S: Likewise.
29608 * sysdeps/i386/fpu/e_log2l.S: Likewise.
29609 * sysdeps/i386/fpu/e_logf.S: Likewise.
29610 * sysdeps/i386/fpu/e_logl.S: Likewise.
29611 * sysdeps/i386/fpu/e_pow.S: Likewise.
29612 * sysdeps/i386/fpu/e_powf.S: Likewise.
29613 * sysdeps/i386/fpu/e_powl.S: Likewise.
29614 * sysdeps/i386/fpu/e_remainder.S: Likewise.
29615 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
29616 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
29617 * sysdeps/i386/fpu/e_scalb.S: Likewise.
29618 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29619 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29620 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
29621 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
29622 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
29623 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
29624 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29625 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29626 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
29627 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
29628 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
29629 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
29630 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
29631 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
29632 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
29633 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
29634 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
29635 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29636 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
29637 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
29638 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29639 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29640 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
29641 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29642 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29643 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
29644 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
29645 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29646 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29647 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
29648 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
29649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
29650 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
29651 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
29652 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
29653 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
29654 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
29655 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
29656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
29657 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
29658 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
29659 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
29660 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
29661 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
29662 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
29663 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
29664 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
29665 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
29666 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
29667 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29668 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
29669 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
29670 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
29671 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
29672 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
29673 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
29674 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
29675 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
29676 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
29677 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
29678 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
29679 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
29680 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
29681 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
29682 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
29683 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
29684 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
29685 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29686 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29687 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
29688 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
29689 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
29690 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
29691 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
29692 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
29693 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
29694 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
29695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
29696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
29697 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
29698 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
29699 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29700 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
29701 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29702 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
29703 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
29704 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
29705 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
29706 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29707 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
29708 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
29709 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
29710 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
29711 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
29712 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
29713 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29714 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29715 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29716 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29717 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29718 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
29719 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
29720 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
29721 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
29722 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
29723 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
29724 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
29725 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
29726 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
29727 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29728 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29729 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29730 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29731 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
29732 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29733 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
29734 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
29735 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
29736 (__isnanf): Likewise.
29737 (__isinf_ns): Likewise.
29738 (__isinf_nsf): Likewise.
29739 (__finite): Likewise.
29740 (__finitef): Likewise.
29741 (__ieee754_sqrt): Define as macro.
29742 (__ieee754_sqrtf): Define as macro.
29743 (__ieee754_sqrtl): Define as macro.
29744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
29745 inlined copy.
29746 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
29747 __FINITE_MATH_ONLY__ consistent.
29748 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
29749
12cc2fcd
AS
297502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
29751
a843a204
AS
29752 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
29753 of rawmemchr.
29754
12cc2fcd
AS
29755 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
29756
c853acd5
UD
297572011-10-09 Ulrich Drepper <drepper@gmail.com>
29758
29759 * po/ja.po: Update from translation team.
29760
c658d255
RM
297612011-10-08 Roland McGrath <roland@hack.frob.com>
29762
110946e4
RM
29763 * locale/programs/locarchive.c (prepare_address_space): New function.
29764 (create_archive, enlarge_archive, open_archive): Use it.
29765
50604220
RM
29766 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
29767 inside [SHARED], where it is used.
29768
c658d255
RM
29769 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
29770
29771 * nss/getent.c (netgroup_keys): Remove unused variable.
29772 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
29773
6a621eb7
UD
297742011-10-08 Ulrich Drepper <drepper@gmail.com>
29775
7edb55ce
UD
29776 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
29777 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
29778 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
29779 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
29780 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
29781 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
29782 * math/Makefile (libm-calls): Add s_isinf_ns.
29783 * math/divtc3.c: Use __isinf_nsl instead of isinf.
29784 * math/multc3.c: Likewise.
29785 * math/s_casin.c: Likewise.
29786 * math/s_casinf.c: Likewise.
29787 * math/s_casinl.c: Likewise.
29788 * math/s_ccos.c: Likewise.
29789 * math/s_ccosf.c: Likewise.
29790 * math/s_ccosl.c: Likewise.
29791 * math/s_ctan.c: Likewise.
29792 * math/s_ctanf.c: Likewise.
29793 * math/s_ctanh.c: Likewise.
29794 * math/s_ctanhf.c: Likewise.
29795 * math/s_ctanhl.c: Likewise.
29796 * math/s_ctanl.c: Likewise.
29797 * math/w_fmod.c: Likewise.
29798 * math/w_fmodf.c: Likewise.
29799 * math/w_fmodl.c: Likewise.
29800 * math/w_remainder.c: Likewise.
29801 * math/w_remainderf.c: Likewise.
29802 * math/w_remainderl.c: Likewise.
29803 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
29804 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
29805 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
29806 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
29807 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
29808 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
29809 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
29810 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
29811
187da0ae
UD
29812 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
29813 of the number.
29814 * stdio-common/printf_fphex.c: Likewise.
29815 * stdio-common/printf_size.c: Likewise.
29816
9277c064
UD
29817 * math/e_exp10.c: Include math_private.h using <...> not "...".
29818 * math/e_exp10f.c: Likewise.
29819 * math/e_exp10l.c: Likewise.
29820 * math/e_exp2l.c: Likewise.
29821 * math/e_j0l.c: Likewise.
29822 * math/e_j1l.c: Likewise.
29823 * math/e_jnl.c: Likewise.
29824 * math/e_lgammal_r.c: Likewise.
29825 * math/e_rem_pio2l.c: Likewise.
29826 * math/e_scalb.c: Likewise.
29827 * math/e_scalbf.c: Likewise.
29828 * math/e_scalbl.c: Likewise.
29829 * math/k_cosl.c: Likewise.
29830 * math/k_sinl.c: Likewise.
29831 * math/k_tanl.c: Likewise.
29832 * math/s_cacoshf.c: Likewise.
29833 * math/s_catan.c: Likewise.
29834 * math/s_catanf.c: Likewise.
29835 * math/s_catanh.c: Likewise.
29836 * math/s_catanhf.c: Likewise.
29837 * math/s_catanhl.c: Likewise.
29838 * math/s_catanl.c: Likewise.
29839 * math/s_ccosh.c: Likewise.
29840 * math/s_ccoshf.c: Likewise.
29841 * math/s_ccoshl.c: Likewise.
29842 * math/s_cexp.c: Likewise.
29843 * math/s_cexpf.c: Likewise.
29844 * math/s_cexpl.c: Likewise.
29845 * math/s_clog.c: Likewise.
29846 * math/s_clog10.c: Likewise.
29847 * math/s_clog10f.c: Likewise.
29848 * math/s_clog10l.c: Likewise.
29849 * math/s_clogf.c: Likewise.
29850 * math/s_clogl.c: Likewise.
29851 * math/s_csin.c: Likewise.
29852 * math/s_csinf.c: Likewise.
29853 * math/s_csinh.c: Likewise.
29854 * math/s_csinhf.c: Likewise.
29855 * math/s_csinhl.c: Likewise.
29856 * math/s_csinl.c: Likewise.
29857 * math/s_csqrt.c: Likewise.
29858 * math/s_csqrtf.c: Likewise.
29859 * math/s_csqrtl.c: Likewise.
29860 * math/s_ctan.c: Likewise.
29861 * math/s_ctanf.c: Likewise.
29862 * math/s_ctanh.c: Likewise.
29863 * math/s_ctanhf.c: Likewise.
29864 * math/s_ctanhl.c: Likewise.
29865 * math/s_ctanl.c: Likewise.
29866 * math/s_ldexp.c: Likewise.
29867 * math/s_ldexpf.c: Likewise.
29868 * math/s_ldexpl.c: Likewise.
29869 * math/s_significand.c: Likewise.
29870 * math/s_significandf.c: Likewise.
29871 * math/s_significandl.c: Likewise.
29872 * math/w_acos.c: Likewise.
29873 * math/w_acosf.c: Likewise.
29874 * math/w_acosh.c: Likewise.
29875 * math/w_acoshf.c: Likewise.
29876 * math/w_acoshl.c: Likewise.
29877 * math/w_acosl.c: Likewise.
29878 * math/w_asin.c: Likewise.
29879 * math/w_asinf.c: Likewise.
29880 * math/w_asinl.c: Likewise.
29881 * math/w_atan2.c: Likewise.
29882 * math/w_atan2f.c: Likewise.
29883 * math/w_atan2l.c: Likewise.
29884 * math/w_atanh.c: Likewise.
29885 * math/w_atanhf.c: Likewise.
29886 * math/w_atanhl.c: Likewise.
29887 * math/w_cosh.c: Likewise.
29888 * math/w_coshf.c: Likewise.
29889 * math/w_coshl.c: Likewise.
29890 * math/w_dremf.c: Likewise.
29891 * math/w_exp10.c: Likewise.
29892 * math/w_exp10f.c: Likewise.
29893 * math/w_exp10l.c: Likewise.
29894 * math/w_exp2.c: Likewise.
29895 * math/w_exp2f.c: Likewise.
29896 * math/w_fmod.c: Likewise.
29897 * math/w_fmodf.c: Likewise.
29898 * math/w_fmodl.c: Likewise.
29899 * math/w_hypot.c: Likewise.
29900 * math/w_hypotf.c: Likewise.
29901 * math/w_hypotl.c: Likewise.
29902 * math/w_j0.c: Likewise.
29903 * math/w_j0f.c: Likewise.
29904 * math/w_j0l.c: Likewise.
29905 * math/w_j1.c: Likewise.
29906 * math/w_j1f.c: Likewise.
29907 * math/w_j1l.c: Likewise.
29908 * math/w_jn.c: Likewise.
29909 * math/w_jnf.c: Likewise.
29910 * math/w_jnl.c: Likewise.
29911 * math/w_lgamma.c: Likewise.
29912 * math/w_lgamma_r.c: Likewise.
29913 * math/w_lgammaf.c: Likewise.
29914 * math/w_lgammaf_r.c: Likewise.
29915 * math/w_lgammal.c: Likewise.
29916 * math/w_lgammal_r.c: Likewise.
29917 * math/w_log.c: Likewise.
29918 * math/w_log10.c: Likewise.
29919 * math/w_log10f.c: Likewise.
29920 * math/w_log10l.c: Likewise.
29921 * math/w_log2.c: Likewise.
29922 * math/w_log2f.c: Likewise.
29923 * math/w_log2l.c: Likewise.
29924 * math/w_logf.c: Likewise.
29925 * math/w_logl.c: Likewise.
29926 * math/w_pow.c: Likewise.
29927 * math/w_powf.c: Likewise.
29928 * math/w_powl.c: Likewise.
29929 * math/w_remainder.c: Likewise.
29930 * math/w_remainderf.c: Likewise.
29931 * math/w_remainderl.c: Likewise.
29932 * math/w_scalb.c: Likewise.
29933 * math/w_scalbf.c: Likewise.
29934 * math/w_scalbl.c: Likewise.
29935 * math/w_sinh.c: Likewise.
29936 * math/w_sinhf.c: Likewise.
29937 * math/w_sinhl.c: Likewise.
29938 * math/w_sqrt.c: Likewise.
29939 * math/w_sqrtf.c: Likewise.
29940 * math/w_sqrtl.c: Likewise.
29941 * math/w_tgamma.c: Likewise.
29942 * math/w_tgammaf.c: Likewise.
29943 * math/w_tgammal.c: Likewise.
29944
6a621eb7
UD
29945 * po/ja.po: Update from translation team.
29946
bf582445
AJ
299472011-09-29 Andreas Jaeger <aj@suse.de>
29948
f9efbf3a
AJ
29949 [BZ #13179]
29950 * sunrpc/netname.c (netname2host): Fix logic.
29951
bf582445
AJ
29952 [BZ #6779]
29953 [BZ #6783]
29954 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
29955 correctly.
29956 * math/w_remainder.c (__remainder): Likewise.
29957 * math/w_remainderf.c (__remainderf): Likewise.
29958 * math/libm-test.inc (remainder_test): Add test cases.
29959
48693bea
AK
299602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29961
29962 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
29963 sdiv_qrnnd.
29964
42622229
LD
299652011-10-07 Ulrich Drepper <drepper@gmail.com>
29966
29967 * string/test-memcmp.c: Avoid unncessary #defines.
29968 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
29969
093ecf92
LD
299702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29971
29972 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
29973 Use new sse2 version for core i3 - i7 as it's faster
29974 than sse42 version.
29975 (bit_Prefer_PMINUB_for_stringop): New.
29976 * sysdeps/x86_64/rawmemchr.S: Update.
29977 Replace with faster SSE2 version.
29978 * sysdeps/x86_64/memrchr.S: New file.
29979 * sysdeps/x86_64/memchr.S: Update.
29980 Replace with faster SSE2 version.
29981
fde56e5c
MP
299822011-09-12 Marek Polacek <mpolacek@redhat.com>
29983
29984 * elf/dl-load.c (lose): Add cast to avoid warning.
29985
21fd49a9
UD
299862011-10-07 Ulrich Drepper <drepper@gmail.com>
29987
5a06e643
UD
29988 * po/ca.po: Update from translation team.
29989
684ae515
UD
29990 * inet/getnetgrent_r.c: Hook up nscd.
29991 * nscd/Makefile (routines): Add nscd_netgroup.
29992 (nscd-modules): Add netgroupcache.
29993 (CFLAGS-netgroupcache.c): Define.
29994 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
29995 (cache_search): Add const to second parameter.
29996 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
29997 INNETGR.
29998 (dbs): Add netgrdb entry.
29999 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
30000 (verify_persistent_db): Handle netgrdb.
30001 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
30002 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
30003 GETFDNETGR.
30004 (netgroup_response_header): Define.
30005 (innetgroup_response_header): Define.
30006 (datahead): Add netgroup_response_header and innetgroup_response_header
30007 elements.
30008 * nscd/nscd.conf: Add entries for netgroup cache.
30009 * nscd/nscd.h (dbtype): Add netgrdb.
30010 (_PATH_NSCD_NETGROUP_DB): Define.
30011 (netgroup_iov_disabled): Declare.
30012 (xmalloc, xcalloc, xrealloc): Move declarations here.
30013 (cache_search): Adjust prototype.
30014 Add netgroup-related prototypes.
30015 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
30016 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
30017 (__nscd_innetgr): Declare.
30018 * nscd/selinux.c (perms): Use access_vector_t as element type and
30019 add netgroup-related initializers.
30020 * nscd/netgroupcache.c: New file.
30021 * nscd/nscd_netgroup.c: New file.
30022 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
30023 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
30024 For four parameters use innetgr.
30025 * nss/nss_files/files-init.c: Add definition and callback for netgr.
30026 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
30027 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
30028 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
30029
21fd49a9
UD
30030 * nscd/connections.c (register_traced_file): Don't register file
30031 for disabled databases.
30032
054c0457
UD
300332011-10-06 Ulrich Drepper <drepper@gmail.com>
30034
32b63198
UD
30035 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
30036
054c0457
UD
30037 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
30038 from tree and freeing node.
30039
64031225
JO
300402011-09-25 Jiri Olsa <jolsa@redhat.com>
30041
30042 * nss/nsswitch.c (__nss_database_lookup): Handle
30043 nss_parse_service_list out of memory case.
30044
0490345c
JO
300452011-09-15 Jiri Olsa <jolsa@redhat.com>
30046
30047 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
30048 out of memory case.
30049
3a62d00d
AS
300502011-10-04 Andreas Schwab <schwab@redhat.com>
30051
30052 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
30053 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
30054 pass it down.
30055 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
30056 elf_machine_rela, elf_machine_lazy_rel.
30057 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
30058 (ELF_DYNAMIC_DO_REL): Likewise.
30059 (ELF_DYNAMIC_DO_RELA): Likewise.
30060 (ELF_DYNAMIC_RELOCATE): Likewise.
30061 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
30062 to ELF_DYNAMIC_DO_REL.
30063 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
30064 (dl_main): In trace mode always set __RTLD_NOIFUNC.
30065 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
30066 elf_machine_rela.
30067 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
30068 skip_ifunc, don't call ifunc function if non-zero.
30069 (elf_machine_rela): Likewise.
30070 (elf_machine_lazy_rel): Likewise.
30071 (elf_machine_lazy_rela): Likewise.
30072 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
30073 (elf_machine_lazy_rel): Likewise.
30074 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
30075 Likewise.
30076 (elf_machine_lazy_rel): Likewise.
30077 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30078 Likewise.
30079 (elf_machine_lazy_rel): Likewise.
30080 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
30081 (elf_machine_lazy_rel): Likewise.
30082 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
30083 (elf_machine_lazy_rel): Likewise.
30084 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30085 (elf_machine_lazy_rel): Likewise.
30086 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
30087 (elf_machine_lazy_rel): Likewise.
30088 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
30089 (elf_machine_lazy_rel): Likewise.
30090 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30091 (elf_machine_lazy_rel): Likewise.
30092
68577918
UD
300932011-09-28 Ulrich Drepper <drepper@gmail.com>
30094
30095 * nss/nss_files/files-init.c (_nss_files_init): Use static
30096 initialization for all the *_traced_file variables.
30097
68822d74
AS
300982011-09-28 Andreas Schwab <schwab@redhat.com>
30099
30100 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30101
2056100b
RM
301022011-09-27 Roland McGrath <roland@hack.frob.com>
30103
30104 [BZ #13226]
30105 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
30106
32c76b63
AS
301072011-09-27 Andreas Schwab <schwab@redhat.com>
30108
30109 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30110 Reread the line before reparsing it.
30111
bf972c9d
AS
301122011-09-26 Andreas Schwab <schwab@redhat.com>
30113
30114 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
30115
e057a1b5
JM
301162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
30117 Maxim Kuvyrkov <maxim@codesourcery.com>
30118 Joseph Myers <joseph@codesourcery.com>
30119
30120 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
30121 if needed for __stack_chk_guard.
30122
bc7e1c36
RM
301232011-09-19 Roland McGrath <roland@hack.frob.com>
30124
ecb1482f
RM
30125 * sysdeps/posix/spawni.c (script_execute): Always define it.
30126 It will be optimized away if unused.
30127 (maybe_script_execute): New function.
30128 (__spawni): Call it.
30129
bc7e1c36
RM
30130 * Makerules: Don't include tls.make.
30131 (config-tls): Always set to thread.
30132 * tls.make.c: File removed.
30133
1c3b002b
MF
301342011-09-19 Mike Frysinger <vapier@gentoo.org>
30135
30136 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
30137 * config.make.in (CPPFLAGS-config): New substituted variable.
30138
2840865d
UD
301392011-09-15 Ulrich Drepper <drepper@gmail.com>
30140
88738eb6
UD
30141 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
30142
cbf645a6 30143 [BZ #13192]
2840865d
UD
30144 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
30145 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
30146
b402e91a
RM
301472011-09-15 Roland McGrath <roland@hack.frob.com>
30148
30149 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
30150 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
30151 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
30152 (CALL_FAIL): Likewise.
30153 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
30154 (CALL_FAIL): Macro removed.
30155 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
30156
4c1a1f71
UD
301572011-09-15 Ulrich Drepper <drepper@gmail.com>
30158
30159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
30160 for __FINITE_MATH_ONLY__ == 1.
30161
edc121be
AS
301622011-09-15 Andreas Schwab <schwab@redhat.com>
30163
30164 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
30165 __ieee754_sqrt instead of sqrt.
30166 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
30167 __ieee754_sqrtf instead of sqrtf.
30168 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
30169 __floorf instead of floorf.
30170 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
30171 __floorf, __truncf instead of floorf, truncf.
30172
cd205654
UD
301732011-09-14 Ulrich Drepper <drepper@gmail.com>
30174
ee4d0315
UD
30175 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
30176
cd205654
UD
30177 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
30178 __extern_always_inline.
30179 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
30180 32-bit.
30181
48b67d71
AS
301822011-09-14 Andreas Schwab <schwab@redhat.com>
30183
30184 * elf/rtld.c (dl_main): Also relocate in dependency order when
30185 doing symbol dependency testing.
30186
1ae12c75
AS
301872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
30188
30189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30190 Always define `refsym'.
30191
995a80df
AS
301922011-09-13 Andreas Schwab <schwab@redhat.com>
30193
e529793b
AS
30194 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
30195 (__FD_ELT): Renamed from __FDELT.
30196 * misc/bits/select2.h (__FD_ELT): Likewise.
30197 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
30198 __FD_MASK instead of __FDELT, __FDMASK.
30199 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30200 Likewise.
30201 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
30202 Likewise.
30203
52d4fef8
AS
30204 * elf/Makefile (gen-ldd): Fix pattern.
30205
995a80df
AS
30206 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
30207 (init_tls): Likewise.
30208
8682f8b0
UD
302092011-09-12 Ulrich Drepper <drepper@gmail.com>
30210
30211 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
30212
de82006d
AS
302132011-09-12 Andreas Schwab <schwab@redhat.com>
30214
a7c8e6a1
AS
30215 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
30216 `struct cmsghdr *' instead of `void *'.
30217 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
30218 Likewise.
30219
0f31fe77
AS
302202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
30221
30222 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
30223 if non-absolute.
30224 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
30225 ldd_rewrite_script.
0f31fe77 30226
32b4c839
UD
302272011-09-11 Ulrich Drepper <drepper@gmail.com>
30228
83cd1420
UD
30229 * configure.in: Remove --with-tls option.
30230 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
30231 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
30232 out in case it is missing.
30233 * sysdeps/ia64/elf/configure.in: Likewise.
30234 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
30235 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
30236 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
30237 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
30238 * sysdeps/sh/elf/configure.in: Likewise.
30239 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
30240 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
30241 * sysdeps/x86_64/elf/configure.in: Likewise.
30242 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
30243 * sysdeps/mach/hurd/tls.h: Likewise.
30244
633f745d
UD
30245 [BZ #13067]
30246 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
30247
f318beb8
UD
30248 [BZ #13090]
30249 * configure.in: Fix use of AC_INIT.
30250
32b4c839
UD
30251 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
30252
3ce1f295
UD
302532011-09-10 Ulrich Drepper <drepper@gmail.com>
30254
bb016596
UD
30255 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
30256 __set_errno.
8e58439c
UD
30257 * malloc/hooks.c: Likewise.
30258
aebae053 30259 [BZ #11929]
02d46fc4
UD
30260 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
30261 variables statically.
30262 (narenas): Initialize.
30263 (list_lock): Initialize.
bb016596
UD
30264 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
30265 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
30266 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
30267 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
30268 Add initializers to main_arena and mp_.
30269 (malloc_state): Remove pagesize member. Change all users to use
30270 GLRO(dl_pagesize).
30271
30272 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
30273 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
30274 is always initialized.
30275
22a89187
UD
30276 * malloc/malloc.c: Removed unused configurations and dead code.
30277 * malloc/arena.c: Likewise.
30278 * malloc/hooks.c: Likewise.
02d46fc4 30279 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 30280
d063d164
UD
30281 * include/tls.h: Removed. USE___THREAD must always be defined.
30282 * bits/libc-tsd.h: Don't handle !USE___THREAD.
30283 * elf/dl-libc.c: Likewise.
30284 * elf/dl-tsd.c: Likewise.
30285 * include/errno.h: Likewise.
30286 * include/netdb.h: Likewise.
30287 * include/resolv.h: Likewise.
30288 * inet/herrno-loc.c: Likewise.
30289 * inet/herrno.c: Likewise.
30290 * malloc/arena.c: Likewise.
30291 * malloc/hooks.c: Likewise.
30292 * malloc/malloc.c: Likewise.
30293 * resolv/res-state.c: Likewise.
30294 * resolv/res_libc.c: Likewise.
30295 * sysdeps/i386/dl-machine.h: Likewise.
30296 * sysdeps/ia64/dl-machine.h: Likewise.
30297 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
30298 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
30299 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
30300 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
30301 * sysdeps/sh/dl-machine.h: Likewise.
30302 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
30303 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
30304 * sysdeps/unix/i386/sysdep.S: Likewise.
30305 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30306 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30307 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30308 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30309 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30310 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30311 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30313 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30314 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30315 * sysdeps/unix/x86_64/sysdep.S: Likewise.
30316 * sysdeps/x86_64/dl-machine.h: Likewise.
30317 * tls.make.c: Likewise.
30318
3ce1f295
UD
30319 * configure.in: Remove --with-__thread option. Make tests for
30320 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
30321 tls_model attribute fail if no support is available. Remove
30322 USE_IN_LIBIO.
30323 * Makeconfig: Adjust for dropped configure option. All features are
30324 now mandatory.
30325 * Makerules: Likewise.
30326 * Versions.def: Likewise.
30327 * argp/argp-fmtstream.c: Likewise.
30328 * argp/argp-fmtstream.h: Likewise.
30329 * argp/argp-help.c: Likewise.
30330 * assert/assert.c: Likewise.
30331 * config.h.in: Likewise.
30332 * config.make.in: Likewise.
30333 * configure: Likewise.
30334 * configure.in: Likewise.
30335 * csu/Versions: Likewise.
30336 * csu/init.c: Likewise.
30337 * elf/tst-audit2.c: Likewise.
30338 * elf/tst-tls10.c: Likewise.
30339 * elf/tst-tls10.h: Likewise.
30340 * elf/tst-tls11.c: Likewise.
30341 * elf/tst-tls12.c: Likewise.
30342 * elf/tst-tls14.c: Likewise.
30343 * elf/tst-tlsmod11.c: Likewise.
30344 * elf/tst-tlsmod12.c: Likewise.
30345 * elf/tst-tlsmod13.c: Likewise.
30346 * elf/tst-tlsmod13a.c: Likewise.
30347 * elf/tst-tlsmod14a.c: Likewise.
30348 * elf/tst-tlsmod15b.c: Likewise.
30349 * elf/tst-tlsmod16a.c: Likewise.
30350 * elf/tst-tlsmod16b.c: Likewise.
30351 * elf/tst-tlsmod7.c: Likewise.
30352 * elf/tst-tlsmod8.c: Likewise.
30353 * elf/tst-tlsmod9.c: Likewise.
30354 * gmon/gmon.c: Likewise.
30355 * grp/fgetgrent_r.c: Likewise.
30356 * grp/putgrent.c: Likewise.
30357 * hurd/fopenport.c: Likewise.
30358 * include/libc-symbols.h: Likewise.
30359 * include/tls.h: Likewise.
30360 * intl/gettextP.h: Likewise.
30361 * intl/loadinfo.h: Likewise.
30362 * locale/global-locale.c: Likewise.
30363 * locale/localeinfo.h: Likewise.
30364 * mach/devstream.c: Likewise.
30365 * malloc/arena.c: Likewise.
30366 * malloc/set-freeres.c: Likewise.
30367 * misc/err.c: Likewise.
30368 * misc/getttyent.c: Likewise.
30369 * misc/mntent_r.c: Likewise.
30370 * posix/getopt.c: Likewise.
30371 * posix/wordexp.c: Likewise.
30372 * pwd/fgetpwent_r.c: Likewise.
30373 * resolv/Versions: Likewise.
30374 * resolv/res_hconf.c: Likewise.
30375 * shadow/fgetspent_r.c: Likewise.
30376 * shadow/putspent.c: Likewise.
30377 * stdio-common/printf_fphex.c: Likewise.
30378 * stdio-common/tmpfile.c: Likewise.
30379 * stdlib/abort.c: Likewise.
30380 * stdlib/fmtmsg.c: Likewise.
30381 * sunrpc/auth_unix.c: Likewise.
30382 * sunrpc/clnt_perr.c: Likewise.
30383 * sunrpc/clnt_tcp.c: Likewise.
30384 * sunrpc/clnt_udp.c: Likewise.
30385 * sunrpc/clnt_unix.c: Likewise.
30386 * sunrpc/openchild.c: Likewise.
30387 * sunrpc/svc_simple.c: Likewise.
30388 * sunrpc/svc_tcp.c: Likewise.
30389 * sunrpc/svc_udp.c: Likewise.
30390 * sunrpc/svc_unix.c: Likewise.
30391 * sunrpc/xdr.c: Likewise.
30392 * sunrpc/xdr_array.c: Likewise.
30393 * sunrpc/xdr_rec.c: Likewise.
30394 * sunrpc/xdr_ref.c: Likewise.
30395 * sunrpc/xdr_stdio.c: Likewise.
30396
1248c1c4
PB
303972011-09-09 Ulrich Drepper <drepper@gmail.com>
30398
30399 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30400
304012011-07-03 Andreas Jaeger <aj@suse.de>
30402
30403 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
30404 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
30405 regenerate with gen-libm-tests.pl.
30406
304072010-05-12 Petr Baudis <pasky@suse.cz>
30408
30409 [BZ #11589]
30410 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
30411 around j0() zero points by switching to j1().
30412 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
30413 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
30414 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
30415 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
30416
f22e1074
UD
304172011-09-09 Ulrich Drepper <drepper@gmail.com>
30418
f19009c1
UD
30419 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
30420 instead of 0.
30421 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 30422 instead of 0.
f19009c1
UD
30423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30424 Patch in part by Pavel Roskin <proski@gnu.org>.
30425
3f8cc204
UD
30426 [BZ #13138]
30427 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
30428 realloc.
30429 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
30430 Free memory block if necessary.
30431
f22e1074
UD
30432 [BZ #12847]
30433 * libio/genops.c (INTDEF): For string streams the _lock pointer can
30434 be NULL. Don't lock in this case.
30435
0a2349f9
RM
304362011-09-09 Roland McGrath <roland@hack.frob.com>
30437
30438 * elf/elf.h (ELFOSABI_GNU): New macro.
30439 (ELFOSABI_LINUX): Define to that.
30440
f3cdd467
DZ
304412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
30442
30443 * string/strncat.c (strncat): Undef the symbol in case it has been
30444 defined in bits/string.h.
30445
74718d13
UD
304462011-09-09 Ulrich Drepper <drepper@gmail.com>
30447
633e9e0f
UD
30448 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
30449
0a2349f9 30450 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
30451 link map.
30452
f9924780
AJ
304532011-08-17 Andreas Jaeger <aj@suse.de>
30454
30455 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
30456
7f5517aa
PP
304572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
30458 Ian Lance Taylor <iant@google.com>
30459
30460 * math/libm-test.inc (lround_test): New testcase.
30461 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
30462
762011fe
UD
304632011-09-08 Ulrich Drepper <drepper@gmail.com>
30464
92963737
UD
30465 * Makefile: Remove support for automatic cvs check-ins.
30466 * Makerules: Likewise.
30467 * config.make.in: Likewise.
30468 * configure.in: Likewise.
30469 * intl/Makefile: Likewise.
30470 * locale/Makefile: Likewise.
30471 * po/Makefile: Likewise.
30472 * posix/Makefile: Likewise.
30473 * sysdeps/gnu/Makefile: Likewise.
30474 * sysdeps/mach/hurd/Makefile: Likewise.
30475 * sysdeps/sparc/sparc32/Makefile: Likewise.
30476
b0727fd8
JS
30477 [BZ #13118]
30478 * posix/Makefile (bug-regex32-ENV): Define.
30479 Patch by John Stanley <jpsinthemix@verizon.net>.
30480
a0f33f99
UD
30481 * misc/Makefile (headers): Add bits/select2.h.
30482 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
30483 * misc/bits/select2.h: New file.
30484 * include/bits/select2.h: New file.
30485 * debug/Makefile (routines): Add fdelt_chk.
30486 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
30487 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
30488 FD_ISSET.
30489 * debug/fdelt_chk.c: New file.
30490
762011fe
UD
30491 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
30492 * wcsmbs/test-wmemcmp.c: Likewise.
30493 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 30494 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
30495
304962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30497
30498 * string/Makefile (strop-tests): Add memcmp.
30499 * string/test-wmemcmp.c: New file.
30500 * string/test-memcmp.c: Add wmemcmp support.
30501
7f513ec8
RM
305022011-09-08 Roland McGrath <roland@hack.frob.com>
30503
0442afb4
RM
30504 [BZ #13153]
30505 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
30506 2011-07-19 change.
30507
7f513ec8
RM
30508 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
30509 garbage value in a __mach_port_mod_refs call in the cases of the
30510 task-self and thread-self ports.
30511
a12b2239
ST
305122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
30513
30514 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
30515
610f9ab4
AS
305162011-09-08 Andreas Schwab <schwab@redhat.com>
30517
7f513ec8 30518 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 30519
48882a1a
LD
305202011-09-07 Ulrich Drepper <drepper@gmail.com>
30521
b49865be
UD
30522 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
30523
fdc86bc9
UD
30524 * elf/dl-libc.c (dlerror_run): Pass back error code from
30525 dl_catch_error.
30526
c966526a
UD
30527 [BZ #13123]
30528 * elf/dl-load.c (lose): Free l_origin if it is valid.
30529
48882a1a
LD
30530 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
30531 names.
30532 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
30533 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30534 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
30535 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30536 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
30537 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
30538
77a2a8b4
AZ
305392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30540
30541 * sysdeps/powerpc/fpu/e_hypot.c: New file.
30542 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
30543 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
30544 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
30545 * sysdeps/powerpc/fpu/k_cosf.c: New file.
30546 * sysdeps/powerpc/fpu/k_sinf.c: New file.
30547 * sysdeps/powerpc/fpu/s_cosf.c: New file.
30548 * sysdeps/powerpc/fpu/s_sinf.c: New file.
30549 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
30550 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
30551
24f579d8
AM
305522011-08-15 Alan Modra <amodra@gmail.com>
30553
30554 [BZ #13092]
30555 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
30556 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
30557 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
30558 ppc_mcount to static-only-routines.
30559 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
30560 __mcount_internal.
30561 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
30562 __mcount_internal with usual JUMPTARGET. Remove useless nop.
30563
3d4837df
UD
305642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
30565
30566 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
30567 for finite and infinity parameters.
30568
22700377
WS
305692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
30570
30571 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
30572 and add nop instructions for throughput optimization.
30573 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30574
5025581e
WS
305752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
30576
30577 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
30578 aligned copy for power7 with vector-scalar instructions.
30579 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
30580
08a300c9
L
305812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
30582
30583 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
30584 AVX check.
30585
59178ef9
AS
305862011-09-07 Andreas Schwab <schwab@redhat.com>
30587
30588 [BZ #13144]
30589 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
30590 last change.
30591
e38ba7ab
UD
305922011-09-07 Ulrich Drepper <drepper@gmail.com>
30593
30594 * sysdeps/unix/sysv/linux/x86_64/init-first.c
30595 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
30596 syscall wrapper around clock_gettime in __vdso_clock_gettime.
30597 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
30598 clock_gettime.
30599
d53a73ac
UD
306002011-09-06 Ulrich Drepper <drepper@gmail.com>
30601
fc8bffcc
UD
30602 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
30603 Forgot to demangle the pointer.
30604
ceaa0c5d
UD
30605 * sysdeps/i386/sysdep.h: Define atom_text_section.
30606 * sysdeps/x86_64/sysdep.h: Likewise.
30607 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
30608 section with atom_text_section.
30609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
30610 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
30611 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30612 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
30613 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
30614
a77d3c17
UD
30615 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
30616 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
30617 already be defined. Change to take two parameters and don't assign
30618 result to variable. Adjust all users.
30619 Define INTERNAL_GETTIME if not already defined.
30620 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
30621 call.
30622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
30623 HAVE_CLOCK_GETTIME_VSYSCALL.
30624 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
30625
d53a73ac
UD
30626 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
30627 gettimeofday vsyscall, just use time.
30628
a8f84144
AS
306292011-09-06 Andreas Schwab <schwab@redhat.com>
30630
30631 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
30632 <errno.h>.
30633
ef606249
UD
306342011-09-06 Ulrich Drepper <drepper@gmail.com>
30635
30636 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
30637 syscall on x86-64.
30638 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
30639 syscall.
30640 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
30641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
30642 syscall if possible.
30643
6585cb60
UD
306442011-09-05 Ulrich Drepper <drepper@gmail.com>
30645
30646 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
30647 e_ident. Don't pass to find_mapsXX.
30648 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
30649
a5f524e4
LD
306502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30651
30652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30653 strchr-sse2-no-bsf strrchr-sse2-no-bsf
30654 * sysdeps/x86_64/multiarch/strchr.S: Update.
30655 Check bit_slow_BSF bit.
30656 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
30657 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
30658 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
30659
554881ef
UD
306602011-09-05 Ulrich Drepper <drepper@gmail.com>
30661
d96de963
UD
30662 [BZ #13134]
30663 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
30664 before glibc 2.15.
30665 (tryshell): Define.
30666 (__spawni): Change last parameter to be flag. Test
30667 SPAWN_XFLAGS_USE_PATH flag to use path or not.
30668 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
30669 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
30670 * posix/spawni.c: Likewise.
30671 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
30672 * posix/spawnp.c: Likewise. Change normal version to use
30673 SPAWN_XFLAGS_USE_PATH.
30674 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
30675 SPAWN_XFLAGS_TRY_SHELL.
30676
d48e5868
UD
30677 [BZ #13150]
30678 * posix/glob.h: Remove gcc 1.x support.
30679
554881ef
UD
30680 [BZ #13068]
30681 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
30682
693fb948
LD
306832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
30684
30685 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30686 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
30687 strrchr-sse2-bsf
30688 * sysdeps/i386/i686/multiarch/strchr.S: New file.
30689 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
30690 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
30691 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
30692 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
30693 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
30694
1b48c537
UD
306952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30696
49d42c37
UD
30697 * sysdeps/x86_64/wcscmp.S: New file.
30698
1b48c537
UD
30699 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
30700 wcscmp-c wcscmp-sse2
30701 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
30702 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
30703 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
30704 * wcsmbs/wcscmp.c: Allow renaming.
30705
15c95c5d
DM
307062011-09-05 David S. Miller <davem@davemloft.net>
30707
30708 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
30709 stack slot, rather than the struct return pointer slot.
30710 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
30711 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
30712 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
30713 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
30714
2f0ad8f3
UD
307152011-09-05 Ulrich Drepper <drepper@gmail.com>
30716
d88ae418
UD
30717 * po/ja.po: Update from translation team.
30718
2f0ad8f3
UD
30719 [BZ #13144]
30720 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
30721 kernel in 64-bit binaries.
30722
5f4318d1
DM
307232011-09-01 David S. Miller <davem@davemloft.net>
30724
30725 * elf/elf.h (HWCAP_SPARC_*): Move to..
30726 * sysdeps/sparc/sysdep.h: this new file and add new values.
30727 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
30728 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
30729 _DL_HWCAP_COUNT to 24.
30730 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
30731 entries.
30732 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
30733 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
30734 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
30735 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
30736 instead of magic constants.
30737 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30738
3ba57516
DM
307392011-08-31 David S. Miller <davem@davemloft.net>
30740
30741 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
30742 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
30743 Reimplement to do errno handling inline.
30744 (SYSCALL_ERROR_HANDLER): New macro.
30745 (__SYSCALL_STRING): Do not do errno handling in asm.
30746 (__CLONE_SYSCALL_STRING): Delete.
30747 (__INTERNAL_SYSCALL_STRING): Delete.
30748 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
30749 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
30750 (PSEUDO): Reimplement to do errno handling inline.
30751 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
30752 (SYSCALL_ERROR_HANDLER): New macro.
30753 (__SYSCALL_STRING): Do not do errno handling in asm.
30754 (__CLONE_SYSCALL_STRING): Delete.
30755 (__INTERNAL_SYSCALL_STRING): Delete.
30756 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
30757 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
30758 i386.
30759 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
30760 (inline_syscall*): Add 'err' argument.
30761 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
30762 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
30763 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
30764 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
30765
30766 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
30767 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30768
2bc17433
AS
307692011-08-30 Andreas Schwab <schwab@redhat.com>
30770
30771 * elf/rtld.c (dl_main): Relocate objects in dependency order.
30772
fbeb5f4d
JO
307732011-08-29 Jiri Olsa <jolsa@redhat.com>
30774
30775 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
30776 directive.
30777
ad69cc26
DM
307782011-08-24 David S. Miller <davem@davemloft.net>
30779
30780 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
30781
39dd69df
AS
307822011-08-24 Andreas Schwab <schwab@redhat.com>
30783
30784 * elf/Makefile: Add rules to build and run unload8 test.
30785 * elf/unload8.c: New file.
30786 * elf/unload8mod1.c: New file.
30787 * elf/unload8mod1x.c: New file.
30788 * elf/unload8mod2.c: New file.
30789 * elf/unload8mod3.c: New file.
30790
30791 * elf/dl-close.c (_dl_close_worker): Reset private search list if
30792 it wasn't used.
30793
2c0b250a
DM
307942011-08-23 David S. Miller <davem@davemloft.net>
30795
30796 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
30797 subtract stack bias.
30798 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
30799 %sp not %fp in calculations.
30800 (_JMPBUF_UNWINDS_ADJ): Likewise.
30801
22044b48
DM
30802 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
30803 (aio_suspend): Call it to force an exception region around the
30804 AIO_MISC_WAIT() invocation.
30805
2cae4995
AS
308062011-08-23 Andreas Schwab <schwab@redhat.com>
30807
30808 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
30809 backslash.
30810
873a772e
AJ
308112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
30812
30813 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
30814 protection macro.
30815 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
30816 and <dl-machine.h>.
30817 (Elf64_FuncDesc): Remove.
30818
25ad0df1
DM
308192011-08-22 David S. Miller <davem@davemloft.net>
30820
30821 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
30822 sigaltstack check, add missing cfi directives.
30823 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
30824 missing cfi directives, and sigaltstack handling.
30825
e888bcbe
AS
308262011-08-16 Andreas Schwab <schwab@redhat.com>
30827
30828 [BZ #11724]
30829 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
30830 object is seen twice.
30831 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30832
30833 * elf/Makefile (distribute): Add tst-initorder2.c.
30834 (tests): Add tst-initorder2.
30835 (modules-names): Add tst-initorder2a tst-initorder2b
30836 tst-initorder2c tst-initorder2d. Add rules to build them.
30837 ($(objpfx)tst-initorder2.out): New rule.
30838 * elf/tst-initorder2.c: New file.
30839 * elf/tst-initorder2.exp: New file.
30840
87162f46
AS
308412011-08-22 Andreas Schwab <schwab@redhat.com>
30842
70538b7f
AS
30843 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
30844
f55ffe58
AS
30845 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
30846 dependencies back to end of function.
30847
87162f46
AS
30848 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
30849 $(elfobjdir)/ld.so.
30850
91b392a4
UD
308512011-08-21 Ulrich Drepper <drepper@gmail.com>
30852
30853 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
30854 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
30855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
30856 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
30857 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
30858 of __vdso_gettimeofday.
30859 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
30860 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
30861 attribute_hidden.
30862 (_libc_vdso_platform_setup): Remove initialization of
30863 __vdso_gettimeofday and __vdso_time.
30864
5c43483f
UD
308652011-08-20 Ulrich Drepper <drepper@gmail.com>
30866
775a77e7
UD
30867 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
30868 and fgetc_unlocked.
30869 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
30870 getc_unlocked.
89f447ed 30871
49c74ba9
UD
30872 * elf/dl-open.c (add_to_global): Report additions to the global scope
30873 for LD_DEBUG=scopes.
30874 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 30875 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 30876
5c43483f
UD
30877 [BZ #13114]
30878 * stdio-common/Makefile (tests): Add bug24.
30879 * stdio-common/bug24.c: New file.
30880
a101b025
AJ
308812011-08-19 Andreas Jaeger <aj@suse.de>
30882
30883 [BZ #13114]
30884 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
30885 non-existant file when using close-on-exec mode.
30886
c88f1766
UD
308872011-08-20 Ulrich Drepper <drepper@gmail.com>
30888
0276a718
UD
30889 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
30890 the very first instruction.
30891
c88f1766
UD
30892 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
30893 the CFI state in the end.
30894 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
30895 inclusion of dl-trampoline.h.
30896 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
30897
51ccffa0
AS
308982011-08-19 Andreas Schwab <schwab@redhat.com>
30899
94d7165f
AS
30900 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
30901 expectations for long double.
30902
51ccffa0
AS
30903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
30904 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
30905
fd708658 309062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
30907
30908 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
30909 artificual limit depends upon the system page size.
30910
44f0a71e
UD
309112011-08-17 Ulrich Drepper <drepper@gmail.com>
30912
30913 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
30914 * resolv/Makefile: Define CFLAGS-libresolv.
30915
8de79a24
AS
309162011-08-17 Andreas Schwab <schwab@redhat.com>
30917
30918 * nss/makedb.c (compute_tables): Make variables used in nested
30919 function static.
30920
27724598
UD
309212011-08-17 Ulrich Drepper <drepper@gmail.com>
30922
c5305d88
UD
30923 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
30924 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
30925 if buffer was too small.
30926
27724598
UD
30927 * elf/pldd.c (main): Attach to all threads in the process.
30928 Rewrite /proc handling to use *at functions.
30929
076fe015
UD
309302011-08-16 Ulrich Drepper <drepper@gmail.com>
30931
174baab3
UD
30932 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
30933 specifies first scope to show.
30934 (dl_open_worker): Update callers. Move printing scope of new
30935 object to before the relocation.
44f0a71e 30936 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
30937 * sysdeps/generic/ldsodefs.h: Update declaration.
30938
076fe015
UD
30939 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
30940 string for the scope number.
30941
a60df2c3
UD
309422011-08-14 Ulrich Drepper <drepper@gmail.com>
30943
30944 * nscd/servicescache.c (cache_addserv): Make sure written is always
30945 initialized.
30946
5e4287d1
RM
309472011-08-14 Roland McGrath <roland@hack.frob.com>
30948
85ae0589
RM
30949 * sysdeps/i386/i486/bits/atomic.h
30950 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
30951 statement expression, so as to suppress "set but not used" warning.
30952 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
30953
69f63097
RM
30954 * string/strncat.c (STRNCAT): Use prototype definition.
30955
675456ef
RM
30956 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
30957 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
30958 -Iprograms here.
30959 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
30960 (localedef-modules): Add localedef.
30961 (locale-modules): Add locale.
30962
5e4287d1
RM
30963 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
30964 * elf/rtld.c (dl_main): Invert order of assignment in last change,
30965 to avoid a warning.
30966
9c96ff23
DM
309672011-08-14 David S. Miller <davem@davemloft.net>
30968
30969 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
30970 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
30971
f9ddf089
UD
309722011-08-13 Ulrich Drepper <drepper@gmail.com>
30973
44f0a71e 30974 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
30975 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
30976 * elf/rtld.c (dl_main): Set l_name of vDSO.
30977 Call _dl_show_scope when DL_DEBUG_SCOPES.
30978 (process_dl_debug): Recognize scopes flag and also set it for all.
30979 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
30980 Declare _dl_show_scope.
30981
1dc27704
UD
30982 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
30983 (do_dlopen): Pass caller_dlopen to dl_open.
30984 (__libc_dlopen_mode): Initialize caller_dlopen.
30985
f9ddf089
UD
30986 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
30987 of libc. Make tolower call locale-independent. Optimize a bit by
30988 using isdigit instead of isalnum.
30989 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
30990
9ac533d3
UD
309912011-08-12 Ulrich Drepper <drepper@gmail.com>
30992
30993 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
30994 was a dependency or dynamically loaded.
30995
89edf2e9
UD
309962011-08-11 Ulrich Drepper <drepper@gmail.com>
30997
8e999d29
UD
30998 * intl/l10nflist.c: Allow architecture-specific pop function.
30999 * sysdeps/x86_64/l10nflist.c: New file.
31000
89edf2e9
UD
31001 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
31002 classification.
31003
14d96785
AS
310042011-08-10 Andreas Schwab <schwab@redhat.com>
31005
31006 * include/dirent.h: Add libc_hidden_proto for scandirat and
31007 scandirat64. Don't declare __scandirat64.
31008 * dirent/scandirat.c: Add libc_hidden_def.
31009 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
31010 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
31011
6761ac04
DM
310122011-08-10 David S. Miller <davem@davemloft.net>
31013
31014 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
31015 enum.
31016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31017 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31018 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31019
c55fbd1e
UD
310202011-08-09 Ulrich Drepper <drepper@gmail.com>
31021
31022 * Versions.def [libc]: Add GLIBC_2.15.
31023 * dirent/Makefile (routines): Add scandirat and scandirat64.
31024 * dirent/Versions [libc]: Export scandirat and scandirat64 for
31025 GLIBC_2.15.
31026 * dirent/dirent.h: Declare scandirat and scandirat64.
31027 * dirent/scandirat.c: New file.
31028 * dirent/scandirat64.c: New file.
31029 * sysdeps/wordsize-64/scandirat.c: New file.
31030 * sysdeps/wordsize-64/scandirat64.c: New file.
31031 * dirent/opendir.c: Define opendirat.
31032 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
31033 using scandirat.
31034 * dirent/scandir64.c: Adjust for scandir.c change.
31035 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
31036 __scandirat64, and __scandir_cancel_handler.
31037 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
31038 additional parameter and use openat instead of open (outside of ld.so).
31039 Add new __opendir as wrapper around __opendirat.
31040 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
31041 here without requiring old scandirat implementation.
31042
879165f2
UD
310432011-08-08 Ulrich Drepper <drepper@gmail.com>
31044
31045 * dirent/scandir.c (cancel_handler): Renamed to
31046 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
31047 defined. Adjust users.
31048 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
31049 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
31050
cb7e923b
UD
310512011-08-04 Ulrich Drepper <drepper@gmail.com>
31052
16292edd
UD
31053 * string/test-string.h (IMPL): Use __STRING to expand name and then
31054 stringify it.
31055
cb7e923b
UD
31056 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
31057 of cleanups.
31058
cff82933
LD
310592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31060
31061 * string/Makefile: Update.
31062 (strop-tests): Append strncat.
31063 * string/test-wcscmp.c: New file.
31064 New comprehensive test for wcscmp.
31065 * string/test-strcmp.c: Update.
31066 (WIDE): New define.
31067
9be9bfcc
AS
310682011-07-22 Andreas Schwab <schwab@redhat.com>
31069
31070 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
31071 line.
31072
2e96f1c7
AS
310732011-07-26 Andreas Schwab <schwab@redhat.com>
31074
31075 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
31076 encoding to ACE if AI_IDN.
31077
85188888
JJ
310782011-08-01 Jakub Jelinek <jakub@redhat.com>
31079
31080 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
31081 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
31082
5fa16e9b
LD
310832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31084
31085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
31086 Fix overflow bug in strncat.
31087 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
31088
31089 * string/test-strncat.c: Update.
31090 Add new tests for checking overflow bugs.
31091
310922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31093
31094 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31095 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
31096 * sysdeps/i386/i686/multiarch/strcat.S: New file.
31097 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
31098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
31099 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
31100 * sysdeps/i386/i686/multiarch/strncat.S: New file.
31101 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
31102 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
31103
31104 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
31105 (USE_AS_STRCAT): Define.
31106 Add strcat and strncat support.
31107 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31108
8c1a459f
AS
311092011-07-25 Andreas Schwab <schwab@redhat.com>
31110
31111 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
31112 __n bigger than INT_MAX+1.
31113 (__strncmp_g): Likewise.
31114
bba33c28
UD
311152011-07-23 Ulrich Drepper <drepper@gmail.com>
31116
798be72d
UD
31117 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
31118 * libio/stido.h: Likewise.
31119
8accd4dc
UD
31120 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
31121 (AF_NFC): Define.
31122 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
31123 (AF_NFC): Define.
31124
cbff0d96
UD
31125 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
31126 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
31127 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
31128 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
31129 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
31130
9191c04a
UD
31131 [BZ #13021]
31132 * scripts/test-installation.pl: Don't expect libnss_test1 to be
31133 installed.
31134
bba33c28
UD
31135 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
31136 typo.
31137 (_dl_x86_64_save_sse): Likewise.
31138
90f139dd
UD
311392011-07-22 Ulrich Drepper <drepper@gmail.com>
31140
1aae088a
UD
31141 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
31142 OSXSAVE.
31143 (_dl_x86_64_save_sse): Likewise.
31144
8e2045f5
UD
31145 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
31146
90f139dd
UD
31147 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
31148
1d002f25
AS
311492011-07-21 Andreas Schwab <schwab@redhat.com>
31150
31151 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
31152 change.
31153 (_dl_x86_64_save_sse): Use correct AVX check.
31154
21137f89
UD
311552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31156
31157 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
31158 bug in strncpy/strncat.
31159 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
31160
a65c0b7a
UD
311612011-07-21 Ulrich Drepper <drepper@gmail.com>
31162
31163 * string/tester.c (test_strcat): Add tests for different alignments
31164 of source and destination.
31165 (test_strncat): Likewise.
31166
6986b98a
UD
311672011-07-20 Ulrich Drepper <drepper@gmail.com>
31168
90bb2039
UD
31169 [BZ #12852]
31170 * posix/glob.c (glob): Check passed in values before using them in
31171 expressions to avoid some overflows.
31172 (glob_in_dir): Likewise.
31173
5644ef54
UD
31174 [BZ #13007]
31175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
31176 check for AVX enablement so that we don't crash with old kernels and
31177 new hardware.
31178 * elf/tst-audit4.c: Add same checks here.
31179 * elf/tst-audit6.c: Likewise.
31180
31181 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 31182
bfc9dc9b
AS
311832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
31184
31185 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
31186
702e64bb
UD
311872011-07-20 Ulrich Drepper <drepper@gmail.com>
31188
31189 * po/cs.po: Update from translation team.
31190 * po/bg.po: Likewise.
31191
295e904f
MP
311922011-07-12 Marek Polacek <mpolacek@redhat.com>
31193
31194 * misc/sys/cdefs.h: Add support for const attribute.
31195 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
31196 to gnu_dev_{major,minor,makedev} functions.
31197
3ff94596
MP
311982011-07-20 Marek Polacek <mpolacek@redhat.com>
31199
31200 * intl/dcigettext.c (get_output_charset): Add missing bracket.
31201
28b59fca
AS
312022011-07-20 Andreas Schwab <schwab@redhat.com>
31203
31204 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
31205 strlen results.
31206
19df733e
AK
312072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31208
31209 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
31210 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
31211 register in order to avoid conflicts with the soft frame pointer
31212 being held in r11 when necessary.
31213 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
31214 (INTERNAL_VSYSCALL_NCS): Likewise.
31215
c8835729
MP
312162011-07-14 Marek Polacek <mpolacek@redhat.com>
31217
31218 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
31219 * elf/dl-fini.c (_dl_fini): Adjust caller.
31220 * elf/dl-close.c (_dl_close_worker): Likewise.
31221 * sysdeps/generic/ldsodefs.h: Adjust declaration.
31222
b902330c
MP
312232011-07-15 Marek Polacek <mpolacek@redhat.com>
31224
8991e135
MP
31225 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
31226 "aux_cache->nlibs < 0".
31227
b902330c
MP
31228 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
31229 in the reload-count case.
31230
99710781
LD
312312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
31232
31233 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31234 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
31235 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
31236 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
31237 * sysdeps/x86_64/multiarch/strcat.S: New file.
31238 * sysdeps/x86_64/multiarch/strncat.S: New file.
31239 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
31240 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
31241 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
31242 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
31243 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
31244 (USE_AS_STRCAT): Define.
31245 Add strcat and strncat support.
31246 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
31247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
31248 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
31249 * string/strncat.c: Update.
31250 (USE_AS_STRNCAT): Define.
31251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31252 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
31253 and i7.
31254 * sysdeps/x86_64/multiarch/init-arch.h
31255 (bit_Prefer_PMINUB_for_stringop): New.
31256 (index_Prefer_PMINUB_for_stringop): Likewise.
31257 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
31258 bit_Prefer_PMINUB_for_stringop.
31259
7dc6bd90
UD
312602011-07-19 Ulrich Drepper <drepper@gmail.com>
31261
31262 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
31263 buffer64.
31264 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
31265 of casting of buffer.
31266 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
31267 buffer32 and buffer64.
31268 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
31269 writes instead of casting of buffer.
31270 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
31271 buffer32.
31272 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
31273 casting of buffer.
31274
e0e72284
AS
312752011-07-19 Andreas Schwab <schwab@redhat.com>
31276
31277 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
31278
feb1eb0b
UD
312792011-07-19 Ulrich Drepper <drepper@gmail.com>
31280
31281 * nscd/nscd.c (termination_handler): Don't do anything for a database
31282 if it has not yet been initialized.
31283
298711ff
UD
312842011-07-18 Ulrich Drepper <drepper@gmail.com>
31285
31286 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31287
312882011-07-15 Marek Polacek <mpolacek@redhat.com>
31289
31290 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
31291
f9d68389
UD
312922011-07-18 Ulrich Drepper <drepper@gmail.com>
31293
31294 * po/nl.po: Update from translation team.
31295 * po/sv.po: Likewise.
31296
db290cf5
RM
312972011-07-16 Roland McGrath <roland@hack.frob.com>
31298
31299 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
31300 now disallowed by GCC.
5c550700 31301
fd5e21c7
RM
31302 * configure.in (use-default-link): Default to yes if a test -shared
31303 link meets our qualifications.
31304 * configure: Regenerated.
31305
5c550700
RM
31306 * config.make.in (output-format): New variable.
31307 * configure.in: Check for ld --print-output-format support.
31308 * configure: Regenerated.
31309 * Makerules ($(common-objpfx)format.lds)
31310 [$(output-format) != unknown]: Just use $(output-format),
31311 instead of the linker-script munging.
31312
9fa2c032
RM
313132011-07-14 Roland McGrath <roland@hack.frob.com>
31314
a6928d51
RM
31315 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
31316 of $(common-objpfx)shlib.lds.
31317 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
31318
661607b3
RM
31319 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
31320 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
31321
9fa2c032
RM
31322 * configure.in (-z relro check): Adjust test code to add a large
31323 writable data section after it.
31324 * configure: Regenerated.
31325
defe9061
RM
313262011-07-11 Roland McGrath <roland@hack.frob.com>
31327
31328 * configure.in (-z relro check): Fix test code to make the variable
31329 truly const.
31330 * configure: Regenerated.
31331
319b9ad4
UD
313322011-07-11 Ulrich Drepper <drepper@gmail.com>
31333
31334 * nscd/nscd.h (struct traced_file): Define.
31335 (struct database_dyn): Remove inotify_descr, reset_res, and filename
31336 elements. Add traced_files.
31337 (inotify_fd): Declare.
31338 (register_traced_file): Declare.
31339 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
31340 (inotify_fd): Export.
31341 (resolv_conf_descr): Remove.
31342 (nscd_init): Move inotify descriptor creation to main.
31343 Don't register files for notification here.
31344 (register_traced_file): New function.
31345 (invalidate_cache): Don't use reset_res to determine whether to call
31346 res_init, go through the list of registered files.
31347 (main_loop_poll): The inotify descriptors are now stored in the
31348 structures for the traced files.
31349 (main_loop_epoll): Likewise
31350 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
31351 to __nss_disable_nscd.
31352 * nscd/cache.c (prune_cache): There is no single inotify descriptor
31353 for a database anymore. Check the records for all the registered
31354 files instead.
31355 * nss/Makefile (libnss_files-routines): Add files-init.
31356 (libnss_db-routines): Add db-init.
31357 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
31358 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
31359 * nss/nss_db/db-init.c: New file.
31360 * nss/nss_files/files-init.c: New file.
31361 * nss/nsswitch.c (nss_load_library): New function. Broken out of
31362 __nss_lookup_function.
31363 (__nss_lookup_function): Call nss_load_library.
31364 (nss_load_all_libraries): New function.
31365 (__nss_disable_nscd): Take parameter with callback function for files
31366 to register. Set is_nscd. Load all the DSOs for the NSS modules
31367 used for the cached services.
31368 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
31369 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
31370 options for features to all the files in nscd.
31371
31372 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
31373
23bee3e8
RM
313742011-07-10 Roland McGrath <roland@hack.frob.com>
31375
31376 * csu/elf-init.c (__libc_csu_init): Comment typo.
31377
46a5b7f0
UD
313782011-07-09 Ulrich Drepper <drepper@gmail.com>
31379
31380 * po/pl.po: Update from translation team.
31381 * po/ja.po: Likewise.
31382 * po/ru.po: Likewise.
31383 * po/ko.po: Likewise.
31384 * po/fr.po: Likewise.
31385
d30cf5bb
RM
313862011-07-09 Roland McGrath <roland@hack.frob.com>
31387
113ddea4
RM
31388 * configure.in (.ctors/.dtors header and trailer check):
31389 Use an empirical test on a built program.
31390 * configure: Regenerated.
31391
574920b4
RM
31392 * configure.in (-z relro check): Use an empirical test on a built DSO.
31393 Detect, but do not require, on ia64.
31394 * configure: Regenerated.
31395
d30cf5bb
RM
31396 * configure.in (READELF): Find it with AC_CHECK_TOOL.
31397 Update tests that use readelf to use $READELF instead.
31398 * configure: Regenerated.
31399
8538fdb3
UD
314002011-07-08 Ulrich Drepper <drepper@gmail.com>
31401
31402 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
31403 if the result is not used.
31404
04d08991
AJ
314052011-07-05 Andreas Jaeger <aj@suse.de>
31406
31407 [BZ#9696]
31408 * stdlib/tst-strtod.c: Add testcase.
31409
de283087
AD
314102011-07-07 Ulrich Drepper <drepper@gmail.com>
31411
4e5f31c8 31412 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 31413 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
31414 The latter has a higher limit. Take additional parameter to pass to
31415 the new function.
31416 (__pathconf): Pass file to __statfs_link_max.
31417 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
31418 __statfs_link_max.
31419 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
31420 __statfs_link_max.
31421
de283087
AD
31422 [BZ #12868]
31423 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
31424 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31425 Handle Lustre.
31426 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
31427 (__statfs_filesize_max): Likewise.
31428 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
31429
c75fa153
AJ
314302011-07-05 Andreas Jaeger <aj@suse.de>
31431
31432 * resolv/res_comp.c (dn_skipname): Remove unused variable.
31433
1a544854
UD
314342011-07-06 Marek Polacek <mpolacek@redhat.com>
31435
31436 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
31437 `status' variable.
31438 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
31439 Likewise.
31440
6f0eec67
UD
314412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
31442
31443 * Makefile (strop-tests): Add strncat.
31444 * string/test-strncat.c: New file.
31445
aae30307
UD
314462011-06-30 Marek Polacek <mpolacek@redhat.com>
31447
31448 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
31449
c0cfb5eb
UD
314502011-06-21 Andreas Jaeger <aj@suse.de>
31451
31452 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
31453 Copy rule from iconvdata/Makefile.
31454
01636b21
UD
314552011-07-06 Ulrich Drepper <drepper@gmail.com>
31456
31457 [BZ #12922]
31458 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
31459 but no long options are defined, just return 'W'.
31460
9895c8bc
UD
314612011-06-22 Marek Polacek <mpolacek@redhat.com>
31462
31463 [BZ #9696]
31464 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
31465
5d4cf042
UD
314662011-07-06 Ulrich Drepper <drepper@gmail.com>
31467
31468 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
31469 netgroups to read.
960e5535 31470 (innetgr): Likewise.
5d4cf042 31471
751eb97e
RM
314722011-07-05 Roland McGrath <roland@hack.frob.com>
31473
31474 * config.make.in (install_root): Default to $(DESTDIR).
31475
f15f1e45
UD
314762011-07-05 Ulrich Drepper <drepper@gmail.com>
31477
31478 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
31479
4e34ac6a
RM
314802011-07-02 Roland McGrath <roland@hack.frob.com>
31481
5e9b6af4
RM
31482 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
31483
84f9ea0f
RM
31484 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
31485 containing directory rather than embedding absolute directory names.
31486
ea5ee9f7
RM
31487 * scripts/check-local-headers.sh: Rewritten using awk.
31488 Match by word, not by line. Print error messages for matches.
31489 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
31490
1b74661a
RM
31491 * Makerules [shlib-lds-flags empty]:
31492 ($(common-objpfx)libc_pic.opts): New target.
31493 ($(common-objpfx)libc_pic.os.clean): New target.
31494 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
31495
31496 * config.make.in (OBJCOPY): New variable.
31497 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
31498 * configure: Regenerated.
31499
f781ef40
RM
31500 * config.make.in (use-default-link): New variable.
31501 * configure.in (use_default_link): Grok --with-default-link to set it.
31502 * configure: Regenerated.
31503 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
31504 (shlib-lds, shlib-lds-flags): Define to empty.
31505
2d4fa81e
RM
31506 * Makerules (shlib-lds): New variable.
31507 (shlib-lds-flags): New variable.
31508 (build-shlib, build-moduile, build-module-asneeded): Use it.
31509 ($(common-objpfx)libc.so): Use $(shlib-lds).
31510 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
31511 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
31512
31fffa6b
RM
31513 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
31514 DT_FLAGS/DT_FLAGS_1 with zero flags.
31515
4e34ac6a
RM
31516 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
31517 linker script munging.
31518
fcfc776b
UD
315192011-07-02 Ulrich Drepper <drepper@gmail.com>
31520
31521 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
31522 as 128-bit value.
31523 * crypt/sha512.c (sha512_process_block): Perform total addition using
31524 128-bit if possible.
31525 (__sha512_finish_ctx): Likewise.
31526 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
31527 as 64-bit value.
31528 * crypt/sha256.c (SWAP64): Define.
31529 (sha256_process_block): Perform total addition using 64-bit if
31530 possible.
31531 (__sha256_finish_ctx): Likewise.
31532
99231d9a
UD
315332011-07-01 Ulrich Drepper <drepper@gmail.com>
31534
31535 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
31536 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31537 * nscd/hstcache.c (cache_addhst): Likewise.
31538 * nscd/grpcache.c (cache_addgr): Likewise.
31539 * nscd/aicache.c (addhstaiX): Likewise
31540 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
31541
445b4a53
TK
315422011-07-01 Thorsten Kukuk <kukuk@suse.de>
31543
31544 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
31545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
31546 * nscd/hstcache.c (cache_addhst): Likewise.
31547 * nscd/grpcache.c (cache_addgr): Likewise.
31548 * nscd/aicache.c (addhstaiX): Likewise
31549
6d4d8e8e
AS
315502011-07-01 Andreas Schwab <schwab@redhat.com>
31551
31552 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
31553 domain only when needed.
31554
89f654c5
AS
315552011-06-30 Andreas Schwab <schwab@redhat.com>
31556
31557 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
31558 is always restored.
31559
cf3b23ff
UD
315602011-06-29 Ulrich Drepper <drepper@gmail.com>
31561
31562 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
31563 are re-adding the entry.
31564 * nscd/servicescache.c (cache_addserv): Likewise.
31565
751626f9
AJ
315662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
31567
31568 * sysdeps/generic/dl-irel.h: fix protection against multiple
31569 inclusions.
31570 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
31571
9113ea1f
UD
315722011-06-28 Ulrich Drepper <drepper@gmail.com>
31573
5c0b8d90
UD
31574 [BZ #12935]
31575 * malloc/memusage.sh: Fix quoting in message.
31576 * debug/xtrace.sh: Likewise.
31577
9113ea1f
UD
31578 * configure.in: Remove support for --experimental-malloc option, make
31579 it the default.
31580 * config.make.in: Likewise.
31581 * malloc/Makefile: Likewise.
31582
a4172181
AS
315832011-06-27 Andreas Schwab <schwab@redhat.com>
31584
31585 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
31586 two-byte characters.
31587
78a7eee7
RM
315882011-06-27 Roland McGrath <roland@hack.frob.com>
31589
62bede13
RM
31590 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
31591 AC_CACHE_CHECK invocation.
31592 * configure: Regenerated.
31593
78a7eee7
RM
31594 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
31595
5ce33a62
UD
315962011-06-27 Ulrich Drepper <drepper@gmail.com>
31597
034807a9
UD
31598 [BZ #12350]
31599 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
31600 bit from old_res_options.
31601
4902da17
UD
31602 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
31603
5ce33a62
UD
31604 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
31605 value type for setfct.
31606
c2344f56
L
316072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
31608
31609 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31610 __gettimeofday instead of gettimeofday.
31611
68468076
UD
316122011-06-26 Ulrich Drepper <drepper@gmail.com>
31613
31614 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
31615
acb0d739
L
316162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
31617
31618 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
31619
31620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
31621 info.
31622
8912479f
L
316232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31624
31625 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31626 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31627 strcpy-sse2-unaligned strncpy-sse2-unaligned
31628 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
31629 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
31630 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
31631 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
31632 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
31633 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
31634 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
31635 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
31636 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
31637 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
31638 (STRCPY): Support SSE2 and SSSE3 versions.
31639
d5495a11
UD
316402011-06-24 Ulrich Drepper <drepper@gmail.com>
31641
31642 [BZ #12874]
31643 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
31644 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
31645 kernels which artificially limit size of requests.
31646
0b1cbaae
L
316472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
31648
31649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31650 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
31651 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
31652 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
31653 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
31654 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
31655 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
31656 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
31657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
31658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
31659 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
31660 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
31661 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
31662 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
31663 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
31664 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31665 Enable unaligned load optimization for Intel Core i3, i5 and i7
31666 processors.
31667 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
31668 Define.
31669 (index_Fast_Unaligned_Load): Define.
31670 (HAS_FAST_UNALIGNED_LOAD): Define.
31671
07f494a0
MP
316722011-06-23 Marek Polacek <mpolacek@redhat.com>
31673
31674 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
31675
fa3fc0fe
UD
316762011-06-22 Ulrich Drepper <drepper@gmail.com>
31677
31678 [BZ #12907]
31679 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
31680 until it is clear that the information is realy needed.
31681 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
31682
e12df166
AS
316832011-06-22 Andreas Schwab <schwab@redhat.com>
31684
31685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
31686
852eb34d
UD
316872011-06-22 Ulrich Drepper <drepper@gmail.com>
31688
84e2a551
UD
31689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
31690 /sys/devices/system/cpu/online if it is usable.
31691
852eb34d
UD
31692 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
31693 reading the information from the /proc filesystem to once a second.
31694
6e502e19
UD
316952011-06-21 Andreas Jaeger <aj@suse.de>
31696
31697 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
31698 NULL after inclusion of kernel headers.
31699
75d39ff2
UD
317002011-06-21 Ulrich Drepper <drepper@gmail.com>
31701
51f9aa6a
UD
31702 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
31703 calls to internal_setent.
31704
c0244a9d
UD
31705 [BZ #12885]
31706 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
31707 addresses using gethostbyname4_r ignore IPv4 addresses.
31708
c5e3c2ae
UD
31709 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
31710 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
31711
75d39ff2
UD
31712 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
31713
42675c6f
DM
317142011-06-20 David S. Miller <davem@davemloft.net>
31715
31716 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
31717 inclusions.
31718 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
31719
31720 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
31721 (elf_irel): Use it.
31722 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
31723 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
31724 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
31725 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
31726 * sysdeps/x86_64/dl-irel.h: Likewise.
31727
31728 * elf/dl-runtime.c: Use elf_ifunc_invoke.
31729 * elf/dl-sym.c: Likewise.
31730
57912a71
UD
317312011-06-15 Ulrich Drepper <drepper@gmail.com>
31732
31733 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
31734 need to dereference resplen2.
31735
ee22793d
AS
317362011-06-14 Andreas Schwab <schwab@redhat.com>
31737
31738 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
31739
a9e836b0
UD
317402011-06-15 Ulrich Drepper <drepper@gmail.com>
31741
77fb9117
UD
31742 * Makeconfig: Define vardbdir and inst_vardbdir.
31743 * nss/Makefile: Add rules to install db-Makefile.
31744
40c1b22c
UD
31745 * nss/nss_db/db-XXX.c: Cleanup.
31746
9f2da732
UD
31747 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
31748 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
31749 GLIBC_PRIVATE.
31750 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
31751 * nss/makedb.c: Implement -g option to specify that value strings
31752 are generated and should not be added to table iterated over for
31753 get*ent calls.
31754 * nss/nss_db/db-initgroups.c: New file.
31755
82e9a1f7
UD
31756 * nss/getent.c: Add support for initgroups lookups through getgrouplist
31757 interface.
31758
c41af17e
UD
31759 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
31760 (internal_getgrouplist): Adjust to name change.
31761 Update use_initgroups_entry if this is not the first call.
31762 * nss/databases.def: Add initgroups entry.
31763
a9e836b0
UD
31764 * nss/makedb.c (compute_tables): Check result of multiple hash table
31765 sizes to minimize maximum chain length.
31766
2666d441
UD
317672011-06-14 Ulrich Drepper <drepper@gmail.com>
31768
31769 * Versions.def: Add entry for libnss_db.
31770 * shlib-versions: Likewise.
31771 * nss/Makefile: Add rules to build libnss_db.
31772 * nss/Versions: Add libnss_db information. Organize libnss_files
31773 entries better.
31774 * nss/db-Makefile: Add gshadow support. Change rules for the new
31775 makedb progra. Some minor improvements to generate smaller files.
31776 * nss/nss_db/nss_db.h: Move NSS database header data structures to
31777 here from...
31778 * nss/makedb.c: ...here.
31779 Improve database format to be smaller and require less memory at
31780 runtime.
31781 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
31782 db anymore.
31783 * nss/nss_db/db-netgrp.c: Likewise.
31784 * nss/nss_db/db-open.c: Likewise.
31785 * nss/nss_files/flies-XXX.x: Adjust comments.
31786 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
31787 * nss/nss_files/files-grp.c: Likewise.
31788 * nss/nss_files/files-hosts.c: Likewise.
31789 * nss/nss_files/files-network.c: Likewise.
31790 * nss/nss_files/files-proto.c: Likewise.
31791 * nss/nss_files/files-pwd.c: Likewise.
31792 * nss/nss_files/files-rpc.c: Likewise.
31793 * nss/nss_files/files-service.c: Likewise.
31794 * nss/nss_files/files-sgrp.c: Likewise.
31795 * nss/nss_files/files-spwd.c: Likewise.
31796 * nss/nss_db/db-alias.c: Removed.
31797 * nss/nss_db/dummy-db.h: Removed.
31798
9ee76b5a
UD
317992011-06-02 Ulrich Drepper <drepper@gmail.com>
31800
31801 * nss/makedb.c: Rewritten to not use database library.
31802 * nss/Makefile: Update to build new makedb program.
31803
c71ca1f8
AJ
318042011-06-14 Andreas Jaeger <aj@suse.de>
31805
31806 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
31807 memset declaration.
31808
3154bfb8
UD
318092011-06-10 Andreas Schwab <schwab@redhat.com>
31810
31811 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
31812 tmpbuf.
31813
b350afab
RM
318142011-06-10 Roland McGrath <roland@hack.frob.com>
31815
decd4e50
RM
31816 * Makerules (shlib.lds): Fail if the linker script comes out empty.
31817 * elf/Makefile ($(objpfx)ld.so): Likewise.
31818
5615eaf2
RM
31819 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
31820 Don't list ld.so twice in dependencies.
31821
31822 * posix/bug-regex31.c: Include <stdlib.h>.
31823
31824 * nscd/hstcache.c (cache_addhst): Remove unused variable.
31825
31826 * nis/nss_compat/compat-spwd.c
31827 (getspent_next_nss_netgr): Remove unused variable.
31828 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
31829
31830 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
31831 nonmembers" output to use the right array.
31832
31833 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
31834
31835 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
31836
31837 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
31838 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
31839 * catgets/gencat.c (read_input_file): Likewise.
31840 * locale/programs/locarchive.c (enlarge_archive): Likewise.
31841
31842 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
31843 variable definition inside #if's controlling its use.
31844
31845 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
31846
31847 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
31848
31849 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
31850
31851 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
31852 unreachable code.
31853
31854 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
31855
b68e08db
RM
31856 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
31857 * configure: Regenerated.
31858
b350afab
RM
31859 * Makerules: Revert last change.
31860 * elf/Makefile: Likewise.
31861
28368601
RM
318622011-06-09 Roland McGrath <roland@hack.frob.com>
31863
31864 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
31865 * elf/Makefile ($(objpfx)librtld.os): Likewise.
31866 (reloc-link): Likewise.
31867
11988f8f
UD
318682011-06-09 Ulrich Drepper <drepper@gmail.com>
31869
31870 * elf/Makefile: Add rules to build pldd.
31871 * elf/pldd.c: New file.
31872 * elf/pldd-xx.c: New file.
31873
e80fab37
UD
318742011-06-07 Ulrich Drepper <drepper@gmail.com>
31875
31876 * version.h: Update for 2.15 development version.
31877
9b849836
DM
318782011-06-07 David S. Miller <davem@davemloft.net>
31879
31880 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
31881 ifuncs.
31882 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
31883 elf_machine_lazy_rel): Likewise.
31884 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
31885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
31886 elf_machine_lazy_rel): Likewise.
31887 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
31888 dl_hwcap via passed in argument.
31889 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
31890 Likewise.
31891
5a31b283
AK
318922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31893
31894 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
31895
069e52f8
RM
318962011-06-06 Roland McGrath <roland@hack.frob.com>
31897
31898 [BZ #12849]
31899 * manual/fdl-1.1.texi: New file, verbatim from:
31900 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
31901 * manual/lgpl-2.1.texi: New file, verbatim from:
31902 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
31903 * manual/Makefile (licenses): New variable, list those new file names.
31904 (texis): Use it.
31905 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
31906
31907 * manual/fdl.texi: File removed.
31908 * manual/lesser.texi: File removed.
31909 * manual/libc.texinfo (Copying, Documentation License):
31910 Use new @include file names, put @appendix directive before @include.
31911
f16846a5
JJ
319122011-06-04 Jakub Jelinek <jakub@redhat.com>
31913
31914 [BZ #12841]
31915 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
31916 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
31917 (mq_open): Add __NTH.
31918
3d29045b
L
319192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
31920
31921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31922 Assume Intel Core i3/i5/i7 processor if AVX is available.
31923
8c297311
UD
319242011-05-31 Ulrich Drepper <drepper@gmail.com>
31925
31926 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
31927 typo.
31928
c8fc0c91
UD
319292011-05-31 Andreas Schwab <schwab@redhat.com>
31930
31931 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
31932 memory. Use alloca_account. Fix memory leak when retrying.
31933
5b27a807
UD
319342011-05-31 Ulrich Drepper <drepper@gmail.com>
31935
356f8bc6
UD
31936 * version.h (RELEASE): Bump for 2.14 release.
31937 * include/features.h (__GLIBC_MINOR__): Bump to 14.
31938
5b27a807
UD
31939 * config.make.in (RANLIB): Remove entry.
31940
01f16ab0
UD
319412011-05-30 Ulrich Drepper <drepper@gmail.com>
31942
41fce8bd
UD
31943 * po/Makefile (po-sed-cmd): Add ksh to extensions.
31944 (libc.pot): Work around missing support for .ksh extension in xgettext.
31945
4769ae77
UD
31946 [BZ #12684]
31947 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
31948 if both request failed.
31949 (send_dg): In case of server errors clear resplen or *resplen2.
31950
6b1e7d19
UD
31951 [BZ #12454]
31952 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
31953 when there are multiple maps.
31954 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
31955 (_dl_fini): Remove test here.
31956
01f16ab0
UD
31957 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
31958
b1ebd700
UD
319592011-05-29 Ulrich Drepper <drepper@gmail.com>
31960
7ae22829
UD
31961 [BZ #12350]
31962 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
31963 bit from old_res_options.
31964 (gaih_inet): Likewise.
31965
553149f6 31966 [BZ #11099]
18a84741 31967 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
31968 as signed.
31969
652ffab1
UD
31970 * resolv/res_init.c (res_setoptions): Make the code more compact.
31971
16985fd0
UD
31972 [BZ #11558]
31973 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
31974 set RES_USEVC.
31975
0464f746
UD
31976 [BZ #11634]
31977 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
31978
7d17596c
UD
31979 * malloc/malloc.h: Mark malloc hook variables as deprecated.
31980
cf6bbbd7
UD
31981 [BZ #11781]
31982 * malloc/malloc.h: Declare malloc hook variables as volatile.
31983
13f1ab36
UD
31984 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
31985 in last patch.
31986
b1ebd700
UD
31987 [BZ #11799]
31988 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 31989 raise in the comment.
80e2212d
UD
31990 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
31991 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31992 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 31993
ce67228d
UD
319942011-05-28 Ulrich Drepper <drepper@gmail.com>
31995
8887a920
UD
31996 [BZ #12811]
31997 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
31998 grow the buffers more if it already has to be sufficient.
31999 (build_wcs_upper_buffer): Likewise.
32000 * posix/regexec.c (check_matching): Likewise.
32001 (clean_state_log_if_needed): Likewise.
32002 (extend_buffers): Don't enlarge buffers beyond size of the input
32003 buffer.
32004 Patches mostly by Emil Wojak <emil@wojak.eu>.
32005 * posix/bug-regex32.c: New file.
32006 * posix/Makefile (tests): Add bug-regex32.
32007
4f031072
UD
32008 * locale/findlocale.c (_nl_find_locale): Return right away if
32009 _nl_explode_name failed.
32010 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
32011
d0478f0c
UD
32012 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
32013
de81b246
UD
32014 * debug/xtrace.sh: Unify messages.
32015 * malloc/memusage.sh: Likewise.
32016
c738465a
UD
32017 [BZ #12813]
32018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
32019 time symbol from vDSO. Substitute with vsyscall if not available.
32020 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
32021 __vdso_time.
32022
f1f929d7
UD
32023 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
32024 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
32025 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
32026 Add sendmmsg and internal_sendmmsg.
32027 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
32028 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
32029 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
32030
ce67228d
UD
32031 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
32032 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
32033 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
32034
e57420c6
UD
320352011-05-27 Ulrich Drepper <drepper@gmail.com>
32036
a8509ca5
UD
32037 [BZ #12813]
32038 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
32039 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
32040 available.
32041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
32042 __vdso_getcpu.
32043
e57420c6
UD
32044 [BZ #12814]
32045 * iconvdata/Makefile (tests): Add bug-iconv9.
32046 * iconvdata/bug-iconv9.c: New file.
32047
4d07db15
AS
320482011-05-27 Andreas Schwab <schwab@redhat.com>
32049
32050 [BZ #12814]
32051 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
32052
ea486f69
JJ
320532011-05-25 Jakub Jelinek <jakub@redhat.com>
32054
32055 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32056 (struct user_regs_struct): Change intcs field back to cs.
32057
6f038433
UD
320582011-05-25 Ulrich Drepper <drepper@gmail.com>
32059
32060 * po/ja.po: Update from translation team.
32061
67f86a25
UD
320622011-05-23 Ulrich Drepper <drepper@gmail.com>
32063
32064 [BZ #12795]
32065 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
32066 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
32067
def7fbd6
AS
320682011-05-20 Andreas Schwab <schwab@redhat.com>
32069
32070 * stdlib/longlong.h: Update from GCC.
32071
f50ef8f1
AS
320722011-05-23 Andreas Schwab <schwab@redhat.com>
32073
32074 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
32075 parameter name.
32076 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
32077 Add parameter name.
32078 (__sysconf): Pass it down.
32079
de7ce8f1
UD
320802011-05-22 Ulrich Drepper <drepper@gmail.com>
32081
f2962a71
UD
32082 [BZ #12671]
32083 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
32084 some situations.
32085 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
32086 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
32087 add in in __libc_use_alloca calls. Adjust callers.
32088 (glob): Use malloc in some situations.
32089
de7ce8f1
UD
32090 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
32091 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
32092 pltexit.
32093
aec84f53
UD
320942011-05-21 Ulrich Drepper <drepper@gmail.com>
32095
05bb4a68
UD
32096 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
32097 and CLOCK_BOOTTIME_ALARM.
32098
7ea72f99
UD
32099 [BZ #12782]
32100 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
32101 is returned.
32102
7e4afad5
UD
32103 * string/_strerror.c (__strerror_r): Print negative errors as signed
32104 numbers.
32105
8e211fec
UD
32106 [BZ #12777]
32107 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
32108 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
32109 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
32110
f7d82dc9
UD
32111 * configure.in: Fix typo in redirection and correct removal of test
32112 files in two cases.
32113
cc9e536d
UD
32114 [BZ #12788]
32115 * locale/setlocale.c (new_composite_name): Fix test to check for
32116 identical name of all categories.
32117
aec84f53
UD
32118 [BZ #12792]
32119 * libio/filedoalloc.c (local_isatty): New function.
32120 (_IO_file_doallocate): Use local_isatty.
32121 * stdio-common/perror.c (perror): In case a new stream is used
32122 forward the stream error.
32123 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
32124 error flag.
32125
78e64fdc
RT
321262011-05-20 Ulrich Drepper <drepper@gmail.com>
32127
34a9094f
UD
32128 [BZ #11869]
32129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
32130 alloca.
32131 * include/alloca.h (extend_alloca_account): Define.
32132
78e64fdc
RT
32133 [BZ #11857]
32134 * posix/regex.h: Fix comments with documentation of user-accessible
32135 fields after compilation and describe correct free'ing of pattern
32136 after re_compile_pattern.
32137 Patch by Reuben Thomas <rrt@sc3d.org>.
32138
457bddfc
RA
321392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
32140
32141 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
32142 and -mno-altivec to prevent the compiler from using Altivec and/or
32143 VSX instructions when the corresponding registers are not available.
32144
a4527b51
AS
321452011-05-19 Andreas Schwab <schwab@redhat.com>
32146
32147 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
32148
ed690b2f
UD
321492011-05-19 Ulrich Drepper <drepper@gmail.com>
32150
32151 * libio/freopen.c (freopen): Use __dup2, not dup2.
32152 * libio/freopen64.c (freopen64): Likewise.
32153
8db73634
L
321542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
32155
32156 [BZ #12775]
32157 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
32158 * math/Makefile (tests): Add test-powl.
32159 (CFLAGS-test-powl.c): Define.
32160 * math/test-powl.c: New file.
32161
0a197a9d
L
321622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
32163
32164 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
32165
ee30c380
UD
321662011-05-17 Ulrich Drepper <drepper@gmail.com>
32167
32168 [BZ #11837]
32169 * iconvdata/gb18030.c: Update to GB18020-2005.
32170
6ce75379
UD
321712011-05-16 Ulrich Drepper <drepper@gmail.com>
32172
a4b89fd8
AR
32173 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
32174 RE_SYNTAX_POSIX_AWK): Update to match recent development.
32175 Patch by Aharon Robbins <arnold@skeeve.com>.
32176
ea389b12
UD
32177 [BZ #11892]
32178 * stdlib/putenv.c (putenv): Don't always create copy of the variable
32179 on the stack.
32180
68a3f91f
UD
32181 [BZ #11895]
32182 * misc/pselect.c (__pselect): Handle timeout value errors hidden
32183 through underflows.
32184
15cc7dd1
UD
32185 [BZ #12766]
32186 * misc/error.c (error_at_line): Ensure file_name and old_file_name
32187 point to strings before performing equality test for error_one_per_line
32188 mode.
32189
f3799213
UD
32190 [BZ #11697]
32191 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
32192
d79a9c94
UD
32193 [BZ #11820]
32194 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
32195 (struct user_fpregs_struct): Avoid __uint*_t types.
32196
56e5eb46
UD
32197 [BZ #6420]
32198 * malloc/mtrace.c (tr_where): Add additional parameter to point to
32199 symbol info. Use it instead of calling _dl_addr locally.
32200 (lock_and_info): New function.
32201 (tr_freehook): Call lock_and_info and pass symbol info as additional
32202 parameter to tr_where.
32203 (tr_mallochook): Likewise.
32204 (tr_reallochook): Likewise.
32205 (tr_memalignhook): Likewise.
32206
6ce75379
UD
32207 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
32208 used and couldn't be at all thread-safe.
32209
f8a3b5bf
UD
322102011-05-15 Ulrich Drepper <drepper@gmail.com>
32211
94b7cc37
UD
32212 * libio/freopen.c (freopen): Don't close old file descriptor
32213 before the new one is opened. Instead dup the new file descriptor
32214 to the old one after the new stream is created.
32215 * libio/freopen64.c (freopen64): Likewise.
32216 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
32217 * libio/fileops.c (_IO_new_file_close_it): Handle new
32218 _IO_FLAGS2_NOCLOSE flag.
32219 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
32220 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
32221 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
32222 _IO_FLAGS2_NOCLOSE flag.
32223 * include/unistd.h: Add hidden_proto for dup3.
32224 Define __have_dup3.
32225 * io/dup3.c: Define hidden symbol.
32226 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
32227
bd25564e
UD
32228 [BZ #7101]
32229 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
32230 when an incomplete long option is used.
32231 * posix/tst-getopt_long1.c: New file.
32232 * posix/Makefile (tests): Add tst-getopt_long1.
32233
c84cfef4
UD
32234 [BZ #10138]
32235 * scripts/config.guess: Update from autoconf-2.68.
32236 * scripts/config.sub: Likewise.
32237
3b85df27
UD
32238 [BZ #10157]
32239 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
32240 tests into ...
32241 (has_cpuclock): ...this. New function.
32242 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
32243 macro here based on has_cpuclock code.
32244
15a856b1
UD
32245 [BZ #10149]
32246 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32247 First byte (not low byte) is now always NUL.
32248 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
32249
05f399e6
UD
32250 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
32251 Use non-cancelable interfaces.
32252
10a52685 32253 [BZ #9809]
94ecc67d
UD
32254 * locale/iso-639.def: Add entry for Sorani.
32255
f8a3b5bf
UD
32256 [BZ #11901]
32257 * include/stdlib.h: Move include protection to the right place.
32258 Define abort_msg_s. Declare __abort_msg with it.
32259 * stdlib/abort.c (__abort_msg): Adjust type.
32260 * assert/assert.c (__assert_fail_base): New function. Majority
32261 of code from __assert_fail. Allocate memory for __abort_msg with
32262 mmap.
32263 (__assert_fail): Now call __assert_fail_base.
32264 * assert/assert-perr.c: Remove bulk of implementation. Use
32265 __assert_fail_base.
32266 * include/assert.hL Declare __assert_fail_base.
32267 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
32268 mmap.
32269 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
32270
1af4e298
UD
322712011-05-14 Ulrich Drepper <drepper@gmail.com>
32272
f8a3b5bf 32273 [BZ #11952]
d26dfc60
MG
32274 [BZ #12453]
32275 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
32276 until all modules are registered in the DTV.
32277 * elf/Makefile: Add rules to build and run tst-tls19.
32278 * elf/tst-tls19.c: New file.
32279 * elf/tst-tls19mod1.c: New file.
32280 * elf/tst-tls19mod2.c: New file.
32281 * elf/tst-tls19mod3.c: New file.
32282 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
32283
2fc54d6f
UD
32284 [BZ #12083]
32285 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
32286 correctly.
32287
98d76b46
UD
32288 [BZ #12601]
32289 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
32290 two-byte sequence errors.
32291 * iconvdata/Makefile (tests): Add bug-iconv8.
32292 * iconvdata/bug-iconv8.c: New file.
32293
da3c19ef
UD
32294 [BZ #12626]
32295 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
32296 buf2 definition.
32297
ca408c15
UD
32298 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
32299
d6f67f7d
UD
32300 [BZ #12432]
32301 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
32302 (dummy_getcfa): New function.
32303 (init): Get _Unwind_GetCFA address, use dummy if not found.
32304 (backtrace_helper): In recursion check, also check whether CFA changes.
32305 (__backtrace): Completely initialize arg.
32306
1af4e298 32307 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
32308 storing incomplete byte sequence in state object. Avoid testing for
32309 guaranteed too small input if we know there is enough data available.
1af4e298 32310
da62f81b
AS
323112011-05-11 Andreas Schwab <schwab@redhat.com>
32312
32313 * Makeconfig (+link-pie): Indent.
32314 * Rules (binaries-pie): Define if $(have-fpie) and
32315 $(build-shared).
32316 (binaries-shared): Also filter out $(binaries-pie).
32317 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
32318 * nscd/Makefile (others-pie): Add nscd.
32319 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
32320 ($(objpfx)nscd): Remove command override.
32321 * login/Makefile (others-pie): Add pt_chown.
32322 ($(objpfx)pt_chown): Remove command override.
32323 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
32324 remove command overrides.
32325
fcabc0f8
UD
323262011-05-13 Ulrich Drepper <drepper@gmail.com>
32327
20030ae6
UD
32328 * libio/tst_putwc.c: Fix error messages.
32329
fcabc0f8
UD
32330 [BZ #12724]
32331 * libio/fileops.c (_IO_new_file_close_it): Always flush when
32332 currently writing and seek to current position when not.
32333 * libio/Makefile (tests): Add bug-fclose1.
32334 * libio/bug-fclose1.c: New file.
32335
320a5dc0
PB
323362011-05-12 Ulrich Drepper <drepper@gmail.com>
32337
32338 [BZ #12511]
32339 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
32340 don't set DF_1_NODELETE here.
32341 (do_lookup_x): When entering new entry test for copy relocation
32342 and if necessary set DF_1_NODELETE flag.
32343 * elf/tst-unique4.cc: New file.
32344 * elf/tst-unique4.h: New file.
32345 * elf/tst-unique4lib.cc: New file.
32346 * elf/Makefile: Add rules to build and run tst-unique4.
32347 Patch by Piotr Bury <pbury@goahead.com>.
32348
22836f52
UD
323492011-05-11 Ulrich Drepper <drepper@gmail.com>
32350
f574184a
UD
32351 [BZ #12052]
32352 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
32353
e1fb097f
UD
32354 [BZ #12625]
32355 * misc/mntent_r.c (addmntent): Flush the stream after the output
32356
22836f52
UD
32357 [BZ #12393]
32358 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
32359 (is_trusted_path_normalize): Skip initial colon. Append slash
32360 to empty buffer. Duplicate is_trusted_path code but allow
32361 constructed patch to be prefix.
32362 (is_dst): Allow $ORIGIN followed by /.
32363 (_dl_dst_substitute): Correct clearing of check_for_trusted.
32364 Correct testing of result of is_trusted_path_normalize
32365 (decompose_rpath): Fix warning.
32366
7b3b0b2a
UD
323672011-05-10 Ulrich Drepper <drepper@gmail.com>
32368
32369 [BZ #11257]
32370 * grp/initgroups.c (internal_getgrouplist): When we found the service
32371 list through the initgroups entry in nsswitch.conf do not always
32372 continue on a successful lookup. Don't always use the
eac80ce2 32373 __nss_group_database value if it is set.
7b3b0b2a
UD
32374 * nss/nsswitch.conf (initgroups): Change action for successful db
32375 lookup to continue for compatibility.
32376
2a81eaa5
UD
323772011-05-09 Ulrich Drepper <drepper@gmail.com>
32378
be97a69e
UD
32379 [BZ #11532]
32380 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
32381 and CP774 modules.
32382 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
32383 and CP774 modules.
32384 * iconvdata/tst-tables.sh: Likewise.
32385 * iconvdata/cp770.c: New file.
32386 * iconvdata/cp771.c: New file.
32387 * iconvdata/cp772.c: New file.
32388 * iconvdata/cp773.c: New file.
32389 * iconvdata/cp774.c: New file.
32390 * iconvdata/testdata/CP770: New file.
32391 * iconvdata/testdata/CP770..UTF8: New file.
32392 * iconvdata/testdata/CP771: New file.
32393 * iconvdata/testdata/CP771..UTF8: New file.
32394 * iconvdata/testdata/CP772: New file.
32395 * iconvdata/testdata/CP772..UTF8: New file.
32396 * iconvdata/testdata/CP773: New file.
32397 * iconvdata/testdata/CP773..UTF8: New file.
32398 * iconvdata/testdata/CP774: New file.
32399 * iconvdata/testdata/CP774..UTF8: New file.
32400
32401 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
32402 END CHARMAP line.
32403 * iconvdata/gen-8bit-gap.sh: Likewise.
32404 * iconvdata/gen-8bit.sh: Likewise.
32405
c1e9e399
UD
32406 * locale/iso-639.def: Add ary entry.
32407
24c55fb3 32408 [BZ #11258]
96b4b1b0
UD
32409 * locale/C-translit.h.in: Add U20A1 transliteration.
32410
bdc2f971
KB
32411 [BZ #12178]
32412 * locale/iso-639.def: Add wae entry.
32413 Patch by Kevin Bortis <bortis@translate-wae.ch>.
32414
2952b117
UD
32415 [BZ #12545]
32416 * locale/programs/localedef.c (construct_output_path): Use ssize_t
32417 for n.
32418
2a81eaa5
UD
32419 [BZ #12711]
32420 * locale/C-translit.h.in: Add entry for U20B9.
32421 Patch by pravin.d.s@gmail.com.
32422
28377d1b
UD
324232011-05-08 Ulrich Drepper <drepper@gmail.com>
32424
7fb90fb8
UD
32425 [BZ #12713]
32426 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
32427 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
32428 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
32429 in rtld. Use *stat64.
7fb90fb8 32430 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 32431 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 32432 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
32433 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
32434 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
32435 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
32436 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
32437 __fstatat64 macros.
7fb90fb8
UD
32438 * include/dirent.h: Add libc_hidden_proto for rewinddir.
32439 * dirent/rewinddir.c: Add libc_hidden_def.
32440 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 32441 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 32442
28377d1b
UD
32443 * include/dirent.h (__alloc_dir): Add flags parameter.
32444 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
32445 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
32446 __alloc_dir.
32447 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
32448 from fdopendir if O_CLOEXEC is already set.
32449
66bdbaa4
AM
324502011-03-15 Alan Modra <amodra@gmail.com>
32451
32452 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
32453 l_tls_firstbyte_offset non-zero. Save padding offset in
32454 l_tls_firstbyte_offset for later use.
32455 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
32456 freeing static tls block.
32457
95721191
JN
324582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
32459
32460 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
32461 where #ifdef was intended. The intent is to prevent ARG_MAX from
32462 being defined by the kernel headers.
32463
f87dfb1f
UD
324642011-05-07 Ulrich Drepper <drepper@gmail.com>
32465
32466 [BZ #12734]
32467 * resolv/resolv.h: Define RES_NOTLDQUERY.
32468 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
32469 no-tld-query and set RES_NOTLDQUERY.
32470 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
32471 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
32472 modern BIND to search name as TLD unless forbidden.
32473
47c3cd7a
UD
324742011-05-07 Petr Baudis <pasky@suse.cz>
32475 Ulrich Drepper <drepper@gmail.com>
32476
32477 [BZ #12393]
32478 * elf/dl-load.c (fillin_rpath): Move trusted path check...
32479 (is_trusted_path): ...to here.
c1e9ea35 32480 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 32481 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 32482 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 32483
8a35c912
PP
324842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
32485
32486 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
32487 __BEGIN/__END_DECLS.
32488
acd41f47
UD
324892011-05-06 Ulrich Drepper <drepper@gmail.com>
32490
32491 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
32492 NSS_STATUS_NOTFOUND if no record was found.
32493
597df647
AS
324942011-05-05 Andreas Schwab <schwab@redhat.com>
32495
32496 * sunrpc/Makefile (headers): Add rpc/netdb.h.
32497 (headers-not-in-tirpc): Remove rpc/netdb.h
32498 * resolv/netdb.h: Revert last change.
32499
b9af1301
PP
325002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32501
32502 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
32503 circular dependency between libgcc.a and libc.a.
32504
4e34d5f5
AS
325052011-05-05 Andreas Schwab <schwab@redhat.com>
32506
32507 * resolv/netdb.h: Don't include <rpc/netdb.h>.
32508 * nis/Makefile: Don't install rpcsvc/*.
32509 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
32510 instead of <rpc/types.h>.
32511 (MAXHOSTNAMELEN): Define.
32512
00ee369c
AS
325132011-05-03 Andreas Schwab <schwab@redhat.com>
32514
32515 * elf/ldconfig.c (add_dir): Don't crash on empty path.
32516
0b592a30
MB
325172011-04-28 Maciej Babinski <mbabinski@google.com>
32518
32519 [BZ #12714]
32520 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
32521 gethostbyname4_r when IPv6 results are possible.
32522
6e04cbbe
UD
325232011-05-02 Ulrich Drepper <drepper@gmail.com>
32524
32525 [BZ #12723]
32526 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
32527 _PC_PIPE_BUF handling.
32528
e4ecafe0
BH
325292011-04-30 Bruno Haible <bruno@clisp.org>
32530
32531 [BZ #12717]
32532 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
32533 * resolv/netdb.h (getnameinfo): Change type of flags parameter
32534 to 'int'.
32535 * inet/getnameinfo.c (getnameinfo): Likewise.
32536
125ee683
UD
325372011-04-29 Ulrich Drepper <drepper@gmail.com>
32538
32539 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
32540 to groups setting in database lookup.
32541 * nss/nsswitch.conf: Add initgroups entry.
32542
b722481a
EB
325432011-04-22 Ulrich Drepper <drepper@gmail.com>
32544
32545 [BZ #12685]
32546 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
32547 mode string.
32548 Patch by Eric Blake <eblake@redhat.com>.
32549
4df46dbd
L
325502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
32551
32552 * sunrpc/Makefile (need-export-routines): Add svc_run.
32553 (routines): Remove svc_run.
32554 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
32555 * sunrpc/clnt_perr.c (clnt_perrno): Export.
32556 * sunrpc/svc_run.c (svc_run): Likewise.
32557 * sunrpc/svc_udp.c (svcudp_create): Likewise.
32558
e84142d2
UD
325592011-04-21 Ulrich Drepper <drepper@gmail.com>
32560
32561 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
32562 problem in reallocation in last patch.
32563
877175d8
UD
325642011-04-20 Ulrich Drepper <drepper@gmail.com>
32565
32566 * sunrpc/Makefile: Move inclusion of Rules.
32567
ab8eed78
UD
325682011-04-19 Ulrich Drepper <drepper@gmail.com>
32569
32570 * nss/nss_files/files-initgroups.c: New file.
32571 * nss/Makefile (libnss_files-routines): Add files-initgroups.
32572 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
32573 _nss_files_initgroups_dyn.
32574
e3d8f584
RS
325752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
32576
32577 * elf/elf.h (R_ARM_IRELATIVE): Define.
32578
af190f45
UD
325792011-04-19 Ulrich Drepper <drepper@gmail.com>
32580
32581 * po/ru.po: Update from translation team.
32582
53cf59ef
UD
325832011-04-17 Ulrich Drepper <drepper@gmail.com>
32584
32585 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
32586 dependencies.
32587
4c559bcd
MF
325882011-02-06 Mike Frysinger <vapier@gentoo.org>
32589
32590 [BZ #12653]
32591 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
32592 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
32593 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32594 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32595 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32596
4420675c
AS
325972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
32598
32599 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
32600 differing bytes.
32601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32602 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32604
75ea32ab
UD
326052011-04-17 Ulrich Drepper <drepper@gmail.com>
32606
32607 [BZ #12420]
32608 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
32609 storing it.
32610 * stdlib/bug-getcontext.c: New file.
32611 * stdlib/Makefile: Add rules to build and run bug-getcontext.
32612
27390476
AK
326132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32614
32615 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
32616 instructions into .machine "z9-109".
32617 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
32618 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
32619
10442705
AK
326202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32621
32622 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
32623 between environment variables and auxiliary vector.
32624
7b57bfe5
UD
326252011-04-16 Ulrich Drepper <drepper@gmail.com>
32626
32627 * Makefile: Add rules to build linkobj/libc.so.
32628 * include/libc-symbols.h: Define libc_hidden_nolink.
32629 * include/rpc/auth.h: Mark functions which are to be hidden.
32630 * include/rpc/auth_des.h: Likewise.
32631 * include/rpc/auth_unix.h: Likewise.
32632 * include/rpc/clnt.h: Likewise.
32633 * include/rpc/des_crypt.h: Likewise.
32634 * include/rpc/key_prot.h: Likewise.
32635 * include/rpc/pmap_clnt.h: Likewise.
32636 * include/rpc/pmap_prot.h: Likewise.
32637 * include/rpc/pmap_rmt.h: Likewise.
32638 * include/rpc/rpc_msg.h: Likewise.
32639 * include/rpc/svc.h: Likewise.
32640 * include/rpc/svc_auth.h: Likewise.
32641 * include/rpc/xdr.h: Likewise.
32642 * nis/Makefile: Link all DSOs against linkobj/libc.so.
32643 * nss/Makefile: Likewise.
32644 * sunrpc/Makefile: Don't install headers. Build library with normal
32645 entry points. Don't build rpcinfo. Link RPC tests appropriately.
32646 * sunrpc/auth_des.c: Hide exported symbols by default, export some
32647 for the compat linking library. Remove use of INTDEF/INTUSE.
32648 * sunrpc/auth_none.c: Likewise.
32649 * sunrpc/auth_unix.c: Likewise.
32650 * sunrpc/authdes_prot.c: Likewise.
32651 * sunrpc/authuxprot.c: Likewise.
32652 * sunrpc/clnt_gen.c: Likewise.
32653 * sunrpc/clnt_perr.c: Likewise.
32654 * sunrpc/clnt_raw.c: Likewise.
32655 * sunrpc/clnt_simp.c: Likewise.
32656 * sunrpc/clnt_tcp.c: Likewise.
32657 * sunrpc/clnt_udp.c: Likewise.
32658 * sunrpc/clnt_unix.c: Likewise.
32659 * sunrpc/des_crypt.c: Likewise.
32660 * sunrpc/des_soft.c: Likewise.
32661 * sunrpc/get_myaddr.c: Likewise.
32662 * sunrpc/key_call.c: Likewise.
32663 * sunrpc/key_prot.c: Likewise.
32664 * sunrpc/netname.c: Likewise.
32665 * sunrpc/pm_getmaps.c: Likewise.
32666 * sunrpc/pm_getport.c: Likewise.
32667 * sunrpc/pmap_clnt.c: Likewise.
32668 * sunrpc/pmap_prot.c: Likewise.
32669 * sunrpc/pmap_prot2.c: Likewise.
32670 * sunrpc/pmap_rmt.c: Likewise.
32671 * sunrpc/publickey.c: Likewise.
32672 * sunrpc/rpc_cmsg.c: Likewise.
32673 * sunrpc/rpc_common.c: Likewise.
32674 * sunrpc/rpc_dtable.c: Likewise.
32675 * sunrpc/rpc_prot.c: Likewise.
32676 * sunrpc/rpc_thread.c: Likewise.
32677 * sunrpc/rtime.c: Likewise.
32678 * sunrpc/svc.c: Likewise.
32679 * sunrpc/svc_auth.c: Likewise.
32680 * sunrpc/svc_authux.c: Likewise.
32681 * sunrpc/svc_raw.c: Likewise.
32682 * sunrpc/svc_run.c: Likewise.
32683 * sunrpc/svc_simple.c: Likewise.
32684 * sunrpc/svc_tcp.c: Likewise.
32685 * sunrpc/svc_udp.c: Likewise.
32686 * sunrpc/svc_unix.c: Likewise.
32687 * sunrpc/svcauth_des.c: Likewise.
32688 * sunrpc/xcrypt.c: Likewise.
32689 * sunrpc/xdr.c: Likewise.
32690 * sunrpc/xdr_array.c: Likewise.
32691 * sunrpc/xdr_float.c: Likewise.
32692 * sunrpc/xdr_intXX_t.c: Likewise.
32693 * sunrpc/xdr_mem.c: Likewise.
32694 * sunrpc/xdr_rec.c: Likewise.
32695 * sunrpc/xdr_ref.c: Likewise.
32696 * sunrpc/xdr_sizeof.c: Likewise.
32697 * sunrpc/xdr_stdio.c: Likewise.
32698
e6c61494
UD
326992011-04-10 Ulrich Drepper <drepper@gmail.com>
32700
32701 [BZ #12650]
32702 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
32703 * sysdeps/ia64/dl-tls.h: Likewise.
32704 * sysdeps/powerpc/dl-tls.h: Likewise.
32705 * sysdeps/s390/dl-tls.h: Likewise.
32706 * sysdeps/sh/dl-tls.h: Likewise.
32707 * sysdeps/sparc/dl-tls.h: Likewise.
32708 * sysdeps/x86_64/dl-tls.h: Likewise.
32709 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
32710
34fe483e
AS
327112011-03-14 Andreas Schwab <schwab@redhat.com>
32712
32713 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
32714 rpath element also skip the following colon.
32715 (expand_dynamic_string_token): Add is_path parameter and pass
32716 down to DL_DST_REQUIRED and _dl_dst_substitute.
32717 (decompose_rpath): Call expand_dynamic_string_token with
32718 non-zero is_path. Ignore empty rpaths.
32719 (_dl_map_object_from_fd): Call expand_dynamic_string_token
32720 with zero is_path.
32721
f12a32e6
AS
327222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
32723
32724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32725 Make cancelable.
32726
38a7d692
UD
327272011-04-09 Ulrich Drepper <drepper@gmail.com>
32728
32729 [BZ #12655]
32730 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
32731 Patch by Filipe David Manana <fdmanana@apache.org>.
32732
e451d22b
AS
327332011-04-07 Andreas Schwab <schwab@redhat.com>
32734
32735 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
32736 Maintain aligned stack.
32737 (CHECK_RSP): Remove unused macro.
32738
dedc7c7b
UD
327392011-04-03 Ulrich Drepper <drepper@gmail.com>
32740
32741 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
32742 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
32743
94521213
UD
327442011-04-02 Ulrich Drepper <drepper@gmail.com>
32745
32746 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
32747
8cb700c0 32748 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 32749
0354e355
L
327502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
32751
32752 [BZ #12518]
32753 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
32754 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
32755 * sysdeps/x86_64/memmove.c: New file.
32756 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
32757 (memcpy): Renamed to ...
32758 (__new_memcpy): This.
32759 (memcpy): Provide GLIBC_2_14 memcpy.
32760 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
32761 (memcpy): Provide GLIBC_2_2_5 memcpy.
32762
8593482f
UD
327632011-04-01 Ulrich Drepper <drepper@gmail.com>
32764
32765 [BZ #12631]
32766 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
32767
81a5726b
AS
327682011-03-30 Andreas Schwab <schwab@redhat.com>
32769
32770 * misc/syncfs.c: New file.
32771 * misc/Makefile (routines): Add syncfs.
32772 * posix/unistd.h: Declare syncfs.
32773 * sysdeps/unix/syscalls.list: Add syncfs.
32774
00e5419f
AS
327752011-04-01 Andreas Schwab <schwab@redhat.com>
32776
32777 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
32778 open_by_handle_at.
32779 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32780 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32781 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32782 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32783 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32784 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
32785 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32786
748876bf
UD
327872011-04-01 Ulrich Drepper <drepper@gmail.com>
32788
658e451d
UD
32789 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
32790 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32791 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
32792 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32793 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32794 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32796
748876bf
UD
32797 * io/Makefile: Compile fallocate.c, fallocate64.c, and
32798 sync_file_range.c with -fexceptions.
32799 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
32800 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
32801 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
32802 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
32803 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
32804 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32805 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
32806 sync_file_range as cancellation point
32807 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
32808 now a wrapper around __call_sync_file_range with cancellation handling.
32809 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
32810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
32811 function name to __call_sync_file_range.
32812 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
32813 Add call_sync_file_range.
748876bf 32814
6e63d5e1
AS
328152011-04-01 Andreas Schwab <schwab@redhat.com>
32816
32817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 32818 bits/timex.h.
6e63d5e1 32819
46998f74
UD
328202011-04-01 Ulrich Drepper <drepper@gmail.com>
32821
4c1423ed
UD
32822 * iconv/iconv.h: Fix typo in comment.
32823 * io/fcntl.h: Likewise.
32824 * libio/stdio.h: Likewise.
32825 * posix/spawn.h: Likewise.
32826 * posix/unistd.h: Likewise.
32827 * stdlib/stdlib.h: Likewise.
32828 * time/time.h: Likewise.
32829 * wcsmbs/wchar.h: Likewise.
32830
158648c0
UD
32831 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
32832 open_by_handle): Add.
32833 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
32834 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
32835 Augment a few comments.
32836 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
32837 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32838 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32839 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32840 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32841 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
32842 open_by_handle.
32843
46998f74
UD
32844 * io/fcntl.h (AT_EMPTY_PATH): Define.
32845
83fe108b
UD
328462011-03-30 Ulrich Drepper <drepper@gmail.com>
32847
32848 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
32849 * sysdeps/unix/sysv/linux/bits/time.h: New file.
32850 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
32851 to...
32852 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
32853 * Versions.def: Add GLIBC_2.14.
32854 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
32855 Export.
83fe108b 32856
bb242059
UD
328572011-03-22 Ulrich Drepper <drepper@gmail.com>
32858
32859 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
32860 round counter.
32861 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32862
c97a1282
L
328632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
32864
32865 [BZ #12597]
32866 * string/test-strncmp.c (do_page_test): New function.
32867 (check2): Likewise.
32868 (test_main): Call check2.
32869 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
32870
2a115601
UD
328712011-03-20 Ulrich Drepper <drepper@gmail.com>
32872
32873 [BZ #12587]
32874 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
32875 Handle cache information in CPU leaf 4.
32876 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
32877
8126d904
UD
328782011-03-18 Ulrich Drepper <drepper@gmail.com>
32879
042c49c6 32880 [BZ #12583]
8126d904
UD
32881 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
32882 character representation.
32883 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
32884
ccfe366e
RA
328852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
32886
32887 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
32888 END(__isnan) to END(__isnanf) to match function entry point/label
32889 EALIGN(__isnanf,...).
32890
c6e13027
JJ
328912011-03-10 Jakub Jelinek <jakub@redhat.com>
32892
32893 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
32894
33f85a3f
UD
328952011-03-10 Ulrich Drepper <drepper@gmail.com>
32896
028478fa
UD
32897 [BZ #12510]
32898 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
32899 copy from the symbol referenced in the relocation to initialize the
32900 used variable.
32901 Patch by Piotr Bury <pbury@goahead.com>.
32902 * elf/Makefile: Add rules to build and tst-unique3.
32903 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
32904 * elf/tst-unique3.cc: New file.
32905 * elf/tst-unique3.h: New file.
32906 * elf/tst-unique3lib.cc: New file.
32907 * elf/tst-unique3lib2.cc: New file.
32908
33f85a3f
UD
32909 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
32910
03592fc7
MF
329112011-03-10 Mike Frysinger <vapier@gentoo.org>
32912
32913 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
32914 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
32915 to _start.
03592fc7 32916
6a5ee102
UD
329172011-03-06 Ulrich Drepper <drepper@gmail.com>
32918
32919 * elf/dl-load.c (_dl_map_object): If we are looking for the first
32920 to-be-loaded object along a path to loader is ld.so.
32921
7e4ba49c
HJ
329222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32923 Ulrich Drepper <drepper@gmail.com>
32924
32925 * sysdeps/x86_64/memset.S: After aligning destination, code
32926 branches to different locations depending on the value of
32927 misalignment, when multiarch is enabled. Fix this.
32928
329292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
32930
32931 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
32932 Set _x86_64_preferred_memory_instruction for AMD processsors.
32933 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32934 Set bit_Prefer_SSE_for_memop for AMD processors.
32935
13a804de
UD
329362011-03-04 Ulrich Drepper <drepper@gmail.com>
32937
32938 * libio/fmemopen.c (fmemopen): Optimize a bit.
32939
9d25c392
AS
329402011-03-03 Andreas Schwab <schwab@redhat.com>
32941
32942 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
32943
a5543c6a
RM
329442011-03-03 Roland McGrath <roland@redhat.com>
32945
32946 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
32947
012d35f7
DM
329482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
32949
7e4ba49c 32950 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
32951 __bzero_ultra1 instead of __memset_ultra1.
32952
4bff6e01
AS
329532011-02-23 Andreas Schwab <schwab@redhat.com>
32954 Ulrich Drepper <drepper@gmail.com>
32955
32956 [BZ #12509]
32957 * include/link.h (struct link_map): Add l_orig_initfini.
32958 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
32959 returning unsuccessfully.
32960 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
32961 close of a file loaded at startup, restore the original l_initfini
32962 list.
32963 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
32964 list, store the pointer.
32965 * elf/Makefile ($(objpfx)noload-mem): New rule.
32966 (noload-ENV): Define.
32967 (tests): Add $(objpfx)noload-mem.
32968 * elf/noload.c: Include <memcheck.h>.
32969 (main): Call mtrace. Close all opened handles.
32970
f2092faf
AS
329712011-02-17 Andreas Schwab <schwab@redhat.com>
32972
32973 [BZ #12454]
32974 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
32975 dependencies are missing.
32976
6c8a2e88
ST
329772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
32978
f2092faf 32979 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
32980 Hurd needs munmap.
32981 * sysdeps/mach/hurd/ifreq.h: New file.
32982
84a42118
PB
329832011-01-27 Petr Baudis <pasky@suse.cz>
32984 Ulrich Drepper <drepper@gmail.com>
32985
071f805e 32986 [BZ 12445]#
84a42118
PB
32987 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
32988 to extend_alloca().
32989 * stdio-common/bug23.c: New file.
32990 * stdio-common/Makefile (tests): Add bug23.
32991
e23fe25b
AS
329922010-09-28 Andreas Schwab <schwab@redhat.com>
32993 Ulrich Drepper <drepper@gmail.com>
32994
32995 [BZ #12489]
32996 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
32997 before performing relro protection. At old place add assertion
32998 to make sure nothing changed.
32999
d3f02e10
NS
330002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
33001 Glauber de Oliveira Costa <glommer@gmail.com>
33002
33003 * elf/elf.h: Add new ARM TLS relocs.
33004
d55fd7a5
RA
330052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
33006
33007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
33008 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
33009 cast from r3.
33010 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
33011 'tests' variable.
33012 * sysdeps/wordsize-64/tst-writev.c: New file.
33013
2206397e
RA
330142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
33015
33016 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
33017 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
33018 insns in _dl_start to prevent a TOC reference before relocs are
33019 resolved.
33020
e9433893
UD
330212011-02-15 Ulrich Drepper <drepper@gmail.com>
33022
33023 [BZ #12469]
33024 * Makeconfig: Remove RANLIB definition.
33025 * Makerules: Don't use RANLIB.
33026 * aclocal.m4: Remove ranlib test.
33027 * configure.in: No need to check for ranlib.
33028 * elf/rtld-Rules: Don't use RANLIB.
33029
f75286c6
ST
330302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
33031
8e31c82d
ST
33032 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
33033 protection macro.
33034 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
33035 inclusion protection macro.
33036
f75286c6
ST
33037 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
33038 SIGRTMIN and SIGRTMAX and print information in that case only when
33039 SIGRTMIN is defined.
33040
c1d0e639
JJ
330412011-02-11 Jakub Jelinek <jakub@redhat.com>
33042
33043 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
33044 arginfo fn returning -1.
33045
33046 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
33047 and thousands string is zero terminated.
33048
edf9294e
AS
330492011-02-03 Andreas Schwab <schwab@redhat.com>
33050
33051 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
33052 sysdeps/unix/sysv/linux/bits/socket.h.
33053
2b7e92df
ST
330542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
33055
edf9294e
AS
33056 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
33057 (__CPU_COUNT): Remove old macros.
33058 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
33059 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
33060 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
33061 (__sched_cpualloc, __sched_cpufree): Add declarations.
33062
a4c7ea7b
UD
330632011-02-05 Ulrich Drepper <drepper@gmail.com>
33064
33065 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
33066 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
33067 * nscd/aicache.c (addhstaiX): Return timeout of added value.
33068 (readdhstai): Return value of addhstaiX call.
33069 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
33070 (addgrbyX): Return value returned by cache_addgr.
33071 (readdgrbyname): Return value returned by addgrbyX.
33072 (readdgrbygid): Likewise.
33073 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
33074 (addpwbyX): Return value returned by cache_addpw.
33075 (readdpwbyname): Return value returned by addhstbyX.
33076 (readdpwbyuid): Likewise.
33077 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
33078 (addservbyX): Return value returned by cache_addserv.
33079 (readdservbyname): Return value returned by addservbyX:
33080 (readdservbyport): Likewise.
33081 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
33082 (addhstbyX): Return value returned by cache_addhst.
33083 (readdhstbyname): Return value returned by addhstbyX.
33084 (readdhstbyaddr): Likewise.
33085 (readdhstbynamev6): Likewise.
33086 (readdhstbyaddrv6): Likewise.
33087 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
33088 (readdinitgroups): Return value returned by addinitgroupsX.
33089 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
33090 (prune_cache): Keep track of timeout value of re-added entries.
33091 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
33092 * nscd/nscd.h: Adjust prototypes of readd* functions.
33093
a0bf67cc
RM
330942011-02-04 Roland McGrath <roland@redhat.com>
33095
33096 * nis/nis_server.c (nis_servstate): Use the right name for 0.
33097 (nis_stats): Likewise.
33098 * nis/nis_modify.c (nis_modify): Likewise.
33099 * nis/nis_remove.c (nis_remove): Likewise.
33100 * nis/nis_add.c (nis_add): Likewise.
33101
33102 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
33103
33104 * posix/fnmatch_loop.c: Add some consts.
33105
33106 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
33107
435b95eb
L
331082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
33109
33110 [BZ #12460]
33111 * config.make.in (config-cflags-novzeroupper): Define.
33112 * configure.in: Substitute libc_cv_cc_novzeroupper.
33113 * elf/Makefile (AVX-CFLAGS): Define.
33114 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
33115 (CFLAGS-tst-auditmod4a.c): Likewise.
33116 (CFLAGS-tst-auditmod4b.c): Likewise.
33117 (CFLAGS-tst-auditmod6b.c): Likewise.
33118 (CFLAGS-tst-auditmod6c.c): Likewise.
33119 (CFLAGS-tst-auditmod7b.c): Likewise.
33120 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
33121
8517b15e
UD
331222011-02-02 Ulrich Drepper <drepper@gmail.com>
33123
33124 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
33125 function to the callback.
33126 Patch partly by Jiri Olsa <jolsa@redhat.com>.
33127
10a656fe
AS
331282011-02-02 Andreas Schwab <schwab@redhat.com>
33129
33130 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
33131 of errno.
33132
968dad0a
UD
331332011-01-19 Ulrich Drepper <drepper@gmail.com>
33134
9f94d2ea 33135 [BZ #11724]
968dad0a
UD
33136 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
33137 of constructors.
33138 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
33139 of destructors.
33140 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
33141
33142 [BZ #11724]
33143 * elf/Makefile: Add rules to build and run new test.
33144 * elf/tst-initorder.c: New file.
33145 * elf/tst-initorder.exp: New file.
33146 * elf/tst-initordera1.c: New file.
33147 * elf/tst-initordera2.c: New file.
33148 * elf/tst-initordera3.c: New file.
33149 * elf/tst-initordera4.c: New file.
33150 * elf/tst-initorderb1.c: New file.
33151 * elf/tst-initorderb2.c: New file.
33152 * elf/tst-order-a1.c: New file.
33153 * elf/tst-order-a2.c: New file.
33154 * elf/tst-order-a3.c: New file.
33155 * elf/tst-order-a4.c: New file.
33156 * elf/tst-order-b1.c: New file.
33157 * elf/tst-order-b2.c: New file.
33158 * elf/tst-order-main.c: New file.
33159 New test case by George Gensure <werkt0@gmail.com>.
33160
86e92359
UD
331612010-10-01 Andreas Schwab <schwab@redhat.com>
33162
33163 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33164 decoding ACE if AI_CANONIDN.
33165
5d5732b0
UD
331662011-01-18 Ulrich Drepper <drepper@gmail.com>
33167
33168 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
33169
a77e8cbc
UD
331702011-01-17 Ulrich Drepper <drepper@gmail.com>
33171
6392473f
UD
33172 * version.h (RELEASE): Bump for 2.13 release.
33173 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
33174
620a0529
UD
33175 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
33176
18ba70a5
UD
33177 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
33178 MADV_NOHUGEPAGE.
32465c3e
UD
33179 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
33180 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
33181 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33182 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33183 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33184 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33185
c0dafcf1
UD
33186 * posix/getconf.c: Update copyright year.
33187 * catgets/gencat.c: Likewise.
33188 * csu/version.c: Likewise.
33189 * debug/catchsegv.sh: Likewise.
33190 * debug/xtrace.sh: Likewise.
33191 * elf/ldconfig.c: Likewise.
33192 * elf/ldd.bash.in: Likewise.
33193 * elf/sprof.c (print_version): Likewise.
33194 * iconv/iconv_prog.c: Likewise.
33195 * iconv/iconvconfig.c: Likewise.
33196 * locale/programs/locale.c: Likewise.
33197 * locale/programs/localedef.c: Likewise.
33198 * malloc/memusage.sh: Likewise.
33199 * malloc/mtrace.pl: Likewise.
33200 * nscd/nscd.c (print_version): Likewise.
33201 * nss/getent.c: Likewise.
33202
a77e8cbc
UD
33203 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
33204 PF_CAIF, and PF_ALG.
33205 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
33206
77e8bddf
AS
332072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
33208
1f20b93a
AS
33209 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
33210 (modules-names): Use them.
33211 (ifunc-test-modules, ifunc-pie-tests): Define.
33212 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
33213 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
33214 (test-extras): Likewise.
33215 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
33216 $(compile-command.c).
33217 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
33218 (all-built-dso): Define.
33219 (check-textrel.out, check-execstack.out): Depend on it.
33220
77e8bddf
AS
33221 * configure.in: Don't override --enable-multi-arch.
33222
bc425b33
UD
332232011-01-15 Ulrich Drepper <drepper@gmail.com>
33224
33225 [BZ #6812]
33226 * nscd/hstcache.c (tryagain): Define.
33227 (cache_addhst): Return tryagain not notfound for temporary errors.
33228 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
33229 failed.
33230
794c3ad3
UD
332312011-01-14 Ulrich Drepper <drepper@gmail.com>
33232
70181fdd
UD
33233 [BZ #10563]
33234 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
33235 to make the syscall.
33236 * sysdeps/unix/sysv/linux/setgroups.c: New file.
33237
794c3ad3
UD
33238 [BZ #12378]
33239 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
33240 and fall back to matching as normal character if the string ends before
33241 the matching ']' is found. This is what POSIX requires.
33242 * posix/testfnm.c: Adjust test result.
33243 * posix/globtest.sh: Adjust test result. Add new test.
33244 * posix/tst-fnmatch.input: Likewise.
33245 * posix/tst-fnmatch2.c: Add new test.
33246
68dc9497
AS
332472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
33248
33249 * elf/Makefile (check-execstack): Revert last change. Depend on
33250 check-execstack.h.
33251 (check-execstack.h): New target.
33252 (generated): Add check-execstack.h.
33253 * elf/check-execstack.c: Include "check-execstack.h".
33254 (main): Revert last change.
33255 (handle_file): Return zero if GNU_STACK is absent and
33256 DEFAULT_STACK_PERMS doesn't include PF_X.
33257
451f001b
UD
332582011-01-13 Ulrich Drepper <drepper@gmail.com>
33259
cfa28e56
UD
33260 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
33261 in child fails because the descriptor is already closed.
8cf8ce17
UD
33262 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
33263 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
33264 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 33265
1086d70d
UD
33266 [BZ #12397]
33267 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
33268 syscall.
33269
451f001b
UD
33270 [BZ #10484]
33271 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
33272 temporary buffer used to handle multi lookups locally.
a85b5cb4 33273 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 33274
08769175
UD
332752011-01-12 Ulrich Drepper <drepper@gmail.com>
33276
33277 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
33278 loader is ld.so.
33279
5e49c52e
UD
332802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
33281
33282 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
33283 alignment for SSE2.
33284
60522a5f
UD
332852011-01-12 Ulrich Drepper <drepper@gmail.com>
33286
33287 [BZ #12394]
33288 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
33289 characters. When rounding increased number of integer digits recompute
33290 number of groups.
33291 * stdio-common/tst-grouping.c: New file.
33292 * stdio-common/Makefile: Add rules to build and run tst-grouping.
33293
f257bbd7
UD
332942011-01-09 Ulrich Drepper <drepper@gmail.com>
33295
33296 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
33297 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
33298
33299 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
33300 void.
33301 * bits/select.h: Likewise.
33302
fa9c15cb
UD
333032011-01-08 Ulrich Drepper <drepper@gmail.com>
33304
33305 * po/ja.po: Update from translation team.
33306
16c2895f
DM
333072011-01-04 David S. Miller <davem@sunset.davemloft.net>
33308
33309 [BZ #11155]
33310 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
33311 implementation just like for lxstat, fxstatat, et al.
33312
2543fef2
JM
333132010-12-27 Jim Meyering <meyering@redhat.com>
33314
33315 [BZ #12348]
33316 * posix/regexec.c (build_trtable): Return failure indication upon
33317 calloc failure. Otherwise, re_search_internal could infloop on OOM.
33318
98727dbe
UD
333192010-12-25 Ulrich Drepper <drepper@gmail.com>
33320
5bd6dc5c
UD
33321 [BZ #12201]
33322 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
33323 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
33324 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
33325 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
33326
97983464
UD
33327 [BZ #12207]
33328 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
33329
98727dbe
UD
33330 [BZ #12204]
33331 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
33332 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
33333
4a531bb0
L
333342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
33335
33336 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
33337 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
33338 script has SORT_BY_INIT_PRIORITY.
33339 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
33340 NO_CTORS_DTORS_SECTIONS is defined.
33341 * elf/soinit.c: Likewise.
33342 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
33343 NO_CTORS_DTORS_SECTIONS is defined.
33344 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
33345 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
33346 * sysdeps/sh/init-first.c: Likewise.
33347 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
33348
07eb4b71
UD
333492010-12-24 Ulrich Drepper <drepper@gmail.com>
33350
33351 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
33352 always use the slow path.
33353
30950a5f
RA
333542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
33355
33356 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
33357 similar rule which adds the sysdep directories to the header search in
33358 order to pick up the correct platform stackinfo.h.
33359 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
33360 perform test if it is, otherwise return successfully without testing.
33361 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
33362 DEFAULT_STACK_PERMS define in stackinfo.h.
33363 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
33364 defined in stackinfo.h.
33365 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
33366 DEFAULT_STACK_PERMS defined in stackinfo.h.
33367 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
33368 * sysdeps/ia64/stackinfo.h: Likewise.
33369 * sysdeps/s390/stackinfo.h: Likewise.
33370 * sysdeps/sh/stackinfo.h: Likewise.
33371 * sysdeps/sparc/stackinfo.h: Likewise.
33372 * sysdeps/x86_64/stackinfo.h: Likewise.
33373 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
33374 PF_X for powerpc64. Retain PF_X for powerpc32.
33375
db753e2c
UD
333762010-12-19 Ulrich Drepper <drepper@gmail.com>
33377
14b697f7
UD
33378 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
33379 accurately.
db753e2c
UD
33380 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
33381 GETDENTS_64BIT_ALIGNED.
33382
28300719
UD
333832010-12-14 Ulrich Drepper <dreper@gmail.com>
33384
14b697f7 33385 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 33386
4f197237
AS
333872010-12-10 Andreas Schwab <schwab@redhat.com>
33388
dbb0472f
AS
33389 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
33390 _GNU_SOURCE.
33391
4f197237
AS
33392 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
33393 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
33394 Remove __restrict.
33395 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
33396 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
33397
fb88ac72
UD
333982010-12-09 Ulrich Drepper <drepper@gmail.com>
33399
33400 [BZ #11655]
33401 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
33402 are initialized.
33403
42acbb92
JJ
334042010-12-09 Jakub Jelinek <jakub@redhat.com>
33405
33406 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
33407
c038d98d
UD
334082010-12-03 Ulrich Drepper <drepper@gmail.com>
33409
33410 * po/it.po: Update from translation team.
33411
3a4a2499
L
334122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
33413
33414 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
33415 unused codes.
33416
1e24cf6e
UD
334172010-11-30 Ulrich Drepper <drepper@gmail.com>
33418
33419 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
33420
a7690819
AS
334212010-11-24 Andreas Schwab <schwab@redhat.com>
33422
33423 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
33424 specially.
33425 (gaih_getanswer_slice): Likewise.
33426
3bf8d1b1
JJ
334272010-10-20 Jakub Jelinek <jakub@redhat.com>
33428
33429 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
33430
6db52fbb
PB
334312010-05-31 Petr Baudis <pasky@suse.cz>
33432
33433 [BZ #11149]
33434 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
33435 silently even in the chroot mode.
33436
eaca7569
UD
334372010-11-22 Ulrich Drepper <drepper@gmail.com>
33438
33439 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
33440 last patch a bit. Pretty printing
33441
3056dcdb
UD
334422010-05-31 Petr Baudis <pasky@suse.cz>
33443
33444 [BZ #10085]
33445 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
33446 initialization of skip_initgroups_dyn.
33447
cf7c9078
UD
334482010-11-19 Ulrich Drepper <drepper@gmail.com>
33449
33450 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
33451 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
33452
a1fb5e3e
UD
334532010-11-16 Ulrich Drepper <drepper@gmail.com>
33454
33455 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
33456
3540d66b
AS
334572010-11-11 Andreas Schwab <schwab@redhat.com>
33458
33459 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
33460 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
33461 (tst-fnmatch-ENV): Set MALLOC_TRACE.
33462 ($(objpfx)tst-fnmatch-mem): New rule.
33463 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
33464 * posix/tst-fnmatch.c (main): Call mtrace.
33465
13b69574
L
334662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
33467
33468 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33469 Support Intel processor model 6 and model 0x2c.
33470
da93d214
LM
334712010-11-10 Luis Machado <luisgpm@br.ibm.com>
33472
33473 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
33474 signed comparison.
33475
8ca52c6e
L
334762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
33477
33478 [BZ #12205]
33479 * string/test-strncasecmp.c (check_result): New function.
33480 (do_one_test): Use it.
33481 (check1): New function.
33482 (test_main): Use it.
33483 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
33484 Support strcasecmp and strncasecmp.
33485
69da074d
UD
334862010-11-08 Ulrich Drepper <drepper@gmail.com>
33487
33488 [BZ #12194]
33489 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
33490 * sysdeps/x86_64/bits/byteswap.h: Likewise.
33491
ff02d528
L
334922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
33493
33494 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
33495 IFUNC support.
33496 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33497 memset-x86-64.
33498 * sysdeps/x86_64/multiarch/bzero.S: New file.
33499 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
33500 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
33501 * sysdeps/x86_64/multiarch/memset.S: New file.
33502 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
33503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33504 Set bit_Prefer_SSE_for_memop for Intel processors.
33505 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
33506 Define.
33507 (index_Prefer_SSE_for_memop): Define.
33508 (HAS_PREFER_SSE_FOR_MEMOP): Define.
33509
344d0b54
LM
335102010-11-04 Luis Machado <luisgpm@br.ibm.com>
33511
33512 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
33513 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
33514
c0dde15b
UD
335152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
33516
33517 [BZ #12191]
33518 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33519 (__x86_64_raw_data_cache_size_half): Likewise.
33520 (__x86_64_raw_shared_cache_size): Likewise.
33521 (__x86_64_raw_shared_cache_size_half): Likewise.
33522
33523 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
33524 (__x86_64_raw_data_cache_size_half): Likewise.
33525 (__x86_64_raw_shared_cache_size): Likewise.
33526 (__x86_64_raw_shared_cache_size_half): Likewise.
33527 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
33528 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
33529 and __x86_64_raw_shared_cache_size_half. Round
33530 __x86_64_data_cache_size_half, __x86_64_data_cache_size
33531 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
33532 to multiple of 256 bytes.
33533
0e516e0e
MS
335342010-11-03 Ulrich Drepper <drepper@gmail.com>
33535
33536 [BZ #12167]
33537 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
33538 of inacessible symlinks. Verify result of symlink before returning it.
33539 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
33540 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
33541
0e012e87
ER
335422010-10-28 Erich Ritz <erichritz@gmail.com>
33543
33544 * math/math.h (isinf): Fix typo in comment.
33545
de0ff7bc
UD
335462010-11-01 Ulrich Drepper <drepper@gmail.com>
33547
33548 * po/da.po: Update from translation team.
33549
fa41c84d
UD
335502010-10-26 Ulrich Drepper <drepper@gmail.com>
33551
33552 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
33553 is added to the list.
33554
f0967738
AK
335552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33556 Ulrich Drepper <drepper@gmail.com>
33557
33558 * elf/dl-object.c (_dl_new_object): Don't append the new object to
33559 the global list here. Move code to...
33560 (_dl_add_to_namespace_list): ...here. New function.
33561 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
33562 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
33563 * elf/dl-load.c (lose): Don't remove the element from the list.
33564 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
33565 (_dl_map_object): Likewise.
33566
335672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
33568
33569 [BZ #12159]
33570 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
33571 into all bytes of SSE register.
33572 Patch by Richard Li <richardpku@gmail.com>.
33573
f0967738 335742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
33575
33576 [BZ #12140]
33577 * malloc/malloc.c (_int_free): Fill correct number of bytes when
33578 perturbing.
33579
d0b9e94f
MB
335802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
33581
33582 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
33583 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
33584 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
33585 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
33586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
33587 submachine.
33588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
33589
8e9f92e9
AS
335902010-10-22 Andreas Schwab <schwab@redhat.com>
33591
33592 * include/dlfcn.h (__RTLD_SECURE): Define.
33593 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
33594 mode & __RTLD_SECURE instead.
33595 (open_path): Rename preloaded parameter to secure.
33596 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
33597 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
33598 * elf/dl-deps.c (openaux): Likewise.
33599 * elf/rtld.c (struct map_args): Remove is_preloaded.
33600 (map_doit): Don't use it.
33601 (dl_main): Likewise.
33602 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
33603 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
33604
bc96fbda
AS
336052010-09-09 Andreas Schwab <schwab@redhat.com>
33606
33607 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
33608 (sysd-rules-targets): Remove duplicates.
33609 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
33610 rtld-%.$o dependency.
33611
22cd1c9b
AS
336122010-10-18 Andreas Schwab <schwab@redhat.com>
33613
33614 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
33615 _dl_map_object do it.
33616
18edac48
UD
336172010-10-19 Ulrich Drepper <drepper@gmail.com>
33618
33619 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
33620 fast fma builtins, define the macros in the C99 standard.
33621 (FP_FAST_FMAF): Likewise.
33622 (FP_FAST_FMAL): Likewise.
33623 * sysdeps/x86_64/bits/mathdef.h: Likewise.
33624
33625 * bits/mathdef.h: Update copyright year.
33626 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33627
d2050124
MM
336282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
33629
33630 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
33631 builtins, define the macros in the C99 standard.
33632 (FP_FAST_FMAF): Likewise.
33633 (FP_FAST_FMAL): Likewise.
33634 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
33635 multiply/add.
33636 (FP_FAST_FMAF): Likewise.
33637
475facd1
JJ
336382010-10-15 Jakub Jelinek <jakub@redhat.com>
33639
33640 [BZ #3268]
33641 * math/libm-test.inc (fma_test): Some new testcases.
33642 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
33643 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
33644 y and infinite z. Do multiplication by C already in long double.
33645 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
33646 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
33647 y and infinite z. Do bitwise or of inexact bit into u.d.
33648 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
33649 * sysdeps/i386/fpu/s_fmaf.S: Removed.
33650 * sysdeps/i386/fpu/s_fma.S: Removed.
33651 * sysdeps/i386/fpu/s_fmal.S: Removed.
33652
7c08a05c
JJ
336532010-10-16 Jakub Jelinek <jakub@redhat.com>
33654
33655 [BZ #3268]
33656 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
33657 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
33658 computation is not scheduled after fetestexcept. Fix value
33659 of minimum denormal long double.
33660
f3f7372d
JJ
336612010-10-14 Jakub Jelinek <jakub@redhat.com>
33662
33663 [BZ #3268]
33664 * math/libm-test.inc (fma_test): Add some more tests.
33665 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
33666 correctly.
33667
14d43591
AS
336682010-10-15 Andreas Schwab <schwab@redhat.com>
33669
33670 * scripts/data/localplt-s390-linux-gnu.data: New file.
33671 * scripts/data/localplt-s390x-linux-gnu.data: New file.
33672
5e908464
JJ
336732010-10-13 Jakub Jelinek <jakub@redhat.com>
33674
33675 [BZ #3268]
33676 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
33677 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
33678 instead of dbl-64.
33679 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
33680 inlines.
33681 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
33682 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
33683 if one of x and y is very large and the other is subnormal.
33684 * sysdeps/s390/fpu/s_fmaf.c: New file.
33685 * sysdeps/s390/fpu/s_fma.c: New file.
33686 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
33687 * sysdeps/powerpc/fpu/s_fma.S: New file.
33688 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
33689 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
33690 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
33691
336922010-10-12 Jakub Jelinek <jakub@redhat.com>
33693
33694 [BZ #3268]
33695 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
33696 fma tests.
33697 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
33698 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
33699 * sysdeps/i386/i686/multiarch/s_fma.c: Include
33700 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
33701 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
33702 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
33704
b833d51f
UD
337052010-10-12 Ulrich Drepper <drepper@redhat.com>
33706
33707 [BZ #12078]
33708 * posix/regcomp.c (parse_branch): One more memory leak plugged.
33709 * posix/bug-regex31.input: Add test case.
33710
1751705d
UD
337112010-10-11 Ulrich Drepper <drepper@gmail.com>
33712
e9b9cbf5
UD
33713 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
33714 * posix/bug-regex31.input: New file.
33715
33716 [BZ #12078]
33717 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
33718 (parse_sub_exp): Fix last change, use postorder.
33719
ef06edbe
UD
33720 * posix/bug-regex31.c: New file.
33721 * posix/Makefile: Add rules to build and run bug-regex31.
33722
a129c80d
UD
33723 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
33724
33725 [BZ #12078]
33726 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
33727
b76b818e
UD
33728 [BZ #12108]
33729 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
33730 to have entries in sys_siglist.
33731
1751705d
UD
33732 [BZ #12093]
33733 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
33734 be NULL.
33735
9ff8d36f
JJ
337362010-10-07 Jakub Jelinek <jakub@redhat.com>
33737
33738 [BZ #3268]
33739 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
33740 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
33741 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
33742 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
33743 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
33744 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
33745 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
33746 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
33747 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
33748 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
33749 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
33750 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
33751 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
33752 * math/ftestexcept.c (fetestexcept): Likewise.
33753 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
33754 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
33755 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
33756 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
33757 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
33758 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
33759 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
33760
af325969
UD
337612010-10-11 Ulrich Drepper <drepper@gmail.com>
33762
c579b202 33763 [BZ #12107]
af325969
UD
33764 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
33765 newline.
33766
67a67b95
UD
337672010-10-06 Ulrich Drepper <drepper@gmail.com>
33768
33769 * string/bug-strstr1.c: New file.
33770 * string/Makefile: Add rules to build and run bug-strstr1.
33771
5fb308bc
EB
337722010-10-05 Eric Blake <eblake@redhat.com>
33773
33774 [BZ #12092]
33775 * string/str-two-way.h (two_way_long_needle): Always clear memory
33776 when skipping input due to the shift table.
33777
45db99c7
UD
337782010-10-03 Ulrich Drepper <drepper@gmail.com>
33779
3b111893
UD
33780 [BZ #12005]
33781 * malloc/mcheck.c: Handle large requests.
33782
45db99c7
UD
33783 [BZ #12077]
33784 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
33785 for strncmp and strncasecmp.
33786 * string/stratcliff.c: Add tests for strcmp and strncmp.
33787 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
33788
cf7a1eb8
NI
337892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
33790
33791 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
33792 __set_fpscr.
33793
6484ba5e
AJ
337942010-09-30 Andreas Jaeger <aj@suse.de>
33795
33796 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
33797 (CGROUP_SUPER_MAGIC): Define.
33798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33799 Handle btrfs and cgroup file systems.
33800 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
33801 Likewise.
33802
91c42559
LM
338032010-09-27 Luis Machado <luisgpm@br.ibm.com>
33804
33805 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
33806 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
33807
87a97932
AK
338082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33809
33810 [BZ #12067]
33811 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
33812 trying to locate the ELF header.
33813
c21cc9bc
AS
338142010-09-27 Andreas Schwab <schwab@redhat.com>
33815
33816 [BZ #11611]
33817 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
33818 Mask out sign-bit copies when constructing f_fsid.
33819
315970f6
PB
338202010-09-24 Petr Baudis <pasky@suse.cz>
33821
33822 * debug/stack_chk_fail_local.c: Add missing licence exception.
33823 * debug/warning-nop.c: Likewise.
33824
1ac7a2c7
JM
338252010-09-15 Joseph Myers <joseph@codesourcery.com>
33826
33827 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
33828 implementing getdents64 using getdents syscall, set d_type if
33829 __ASSUME_GETDENTS32_D_TYPE.
33830
56801c50
AS
338312010-09-16 Andreas Schwab <schwab@redhat.com>
33832
33833 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
33834 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
33835
dda51327
UD
338362010-09-21 Ulrich Drepper <drepper@redhat.com>
33837
33838 [BZ #12037]
33839 * posix/unistd.h: Undo change of feature selection for ftruncate from
33840 2010-01-11.
33841
8ffcee4a
UD
338422010-09-20 Ulrich Drepper <drepper@redhat.com>
33843
a545ecd9 33844 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
33845 detection.
33846
e24f0a8b
AS
338472010-09-20 Andreas Schwab <schwab@redhat.com>
33848
33849 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
33850 fanotify_mark.
33851 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
33852
7291c56f
AS
338532010-09-14 Andreas Schwab <schwab@redhat.com>
33854
33855 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
33856 variables after CHECK_SP call.
33857 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
33858
bc5fb037
AS
338592010-09-13 Andreas Schwab <schwab@redhat.com>
33860 Ulrich Drepper <drepper@redhat.com>
33861
33862 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
33863 re-relocationg ld.so.
33864 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
33865 _dl_init_paths call.
33866 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
33867 here anymore.
33868
e66e7419
UD
338692010-09-14 Ulrich Drepper <drepper@redhat.com>
33870
33871 * resolv/res_init.c (__res_vinit): Count the default server we added.
33872
c044aa75
CLT
338732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
33874 Ulrich Drepper <drepper@redhat.com>
33875
33876 [BZ #11968]
33877 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
33878 (____longjmp_chk): Use %ebx for saving value across system call.
33879 Add unwind info.
33880
32cf4069
AS
338812010-09-06 Andreas Schwab <schwab@redhat.com>
33882
33883 * manual/Makefile: Don't mix pattern rules with normal rules.
33884
817328ee
AS
338852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
33886
33887 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
33888 operation.
33889 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
33890 * libio/iofopncook.c (_IO_cookie_init): Likewise.
33891 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
33892 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
33893 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
33894 Likewise.
33895
29fddf61
UD
338962010-09-04 Ulrich Drepper <drepper@redhat.com>
33897
33898 [BZ #11979]
33899 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
33900 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
33901
0959ffc9
UD
339022010-09-02 Ulrich Drepper <drepper@redhat.com>
33903
33904 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
33905 * sysdeps/x86_64/addmul_1.S: Likewise.
33906 * sysdeps/x86_64/lshift.S: Likewise.
33907 * sysdeps/x86_64/mul_1.S: Likewise.
33908 * sysdeps/x86_64/rshift.S: Likewise.
33909 * sysdeps/x86_64/sub_n.S: Likewise.
33910 * sysdeps/x86_64/submul_1.S: Likewise.
33911
ece29840
ST
339122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
33913
0959ffc9
UD
33914 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
33915 Define __sched_param instead of SCHED_* and sched_param when
ece29840 33916 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 33917 * bits/sched.h [__need_schedparam]
ece29840 33918 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
33919 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
33920 (__defined_schedparam): Define to 1.
ece29840
ST
33921 (__sched_param): New structure, identical to sched_param.
33922 (__need_schedparam): Undefine.
33923
e53a31fe
MF
339242010-08-31 Mike Frysinger <vapier@gentoo.org>
33925
fdc0c10d
MF
33926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
33927 (epoll_create1): Declare.
33928
e53a31fe
MF
33929 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
33930
a726d796
AS
339312010-08-31 Andreas Schwab <schwab@redhat.com>
33932
33933 [BZ #7066]
33934 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
33935 shifting retval into place.
33936
2f3e3dc7
UD
339372010-09-01 Ulrich Drepper <drepper@redhat.com>
33938
f2933da9
UD
33939 * nis/rpcsvc/nis.h: Update copyright notice.
33940 * nis/rpcsvc/nis.x: Likewise.
33941 * nis/rpcsvc/nis_callback.h: Likewise.
33942 * nis/rpcsvc/nis_callback.x: Likewise.
33943 * nis/rpcsvc/nis_object.x: Likewise.
33944 * nis/rpcsvc/nis_tags.h: Likewise.
33945 * nis/rpcsvc/yp.h: Likewise.
33946 * nis/rpcsvc/yp.x: Likewise.
33947 * nis/rpcsvc/ypupd.h: Likewise.
33948 * nis/yp_xdr.c: Likewise.
33949 * nis/ypupdate_xdr.c: Likewise.
33950
2f3e3dc7
UD
33951 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
33952 mainly the body of pmap_getport. Add parameters to specify timeouts.
33953 (pmap_getport): Use __libc_rpc_getport.
33954 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
33955 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
33956 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
33957
f3dcc2f9
AS
339582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
33959
33960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
33961 fanotify_mark.
33962
6d34eb5b
RM
339632010-08-27 Roland McGrath <roland@redhat.com>
33964
33965 * sysdeps/i386/i686/multiarch/Makefile
33966 (CFLAGS-varshift.c): New variable.
33967
9ea3de11
UD
339682010-08-27 Ulrich Drepper <drepper@redhat.com>
33969
c96d23fc
UD
33970 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
33971 * sysdeps/i386/i686/multiarch/varshift.c: New file.
33972
9ea3de11
UD
33973 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
33974
33975 * sysdeps/x86_64/strlen.S: Minimal code improvement.
33976
623aac7f
L
339772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
33978
33979 * sysdeps/x86_64/strlen.S: Unroll the loop.
33980 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33981 strlen-sse2 strlen-sse2-bsf.
33982 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
33983 __strlen_no_bsf if bit_Slow_BSF is set.
33984 (__strlen_sse42): Removed.
33985 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
33986 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
33987
8b2b7715
RM
339882010-08-25 Roland McGrath <roland@redhat.com>
33989
33990 * sysdeps/x86_64/multiarch/varshift.S: File removed.
33991 * sysdeps/x86_64/multiarch/varshift.c: New file.
33992 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
33993 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
33994 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
33995 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33996
e73015f2
L
339972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
33998
33999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34000 strlen-sse2 strlen-sse2-bsf.
34001 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
34002 __strlen_sse2_bsf if bit_Slow_BSF is unset.
34003 (__strlen_sse2): Removed.
34004 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
34005 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
34006 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
34007 bit_Slow_BSF for Atom.
34008 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
34009 (index_Slow_BSF): Define.
34010 (HAS_SLOW_BSF): Define.
34011
df24a73e
UD
340122010-08-25 Ulrich Drepper <drepper@redhat.com>
34013
34014 [BZ #10851]
34015 * resolv/res_init.c (__res_vinit): When no server address at all
34016 is given default to loopback.
34017
f2ac4868
RM
340182010-08-24 Roland McGrath <roland@redhat.com>
34019
09055553
RM
34020 * configure.in: Remove config-name.h generation.
34021 * configure: Regenerated.
34022 * config-name.in: File removed.
34023 * scripts/config-uname.sh: New file.
34024 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
34025 ($(objdir)config-name.h): New target.
34026
f2ac4868
RM
34027 * sunrpc/rpc_parse.h: Avoid nested comment.
34028
73f27d5e
RH
340292010-08-24 Richard Henderson <rth@redhat.com>
34030 Ulrich Drepper <drepper@redhat.com>
34031 H.J. Lu <hongjiu.lu@intel.com>
34032
34033 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
34034 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
34035 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
34036 Replace _mm_srli_si128 with __m128i_shift_right. Replace
34037 _mm_alignr_epi8 with _mm_loadu_si128.
34038 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
34039 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
34040 (__m128i_shift_right): Removed.
34041 * sysdeps/i386/i686/multiarch/varshift.h: New file.
34042 * sysdeps/i386/i686/multiarch/varshift.S: New file.
34043 * sysdeps/x86_64/multiarch/varshift.h: New file.
34044 * sysdeps/x86_64/multiarch/varshift.S: New file.
34045
84b9230c
MF
340462010-08-21 Mike Frysinger <vapier@gentoo.org>
34047
34048 * configure.in: Move assembler checks to before sysdep dir checking.
34049
9bbd0ddc
PB
340502010-08-20 Petr Baudis <pasky@suse.cz>
34051
34052 * LICENSES: Sync the sunrpc license.
34053
9da4bb31
UD
340542010-08-19 Ulrich Drepper <drepper@redhat.com>
34055
a7ab6ec8
UD
34056 * sunrpc/auth_des.c: Update copyright notice once again.
34057 * sunrpc/auth_none.c: Likewise.
34058 * sunrpc/auth_unix.c: Likewise.
34059 * sunrpc/authdes_prot.c: Likewise.
34060 * sunrpc/authuxprot.c: Likewise.
34061 * sunrpc/bindrsvprt.c: Likewise.
34062 * sunrpc/clnt_gen.c: Likewise.
34063 * sunrpc/clnt_perr.c: Likewise.
34064 * sunrpc/clnt_raw.c: Likewise.
34065 * sunrpc/clnt_simp.c: Likewise.
34066 * sunrpc/clnt_tcp.c: Likewise.
34067 * sunrpc/clnt_udp.c: Likewise.
34068 * sunrpc/clnt_unix.c: Likewise.
34069 * sunrpc/des_crypt.c: Likewise.
34070 * sunrpc/des_soft.c: Likewise.
34071 * sunrpc/get_myaddr.c: Likewise.
34072 * sunrpc/getrpcport.c: Likewise.
34073 * sunrpc/key_call.c: Likewise.
34074 * sunrpc/key_prot.c: Likewise.
34075 * sunrpc/openchild.c: Likewise.
34076 * sunrpc/pm_getmaps.c: Likewise.
34077 * sunrpc/pm_getport.c: Likewise.
34078 * sunrpc/pmap_clnt.c: Likewise.
34079 * sunrpc/pmap_prot.c: Likewise.
34080 * sunrpc/pmap_prot2.c: Likewise.
34081 * sunrpc/pmap_rmt.c: Likewise.
34082 * sunrpc/rpc/auth.h: Likewise.
34083 * sunrpc/rpc/auth_unix.h: Likewise.
34084 * sunrpc/rpc/clnt.h: Likewise.
34085 * sunrpc/rpc/des_crypt.h: Likewise.
34086 * sunrpc/rpc/key_prot.h: Likewise.
34087 * sunrpc/rpc/netdb.h: Likewise.
34088 * sunrpc/rpc/pmap_clnt.h: Likewise.
34089 * sunrpc/rpc/pmap_prot.h: Likewise.
34090 * sunrpc/rpc/pmap_rmt.h: Likewise.
34091 * sunrpc/rpc/rpc.h: Likewise.
34092 * sunrpc/rpc/rpc_des.h: Likewise.
34093 * sunrpc/rpc/rpc_msg.h: Likewise.
34094 * sunrpc/rpc/svc.h: Likewise.
34095 * sunrpc/rpc/svc_auth.h: Likewise.
34096 * sunrpc/rpc/types.h: Likewise.
34097 * sunrpc/rpc/xdr.h: Likewise.
34098 * sunrpc/rpc_clntout.c: Likewise.
34099 * sunrpc/rpc_cmsg.c: Likewise.
34100 * sunrpc/rpc_common.c: Likewise.
34101 * sunrpc/rpc_cout.c: Likewise.
34102 * sunrpc/rpc_dtable.c: Likewise.
34103 * sunrpc/rpc_hout.c: Likewise.
34104 * sunrpc/rpc_main.c: Likewise.
34105 * sunrpc/rpc_parse.c: Likewise.
34106 * sunrpc/rpc_parse.h: Likewise.
34107 * sunrpc/rpc_prot.c: Likewise.
34108 * sunrpc/rpc_sample.c: Likewise.
34109 * sunrpc/rpc_scan.c: Likewise.
34110 * sunrpc/rpc_scan.h: Likewise.
34111 * sunrpc/rpc_svcout.c: Likewise.
34112 * sunrpc/rpc_tblout.c: Likewise.
34113 * sunrpc/rpc_util.c: Likewise.
34114 * sunrpc/rpc_util.h: Likewise.
34115 * sunrpc/rpcinfo.c: Likewise.
34116 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
34117 * sunrpc/rpcsvc/key_prot.x: Likewise.
34118 * sunrpc/rpcsvc/klm_prot.x: Likewise.
34119 * sunrpc/rpcsvc/mount.x: Likewise.
34120 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
34121 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
34122 * sunrpc/rpcsvc/rex.x: Likewise.
34123 * sunrpc/rpcsvc/rstat.x: Likewise.
34124 * sunrpc/rpcsvc/rusers.x: Likewise.
34125 * sunrpc/rpcsvc/sm_inter.x: Likewise.
34126 * sunrpc/rpcsvc/spray.x: Likewise.
34127 * sunrpc/rpcsvc/yppasswd.x: Likewise.
34128 * sunrpc/rtime.c: Likewise.
34129 * sunrpc/svc.c: Likewise.
34130 * sunrpc/svc_auth.c: Likewise.
34131 * sunrpc/svc_authux.c: Likewise.
34132 * sunrpc/svc_raw.c: Likewise.
34133 * sunrpc/svc_run.c: Likewise.
34134 * sunrpc/svc_simple.c: Likewise.
34135 * sunrpc/svc_tcp.c: Likewise.
34136 * sunrpc/svc_udp.c: Likewise.
34137 * sunrpc/svc_unix.c: Likewise.
34138 * sunrpc/svcauth_des.c: Likewise.
34139 * sunrpc/xcrypt.c: Likewise.
34140 * sunrpc/xdr.c: Likewise.
34141 * sunrpc/xdr_array.c: Likewise.
34142 * sunrpc/xdr_float.c: Likewise.
34143 * sunrpc/xdr_mem.c: Likewise.
34144 * sunrpc/xdr_rec.c: Likewise.
34145 * sunrpc/xdr_ref.c: Likewise.
34146 * sunrpc/xdr_sizeof.c: Likewise.
34147 * sunrpc/xdr_stdio.c: Likewise.
34148
9da4bb31
UD
34149 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
34150 handling.
34151
bdaa77bc
AS
341522010-08-19 Andreas Schwab <schwab@redhat.com>
34153
34154 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
34155
fe2f79db
LM
341562010-08-19 Luis Machado <luisgpm@br.ibm.com>
34157
34158 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
34159 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
34160 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
34161 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
34162 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
34163 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
34164 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
34165 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
34166 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
34167 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
34168 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
34169 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
34170 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
34171 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
34172
b9b42ee0
AB
341732010-07-26 Anton Blanchard <anton@samba.org>
34174
34175 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
34176 * malloc/arena.c (heap_trim): Likewise.
34177
1c06ba31
UD
341782010-08-16 Ulrich Drepper <drepper@redhat.com>
34179
34180 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
34181 here. Not...
34182 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
34183 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
34184
f8392f40
L
341852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
34186
34187 * sysdeps/i386/elf/Makefile: New file.
34188
3162f12e
AS
341892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34190
34191 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
34192 from fanotify_init.
34193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
34194 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34195
28c90b2c
UD
341962010-08-15 Ulrich Drepper <drepper@redhat.com>
34197
34198 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
34199 of strncasecmp_l.
1feccb6c 34200 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 34201
ca6bb004
UD
342022010-08-14 Ulrich Drepper <drepper@redhat.com>
34203
e9f82e0d
UD
34204 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34205 strncase_l-nonascii.
34206 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34207 Add strncase_l-ssse3.
34208 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
34209 * sysdeps/x86_64/strcmp.S: Likewise.
34210 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
34211 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
34212 * sysdeps/x86_64/strncase.S: New file.
34213 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
34214 * sysdeps/x86_64/strncase_l.S: New file.
34215 * string/Makefile (strop-tests): Add strncasecmp.
34216 * string/test-strncasecmp.c: New file.
34217
34218 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
34219 warning.
34220
ca6bb004
UD
34221 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
34222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
34223
052fa7b3
AS
342242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
34225
34226 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
34227
962dba78
UD
342282010-08-12 Ulrich Drepper <drepper@redhat.com>
34229
34230 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
34231 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
34232 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
34233
bebff237
AM
342342010-05-01 Alan Modra <amodra@gmail.com>
34235
34236 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
34237 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
34238 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
34239 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
34240 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
34241 tidying. Don't tail-call __sigjmp_save for static lib.
34242 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
34243 save location.
34244 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
34245 (CALL_MCOUNT): Add eh info, and nop after bl.
34246 (TAIL_CALL_SYSCALL_ERROR): New macro.
34247 (PSEUDO_RET): Use it.
34248 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
34249 Correct save location of integer regs and cr.
34250 (_dl_profile_resolve): Correct cr save location. Delete nops
34251 after bl when SHARED. Reduce cfi size a little by better
34252 placement of cfi directives.
34253 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
34254 make a stack frame. Instead use parm save area as a temp.
34255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
34256 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
34257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
34258 Don't make a stack frame for parent, use parm save area.
34259 Increase child stack frame to 112 bytes. Don't save unused reg,
34260 and adjust reg usage. Set up cfi on error recovery and
34261 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
34262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
34263 (__makecontext): Add dummy nop after jump to exit.
34264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
34265 Use correct parm save area and cr save, reduce stack frame.
34266 Correct cfi for possible PSEUDO_RET frame setup.
34267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
34268 Branch to local label emitted by PSEUDO_RET rather than
34269 __syscall_error.
34270
02637374
AS
342712010-08-12 Andreas Schwab <schwab@redhat.com>
34272
34273 [BZ #11904]
34274 * locale/programs/locale.c (print_assignment): New function.
34275 (show_locale_vars): Use it.
34276
c3e2f19b
UD
342772010-08-11 Ulrich Drepper <drepper@redhat.com>
34278
3cdaa6ad
UD
34279 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
34280 field.
34281 (struct statfs64): Likewise.
34282 (_STATFS_F_FLAGS): Define.
34283 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
34284 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34285 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
34286 (ST_VALID): Define locally.
34287 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
34288 __statvfs_getflags, use the provided value.
34289 * sysdeps/unix/sysv/linux/kernel-features.h: Define
34290 __ASSUME_STATFS_F_FLAGS.
34291
754f7da3
UD
34292 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
34293
10b3bedc
UD
34294 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
34295 Add sys/fanotify.h.
34296 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
34297 fanotify_mask for GLIBC_2.13.
34298 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
34299 fanotify_init and fanotify_mark.
34300 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
34301 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
34302
c08fb0d7
UD
34303 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
34304 Add prlimit.
34305 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
34306 prlimit64 for GLIBC_2.13.
34307 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
34308 prlimit64.
34309 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
34310 syscall.
34311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
34312 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
34313 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
34314 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
34315 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
34316 add prlimit alias.
34317 * sysdeps/unix/sysv/linux/prlimit.c: New file.
34318
15bac72b
UD
34319 [BZ #11903]
34320 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
34321 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
34322
c3e2f19b
UD
34323 * nss/Makefile: Add rules to build and run tst-nss-test1.
34324 * shlib-versions: Add entry for libnss_test1.
34325 * nss/nss_test1.c: New file.
34326 * nss/tst-nss-test1.c: New file.
34327
34328 * nss/nsswitch.c (__nss_database_custom): Define new variable.
34329 (__nss_configure_lookup): Set appropriate entry in
34330 __nss_configure_lookup to true.
34331 * nss/nsswitch.h: Define enum with indeces of databases in
34332 databases and __nss_database_custom arrays. Declare
34333 __nss_database_custom.
34334 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
34335 to avoid using nscd when custom rules are installed.
34336 * nss/getXXbyYY_r.c: Likewise.
34337 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34338
34339 * nss/nss_files/files-parse.c: Whitespace fixes.
34340
f15ce4d8
UD
343412010-08-09 Ulrich Drepper <drepper@redhat.com>
34342
34343 [BZ #11883]
34344 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
34345 * posix/fnmatch_loop.c: Likewise.
34346
d22e4cc9
AK
343472010-07-17 Andi Kleen <ak@linux.intel.com>
34348
34349 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
34350 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
34351 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
34352 * Versions.def [GLIBC_2.13]: Add.
34353
805bc17d
UD
343542010-08-06 Ulrich Drepper <drepper@redhat.com>
34355
34356 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34357 Also fail if tpwd after pwuid call is NULL.
34358
5a42321d
ST
343592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
34360
34361 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
34362 when converting to ms.
34363
fd3ebeda
ST
343642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
34365
34366 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
34367 EOPNOTSUPP errors with ENOTTY.
34368 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
34369 EOPNOTSUPP errors with ENOTTY.
34370
73507d3a
UD
343712010-07-31 Ulrich Drepper <drepper@redhat.com>
34372
34373 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
34374 Add strcasecmp_l-ssse3.
34375 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
34376 strcasecmp.
34377 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
34378 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
34379 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
34380
fe36dd02
UD
343812010-07-30 Ulrich Drepper <drepper@redhat.com>
34382
66f6765a
UD
34383 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
34384
42e08a54
UD
34385 * string/Makefile (strop-tests): Add strcasecmp.
34386 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
34387 strcasecmp_l-nonascii.
34388 (gen-as-const-headers): Add locale-defines.sym.
34389 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
34390 * sysdeps/x86_64/strcasecmp.S: New file.
34391 * sysdeps/x86_64/strcasecmp_l.S: New file.
34392 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
34393 * sysdeps/x86_64/locale-defines.sym: New file.
34394 * string/test-strcasecmp.c: New file.
34395
fe36dd02
UD
34396 * string/test-strcasestr.c: Test both ends of the range of characters.
34397 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
34398
48cbc0d6
RM
343992010-07-29 Roland McGrath <roland@redhat.com>
34400
76e6d6bc 34401 [BZ #11856]
48cbc0d6
RM
34402 * manual/locale.texi (Yes-or-No Questions): Fix example code.
34403
880113d9
UD
344042010-07-27 Ulrich Drepper <drepper@redhat.com>
34405
34406 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
34407 for ld.so.
34408
deb9cabb
AS
344092010-07-27 Andreas Schwab <schwab@redhat.com>
34410
34411 * manual/memory.texi (Malloc Tunable Parameters): Document
34412 M_PERTURB.
34413
1c7570ff
RM
344142010-07-26 Roland McGrath <roland@redhat.com>
34415
34416 [BZ #11840]
34417 * configure.in (-fgnu89-inline check): Set and substitute
34418 gnu89_inline, not libc_cv_gnu89_inline.
34419 * configure: Regenerated.
34420 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
34421
24fb0f88
UD
344222010-07-26 Ulrich Drepper <drepper@redhat.com>
34423
34424 * string/test-strnlen.c: New file.
34425 * string/Makefile (strop-tests): Add strnlen.
34426 * string/tester.c (test_strnlen): Add a few more test cases.
34427 * string/tst-strlen.c: Better error reporting.
34428
34429 * sysdeps/x86_64/strnlen.S: New file.
34430
8e96b93a
UD
344312010-07-24 Ulrich Drepper <drepper@redhat.com>
34432
34433 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
34434 lower-latency instructions.
34435
dbc676d4
UD
344362010-07-23 Ulrich Drepper <drepper@redhat.com>
34437
34438 * string/test-strcasestr.c: New file.
34439 * string/test-strstr.c: New file.
34440 * string/Makefile (strop-tests): Add strstr and strcasestr.
34441 * string/str-two-way.h: Don't undefine MAX.
34442 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
34443
f6a31e0e
AS
344442010-07-21 Andreas Schwab <schwab@redhat.com>
34445
34446 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34447 strcasestr-nonascii.
34448 (CFLAGS-strcasestr-nonascii.c): Define.
34449 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
34450 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
34451 Remove unused attribute.
34452
5dbc3b6c
RM
344532010-07-20 Roland McGrath <roland@redhat.com>
34454
34455 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
34456 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
34457 ld.so.cache was broken. With it, there is no way to disable dsocaps
34458 like LD_HWCAP_MASK can disable hwcaps.
34459
23d101d8
EPM
344602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34461
34462 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
34463
cc9f2e47
UD
344642010-07-16 Ulrich Drepper <drepper@redhat.com>
34465
34466 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
34467 call in strcasestr.
34468 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
34469 __strcasestr_sse42_nonascii.
34470 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
34471 strcasestr-nonascii.c.
34472 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
34473
77c1b069
LM
344742010-06-15 Luis Machado <luisgpm@br.ibm.com>
34475
34476 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
34477 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
34478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
34479 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
34480
440566c3
UD
344812010-07-09 Ulrich Drepper <drepper@redhat.com>
34482
34483 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
34484 fcntl.
34485
5be9d05d
AS
344862010-07-06 Andreas Schwab <schwab@redhat.com>
34487
c30b7ee2 34488 [BZ #11577]
5be9d05d
AS
34489 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
34490 dl_signal_cerror.
34491
8a492a67
UD
344922010-07-06 Ulrich Drepper <drepper@redhat.com>
34493
34494 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
34495 _PC_PIPE_BUF using F_GETPIPE_SZ.
34496
713df3d5
RM
344972010-07-05 Roland McGrath <roland@redhat.com>
34498
34499 * manual/arith.texi (Rounding Functions): Fix rint description
34500 implicit in round description.
34501
702e8f14
UD
345022010-07-02 Ulrich Drepper <drepper@redhat.com>
34503
34504 * elf/Makefile: Fix linking for a few tests to make recent linker
34505 happy.
34506
52ed8be9
AS
345072010-06-30 Andreas Schwab <schwab@redhat.com>
34508
34509 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
34510 $(common-objpfx)libc_nonshared.a.
34511
f47c9a11
LM
345122010-06-21 Luis Machado <luisgpm@br.ibm.com>
34513
34514 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
34515 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
34516 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34517 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34518 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
34519 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
34520 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34521 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
34523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
34524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
34525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
34526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
34527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
34528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
34529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
34530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
34531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
34532 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
34533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
34534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
34535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
34536 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
34537 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
34538 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
34539 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
34540 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
34541 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
34542 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
34543 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
34544 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
34545 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
34546 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
34547 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
34548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
34549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
34550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
34551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
34552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
34553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
34554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
34555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
34556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
34557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
34558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
34559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
34560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
34561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
34562
6fb8cbcb
L
345632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
34564
34565 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
34566 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
34567 * string/memmove.c (memmove): Renamed to ...
34568 (MEMMOVE): ...this. Default to memmove.
34569 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
34570 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
34571 (END_CHK): Define.
34572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34573 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
34574 mempcpy-ssse3-back memmove-ssse3-back.
34575 * sysdeps/x86_64/multiarch/bcopy.S: New file .
34576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
34577 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
34578 * sysdeps/x86_64/multiarch/memcpy.S: New file.
34579 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
34580 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
34581 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
34582 * sysdeps/x86_64/multiarch/memmove.c: New file.
34583 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
34584 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
34585 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
34586 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
34587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
34588 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
34589 Define.
34590 (index_Fast_Copy_Backward): Define.
34591 (HAS_ARCH_FEATURE): Define.
34592 (HAS_FAST_REP_STRING): Define.
34593 (HAS_FAST_COPY_BACKWARD): Define.
34594
4e733bac 345952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
34596
34597 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
34598 Restore proper fallback handling.
34599
63c4ed22
UD
346002010-06-19 Ulrich Drepper <drepper@redhat.com>
34601
ac2b484c
UD
34602 [BZ #11701]
34603 * posix/group_member.c (__group_member): Correct checking loop.
34604
63c4ed22
UD
34605 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
34606 OOM in getpwuid_r correctly. Return error number when the caller
34607 should return, otherwise -1.
34608 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
34609 call returning > 0 value.
34610 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
34611
765ade4b
AS
346122010-06-07 Andreas Schwab <schwab@redhat.com>
34613
34614 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
34615 libc_nonshared.a from targets in modules-names.
34616
80da2e09
KS
346172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
34618
34619 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
34620 requires it.
34621
158db122
LM
346222010-06-10 Luis Machado <luisgpm@br.ibm.com>
34623
34624 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
34625 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
34626 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
34627 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
34628
caa78cf8
AS
346292010-06-02 Andreas Schwab <schwab@redhat.com>
34630
34631 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
34632
b2ef2c01
UD
346332010-06-14 Ulrich Drepper <drepper@redhat.com>
34634
34635 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
34636 and F_GETPIPE_SZ.
34637 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34639 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34641 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34642 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
34643
fbd643b6
RM
346442010-06-14 Roland McGrath <roland@redhat.com>
34645
34646 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
34647
f32f2869
JJ
346482010-06-07 Jakub Jelinek <jakub@redhat.com>
34649
34650 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
34651 __REDIRECT followed by __THROW.
34652 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
34653 * posix/getopt.h (getopt): Likewise.
34654
2a50c078
EPM
346552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
34656
34657 * hurd/lookup-at.c (__file_name_lookup_at): Accept
34658 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
34659 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
34660 in AT_FLAGS.
34661 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
34662 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
34663
eb5ad2eb
LM
346642010-05-28 Luis Machado <luisgpm@br.ibm.com>
34665
34666 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
34667
3c88fe1e
L
346682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
34669
34670 [BZ #11640]
34671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34672 Properly check family and model.
34673
d2f73151
TY
346742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
34675
34676 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
34677
ebd2e13d
LM
346782010-05-24 Luis Machado <luisgpm@br.ibm.com>
34679
34680 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
34681
b32b8b45
UD
346822010-05-21 Ulrich Drepper <drepper@redhat.com>
34683
34684 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
34685 symbol reference.
34686
9acbe24d
AS
346872010-05-19 Andreas Schwab <schwab@redhat.com>
34688
34689 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
34690 symbol reference.
34691
f0ccf6ea
AS
346922010-05-21 Andreas Schwab <schwab@redhat.com>
34693
3d04ff3a
AS
34694 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
34695 and internal_recvmmsg.
34696 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
34697 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
34698 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
34699 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
34700
f0ccf6ea
AS
34701 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
34702 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34703 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34704
5b08ac57
AS
347052010-05-20 Andreas Schwab <schwab@redhat.com>
34706
34707 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
34708
4828935d
LM
347092010-05-17 Luis Machado <luisgpm@br.ibm.com>
34710
34711 POWER7 optimizations.
34712 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
34713 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
34714
373d545e
UD
347152010-05-19 Ulrich Drepper <drepper@redhat.com>
34716
34717 * version.h: Update for 2.13 development version.
34718
21a2b1ae
AS
347192010-05-12 Andrew Stubbs <ams@codesourcery.com>
34720
34721 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
34722 exceptions. Return 0.
34723
3f7dcb2b
RM
347242010-05-07 Roland McGrath <roland@redhat.com>
34725
34726 * elf/ldconfig.c (main): Add a const.
34727
5f24d53a 347282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 34729
a160f8d8
UD
34730 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
34731 (args_options): Add no-idn option.
34732 (ahosts_keys_int): Add idn_flags to ai_flags.
34733 (parse_option): Handle 'i' option to clear idn_flags.
34734
5f24d53a
UD
34735 * malloc/malloc.c (_int_free): Possible race in the most recently
34736 added check. Only act on the data if no current modification
34737 happened.
265bb1ce
UD
34738
34739See ChangeLog.17 for earlier changes.