]> sourceware.org Git - glibc.git/blame - ChangeLog
Tighten up vfprintf width, precision, and total length overflow handling.
[glibc.git] / ChangeLog
CommitLineData
135ffda8
DM
12012-04-02 David S. Miller <davem@davemloft.net>
2
3 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
4 * stdio-common/printf-parse.h (read_int): Change return type to
5 'int', return -1 on INT_MAX overflow.
6 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
7 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
8 overflows INT_MAX. Check for overflow of in-format-string precision
9 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
10 SIZE_MAX not INT_MAX for integer overflow test.
11 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
12 skip the construct in the format string but do not record anything.
13 * stdio-common/bug22.c: Adjust to test both width/prevision
14 INT_MAX overflow as well as total length INT_MAX overflow. Check
15 explicitly for proper errno values.
16
228c019e
TS
172012-04-02 Thomas Schwinge <thomas@codesourcery.com>
18
302cadd3
TS
19 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20 CHAR_MAX.
21 * string/test-strcmp.c [! WIDE]: Likewise.
22 * time/tst-mktime2.c: Likewise for INT_MAX.
23 * string/test-string.h: #include <sys/param.h> for MIN.
24
228c019e
TS
25 * csu/init-first.c (__libc_init_first): Call __ctype_init.
26 * sysdeps/i386/init-first.c (init): Likewise.
27 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
28 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
29 * sysdeps/sh/init-first.c (init): Likewise.
30
cfa633f5
UD
312012-04-01 Ulrich Drepper <drepper@gmail.com>
32
33 * po/ru.po: Update from translation team.
d1635ef8 34 * po/vi.po: Likewise.
cfa633f5 35
6cd0a5ea
SP
362012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
37
38 * resolv/nss_dns/dns-host.c: Merge copyright years.
39
4b43400f
LD
402012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41
42 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43 Optimize memcpy with prefetch if
44 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45 src, dst pointers have unequal 16 byte alignments.
46
48c41d04
SP
472012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
48
49 [BZ #13928]
50 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
51 from a CNAME entry and return the minimum ttl for the query.
52 (gaih_getanswer_slice): Likewise.
53
b8dc394d
JL
542012-03-30 Jeff Law <law@redhat.com>
55
56 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
57 due to long keys.
58 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
59 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
60
2f5a5ed0
JL
61 * resolv/nss_dns/dns-host.c: Update copyright year.
62
1d39e359
UD
632012-03-30 Ulrich Drepper <drepper@gmail.com>
64
c030f70c 65 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 66 requests to save a system call. Fix check that all bytes are sent.
c030f70c 67
1d39e359
UD
68 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
69 comments for sendmmsg.
70
712012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
72
73 [BZ #13691]
74 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
75 with only 1 character between 0x0041 and 0x01b0.
76 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
77 * wcsmbs/tst-mbsnrtowcs.c: New file.
78
20fde227
DM
792012-03-29 David S. Miller <davem@davemloft.net>
80
81 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82 small copies by hand.
83
984a4237
JL
842012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
85
86 [BZ #13761]
87 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
88 _nss_compat_initgroups_dyn): Fall back to malloc/free
89 for large group memberships.
90
18c9d62b
DM
912012-03-28 David S. Miller <davem@davemloft.net>
92
88d85d4f
DM
93 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
94 that branches into memcpy.
95 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
96 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
97 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
98 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
99 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
100 bits.
101 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
102 implementation too.
103 * sysdeps/sparc/mempcpy.S: New file.
104
e5aa83e1
DM
105 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
106 the IFUNC routine in the libc case.
107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
108
88570753
DM
109 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
110 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
111 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
112 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
113 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
114 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
115 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
116 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
117
249d7567
DM
118 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
119 loop to 256 bytes instead of 64 bytes and fix test signedness.
120
18c9d62b
DM
121 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
122 * sysdeps/sparc/sparc32/Makefile: rather than here...
123 * sysdeps/sparc/sparc64/Makefile: and here.
124
05f3d1f6
UD
1252012-03-28 Ulrich Drepper <drepper@gmail.com>
126
127 * malloc/mallocbug.c: Avoid warnings about unused variables.
128
86ae07a8
JL
1292012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
130
131 [BZ #13760]
132 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
133 in the right place. Discard and retry query if response is
134 larger than input buffer size.
135
41bf21a1
JM
1362012-03-28 Joseph Myers <joseph@codesourcery.com>
137
d6270972
JM
138 [BZ #369]
139 [BZ #2678]
140 [BZ #3866]
141 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
142 x for large integer exponent.
143 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
144 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
145 sign of result as needed afterwards.
146 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
147 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
148 result for underflowing pow the same as for overflow.
149 (__kernel_standard_l): Handle powl overflow and underflow here
150 rather than calling __kernel_standard.
151 * math/libm-test.inc (pow_test): Add more tests.
152
414fca03 153 [BZ #3868]
41bf21a1
JM
154 [BZ #13879]
155 [BZ #13910]
156 [BZ #13911]
157 [BZ #13912]
158 [BZ #13913]
159 [BZ #13915]
160 [BZ #13916]
161 [BZ #13917]
162 [BZ #13918]
163 [BZ #13919]
164 [BZ #13920]
165 [BZ #13921]
166 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
167 * sysdeps/ieee754/k_standard.c: Include <float.h>.
168 (__kernel_standard_l): New function.
169 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
170 __kernel_standard.
171 * math/w_acosl.c (__acosl): Likewise.
172 * math/w_asinl.c (__asinl): Likewise.
173 * math/w_atan2l.c (__atan2l): Likewise.
174 * math/w_atanhl.c (__atanhl): Likewise.
175 * math/w_coshl.c (__coshl): Likewise.
176 * math/w_exp10l.c (__exp10l): Likewise.
177 * math/w_exp2l.c (__exp2l): Likewise.
178 * math/w_fmodl.c (__fmodl): Likewise.
179 * math/w_hypotl.c (__hypotl): Likewise.
180 * math/w_j0l.c (__j0l, __y0l): Likewise.
181 * math/w_j1l.c (__j1l, __y1l): Likewise.
182 * math/w_jnl.c (__jnl, __ynl): Likewise.
183 * math/w_lgammal.c (__lgammal): Likewise.
184 * math/w_log10l.c (__log10l): Likewise.
185 * math/w_log2l.c (__log2l): Likewise.
186 * math/w_logl.c (__logl): Likewise.
187 * math/w_powl.c (__powl): Likewise.
188 * math/w_remainderl.c (__remainderl): Likewise.
189 * math/w_scalbl.c (sysv_scalbl): Likewise.
190 * math/w_sinhl.c (__sinhl): Likewise.
191 * math/w_sqrtl.c (__sqrtl): Likewise.
192 * math/w_tgammal.c (__tgammal): Likewise.
193 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
194 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
195 * math/libm-test.inc (acos_test): Add more tests.
196 (acosh_test): Likewise.
197 (asin_test): Likewise.
198 (atanh_test): Likewise.
199 (exp_test): Likewise.
200 (exp10_test): Likewise.
201 (exp2_test): Likewise.
202 (expm1_test): Likewise.
203 (lgamma_test): Likewise.
204 (log_test): Likewise.
205 (log10_test): Likewise.
206 (log1p_test): Likewise.
207 (log2_test): Likewise.
208 (pow_test): Do not allow some spurious overflow exceptions.
209 (sqrt_test): Add more tests.
210 (tgamma_test): Likewise.
211 (y0_test): Likewise.
212 (y1_test): Likewise.
213 (yn_test): Likewise.
214
dd62fda6
AB
2152012-03-27 Anton Blanchard <anton@samba.org>
216
217 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
218 MAP_HUGETLB.
219 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
220 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
221 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
222
1e3cdfda
AJ
2232012-03-27 David S. Miller <davem@davemloft.net>
224
b855ab85
DM
225 * conform/Makefile: Run run-conformtest.sh using $(BASH).
226
1e3cdfda
AJ
227 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
228 have-as-vis3 check.
229
2302012-03-27 Andreas Jaeger <aj@suse.de>
231
232 * sysdeps/x86_64/elf/configure.in: Moved to ...
233 * sysdeps/x86_64/configure.in: ... here.
234 * sysdeps/x86_64/elf/start.S: Moved to ...
235 * sysdeps/x86_64/start.S: ... here.
236 * sysdeps/x86_64/elf/configure: Delete.
237
238 * sysdeps/x86_64/configure.in: Merge contents from
239 sysdeps/i386/configure.in (without i686 check).
240
241 * sysdeps/i386/elf/Versions: Merge into ...
242 * sysdeps/i386/Versions: ... this.
243 * sysdeps/i386/elf/Versions: Delete file.
244 * sysdeps/i386/elf/start.S: Moved to ...
245 * sysdeps/i386/start.S: ...here.
246 * sysdeps/i386/elf/configure.in: Merge into...
247 * sysdeps/i386/configure.in: ...here.
248 * sysdeps/i386/elf/configure.in: Delete file.
249 * sysdeps/i386/elf/configure: Delete file.
250
251 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
252 * debug/backtracesyms.c: ... here.
253 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
254 * debug/backtracesymsfd.c: ... here.
255 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
256 * sysdeps/generic/ifunc-sel.h: ... here.
257
258 * sysdeps/unix/i386/start.c: Delete file.
259 * sysdeps/unix/sparc/start.c: Delete file.
260 * sysdeps/unix/start.c: Delete file.
261
262 * sysdeps/sh/elf/configure.in: Moved to ...
263 * sysdeps/sh/configure.in: ... here.
264 * sysdeps/sh/elf/start.S: Moved to ...
265 * sysdeps/sh/start.S: ... here.
266 * sysdeps/sh/elf/configure: Delete file.
267
268 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
269 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
270 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
271 * sysdeps/powerpc/powerpc64/entry.h: ... here.
272 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
273 * sysdeps/powerpc/powerpc64/start.S: here.
274 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
275 * sysdeps/powerpc/powerpc64/Makefile: ... this.
276 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
277 * sysdeps/powerpc/powerpc64/configure.in: ... this.
278 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
279
280 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
281 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
282 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
283 * sysdeps/powerpc/powerpc32/start.S: ... here.
284 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
285 * sysdeps/powerpc/powerpc32/configure.in: ... this.
286 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
287
288 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
289 * sysdeps/powerpc/ifunc-sel.h: ... here.
290 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
291 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
292
293 * sysdeps/sparc/elf/configure.in: Moved to ...
294 * sysdeps/sparc/configure.in: ... here.
295 * sysdeps/sparc/elf/configure: Delete file.
296 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
297 * sysdeps/sparc/sparc32/start.S: ... here.
298 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
299 * sysdeps/sparc/sparc64/start.S: ... here.
300 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
301 * sysdeps/sparc/sparc32/Makefile: ... this.
302 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
303 * sysdeps/sparc/sparc64/Makefile: ... this.
304
305 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
306 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
307 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
308 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
309 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
310 * sysdeps/s390/s390-32/setjmp.S: ... here.
311 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
312 * sysdeps/s390/s390-32/configure.in: ... here.
313 * sysdeps/s390/s390-32/elf/configure: Delete file.
314 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
315 * sysdeps/s390/s390-32/start.S: ... here.
316
317 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
318 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
319 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
320 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
321 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
322 * sysdeps/s390/s390-64/setjmp.S: ... here.
323 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
324 * sysdeps/s390/s390-64/configure.in: ... here
325 * sysdeps/s390/s390-64/elf/configure: Delete file.
326 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
327 * sysdeps/s390/s390-64/start.S: ... here.
328 * sysdeps/s390/s390-64/elf/configure: Delete.
329
330 * configure.in: Remove support for elf directories in sysdeps.
331
332 * configure: Regenerated.
333 * sysdeps/i386/configure: Regenerated.
334 * sysdeps/powerpc/powerpc32/configure: Regenerated.
335 * sysdeps/powerpc/powerpc64/configure: Regenerated.
336 * sysdeps/s390/s390-32/configure: Regenerated.
337 * sysdeps/s390/s390-64/configure: Regenerated.
338 * sysdeps/sh/configure: Regenerated.
339 * sysdeps/sparc/configure: Regenerated.
340 * sysdeps/x86_64/configure: Regenerated.
341
a3f61311
AS
3422012-03-26 Andreas Schwab <schwab@linux-m68k.org>
343
c876e002
AS
344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
345
a3f61311
AS
346 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
347 denormal result into account.
348
ac4c54f0
RM
3492012-03-25 Roland McGrath <roland@hack.frob.com>
350
351 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
352 Reported by Allan McRae <allan@archlinux.org>.
353
6a9b9c02
JL
3542012-03-23 Jeff Law <law@redhat.com>
355
356 * nss/getnssent.c (__nss_getent): Fix typo.
357
4c42a0c1
DM
3582012-03-23 David S. Miller <davem@davemloft.net>
359
360 * sysdeps/sparc/fpu/libm-test-ulps: Update.
361
1532c7ac
L
3622012-03-23 H.J. Lu <hongjiu.lu@intel.com>
363
364 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
365 to pad to uint64_t for each field.
366 (dl_tls_index): Replace unsigned long with uint64_t.
367
3ff42526
PP
3682012-03-23 Daniel Jacobowitz <dmj@google.com>
369 Paul Pluzhnikov <ppluzhnikov@google.com>
370
371 [BZ #6528]
372 * grp/Makefile (otherlibs): Don't set it.
373 * inet/Makefile (otherlibs): Likewise.
374 * login/Makefile (otherlibs): Likewise.
375 * nscd/Makefile (otherlibs): Likewise.
376 * posix/Makefile (otherlibs): Likewise.
377 * pwd/Makefile (otherlibs): Likewise.
378 * rt/Makefile (otherlibs): Likewise.
379 * sunrpc/Makefile (otherlibs): Likewise.
380 * nss/Makefile (otherlibs): Likewise.
381 Add libnss_files to routines and static-only-routines.
382 ($(objpfx)getent): Remove rule.
383 * resolv/Makefile: Add libnss_dns and libresolv to routines and
384 static-only-routines.
385
7c69cd14
JM
3862012-03-22 Joseph Myers <joseph@codesourcery.com>
387
388 [BZ #13892]
389 * math/s_cexp.c: Include <float.h>.
390 (__cexp): Handle exp result overflowing not necessarily
391 overflowing both real and imaginary parts of result.
392 * math/s_cexpf.c: Likewise.
393 * math/s_cexpl.c: Likewise.
394 * math/libm-test.inc (cexp_test): Add more tests.
395 * sysdeps/i386/fpu/libm-test-ulps: Update.
396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
397
81b035fe
L
3982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
399
400 * include/link.h (ELFW): New macro.
401 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
402 Replace ELF64_R_TYPE with ELFW(R_TYPE).
403
1da7940c
L
4042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
405
406 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
407 with uint64_t.
408
b749dbb9
L
4092012-03-22 H.J. Lu <hongjiu.lu@intel.com>
410
411 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
412 declaration.
413 (struct La_x32_retval): Likewise.
414
2ff87f3f
L
4152012-03-22 H.J. Lu <hongjiu.lu@intel.com>
416
417 * sysdeps/x86_64/preconfigure.in: New file.
418 * sysdeps/x86_64/preconfigure: New generated file.
419
c0df8e69
JM
4202012-03-22 Joseph Myers <joseph@codesourcery.com>
421
48e44791
JM
422 [BZ #13824]
423 * math/e_exp2l.c: Include <float.h>.
424 (__ieee754_exp2l): Handle overflow and underflow cases
425 separately. Only pass fractional part of argument to
426 __ieee754_expl.
427 * math/libm-test.inc (exp2_test): Add more tests.
428
c0df8e69
JM
429 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
430 negating x to take absolute value.
431 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
432 Likewise.
433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
434 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
435 Likewise.
436 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
437 computing low part if x was negated.
438 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
439
c8e43ba7
L
4402012-03-21 H.J. Lu <hongjiu.lu@intel.com>
441
442 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
443 la_x32_gnu_pltexit.
444 (pltexit): Cast int_retval to ptrdiff_t.
445 * elf/tst-auditmod3b.c: Likewise.
446 * elf/tst-auditmod4b.c: Likewise.
447 * elf/tst-auditmod5b.c: Likewise.
448 * elf/tst-auditmod6b.c: Likewise.
449 * elf/tst-auditmod6c.c: Likewise.
450 * elf/tst-auditmod7b.c: Likewise.
451
452 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
453 and x32_gnu_pltexit.
454
455 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
456 __ELF_NATIVE_CLASS.
457 (La_x32_regs): New macro.
458 (La_x32_retval): Likewise.
459 (la_x32_gnu_pltenter): New function prototype.
460 (la_x32_gnu_pltexit): Likewise.
461
7998fa78
AS
4622012-03-21 Andreas Schwab <schwab@linux-m68k.org>
463
dcb33988
AS
464 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
465 exponent.
466
233fc563
AS
467 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
468
7998fa78
AS
469 * configure.in (libc_cv_cc_nofma): Check for option to disable
470 generation of FMA instructions.
471 * configure: Regenerate.
472 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
473 * sysdeps/ieee754/dbl-64/Makefile: New file.
474 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
475 Remove brandred-fma4.
476 (CFLAGS-brandred-fma4.c): Remove.
477 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
478 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
479 define.
480 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
481 define.
482
8e95c99a
L
4832012-03-21 H.J. Lu <hongjiu.lu@intel.com>
484
485 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
486 LLONG_MAX != LONG_MAX.
487 (_itoa_word): Use _ITOA_WORD_TYPE on value.
488 (_fitoa_word): Likewise.
489 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
490 LLONG_MAX != LONG_MAX.
491 * stdio-common/_itowa.h: Include <_itoa.h>.
492 (_itowa_word): Use _ITOA_WORD_TYPE on value.
493 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
494 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
495 only if not defined.
496 (_ITOA_WORD_TYPE): Likewise.
497 (_itoa_word): Use _ITOA_WORD_TYPE on value.
498 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
499
6f4db457
DM
5002012-03-21 David S. Miller <davem@davemloft.net>
501
502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
503
7785fe5a
L
5042012-03-21 H.J. Lu <hongjiu.lu@intel.com>
505
506 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
507 of x86_64 when setting libc_cv_slibdir, libdir and
508 libc_cv_localedir.
509 * sysdeps/unix/sysv/linux/configure: Regenerated.
510
4535cd55
JM
5112012-03-21 Joseph Myers <joseph@codesourcery.com>
512
513 * manual/lang.texi (Old Varargs): Remove section.
514 (How Variadic): Update menu.
515 (va_start): Do not mention varargs.h.
516
17228132
TS
5172012-03-21 Thomas Schwinge <thomas@codesourcery.com>
518 Joseph Myers <joseph@codesourcery.com>
519
520 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
521 link test.
522 * configure: Regenerated.
523
8149f976
TS
5242012-03-21 Thomas Schwinge <thomas@codesourcery.com>
525
05f3d1f6
UD
526 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
527 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
528 conformtest.pl
8149f976 529
1a4ac776
JM
5302012-03-21 Joseph Myers <joseph@codesourcery.com>
531
be22ce65
JM
532 * NOTES: Remove.
533 * Makefile (files-for-dist): Remove NOTES.
534 (NOTES): Remove rule.
535 * README: Don't refer to NOTES.
536 * manual/creature.texi: Don't include macros.texi.
537 * manual/intro.texi (creature.texi): Remove comment referring to
538 NOTES.
539
40b601fb
JM
540 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
541 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
542 * configure: Regenerated.
543 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
544 LIBC_TRY_CC_OPTION.
545 (libc_cv_as_i686): Likewise.
546 (libc_cv_cc_avx): Likewise.
547 (libc_cv_cc_sse2avx): Likewise.
548 (libc_cv_cc_fma4): Likewise.
549 (libc_cv_cc_novzeroupper): Likewise.
550 * sysdeps/i386/configure: Regenerated.
551
1a4ac776
JM
552 [BZ #13883]
553 * sysdeps/i386/fpu/s_cexp.S: Remove.
554 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
555 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
556 * math/libm-test.inc (cexp_test): Add more tests.
557 * sysdeps/i386/fpu/libm-test-ulps: Update.
558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
559
a458e7fe
AM
5602012-03-21 Allan McRae <allan@archlinux.org>
561
562 * timezone/Makefile: Do not install iso3166.tab and zone.tab
563
0cb7efc5
JM
5642012-03-21 Joseph Myers <joseph@codesourcery.com>
565
566 [BZ #13871]
567 * math/w_exp2.c: Do not include <float.h>.
568 (o_threshold, u_threshold): Remove.
569 (__exp2): Calculate result before checking finiteness and calling
570 __kernel_standard.
571 * math/w_exp2f.c: Likewise.
572 * math/w_exp2l.c: Likewise.
573 * math/libm-test.inc (exp2_test): Require overflow exception for
574 1e6 input.
2460d3aa
JM
575
576 [BZ #3866]
577 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
578 range of signed 64-bit integers before using fistpll. Remove
579 checks for whether integers fit in mantissa bits.
580 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
581 the range of signed 32-bit integers before using fistpl. Remove
582 checks for whether integers fit in mantissa bits.
583 * sysdeps/i386/fpu/e_powl.S (p64): New object.
584 (__ieee754_powl): Test for y outside the range of signed 64-bit
585 integers before using fistpll. Reduce 64-bit values to 63-bit
586 ones as needed.
587 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
588 divide-by-zero is raised for zero to large negative powers.
589 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
590 (__ieee754_powl): Test for y outside the range of signed 64-bit
591 integers before using fistpll. Reduce 64-bit values to 63-bit
592 ones as needed.
593 * math/libm-test.inc (pow_test): Add more tests.
594
eb96ffb0
L
5952012-03-20 H.J. Lu <hongjiu.lu@intel.com>
596
597 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
598 <stdio-common/_itoa.h>.
599 * debug/segfault.c: Likewise.
600 * elf/dl-cache.c: Likewise.
601 * elf/dl-minimal.c: Likewise.
602 * elf/dl-misc.c: Likewise.
603 * elf/dl-sysdep.c: Likewise.
604 * elf/dl-version.c: Likewise.
605 * elf/rtld.c: Likewise.
606 * hurd/hurdsock.c: Likewise.
607 * hurd/lookup-retry.c: Likewise.
608 * malloc/malloc.c: Likewise.
609 * malloc/mtrace.c: Likewise.
610 * nscd/nscd_getgr_r.c: Likewise.
611 * nscd/nscd_getpw_r.c: Likewise.
612 * nscd/nscd_getserv_r.c: Likewise.
613 * posix/getopt_init.c: Likewise.
614 * posix/wordexp.c: Likewise.
615 * stdio-common/_itoa.c: Likewise.
616 * stdio-common/printf_fphex.c: Likewise.
617 * stdio-common/vfprintf.c: Likewise.
618 * string/_strerror.c: Likewise.
619 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
620 * sysdeps/i386/i686/hp-timing.h: Likewise.
621 * sysdeps/mach/_strerror.c: Likewise.
622 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
623 * sysdeps/mach/hurd/sethostid.c: Likewise.
624 * sysdeps/mach/hurd/xmknodat.c: Likewise.
625 * sysdeps/mach/xpg-strerror.c: Likewise.
626 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
627 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
628 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
629 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
630 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
631 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
632 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
633 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
634 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
635 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
636 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
637 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
638 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
639 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
640 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
641 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
642 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
643 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
644 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
645 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
646 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
647
648 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
649
650 * stdio-common/_itoa.h: Moved to ...
651 * sysdeps/generic/_itoa.h: Here.
652
653 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
654
655 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
656 instead of "_itoa.h" and "_itowa.h".
657 * stdio-common/vfprintf.: Likewise.
658
d1af992d
L
6592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
660
661 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
662 <bits/wordsize.h>.
663 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
664 (__signbit): Likwise.
665 (llrintf): Likwise.
666 (llrint): Likwise.
667
114883e0
L
6682012-03-20 H.J. Lu <hongjiu.lu@intel.com>
669
670 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
671 __WORDSIZE != 64.
672
c135cc1b
JM
6732012-03-20 Joseph Myers <joseph@codesourcery.com>
674
675 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
676 OVERFLOW_EXCEPTION_OK.
677 * math/libm-test.inc ("Philosophy"): Update comment about
678 exception testing.
679 (OVERFLOW_EXCEPTION): Define.
680 (OVERFLOW_EXCEPTION_OK): Likewise.
681 (INVALID_EXCEPTION_OK): Renumber.
682 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
683 (IGNORE_ZERO_INF_SIGN): Likewise.
684 (test_exceptions): Handle FE_OVERFLOW.
685 (exp10_test): Expect overflow exceptions.
686 (exp2_test): Likewise.
687 (expm1_test): Likewise.
688 (nextafter_test): Likewise.
689 (pow_test): Likewise.
690 (scalbn_test): Likewise.
691 (scalbln_test): Likewise.
692
95443d88
L
6932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
694
695 * sysdeps/x86_64/bits/atomic.h
696 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
697 64bit integer.
698 (atomic_exchange_acq): Likewise.
699 (__arch_exchange_and_add_body): Likewise.
700 (__arch_add_body): Likewise.
701 (atomic_add_negative): Likewise.
702 (atomic_add_zero): Likewise.
703
490df6c4
L
7042012-03-19 H.J. Lu <hongjiu.lu@intel.com>
705
c2722551 706 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
707 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
708
5e52b189
L
7092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
710
711 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
712 Check __x86_64__ instead of __WORDSIZE.
713
a9879d4c
L
7142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
715
716 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
717
5df98260
DM
7182012-03-19 David S. Miller <davem@davemloft.net>
719
e1497744
DM
720 * sysdeps/sparc/fpu/libm-test-ulps: Update.
721
5df98260
DM
722 * sysdeps/sparc/fpu/fenv_private.h: New file.
723 * sysdeps/sparc/fpu/math_private.h: Use it.
724 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
725 Remove.
726 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
727 (libc_feholdexcept_setroundl): Remove.
728 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
729 Remove.
730 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
731 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
732
b4c35121
L
7332012-03-19 H.J. Lu <hongjiu.lu@intel.com>
734
735 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
736 int64_t instead of long int.
737 (INSERT_WORDS64): Likwise.
738
56965fd7
L
7392012-03-19 H.J. Lu <hongjiu.lu@intel.com>
740
741 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
742 _Unwind_GetCFA return to _Unwind_Ptr first.
743
83d1aec8
JM
7442012-03-19 Joseph Myers <joseph@codesourcery.com>
745
1897ad44
JM
746 [BZ #13629]
747 * math/s_clog.c: Include <float.h>.
748 (__clog): Scale large or subnormal inputs.
749 * math/s_clogf.c: Likewise.
750 * math/s_clogl.c: Likewise.
751 * math/s_clog10.c: Include <float.h>.
752 (M_LOG10_2): Define.
753 (__clog10): Scale large or subnormal inputs.
754 * math/s_clog10f.c: Likewise.
755 * math/s_clog10l.c: Likewise.
756 * math/libm-test.inc (clog_test): Add more tests.
757 (clog10_test): Likewise.
758 * sysdeps/i386/fpu/libm-test-ulps: Update.
759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
760
7726d6a9
JM
761 [BZ #11451]
762 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
763 x and y.
764 * math/libm-test.inc (atan2_test): Add another test.
765
83d1aec8
JM
766 * Makerules (common-objdir-compile): Remove.
767 * sysdeps/unix/Makefile (config-generated): Do not add
768 $(unix-generated) to variable.
769 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
770 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
771 Remove rule.
772 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
773 Likewise.
774 [generic bits/local_lim.h] (before-compile): Do not append to
775 variable.
776 [generic bits/local_lim.h] (common-generated): Likewise.
777 [generic sys/param.h] (before-compile): Do not append to variable.
778 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
779 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
780 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
781 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
782 include.
783 [generic sys/param.h] (sys/param.h-includes): Remove variable.
784 [generic sys/param.h] (sys/param.h-includes): Remove rule.
785 [generic sys/param.h] ($(addprefix
786 $(common-objpfx),$(sys/param.h-includes))): Likewise.
787 [generic sys/param.h] (common-generated): Do not append to
788 variable.
789 [generic sys/param.h] (sysdep_headers): Likewise.
790 [generic bits/errno.h] (before-compile): Do not append to
791 variable.
792 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
793 rule.
794 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
795 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
796 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
797 [generic bits/errno.h] (common-generated): Do not append to
798 variable.
799 [generic bits/ioctls.h] (before-compile): Do not append to
800 variable.
801 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
802 rule.
803 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
804 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
805 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
806 rule.
807 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
808 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
809 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
810 [generic bits/ioctls.h] (common-generated): Do not append to
811 variable.
812 [generic sys/syscall.h] (syscall.h): Remove variable.
813 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
814 rule.
815 [generic sys/syscall.h] (before-compile): Do not append to
816 variable.
817 [generic sys/syscall.h] (common-generated): Likewise.
818 * sysdeps/unix/errnos-tmpl.c: Remove file.
819 * sysdeps/unix/errnos.awk: Likewise.
820 * sysdeps/unix/ioctls-tmpl.c: Likewise.
821 * sysdeps/unix/ioctls.awk: Likewise.
822 * sysdeps/unix/mk-local_lim.c: Likewise.
823 * sysdeps/unix/snarf-ioctls: Likewise.
824
4851a949
RH
8252012-03-19 Richard Henderson <rth@twiddle.net>
826
bd37f2ee
RH
827 * sysdeps/i386/fpu/fenv_private.h: New file.
828 * sysdeps/i386/fpu/math_private.h: Use it.
829 (math_opt_barrier, math_force_eval): Remove.
830 (libc_feholdexcept_setround_53bit): Remove.
831 (libc_feupdateenv_53bit): Remove.
832 * sysdeps/x86_64/fpu/math_private.h: Likewise.
833 (math_opt_barrier, math_force_eval): Remove.
834 (libc_feholdexcept): Remove.
835 (libc_feholdexcept_setround): Remove.
836 (libc_fetestexcept, libc_fesetenv): Remove.
837 (libc_feupdateenv_test): Remove.
838 (libc_feupdateenv, libc_feholdsetround): Remove.
839 (libc_feresetround): Remove.
840
d0adc922
RH
841 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
842 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
843
0fe0f1f8
RH
844 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
845 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
846 (libc_feupdateenv_testl): New.
847 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
848 (libc_feupdateenv_testf): New.
849 (libc_feupdateenv): Use libc_feupdateenv_test.
850 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
851 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
852
eb92c487
RH
853 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
854 (libc_feholdsetroundf, libc_feholdsetroundl): New.
855 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
856 (libc_feresetround_noex): New.
857 (libc_feresetround_noexf): New.
858 (libc_feresetround_noexl): New.
859 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
860 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
861 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
862 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
863 SET_RESTORE_ROUND.
864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
865 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
866 (__cos): Likewise.
867 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
869 SET_RESTORE_ROUND_NOEX.
870 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
871 SET_RESTORE_ROUND_NOEXF.
872 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
873 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
874 (libc_feholdsetroundf): New.
875 (libc_feresetround, libc_feresetroundf): New.
876
7d2e8012
RH
877 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
878 (libc_feholdexcept_setround_53bit): Convert from macro to function.
879 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
880
b4dabbb4
RH
881 * sysdeps/generic/math_private.h: Include <fenv.h>.
882 (default_libc_feholdexcept): New.
883 (default_libc_feholdexcept_setround): New.
884 (default_libc_fesetenv, default_libc_feupdateenv): New.
885 (libc_feholdexcept): Only define if undefined.
886 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
887 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
888 (libc_feholdexcept_setroundl): Likewise.
889 (libc_feholdexcept_setround_53bit): Likewise.
890 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
891 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
892 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
893 (libc_feupdateenv_53bit): Likewise.
894 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
895 (libc_feholdexcept): Convert from macro to inline function.
896 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
897 (libc_fesetenv, libc_feupdateenv): Likewise.
898
4851a949
RH
899 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
900 not previously defined.
901 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
902 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
903 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
904 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
905 * sysdeps/ieee754/flt-32/math_private.h: New file.
906 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
907 math_private.h below SET_FLOAT_WORD.
908 (__isnan, __isinf_ns, __finite): Remove.
909 (__isnanf, __isinf_nsf, __finitef): Remove.
910
e79d442e
AS
9112012-03-18 Andreas Schwab <schwab@linux-m68k.org>
912
913 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
914
90b80344
DM
9152012-03-17 David S. Miller <davem@davemloft.net>
916
917 [BZ #6471]
918 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
919 for 2.16.
920
edc21804
DM
9212012-03-16 David S. Miller <davem@davemloft.net>
922
77e927af
DM
923 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
924 warnings.
925
374976dd
DM
926 [BZ #6471]
927 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
928 properly.
929 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
930 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
931 sysdep_routines when subdir is sysvipc.
932 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
933 __getshmlba helper.
934
edc21804
DM
935 * sysdeps/sparc/fpu/libm-test/ulps: Update.
936
473c3ef3
L
9372012-03-16 H.J. Lu <hongjiu.lu@intel.com>
938
939 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
940 [__LP64__].
941
eb0f39b6
L
9422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
943
944 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
945 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
946 (__lround): Renamed to ...
947 (__llround): This. Replace long int with long long int.
948 Define lround functions as aliases of llround functions.
949 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
950
6b6cd74b
L
9512012-03-16 H.J. Lu <hongjiu.lu@intel.com>
952
953 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
954 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
955 adresses to uintptr_t. Replace "long int" and "unsigned long
956 int" with "greg_t" on va_arg.
957
f1a77b01
L
9582012-03-16 H.J. Lu <hongjiu.lu@intel.com>
959
960 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
961 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
962
963 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
964 Move e_machine check before EI_CLASS check. Handle x32
965 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
966 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
967 SKIP_EM_IA_64 and include
968 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
969
970 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
971 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
972 (add_system_dir): New macro.
973
974 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
975 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
976
11b90b9f
JM
9772012-03-16 Joseph Myers <joseph@codesourcery.com>
978
c36e1d23
JM
979 [BZ #2551]
980 [BZ #2552]
981 [BZ #2553]
982 [BZ #2554]
983 [BZ #2562]
984 [BZ #2563]
985 [BZ #2565]
986 [BZ #2566]
987 [BZ #2576]
988 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
989 (y0): Likewise.
990 * math/w_j0f.c (j0f): Likewise.
991 (y0f): Likewise.
992 * math/w_j0l.c (__j0l): Likewise.
993 (__y0l): Likewise.
994 * math/w_j1.c (j1): Likewise.
995 (y1): Likewise.
996 * math/w_j1f.c (j1f): Likewise.
997 (y1f): Likewise.
998 * math/w_j1l.c (__j1l): Likewise.
999 (__y1l): Likewise.
1000 * math/w_jn.c (jn): Likewise.
1001 (yn): Likewise.
1002 * math/w_jnf.c (jnf): Likewise.
1003 (ynf): Likewise.
1004 * math/w_jnl.c (__jnl): Likewise.
1005 (__ynl): Likewise.
1006 * math/libm-test.inc (j0_test): Add more tests.
1007 (j1_test): Likewise.
1008 (jn_test): Likewise. Add trailing semicolon to existing test.
1009 (y0_test): Likewise.
1010 (y1_test): Likewise.
1011 * sysdeps/i386/fpu/libm-test-ulps: Update.
1012 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1013
11b90b9f
JM
1014 [BZ #13851]
1015 [BZ #13854]
1016 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1017 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
1018 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
1019 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
1020 (__tanl): Set errno for infinite argument.
1021 * sysdeps/i386/fpu/mptan.c: Remove.
1022 * sysdeps/i386/fpu/s_tan.S: Likewise.
1023 * sysdeps/i386/fpu/s_tanl.S: Likewise.
1024 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
1025 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
1026 * math/libm-test.inc (tan_test): Add more tests and enable more
1027 tests for double and long double.
1028 * sysdeps/i386/fpu/libm-test-ulps: Update.
1029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1030
6a1bd2a1
JK
10312012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
1032
1033 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
1034 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
1035
10a803e0
RM
10362012-03-16 Roland McGrath <roland@hack.frob.com>
1037
1038 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
1039 * configure.in: Use it for both main tree and add-ons.
1040 * configure: Regenerated.
1041
f196c7f7
L
10422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
1043
1044 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
1045
8848d99d
JM
10462012-03-16 Joseph Myers <joseph@codesourcery.com>
1047
96cbe7f4
JM
1048 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
1049 in comment.
1050
8848d99d
JM
1051 [BZ #13851]
1052 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
1053 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
1054 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
1055 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
1056 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
1057 infinite argument.
1058 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
1059 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
1060 != 0 for prec == 2.
1061 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
1062 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
1063 * sysdeps/i386/fpu/s_cosl.S: Likewise.
1064 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
1065 * sysdeps/i386/fpu/s_sinl.S: Likewise.
1066 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
1067 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
1068 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
1069 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
1070 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
1071 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
1072 * math/libm-test.inc (cos_test): Add more tests and enable more
1073 tests for long double.
1074 (sin_test): Likewise.
1075 (sincos_test): Likewise.
1076 * sysdeps/i386/fpu/libm-test-ulps: Update.
1077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1078
dd7f4703
DM
10792012-03-16 David S. Miller <davem@davemloft.net>
1080
1081 * sysdeps/sparc/fpu/math_private.h: New file.
1082
006f1daa
DM
10832012-03-15 David S. Miller <davem@davemloft.net>
1084
c0c83bc8
DM
1085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
1086 file.
e6a62e18 1087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
1088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
1089 file.
e6a62e18
DM
1090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
1091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
1092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
1093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
1094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
1095 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
1096 sysdep routines.
1097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1098
88cb87d9
DM
1099 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
1100 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
1101
006f1daa 1102 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
1103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
1104 sparc-ifunc.h
006f1daa 1105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
1106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
1107 Likewise.
1108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
1109 Likewise.
006f1daa
DM
1110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
1111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
1112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
1113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
1114 Likewise.
006f1daa
DM
1115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
1116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
1117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
1118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
1119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
1120 Likewise.
1121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
1122 Likewise.
006f1daa
DM
1123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
1124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
1125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
1126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
1127 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1128 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1129 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
1130 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
1131 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
1132 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
1133 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
1134 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
1135 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
1136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
1137 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
1138 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
1139 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
1140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
1141 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
1142 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
1143 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
1144 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
1145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
1146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
1147
11e0098e
AS
11482012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1149
1150 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
1151 scaling.
1152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1153
e85b09d0
AJ
11542012-03-15 Andreas Jaeger <aj@suse.de>
1155
1156 [BZ #13852]
1157 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
1158 ieee754/flt-32 implementation for sin, cos and sincos.
1159 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
1160 * sysdeps/i386/fpu/s_cosf.S: Likewise.
1161 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
1162 * sysdeps/i386/fpu/s_sinf.S: Likewise.
1163 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
1164 ieee754/flt-32 implementation for tan.
1165
1166 * math/libm-test.inc (cos_test): Enable some large input tests for
1167 float as well
1168 (sin_test): Likewise.
1169 (sincos_test): Likewise.
1170 (tan_test): Add tests for large input.
1171
1172 * sysdeps/i386/fpu/libm-test-ulps: Update.
1173
81c64153
AJ
11742012-03-15 Andreas Jaeger <aj@suse.de>
1175
1176 [BZ #13658]
1177 * math/libm-test.inc (cos_test): Add more test cases.
1178 (sin_test): Likewise.
1179 (sincos_test): Likewise.
1180
7bbfa5c6
AJ
11812012-03-15 Andreas Jaeger <aj@suse.de>
1182
1183 [BZ #13837]
1184 * math/libm-test.inc (cos_test): Add a test case for large input
1185 value.
1186 (sin_test): Likewise.
1187 (sincos_test): Likewise.
1188
11892012-03-15 Andreas Jaeger <aj@suse.de>,
1190 Joseph Myers <joseph@codesourcery.com>
1191
1192 [BZ #13658]
0671f479 1193 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
1194 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
1195 * sysdeps/i386/fpu/branred.c: Likewise.
1196 * sysdeps/i386/fpu/dosincos.c: Likewise.
1197 * sysdeps/i386/fpu/mpa.c: Likewise.
1198 * sysdeps/i386/fpu/s_cos.S: Likewise.
1199 * sysdeps/i386/fpu/s_sin.S: Likewise.
1200 * sysdeps/i386/fpu/s_sincos.S: Likewise.
1201 * sysdeps/i386/fpu/sincos32.c: Likewise.
1202
1203 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
1204 Define.
1205 (libc_feupdateenv_53bit): Define.
1206 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
1207 Define.
1208 (libc_feupdateenv_53bit): Define.
1209
1210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
1211 53 bit (without extend i386 double precision).
1212
1213 * math/libm-test.inc (sincos_test): Add tests for large input.
1214 (sin): Likewise.
1215 (cos): Likewise.
1216
1217 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
1218
9cad04ea
AS
12192012-03-15 Andreas Schwab <schwab@linux-m68k.org>
1220
1221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1222
f7062b9a
DM
12232012-03-15 David S. Miller <davem@davemloft.net>
1224
1225 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
1226 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
1227 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
1228 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
1229 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
1230 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
1231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
1232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
1233 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
1234 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
1235 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
1236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
1237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
1238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
1239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
1240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
1241 file.
f7062b9a 1242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
1243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
1244 file.
f7062b9a 1245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
1246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
1247 file.
f7062b9a 1248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
1249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
1250 file.
f7062b9a
DM
1251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
1252 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
1253 fmin/fmax sysdep routines.
1254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
1255
7bd951ff
DM
12562012-03-14 David S. Miller <davem@davemloft.net>
1257
559398ab
DM
1258 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
1259 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
1260 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
1261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
1262 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
1263 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
1264 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
1265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
1266 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
1267 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
1268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
1269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
1270 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
1271 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
1272 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
1273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
1274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
1275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
1276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
1277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
1278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
1279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
1280 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
1281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
1282 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
1283 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
1284 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
1285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1286 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
1287 routines.
1288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
1289 file.
559398ab 1290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
1291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
1292 file.
559398ab 1293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
1294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
1295 file.
559398ab 1296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
1297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
1298 file.
559398ab 1299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
1300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
1301 file.
559398ab 1302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
1303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
1304 file.
1305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
1306 file.
1307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
1308 file.
1309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
1310 file.
1311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
1312 New file.
1313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
1314 file.
1315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
1316 file.
559398ab 1317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
1318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
1319 file.
559398ab 1320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
1321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
1322 file.
559398ab 1323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
1324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
1325 file.
559398ab 1326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
1327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
1328 VIS3 routines.
559398ab
DM
1329
1330 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
1331 New file.
1332
5a1c1e32
DM
1333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1334
eae47a36
DM
1335 * sysdeps/sparc/configure.in: New file.
1336 * sysdeps/sparc/configure: Generate.
1337 * configure.in (libc_cv_sparc_as_vis3): Substitute.
1338 * configure: Regenerate.
1339 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
1340 * config.make.in (have-as-vis3): New.
1341 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
1342 available use -Av9d instead of -Av9a.
1343 * sysdeps/sparc/sparc64/Makefile: Likewise.
1344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
1345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
1346 New file.
1347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
1348 file.
1349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
1350 New file.
1351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
1352 file.
eae47a36
DM
1353 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
1354 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
1355 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
1356 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
1357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
1358
c0c83bc8
DM
1359 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
1360 fzeros/fnegs to load 0x80000000 into a float register instead of
1361 using the stack.
7bd951ff
DM
1362 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
1363
bd951ccb
JM
13642012-03-14 Joseph Myers <joseph@codesourcery.com>
1365
1366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1367 bits/syscall.h.
1368 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
1369 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
1370 ($(inst_includedir)/bits/syscall.h): Remove rule.
1371 ($(objpfx)bits/syscall.d): Include instead of
1372 $(objpfx)syscall-list.d.
1373 (generated): Change syscall-list.h and syscall-list.d to
1374 bits/syscall.h and bits/syscall.d.
1375
bb4e6db2
RM
13762012-03-14 Roland McGrath <roland@hack.frob.com>
1377
1378 [BZ #13846]
1379 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
1380
aa4a2ae1
JM
13812012-03-14 Joseph Myers <joseph@codesourcery.com>
1382
e456826d
JM
1383 [BZ #13841]
1384 * math/s_csqrt.c: Include <float.h>.
1385 (__csqrt): Scale large or subnormal inputs.
1386 * math/s_csqrtf.c: Likewise.
1387 * math/s_csqrtl.c: Likewise.
1388 * math/libm-test.inc (csqrt_test): Add more tests.
1389 * sysdeps/i386/fpu/libm-test-ulps: Update.
1390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1391
aa4a2ae1
JM
1392 [BZ #13840]
1393 * math/libm-test.inc (hypot_test): Add more tests.
1394
7c10fd35
DM
13952012-03-13 David S. Miller <davem@davemloft.net>
1396
1397 [BZ #13840]
1398 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
1399 double-precision for the calculation instead of scaling.
1400
f453b98b
JM
14012012-03-13 Joseph Myers <joseph@codesourcery.com>
1402
1403 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
1404 manipulate bits before adding and subtracting TWO52[sx].
1405 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
1406 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
1407 Likewise.
1408 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
1409
09a3453f
DM
14102012-03-13 David S. Miller <davem@davemloft.net>
1411
8e59da90
DM
1412 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
1413 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
1414 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
1415 rtld-global-offsets.h
1416 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1417
2a8ab7f2
DM
1418 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
1419 large parameters.
1420
10f62770
DM
1421 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
1422
5f0bdb18
DM
1423 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
1424 'err' in the ifdef scope in which it is actually used.
1425
09a3453f
DM
1426 * nss/nss_db/db-init.c: Include string.h
1427
b4b2eb5e
DM
14282012-03-12 David S. Miller <davem@davemloft.net>
1429
98bb2f1c
DM
1430 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
1431 masking out of the most significant byte of random value used.
1432 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1433 Fix coding style in previous change.
1434
b4b2eb5e
DM
1435 * sysdeps/unix/sysv/linux/kernel-features.h
1436 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
1437 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
1438 expression.
1439 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
1440 later.
1441
6e226b09
DM
14422012-03-11 David S. Miller <davem@davemloft.net>
1443
a1bcbd40
DM
1444 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1445 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
1446 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
1447 for 'resultvar' otherwise things get truncated on 64-bit.
1448
cb9d6174
DM
1449 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
1450 Fix masking out of the most significant byte of random value used.
1451
6e226b09
DM
1452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1453
058c132d
AS
14542012-03-10 Andreas Schwab <schwab@linux-m68k.org>
1455
1456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1457
2d2cd515
DM
14582012-03-09 David S. Miller <davem@davemloft.net>
1459
1460 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
1461 variables with appropriate CPP guards.
1462 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
1463 frame pointer, not the stack pointer. Correct layout comments. Fix test
1464 on resulting framesize and the management of the outregs buffer for pltexit.
1465 Preserve floating point return values across _dl_call_pltexit call.
1466 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
1467 framesize and the management of the outregs buffer for pltexit.
1468 Preserve floating point return values across _dl_call_pltexit
1469 call.
1470 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
1471 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
1472 (print_exit): Fix format string for return register value.
1473
9a07f9d0
JM
14742012-03-10 Joseph Myers <joseph@codesourcery.com>
1475
1476 * sunrpc/Makefile (others): Add rpcgen.
1477 ($(objpfx)rpcgen): Remove special build rule and dependency on
1478 libc.
1479 * sunrpc/rpcgen.c: New file.
1480
547b5e30
PE
14812012-03-09 Paul Eggert <eggert@cs.ucla.edu>
1482
c524201a
PE
1483 [BZ #13673]
1484 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
1485 * stdio-common/bug-vfprintf-nargs.c: Likewise.
1486 * sysdeps/i386/crti.S: Likewise.
1487 * sysdeps/i386/crtn.S: Likewise.
1488 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
1489 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
1490 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
1491 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
1492 * sysdeps/sh/crti.S: Likewise.
1493 * sysdeps/sh/crtn.S: Likewise.
1494 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
1495
7b6235f2
PE
1496 [BZ #13673]
1497 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
1498 with URL.
1499 * locale/programs/locfile-kw.gperf: Likewise.
1500 * locale/programs/charmap-kw.h: Regenerated.
1501 * locale/programs/locfile-kw.h: Likewise.
1502
547b5e30
PE
1503 [BZ #13673]
1504 * intl/plural.y: Replace FSF snail mail address with URL.
1505 * intl/plural.c: Regenerated.
1506
5f0a5dae
RH
15072012-03-09 Richard Henderson <rth@twiddle.net>
1508
1509 * include/math_private.h: Remove file.
1510 * math/math_private.h: Move file ...
1511 * sysdeps/generic/math_private.h: ... here.
1512
b8c03620
RH
1513 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
1514 * sysdeps/powerpc/fpu/math_private.h: Likewise.
1515 * sysdeps/x86_64/fpu/math_private.h: Likewise.
1516
4e234f5d 1517 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
1518 and <math_private.h>.
1519 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
1520 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
1521 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
1522 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
1523 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
1524 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
1525 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
1526 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1527 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1528 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
1529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1530 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
1531 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1533 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1534 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1535 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1536 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1537 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1538 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
1539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1540 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1541 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1543 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1544 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1545 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1547 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1548 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1549 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1550 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1551 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1552 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1553 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1554 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1555 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1556 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1557 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1558 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1559 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
1560 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1561 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
1562 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1563 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1564 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1565 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
1566 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1567 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1568 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1569 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1570 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
1571 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1572 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1573 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1574 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1575 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
1576 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1577 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1578 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
1579 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1580 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1581 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1582 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1583 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
1584 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
1585 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
1586 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
1587 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
1588 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
1589 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
1590 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
1591 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
1592 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
1593 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
1594 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
1595 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
1596 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
1597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
1598 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
1599 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
1600 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
1601 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
1602 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
1603 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
1604 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1605 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
1606 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1607 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
1608 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
1609 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
1610 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
1611 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
1612 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
1613 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
1614 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
1615 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
1616 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1617 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1618 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
1619 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
1620 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
1621 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
1622 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
1623 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1624 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
1625 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
1626 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
1627 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1628 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1629 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1630 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1631 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
1632 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1633 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
1634 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
1635 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1636 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
1637 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1638 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
1639 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1640 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
1641 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
1642 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
1643 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1644 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
1645 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
1646 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
1647 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
1648 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
1649 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
1650 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
1651 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1652 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
1653 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
1654 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
1655 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
1656 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
1657 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
1658 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
1659 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
1660 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
1661 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
1662 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
1663 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
1664 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
1665 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
1666 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
1667 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1668 * sysdeps/ieee754/k_standard.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
1677 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1678 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1679 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1681 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
1682 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
1683 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
1684 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
1685 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1686 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
1687 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
1688 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
1689 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
1690 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
1691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
1693 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1694 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1695 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
1696 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
1697 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
1698 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1699 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1700 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
1701 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
1702 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
1703 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1704 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
1705 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
1706 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
1707 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
1708 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
1709 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1710 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1711 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1712 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
1713 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1714 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
1716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
1717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
1718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1720 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1721 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
1722 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
1723 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1724 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1725 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
1726 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
1727 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
1728 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
1729 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1730 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1731 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1732 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
1733 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1734 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1735 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
1736 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
1737 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
1738 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
1740 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
1742 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
1743 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
1744 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
1745 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
1746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
1747 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
1748 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1749 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1751 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
1752 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
1753 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
1754 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1755 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
1756 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1758 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
1759 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
1760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
1761 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1762 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1764 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
1765 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
1766 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1768 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
1769 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
1770 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1771 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1772 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
1773 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1775 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1776 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1777 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
1778 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
1779 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
1780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
1781 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
1782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
1783 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
1784 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
1785 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
1786 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
1787 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
1788 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1789 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1790 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
1791 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1792 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
1793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
1794 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
1795 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1796 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
1797 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
1798 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1799 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1800 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1801 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1802 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1803 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
1804 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
1805 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
1806 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1807 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1808 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
1809 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
1810 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1811 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
1812 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
1813 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
1814 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1815 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1816 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
1817 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
1818 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
1819 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1820 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
1821 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1822 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1823 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
1824 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
1825 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
1826 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
1827 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
1828 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1829 * sysdeps/ieee754/s_lib_version.c: Likewise.
1830 * sysdeps/ieee754/s_matherr.c: Likewise.
1831 * sysdeps/ieee754/s_signgam.c: Likewise.
1832 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
1833 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
1834 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
1835 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
1836 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
1837 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1838 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
1839 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
1840 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
1841 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
1842 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1843 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
1844 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
1845 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
1846 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
1847 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
1848 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
1849 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
1850 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
1851 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1852 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 1853
1991fa03
JM
18542012-03-09 Joseph Myers <joseph@codesourcery.com>
1855
1856 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
1857 * sunrpc/rpc_main.c: Likewise.
1858 * sunrpc/rpc_svcout.c: Likewise.
1859
60d6f5a6
DM
18602012-03-09 David S. Miller <davem@davemloft.net>
1861
1862 * include/math_private.h: New file.
1863
4962050e
JM
18642012-03-09 Joseph Myers <joseph@codesourcery.com>
1865
02a6f887
JM
1866 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
1867 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
1868 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
1869 from <bits/socket_type.h>.
1870 (enum __socket_type): Don't define here.
1871 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
1872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1873 bits/socket_type.h.
1874
c6e013c1
JM
1875 [BZ #13566]
1876 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
1877 checking __USE_GNU.
1878
4962050e
JM
1879 * Makerules ($(inst_includedir)/%.h): New rule.
1880 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
1881 (install-others): Remove variable setting.
1882 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
1883
38842f45
RH
18842012-03-08 Richard Henderson <rth@twiddle.net>
1885
67bb6da6
RH
1886 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
1887 from macro to inline function; merge with the
1888 !__LIBC_INTERNAL_MATH_INLINES version.
1889 (__ieee754_sqrtf): Likewise.
1890
15194b4b
RH
1891 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
1892 to inline function.
1893 (__rintf, __floor, __floorf): Likewise.
1894
64e21ede
RH
1895 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
1896 macro to inline function.
1897 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
1898
38842f45
RH
1899 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
1900 not <math/math_private.h>.
1901
c64bf5fe
DM
19022012-03-08 David S. Miller <davem@davemloft.net>
1903
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
1905 copyright year.
1906 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
1907
82d86f28
TS
19082012-03-08 Thomas Schwinge <thomas@codesourcery.com>
1909
1910 * resolv/gai_misc.c (handle_requests): Fix struct timespec
1911 normalization.
1912 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
1913 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1914
aea5d727
UD
19152012-03-08 Ulrich Drepper <drepper@gmail.com>
1916
1917 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
1918 be defined individually, they must be defined as a block. Define
1919 S for printing a string instead of hidint the different by using a
1920 macro for adding the 'l'.
1921 * stdio-common/tst-fphex-wide.c: Adjust.
1922
70bca0a3
MP
19232012-03-07 Marek Polacek <polacek@redhat.com>
1924
1925 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
1926
65b81130
MP
19272012-03-08 Marek Polacek <polacek@redhat.com>
1928
1929 [BZ #13806]
1930 * stdio-common/Makefile (tests): Add tst-fphex-wide.
1931 * stdio-common/tst-fphex.c: Define a few macros to make the
1932 test reusable. Use them.
1933 * stdio-common/tst-fphex-wide.c: New file.
1934
07037eeb
JM
19352012-03-08 Joseph Myers <joseph@codesourcery.com>
1936
a7a93d50
JM
1937 [BZ #6911]
1938 * manual/macros.texi (gnusystems): New macro.
1939 (nongnusystems): Likewise.
1940 (gnulinuxhurdsystems): Likewise.
1941 (gnuhurdsystems): Likewise..
1942 (gnulinuxsystems): Likewise.
1943 * manual/charset.texi: Use new macros or @theglibc{} to refer to
1944 variants of the GNU system, not "GNU system".
1945 * manual/conf.texi: Likewise.
1946 * manual/errno.texi: Likewise. Update example of errno macro
1947 expansion.
1948 * manual/filesys.texi: Likewise.
1949 (getumask): Document as specific to GNU/Hurd.
1950 * manual/install.texi: Likewise. Reword some references to
1951 GNU/Linux.
1952 * manual/intro.texi: Likewise.
1953 * manual/io.texi: Likewise.
1954 (File Name Portability): Detail which constraints are inapplicable
1955 to all GNU systems and which are only inapplicable to GNU/Hurd.
1956 * manual/job.texi: Likewise.
1957 * manual/llio.texi: Likewise.
1958 (O_NOCTTY): Document as present on GNU/Linux.
1959 * manual/maint.texi: Likewise.
1960 * manual/memory.texi: Likewise.
1961 * manual/pattern.texi: Likewise.
1962 * manual/pipe.texi: Likewise.
1963 * manual/process.texi: Likewise.
1964 * manual/resource.texi: Likewise.
1965 (RUSAGE_CHILDREN): Remove statement about specifying a particular
1966 child on GNU/Hurd.
1967 * manual/setjmp.texi: Likewise.
1968 * manual/signal.texi: Likewise.
1969 * manual/startup.texi: Likewise.
1970 * manual/stdio.texi: Likewise.
1971 * manual/terminal.texi: Likewise.
1972 (ONLCR): Document as POSIX.
1973 (OXTABS): Document availability on GNU/Linux as XTABS.
1974 (ONOEOT): Document availability separately from other bits.
1975 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
1976 * manual/time.texi: Likewise.
1977 * manual/users.texi: Likewise.
1978 * INSTALL: Regenerated.
1979 * sysdeps/gnu/errlist.c: Regenerated.
1980
07037eeb
JM
1981 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
1982 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
1983 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
1984 puts.
1985 * configure: Regenerated.
1986
d1d3431a
JM
19872012-03-07 Joseph Myers <joseph@codesourcery.com>
1988
af6a1e37
JM
1989 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
1990 default includes instead of AC_HEADER_CHECK.
1991 * sysdeps/i386/configure: Regenerated.
1992
d1d3431a
JM
1993 [BZ #10716]
1994 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
1995 * math/s_cacoshf.c (__cacoshf): Likewise.
1996 * math/s_cacoshl.c (__cacoshl): Likewise.
1997 * math/s_casinh.c (__casinh): Set signs of result from argument.
1998 * math/s_casinhf.c (__casinhf): Likewise.
1999 * math/s_casinhl.c (__casinhl): Likewise.
2000 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
2001 (casinh_test): Add more tests.
2002 * sysdeps/i386/fpu/libm-test-ulps: Update.
2003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004
482ff4da
UD
20052012-03-07 Ulrich Drepper <drepper@gmail.com>
2006
872fda05
UD
2007 * po/zh_TW.po: Update from translation team.
2008
a4300c7a
UD
2009 * login/Makefile (distribute): Remove variable.
2010 * catgets/Makefile: Likewise.
2011 * mach/Makefile: Likewise.
2012 * malloc/Makefile: Likewise.
2013 * misc/Makefile: Likewise.
2014 * iconv/Makefile: Likewise.
2015 * nscd/Makefile: Likewise.
2016 * hurd/Makefile: Likewise.
2017 * manual/Makefile: Likewise.
2018 * locale/Makefile: Likewise.
2019 * intl/Makefile: Likewise.
2020 * conform/Makefile: Likewise.
2021 * nss/Makefile: Likewise.
2022 * time/Makefile: Likewise.
2023 * soft-fp/Makefile: Likewise.
2024 * dirent/Makefile: Likewise.
2025 * gmon/Makefile: Likewise.
2026 * po/Makefile: Likewise.
2027 * rt/Makefile: Likewise.
2028 * socket/Makefile: Likewise.
2029 * math/Makefile: Likewise.
2030 * signal/Makefile: Likewise.
2031 * debug/Makefile: Likewise.
2032 * elf/Makefile: Likewise.
2033 * timezone/Makefile: Likewise.
2034 * stdlib/Makefile: Likewise.
2035 * iconvdata/Makefile: Likewise.
2036 * sunrpc/Makefile: Likewise.
2037 * io/Makefile: Likewise.
2038 * argp/Makefile: Likewise.
2039 * inet/Makefile: Likewise.
2040 * hesiod/Makefile: Likewise.
2041 * grp/Makefile: Likewise.
2042 * csu/Makefile: Likewise.
2043 * wctype/Makefile: Likewise.
2044 * crypt/Makefile: Likewise.
2045 * libio/Makefile: Likewise.
2046 * string/Makefile: Likewise.
2047 * nis/Makefile: Likewise.
2048 * resolv/Makefile: Likewise.
2049 * stdio-common/Makefile: Likewise.
2050 * wcsmbs/Makefile: Likewise.
2051 * dlfcn/Makefile: Likewise.
2052 * posix/Makefile: Likewise.
2053
482ff4da
UD
2054 * timezone/Makefile: Don't install timezone files, just the programs
2055 and scripts.
2056
f72ed77d
UD
20572012-03-06 Ulrich Drepper <drepper@gmail.com>
2058
a000466f
UD
2059 * nss/databases.def: Add missing gshadow entry.
2060
f72ed77d
UD
2061 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
2062
a53b7a4e
MP
20632012-03-06 Marek Polacek <polacek@redhat.com>
2064
2065 [BZ #13726]
2066 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
2067 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2068 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
2069 * stdio-common/tst-long-dbl-fphex.c: New file.
2070
e9258400
DM
20712012-03-06 David S. Miller <davem@davemloft.net>
2072
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2074 (set_obp_int): New function.
2075 (get_obp_int): New function.
2076 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
2077 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
2078 Avoid unused variable warnings on 'val' and use builtin_expect.
2079 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
2080 __builtin_expect.
e9258400
DM
2081 (INLINE_CLONE_SYSCALL): Likewise.
2082
3bd2c723
DM
20832012-03-05 David S. Miller <davem@davemloft.net>
2084
2085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2086
bbb78d03
AS
20872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
2088
884c5db4
AS
2089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2090
bbb78d03
AS
2091 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
2092 only for |x| >= 40.
2093 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
2094
1c9f702a 20952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
2096
2097 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
2098 Replace gettimeofday with __vdso_gettimeofday.
2099
7be16f82
RM
2100 * sysdeps/unix/sysv/linux/x86_64/init-first.c
2101 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
2102 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
2103
2104 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
2105 time with __vdso_time.
2106
ed58a00f
JM
21072012-03-05 Joseph Myers <joseph@codesourcery.com>
2108
2109 * manual/lang.texi (size_t): Note types to which size_t may be
2110 equivalent with the GNU C Library, but do not describe when
2111 differences between them are significant.
2112
30ee4ced
AJ
21132012-03-05 Andreas Jaeger <aj@suse.de>
2114
2115 * sysdeps/i386/fpu/libm-test-ulps: Update.
2116
b7cd39e8
JM
21172012-03-05 Joseph Myers <joseph@codesourcery.com>
2118
2119 [BZ #3976]
2120 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
2121 (__ieee754_pow): Save and restore rounding mode and use
2122 round-to-nearest for main computations.
2123 * math/libm-test.inc (pow_test_tonearest): New function.
2124 (pow_test_towardzero): Likewise.
2125 (pow_test_downward): Likewise.
2126 (pow_test_upward): Likewise.
2127 (main): Call the new functions.
2128 * sysdeps/i386/fpu/libm-test-ulps: Update.
2129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
2130
2131 [BZ #3976]
2132 * math/libm-test.inc (cosh_test_tonearest): New function.
2133 (cosh_test_towardzero): Likewise.
2134 (cosh_test_downward): Likewise.
2135 (cosh_test_upward): Likewise.
2136 (sinh_test_tonearest): Likewise.
2137 (sinh_test_towardzero): Likewise.
2138 (sinh_test_downward): Likewise.
2139 (sinh_test_upward): Likewise.
2140 (main): Call the new functions.
2141 * sysdeps/i386/fpu/libm-test-ulps: Update.
2142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2143
6c6a98c9
TV
21442012-03-05 Tom de Vries <tom@codesourcery.com>
2145
2146 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
2147 default stack guard is set in last bytes.
2148 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
2149
21bb2d2e 21502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 2151
21bb2d2e 2152 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 2153
21bb2d2e
AJ
2154 [BZ #13656]
2155 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
2156 possibly allocate from heap instead of stack.
2157 * stdio-common/bug-vfprintf-nargs.c: New file.
2158 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 2159
c6922934
AS
21602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
2161
2162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2163
bc957d53
MP
21642012-03-03 Marek Polacek <polacek@redhat.com>
2165
2166 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
2167 * math/math_private.h: Likewise.
2168 * stdlib/tst-strtod.c: Likewise.
2169 * sysdeps/i386/i486/bits/atomic.h: Likewise.
2170 * sysdeps/x86_64/bits/atomic.h: Likewise.
2171
6358490d
DM
21722012-03-02 David S. Miller <davem@davemloft.net>
2173
2174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
2175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
2176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
2177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
2178 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
2179 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
2180 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
2181 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
2182
01ae168d
RM
21832012-03-02 Roland McGrath <roland@hack.frob.com>
2184
d9a17c07
RM
2185 [BZ #13792]
2186 * manual/examples/README: New file, says the example source files
2187 can be used under GPL>=2.
2188 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
2189 line containing just "*/".
2190 * manual/examples/add.c: Add copyright header (GPL>=2).
2191 * manual/examples/argp-ex1.c: Likewise.
2192 * manual/examples/argp-ex2.c: Likewise.
2193 * manual/examples/argp-ex3.c: Likewise.
2194 * manual/examples/argp-ex4.c: Likewise.
2195 * manual/examples/atexit.c: Likewise.
2196 * manual/examples/db.c: Likewise.
2197 * manual/examples/dir.c: Likewise.
2198 * manual/examples/dir2.c: Likewise.
2199 * manual/examples/execinfo.c: Likewise.
2200 * manual/examples/filecli.c: Likewise.
2201 * manual/examples/filesrv.c: Likewise.
2202 * manual/examples/fmtmsgexpl.c: Likewise.
2203 * manual/examples/genpass.c: Likewise.
2204 * manual/examples/inetcli.c: Likewise.
2205 * manual/examples/inetsrv.c: Likewise.
2206 * manual/examples/isockad.c: Likewise.
2207 * manual/examples/longopt.c: Likewise.
2208 * manual/examples/memopen.c: Likewise.
2209 * manual/examples/memstrm.c: Likewise.
2210 * manual/examples/mkfsock.c: Likewise.
2211 * manual/examples/mkisock.c: Likewise.
2212 * manual/examples/mygetpass.c: Likewise.
2213 * manual/examples/pipe.c: Likewise.
2214 * manual/examples/popen.c: Likewise.
2215 * manual/examples/rprintf.c: Likewise.
2216 * manual/examples/search.c: Likewise.
2217 * manual/examples/select.c: Likewise.
2218 * manual/examples/setjmp.c: Likewise.
2219 * manual/examples/sigh1.c: Likewise.
2220 * manual/examples/sigusr.c: Likewise.
2221 * manual/examples/stpcpy.c: Likewise.
2222 * manual/examples/strdupa.c: Likewise.
2223 * manual/examples/strftim.c: Likewise.
2224 * manual/examples/strncat.c: Likewise.
2225 * manual/examples/subopt.c: Likewise.
2226 * manual/examples/swapcontext.c: Likewise.
2227 * manual/examples/termios.c: Likewise.
2228 * manual/examples/testopt.c: Likewise.
2229 * manual/examples/testpass.c: Likewise.
2230 * manual/examples/timeval_subtract.c: Likewise.
2231
01ae168d
RM
2232 [BZ #13792]
2233 * manual/time.texi (Elapsed Time): Move timeval_subtract example
2234 function to ...
2235 * manual/timeval_subtract.c.texi: ... here, new file.
2236
49efa33d
DM
22372012-03-02 David S. Miller <davem@davemloft.net>
2238
2239 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
2240
28afd92d
JM
22412012-03-02 Joseph Myers <joseph@codesourcery.com>
2242
804360ed
JM
2243 [BZ #3976]
2244 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
2245 (__sin): Save and restore rounding mode and use round-to-nearest
2246 for all computations.
2247 (__cos): Save and restore rounding mode and use round-to-nearest
2248 for all computations.
2249 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
2250 <fenv.h>.
2251 (tan): Save and restore rounding mode and use round-to-nearest for
2252 all computations.
2253 * math/libm-test.inc (cos_test_tonearest): New function.
2254 (cos_test_towardzero): Likewise.
2255 (cos_test_downward): Likewise.
2256 (cos_test_upward): Likewise.
2257 (sin_test_tonearest): Likewise.
2258 (sin_test_towardzero): Likewise.
2259 (sin_test_downward): Likewise.
2260 (sin_test_upward): Likewise.
2261 (tan_test_tonearest): Likewise.
2262 (tan_test_towardzero): Likewise.
2263 (tan_test_downward): Likewise.
2264 (tan_test_upward): Likewise.
2265 (main): Call the new functions.
2266 * sysdeps/i386/fpu/libm-test-ulps: Update.
2267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2268
a6d06d7b
JM
2269 [BZ #10135]
2270 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
2271 small n, then large n, before computing and testing k+n.
2272 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
2273 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
2274 Likewise.
2275 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
2276 Likewise.
2277 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
2278 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
2279 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
2280 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
2281 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2282 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2283 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
2284 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
2285 * math/libm-test.inc (scalbn_test): Add more tests.
2286 (scalbln_test): Likewise.
2287
07e12bb3
JM
2288 * manual/filesys.texi (mode_t): Describe constraints on size and
2289 signedness, not exact equivalence to a particular type.
2290 (ino_t): Likewise.
2291 (ino64_t): Likewise.
2292 (dev_t): Likewise.
2293 (nlink_t): Likewise.
2294 (blkcnt_t): Likewise.
2295 (blkcnt64_t): Likewise.
2296 * manual/llio.texi (off_t): Likewise.
2297
28afd92d
JM
2298 [BZ #3976]
2299 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
2300 (__ieee754_exp): Save and restore rounding mode and use
2301 round-to-nearest for all computations.
2302 * math/libm-test.inc (exp_test_tonearest): New function.
2303 (exp_test_towardzero): Likewise.
2304 (exp_test_downward): Likewise.
2305 (exp_test_upward): Likewise.
2306 (main): Call the new functions.
2307 * sysdeps/i386/fpu/libm-test-ulps: Update.
2308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2309
b1eeb65d
CD
23102012-03-01 Chris Demetriou <cgd@google.com>
2311
2312 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
2313 have predictable order.
2314
53362a4b
DM
23152012-03-01 David S. Miller <davem@davemloft.net>
2316
3c969083
DM
2317 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
2318
759707de
DM
2319 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
2320 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
2321 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
2322 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
2323
dfdb8ff2
DM
2324 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
2325 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
2326 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
2327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
2328 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
2329 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
2330 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
2331 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
2332 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
2333
ead89f96
DM
2334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2335
7f66bd07
DM
2336 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
2337 * sysdeps/sparc/fpu/libm-test-ulps: to here.
2338 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
2339
53362a4b
DM
2340 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
2341 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2342 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2343 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
2344 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
2345 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
2346 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
2347 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
2348 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2349 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
2350 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2353 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2354 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2355 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2356 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
2357 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
2358 * sysdeps/sparc/elf/configure: Regenerated.
2359
7b1902cb
JM
23602012-03-01 Joseph Myers <joseph@codesourcery.com>
2361
bec039bc
JM
2362 * configure.in (AS, LD): Require binutils 2.20 or later.
2363 * configure: Regenerated.
2364 * manual/install.texi (Tools for Compilation): Give binutils 2.20
2365 as required minimum version.
2366 * INSTALL: Regenerated.
2367
7b1902cb
JM
2368 [BZ #2541]
2369 [BZ #4108]
2370 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
2371 before squaring exponent.
2372 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
2373 bottom long double and 27 bits of top long double before squaring
2374 exponent.
2375 * math/libm-test.inc (erfc_test): Add more tests.
2376 * sysdeps/i386/fpu/libm-test-ulps: Update.
2377 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2379
f775c276
KT
23802012-03-01 Kai Tietz <ktietz@redhat.com>
2381
2382 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
2383 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
2384 containing bit-fields.
2385 * soft-fp/extended.h (_FP_UNION_E): Likewise.
2386 * soft-fp/single.h (_FP_UNION_S): Likewise.
2387 * soft-fp/double.h (_FP_UNION_D): Likewise.
2388
5b8a4d4a
JM
23892012-02-29 Joseph Myers <joseph@codesourcery.com>
2390
0bab47b6
JM
2391 [BZ #13786]
2392 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
2393 not include ../strcmp.S.
2394 [USE_AS_STRNCASECMP_L]: Likewise.
2395 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
2396 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
2397 * sysdeps/i386/i686/multiarch/strncase_l-c.c
2398 (__strncasecmp_l_ia32): Define as alias to
2399 __strncasecmp_l_nonascii.
2400
0fcad3e2
JM
2401 [BZ #5794]
2402 * math/libm-test.inc (expm1_test): Add test for bug 5794.
2403 * sysdeps/i386/fpu/libm-test-ulps: Update.
2404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2405
5b8a4d4a
JM
2406 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
2407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2408
8fdceb2e
JL
24092012-02-29 Jeff Law <law@redhat.com>
2410
2411 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
2412 out of bounds read.
2413
1f393a11
MP
24142012-02-29 Marek Polacek <polacek@redhat.com>
2415
2416 [BZ #13706]
2417 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
2418 * elf/Makefile: Add rules to run tst-unused-dep.out.
2419
8847f037
DM
24202012-02-28 David S. Miller <davem@davemloft.net>
2421
2422 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
2423 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
2424 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
2425 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
2426 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
2427 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
2428
169d7f11
JM
24292012-02-29 Joseph Myers <joseph@codesourcery.com>
2430
2431 * math/libm-test.inc (llround_test): Move one test from
2432 lround_test. Use TEST_f_L in moved test.
2433 (lround_test): Move misplaced test to llround_test. Add testcase
2434 from bug 2561.
2435
39adf059
UD
24362012-02-28 Ulrich Drepper <drepper@gmail.com>
2437
2438 * sysdeps/x86_64/fpu/e_expf.S: New file.
2439 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
2440
71b5d1c5
SB
24412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
2442
2443 [BZ #13637]
2444 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
2445 of remain_len that may cause incomplete multi-byte character and
2446 false match.
2447 * posix/bug-regex33.c: New file.
2448 * posix/Makefile (tests): Add bug-regex33.
2449
1f77f049
JM
24502012-02-28 Joseph Myers <joseph@codesourcery.com>
2451
2452 * manual/macros.texi: New file.
2453 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
2454 * manual/libc.texinfo: Include macros.texi.
2455 * manual/creatute.texi: Likewise.
2456 * manual/install.texi: Likewise.
2457 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
2458 @glibcadj{} in references to the GNU C Library.
2459 * manual/charset.texi: Likewise.
2460 * manual/conf.texi: Likewise.
2461 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
2462 when not using those macros.
2463 * manual/creature.texi: Likewise.
2464 * manual/crypt.texi: Likewise.
2465 * manual/errno.texi: Likewise.
2466 * manual/filesys.texi: Likewise.
2467 * manual/header.texi: Likewise.
2468 * manual/install.texi: Likewise.
2469 * manual/intro.texi: Likewise.
2470 * manual/io.texi: Likewise.
2471 * manual/job.texi: Likewise.
2472 * manual/lang.texi: Likewise.
2473 * manual/libc.texiinfo: Likewise.
2474 * manual/llio.texi: Likewise.
2475 * manual/locale.texi: Likewise.
2476 * manual/maint.texi: Likewise.
2477 * manual/math.texi: Likewise.
2478 * manual/memory.texi: Likewise.
2479 * manual/message.texi: Likewise.
2480 * manual/nss.texi: Likewise.
2481 * manual/pattern.texi: Likewise.
2482 * manual/process.texi: Likewise.
2483 * manual/resource.texi: Likewise.
2484 * manual/search.texi: Likewise.
2485 * manual/setjmp.texi: Likewise.
2486 * manual/signal.texi: Likewise.
2487 * manual/socket.texi: Likewise.
2488 * manual/startup.texi: Likewise.
2489 * manual/stdio.texi: Likewise.
2490 * manual/string.texi: Likewise.
2491 * manual/sysinfo.texi: Likewise.
2492 * manual/syslog.texi: Likewise.
2493 * manual/terminal.texi: Likewise.
2494 * manual/time.texi: Likewise.
2495 * manual/users.texi: Likewise.
2496 * INSTALL: Regenerated.
2497 * NOTES: Regenerated.
d40c5d54 2498 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 2499
450bf206
AS
25002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
2501
2502 * include/dirent.h: Include <dirstream.h> before
2503 <dirent/dirent.h>.
2504
741a235b
DM
25052012-02-28 David S. Miller <davem@davemloft.net>
2506
2507 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
2508 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
2509 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
2510 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
2511
d6b5aa58
DM
25122012-02-27 David S. Miller <davem@davemloft.net>
2513
1aff59a3
DM
2514 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
2515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
2516 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
2517 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
2518
d6b5aa58
DM
2519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
2520 frame pointer instead of stack pointer relative arg slot.
2521 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2522 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2523 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2524
433f48bf
CD
25252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
2526
2527 [BZ #3992]
2528 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
2529
d674b76d
DM
25302012-02-27 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
2533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
2534 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
2536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2538 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
2539 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
2540
0e7727f7
JM
25412012-02-27 Joseph Myers <joseph@codesourcery.com>
2542
2543 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
2544 later. Allow versions 5-9.
43be4ca2 2545 * configure: Regenerated.
0e7727f7
JM
2546 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
2547 required minimum version and 4.6 as recommended version. Do not
2548 mention bugs in GCC 2.7 and 2.8.
43be4ca2 2549 * INSTALL: Regenerated.
0e7727f7 2550
a78bc654
DM
25512012-02-27 David S. Miller <davem@davemloft.net>
2552
428d5830
DM
2553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
2554 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
2555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
2556 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
2557 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
2558 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
2559 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
2560 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
2561
a78bc654
DM
2562 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
2563 manipulate bits before adding and subtracting TWO112[sx].
2564 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
2565
4579f81c
RM
25662012-02-27 Roland McGrath <roland@hack.frob.com>
2567
36c8acb4
RM
2568 [BZ #13775]
2569 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
2570 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
2571 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
2572 being in POSIX, because they are in 1003.1-2008.
2573
84ad622b
RM
2574 * rt/tst-aio.c: Include <fcntl.h>.
2575 * rt/tst-aio7.c: Likewise.
2576 * rt/tst-aio64.c: Likewise.
2577
4579f81c
RM
2578 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
2579
abd923db
JM
25802012-02-27 Joseph Myers <joseph@codesourcery.com>
2581
2582 * manual/install.texi (--with-headers): Describe headers as
2583 interface headers, not private headers.
2584 (Specific advice for GNU/Linux systems): Describe use of headers
2585 from "make headers_install", not private headers from older
2586 kernels.
43be4ca2 2587 * INSTALL: Regenerated.
abd923db
JM
2588 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
2589 Change to 2.6.19.
2590 * sysdeps/unix/sysv/linux/configure: Regenerated.
2591
6664049b
JM
2592 * manual/llio.texi (fclean): Remove documentation.
2593
bb8b6697
JM
2594 * manual/Makefile (libc-texi-generated): New variable. Include
2595 version.texi.
2596 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
2597 $(libc-texi-generated), not duplicated list of files.
2598 (version.texi, stamp-version): New rules.
2599 (realclean): Remove $(libc-texi-generated), not individual files
2600 from that list. Do not remove dir-add.texinfo.
2601 * manual/libc.texinfo: Comment out uses of edition numbers and
2602 references to printed manual. Remove last-updated dates.
2603 (EDITION): Comment out.
2604 (ISBN): Likewise.
2605 (VERSION, UPDATED): Remove.
2606 (version.texi): Include.
2607
12e5c3b9
AS
26082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
2609
2610 * sysdeps/posix/spawni.c: Include <signal.h>.
2611 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
2612 * sysdeps/pthread/aio_fsync.c: Likewise.
2613
4efeffc1 26142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 2615
ba63ba08
UD
2616 * conform/Makefile (tests): Run only when not cross-compiling and
2617 when fast-check is not defined.
2618
d94a4670
UD
2619 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
2620 * conform/data/limits.h-data: Fixes for POSIX2008.
2621 * conform/run-conformtest.sh: Run all tests.
2622 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
2623 headers.
2624 * include/bits/dlfcn.h: Likewise.
2625 * include/langinfo.h: Likewise.
2626 * include/monetary.h: Likewise.
2627 * include/sys/poll.h: Likewise.
2628
2629 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
2630 for __USE_GNU.
2631 * posix/spawn.h: Define __need_sigset_t.
2632 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
2633 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
2634 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
2635 to get sigevent_t only.
2636 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
2637 only for __USE_GNU.
2638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
2639 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
2640 process_vm_writev only for __USE_GNU.
2641 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
2642
2643 * conform/Makefile: For now ignore errors from run-conformtest.
2644 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
2645 POSIX to avoid namespace pollution. Don't prepend headers.
2646 * conform/data/aio.h-data: Fixes for POSIX testing.
2647 * conform/data/fcntl.h-data: Likewise.
2648 * conform/data/glob.h-data: Likewise.
2649 * conform/data/grp.h-data: Likewise.
2650 * conform/data/pthread.h-data: Likewise.
2651 * conform/data/pwd.h-data: Likewise.
2652 * conform/data/signal.h-data: Likewise.
2653 * conform/data/spawn.h-data: Likewise.
2654 * conform/data/stdio.h-data: Likewise.
2655 * conform/data/stdlib.h-data: Likewise.
2656 * conform/data/stropts.h-data: Likewise.
2657 * conform/data/sys/mman.h-data: Likewise.
2658 * conform/data/sys/stat.h-data: Likewise.
2659 * conform/data/sys/types.h-data: Likewise.
2660 * conform/data/sys/wait.h-data: Likewise.
2661 * conform/data/time.h-data: Likewise.
2662 * conform/data/unistd.h-data: Likewise.
2663 * conform/data/utime.h-data: Likewise.
2664
2665 * io/sys/stat.h: fchmod was always in POSIX.
2666 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
2667 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
2668 * rt/aio.h: Define __need_timespec before including <time.h>.
2669 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
2670 struct. Add forward declaration of pthread_attr_t and use it in
2671 sigevent.
2672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
2673 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2674 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
2675 always remove CLK_TCK definition.
2676
c20105c3
AS
26772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
2678
2679 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
2680
7a270350
UD
26812012-02-25 Ulrich Drepper <drepper@gmail.com>
2682
31341567
UD
2683 * conform/run-conformtest.sh: New file.
2684 * conform/Makefile: Run run-conformtest for tests.
2685 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
2686 support.
2687
2688 * conform/data/uchar.h-data: New file.
2689 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
2690 * conform/data/arpa/inet.h-data: Likewise.
2691 * conform/data/assert.h-data: Likewise.
2692 * conform/data/complex.h-data: Likewise.
2693 * conform/data/cpio.h-data: Likewise.
2694 * conform/data/ctype.h-data: Likewise.
2695 * conform/data/dirent.h-data: Likewise.
2696 * conform/data/dlfcn.h-data: Likewise.
2697 * conform/data/errno.h-data: Likewise.
2698 * conform/data/fcntl.h-data: Likewise.
2699 * conform/data/float.h-data: Likewise.
2700 * conform/data/fmtmsg.h-data: Likewise.
2701 * conform/data/fnmatch.h-data: Likewise.
2702 * conform/data/ftw.h-data: Likewise.
2703 * conform/data/glob.h-data: Likewise.
2704 * conform/data/grp.h-data: Likewise.
2705 * conform/data/iconv.h-data: Likewise.
2706 * conform/data/inttypes.h-data: Likewise.
2707 * conform/data/langinfo.h-data: Likewise.
2708 * conform/data/libgen.h-data: Likewise.
2709 * conform/data/limits.h-data: Likewise.
2710 * conform/data/locale.h-data: Likewise.
2711 * conform/data/math.h-data: Likewise.
2712 * conform/data/monetary.h-data: Likewise.
2713 * conform/data/mqueue.h-data: Likewise.
2714 * conform/data/ndbm.h-data: Likewise.
2715 * conform/data/net/if.h-data: Likewise.
2716 * conform/data/netdb.h-data: Likewise.
2717 * conform/data/netinet/in.h-data: Likewise.
2718 * conform/data/nl_types.h-data: Likewise.
2719 * conform/data/poll.h-data: Likewise.
2720 * conform/data/pthread.h-data: Likewise.
2721 * conform/data/pwd.h-data: Likewise.
2722 * conform/data/regex.h-data: Likewise.
2723 * conform/data/sched.h-data: Likewise.
2724 * conform/data/search.h-data: Likewise.
2725 * conform/data/semaphore.h-data: Likewise.
2726 * conform/data/setjmp.h-data: Likewise.
2727 * conform/data/signal.h-data: Likewise.
2728 * conform/data/spawn.h-data: Likewise.
2729 * conform/data/stdarg.h-data: Likewise.
2730 * conform/data/stdio.h-data: Likewise.
2731 * conform/data/stdlib.h-data: Likewise.
2732 * conform/data/string.h-data: Likewise.
2733 * conform/data/strings.h-data: Likewise.
2734 * conform/data/stropts.h-data: Likewise.
2735 * conform/data/sys/ipc.h-data: Likewise.
2736 * conform/data/sys/mman.h-data: Likewise.
2737 * conform/data/sys/msg.h-data: Likewise.
2738 * conform/data/sys/resource.h-data: Likewise.
2739 * conform/data/sys/select.h-data: Likewise.
2740 * conform/data/sys/sem.h-data: Likewise.
2741 * conform/data/sys/shm.h-data: Likewise.
2742 * conform/data/sys/socket.h-data: Likewise.
2743 * conform/data/sys/stat.h-data: Likewise.
2744 * conform/data/sys/statvfs.h-data: Likewise.
2745 * conform/data/sys/time.h-data: Likewise.
2746 * conform/data/sys/timeb.h-data: Likewise.
2747 * conform/data/sys/times.h-data: Likewise.
2748 * conform/data/sys/types.h-data: Likewise.
2749 * conform/data/sys/uio.h-data: Likewise.
2750 * conform/data/sys/un.h-data: Likewise.
2751 * conform/data/sys/utsname.h-data: Likewise.
2752 * conform/data/sys/wait.h-data: Likewise.
2753 * conform/data/syslog.h-data: Likewise.
2754 * conform/data/tar.h-data: Likewise.
2755 * conform/data/termios.h-data: Likewise.
2756 * conform/data/utime.h-data: Likewise.
2757 * conform/data/utmpx.h-data: Likewise.
2758 * conform/data/varargs.h-data: Likewise.
2759 * conform/data/wchar.h-data: Likewise.
2760 * conform/data/wctype.h-data: Likewise.
2761 * conform/data/wordexp.h-data: Likewise.
2762
2763 * include/stropts.h: New file.
2764 * include/uchar.h: New file.
2765 * include/aio.h: Changes to allow conformtest.pl to use the headers.
2766 * include/assert.h: Likewise.
2767 * include/ctype.h: Likewise.
2768 * include/dirent.h: Likewise.
2769 * include/dlfcn.h: Likewise.
2770 * include/fcntl.h: Likewise.
2771 * include/fnmatch.h: Likewise.
2772 * include/glob.h: Likewise.
2773 * include/grp.h: Likewise.
2774 * include/libio.h: Likewise.
2775 * include/locale.h: Likewise.
2776 * include/math.h: Likewise.
2777 * include/net/if.h: Likewise.
2778 * include/netdb.h: Likewise.
2779 * include/netinet/in.h: Likewise.
2780 * include/pthread.h: Likewise.
2781 * include/pwd.h: Likewise.
2782 * include/regex.h: Likewise.
2783 * include/sched.h: Likewise.
2784 * include/search.h: Likewise.
2785 * include/setjmp.h: Likewise.
2786 * include/signal.h: Likewise.
2787 * include/stdio.h: Likewise.
2788 * include/stdlib.h: Likewise.
2789 * include/string.h: Likewise.
2790 * include/sys/cdefs.h: Likewise.
2791 * include/sys/mman.h: Likewise.
2792 * include/sys/msg.h: Likewise.
2793 * include/sys/resource.h: Likewise.
2794 * include/sys/select.h: Likewise.
2795 * include/sys/socket.h: Likewise.
2796 * include/sys/stat.h: Likewise.
2797 * include/sys/statvfs.h: Likewise.
2798 * include/sys/time.h: Likewise.
2799 * include/sys/times.h: Likewise.
2800 * include/sys/uio.h: Likewise.
2801 * include/sys/utsname.h: Likewise.
2802 * include/sys/wait.h: Likewise.
2803 * include/termios.h: Likewise.
2804 * include/time.h: Likewise.
2805 * include/ulimit.h: Likewise.
2806 * include/unistd.h: Likewise.
2807 * include/utime.h: Likewise.
2808 * include/wchar.h: Likewise.
2809 * include/wctype.h: Likewise.
2810 * include/wordexp.h: Likewise.
2811
2812 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
2813
7a270350
UD
2814 * time/time.h: TIME_UTC must be a macro.
2815 Make timespec_get available for ISO C11 only as well.
2816
7724defc
UD
28172012-02-24 Ulrich Drepper <drepper@gmail.com>
2818
2819 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
2820 Reported by Peng Haitao <penght@cn.fujitsu.com>.
2821
6b1d1d46
JM
28222012-02-24 Joseph Myers <joseph@codesourcery.com>
2823
2824 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 2825
0f8bbd69
JM
28262012-02-24 Joseph Myers <joseph@codesourcery.com>
2827
2828 * manual/texinfo.tex: Update to version 2012-01-19.16.
2829
66ab80bc
JM
28302012-02-24 Joseph Myers <joseph@codesourcery.com>
2831
2832 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
2833
74981cc5
RM
28342012-02-24 Roland McGrath <roland@hack.frob.com>
2835
ee968201
RM
2836 [BZ #13738]
2837 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
2838 * manual/fdl-1.3.texi: New file.
2839 * manual/fdl-1.1.texi: File removed.
2840
74981cc5
RM
2841 [BZ #13738]
2842 * manual/libc.texinfo (FDL_VERSION): New @set.
2843 Use it for mention of FDL in cover text.
2844 (Documentation License): Use it in @include file name.
2845
7bb764bc
JM
28462012-02-22 Joseph Myers <joseph@codesourcery.com>
2847 Roland McGrath <roland@hack.frob.com>
2848
2849 [BZ #5461]
2850 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
2851 not LONG_LONG_MAX and LONG_LONG_MIN.
2852 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
2853 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
2854 name.
2855 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
2856
6cbeae47
JM
28572012-02-22 Joseph Myers <joseph@codesourcery.com>
2858
2859 [BZ #2547]
2860 [BZ #11365]
2861 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
2862 manipulate bits before adding and subtracting TWO23[sx].
2863 * math/libm-test.inc (nearbyint_test): Add more tests.
2864
fe45ce09
JM
28652012-02-22 Joseph Myers <joseph@codesourcery.com>
2866
2867 [BZ #2548]
2868 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
2869 bits before adding and subtracting TWO23[sx].
2870 * math/libm-test.inc (rint_test): Add more tests.
2871 (rint_test_tonearest): Likewise.
2872 (rint_test_towardzero): Likewise.
2873 (rint_test_downward): Likewise.
2874 (rint_test_upward: Likewise.
2875
ff3b3d82
JM
28762012-02-22 Joseph Myers <joseph@codesourcery.com>
2877
2878 [BZ #10110]
2879 * include/stdc-predef.h: New file. Extracted from features.h.
2880 * include/features.h: Include stdc-predef.h.
2881 * Makefile (headers): Add stdc-predef.h.
2882 * CONFORMANCE (Compiler limitations): Update.
2883
ef0aab35
JM
28842012-02-22 Joseph Myers <joseph@codesourcery.com>
2885
2886 * manual/libc.texinfo (VERSION, UPDATED): Revert.
2887
58639409
DM
28882012-02-21 David S. Miller <davem@davemloft.net>
2889
2890 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
2891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
2892
c0e70b25
DM
28932012-02-20 David S. Miller <davem@davemloft.net>
2894
2895 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
2896 using a normal save/restore sequence, rather than allocating a
2897 dummy stack frame just to store a frame pointer and restore.
2898 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2899
fb06851d
JM
29002012-02-21 Joseph Myers <joseph@codesourcery.com>
2901
2902 * manual/install.texi: Fix stray word in line-wrapped comment.
2903
7a8b71c3
DM
29042012-02-20 David S. Miller <davem@davemloft.net>
2905
d510c123
DM
2906 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
2907 both binutils and gcc support GOTDATA.
2908
0722d7c2
DM
2909 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
2910 "rd %pc" in the PIC register setup sequences.
2911
3d2b3019
DM
2912 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
2913 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
2914 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
2915 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
2916 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
2917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
2918 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
2919 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
2920 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
2921 (SYSCALL_ERROR_HANDLER): Likewise.
2922 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
2923 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
2924 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
2925 (SYSCALL_ERROR_HANDLER): Likewise.
2926
c80098a9
DM
2927 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
2928 (HAVE_GCC_GOTDATA): New.
2929 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
2930 relocation support in both binutils and gcc.
2931 * sysdeps/sparc/elf/configure: Regenerate.
2932
3a2545a0
DM
2933 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
2934 * sysdeps/sparc/sparc32/elf/configure: Delete.
2935 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
2936 * sysdeps/sparc/sparc64/elf/configure: Delete.
2937 * sysdeps/sparc/elf/configure.in: New file.
2938 * sysdeps/sparc/elf/configure: Generate.
2939
7a8b71c3
DM
2940 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
2941 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
2942 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
2943 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
2944 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
2945
f1e86fca
JM
29462012-02-21 Joseph Myers <joseph@codesourcery.com>
2947
2948 * manual/install.texi: Do not mention specific glibc version
2949 numbers.
2950 * manual/libc.texinfo (VERSION, UPDATED): Update.
2951 (@copying): Use @copyright{} and range of years.
2952
0e7dfaef
JM
29532012-02-21 Joseph Myers <joseph@codesourcery.com>
2954
2955 [BZ #13695]
2956 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
2957 [crti.S not in sysdirs] (generated): Do not append.
2958 [crti.S not in sysdirs] (omit-deps): Likewise.
2959 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
2960 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
2961 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
2962 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
2963 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
2964 Likewise.
2965 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
2966 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
2967 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
2968 * csu/defs.awk: Remove file.
2969 * sysdeps/generic/initfini.c: Likewise.
2970 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
2971 variable.
2972 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
2973 Likewise.
2974
599af3ca
JM
29752012-02-20 Joseph Myers <joseph@codesourcery.com>
2976
2977 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
2978 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
2979 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
2981 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
2982 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
2983 <bits/epoll.h>.
2984 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
2985 (__EPOLL_PACKED): Define to empty if not defined by
2986 <bits/epoll.h>.
2987 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
2988 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
2989 bits/epoll.h.
2990
0e499750
JM
29912012-02-20 Joseph Myers <joseph@codesourcery.com>
2992
2993 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
2994 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
2995 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
2996 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
2997 <bits/timerfd.h>.
2998 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
2999 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3000 bits/timerfd.h.
3001
5ad91f6e
JM
30022012-02-20 Joseph Myers <joseph@codesourcery.com>
3003
3004 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
3005 in C locale.
3006 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
3007 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
3008 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
3009 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3010
06b99b02
AJ
30112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
3012
3013 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3014 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
3015
7638c0fd
AS
30162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
3017
3018 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
3019 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
3020 defined.
3021 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
3022 Likewise.
3023 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
3024 entry for 2.16.
3025
92221550
AJ
30262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
3027
3028 * math/w_acos.c: Use non-signaling floating-point comparisons.
3029 * math/w_acosf.c: Likewise.
3030 * math/w_acosh.c: Likewise.
3031 * math/w_acoshf.c: Likewise.
3032 * math/w_acoshl.c: Likewise.
3033 * math/w_acosl.c: Likewise.
3034 * math/w_asin.c: Likewise.
3035 * math/w_asinf.c: Likewise.
3036 * math/w_asinl.c: Likewise.
3037 * math/w_atanh.c: Likewise.
3038 * math/w_atanhf.c: Likewise.
3039 * math/w_atanhl.c: Likewise.
3040 * math/w_exp2.c: Likewise.
3041 * math/w_exp2f.c: Likewise.
3042 * math/w_exp2l.c: Likewise.
3043 * math/w_j0.c: Likewise.
3044 * math/w_j0f.c: Likewise.
3045 * math/w_j0l.c: Likewise.
3046 * math/w_j1.c: Likewise.
3047 * math/w_j1f.c: Likewise.
3048 * math/w_j1l.c: Likewise.
3049 * math/w_jn.c: Likewise.
3050 * math/w_jnf.c: Likewise.
3051 * math/w_log.c: Likewise.
3052 * math/w_log10.c: Likewise.
3053 * math/w_log10f.c: Likewise.
3054 * math/w_log10l.c: Likewise.
3055 * math/w_log2.c: Likewise.
3056 * math/w_log2f.c: Likewise.
3057 * math/w_log2l.c: Likewise.
3058 * math/w_logf.c: Likewise.
3059 * math/w_logl.c: Likewise.
3060 * math/w_sqrt.c: Likewise.
3061 * math/w_sqrtf.c: Likewise.
3062 * math/w_sqrtl.c: Likewise.
3063 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
3064 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
3065 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
3066 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
3067 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
3068
ebaf36eb
JM
30692012-02-19 Joseph Myers <joseph@codesourcery.com>
3070
3071 [BZ #9739]
3072 * manual/string.texi (strnlen): Use correct parameter name in
3073 equivalent expression.
3074
71c254a6
JM
30752012-02-19 Joseph Myers <joseph@codesourcery.com>
3076
3077 [BZ #11174]
3078 * manual/users.texi (seteuid): Consistently use neweuid for
3079 argument name.
3080
16d2c631
JM
30812012-02-19 Joseph Myers <joseph@codesourcery.com>
3082
3083 [BZ #13704]
3084 * manual/nss.texi (Services in the NSS configuration): Correct
3085 list of services in example configuration file.
3086
cd837b09
NB
30872012-02-19 Nick Bowler <nbowler@draconx.ca>
3088
3089 [BZ #11322]
3090 * manual/arith.texi: Remove statements about negative zero
3091 behaving identically to zero.
3092
02c4bbad
JM
30932012-02-18 Joseph Myers <joseph@codesourcery.com>
3094
3095 [BZ #5993]
3096 * manual/install.texi: Do not document upgrading from libc5.
3097
366842e7
JM
30982012-02-18 Joseph Myers <joseph@codesourcery.com>
3099
3100 [BZ #4596]
3101 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
3102
dd54084d
DM
31032012-02-18 David S. Miller <davem@davemloft.net>
3104
3105 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
3106 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
3107 %o7 across the call.
3108 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
3109 instead.
3110 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
3111 SETUP_PIC_REG_LEAF.
3112 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3113 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
3114 * sysdeps/sparc/crtn.S: Likewise.
3115
2bcc53a3
UD
31162012-02-17 Ulrich Drepper <drepper@gmail.com>
3117
3118 * aout/Makefile: Remove.
3119
09c093b5
RK
31202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
3121
3122 [BZ #13058]
3123 * manual/examples/argp-ex1.c (main): Format definition in GNU
3124 style.
3125 * manual/examples/argp-ex2.c (main): Likewise.
3126 * manual/examples/argp-ex3.c (main): Likewise.
3127 * manual/examples/argp-ex4.c (main): Likewise.
3128 * manual/examples/longopt.c (main): Use new-style prototype
3129 definition.
3130 * manual/examples/strncat.c (main): Specify return type and use
3131 (void) for arguments.
3132 * manual/examples/subopt.c (main): Use char **argv argument.
3133
2ee633a2
JM
31342012-02-17 Joseph Myers <joseph@codesourcery.com>
3135
3136 [BZ #5077]
3137 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
3138 rounding modes.
3139
0520adde
FB
31402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
3141
3142 [BZ #6907]
3143 * manual/string.texi (strchr): Change when strchrnul is
3144 recommended.
3145
3f4081cd
DGM
31462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
3147
3148 [BZ #174]
3149 * manual/locale.texi (setlocale): Document LOCPATH.
3150
d1b10e78
JM
31512012-02-17 Joseph Myers <joseph@codesourcery.com>
3152
3153 [BZ #10210]
3154 * manual/process.texi (execle): Move @dots{} before last argument.
3155
79c6869c
PB
31562012-02-17 Paul Bolle <pebolle@tiscali.nl>
3157
3158 [BZ #12047]
3159 * manual/charset.texi (Generic Charset Conversion): Fix typo
3160 (LC_TYPE -> LC_CTYPE).
3161
cc6e48bc
NB
31622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
3163
3164 [BZ #5805]
3165 * manual/arith.texi (scalbn): Use @var{} on parameter names.
3166 (scalbnf): Likewise.
3167 (scalbnl): Likewise.
3168 (scalbln): Likewise.
3169 (scalblnf): Likewise.
3170 (scalblnl): Likewise.
3171 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
3172 (vwarnx): Likewise.
3173 (verr): Likewise.
3174 (verrx): Likewise.
3175 * manual/filesys.texi (telldir): Use braces around return type.
3176 * manual/llio.texi (mmap): Add space after comma.
3177 (mmap64): Likewise.
3178 * manual/math.texi (jn): Use @var{} on parameter names.
3179 (jnf): Likewise.
3180 (jnl): Likewise.
3181 (yn): Likewise.
3182 (ynf): Likewise.
3183 (ynl): Likewise.
3184 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
3185 line.
3186 * manual/resource.texi (ulimit): Use @dots{} instead of literal
3187 "...".
3188 (sched_get_priority_min): Remove semicolon on @deftypefun line.
3189 (sched_get_priority_max): Likewise.
3190 * manual/signal.texi (sigvec): Add space after comma.
3191 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
3192 names.
3193 (if_indextoname): Likewise.
3194 (if_freenameindex): Likewise.
3195 (sendto): Use ',' instead of '.' in prototype.
3196 * manual/startup.texi (syscall): Use @dots{} instead of literal
3197 "...".
3198 * manual/stdio.texi (__fpending): Separate initial words of
3199 paragraph from @deftypefun line.
3200 * manual/syslog.texi (syslog): Use @dots{} instead of literal
3201 "...".
3202 (vsyslog): Use @var{} on parameter names.
3203 * manual/terminal.texi (stty): Use @var{} on parameter names.
3204 * manual/users.texi (getutmp): Use @var{} on parameter names.
3205 (getutmpx): Likewise.
3206
5b23062f
JM
32072012-02-17 Joseph Myers <joseph@codesourcery.com>
3208
3209 [BZ #6884]
3210 * manual/stdio.texi (fopen): Fix typos in description of
3211 ",ccs=STRING".
3212
8dee4833
AJ
32132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
3214
3215 [BZ #4026]
3216 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
3217 get clock_id definition.
3218
9078ce93
TS
32192012-02-17 Thomas Schwinge <thomas@schwinge.name>
3220
3221 [BZ #4822]
3222 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
3223 (madvise): Cast every argument to void on its own.
3224
3835c55f
JM
32252012-02-17 Joseph Myers <joseph@codesourcery.com>
3226
3227 [BZ #9902]
3228 * manual/startup.texi (Exit Status): Fix typo.
3229
35c47e37
JM
32302012-02-17 Joseph Myers <joseph@codesourcery.com>
3231
3232 [BZ #10140]
3233 * manual/examples/argp-ex1.c: Include <stdlib.h>.
3234 * manual/examples/argp-ex2.c: Likewise.
3235 * manual/examples/argp-ex3.c: Likewise.
3236
e3b69ca7
RH
32372012-02-16 Richard Henderson <rth@redhat.com>
3238
3239 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
3240 * sysdeps/s390/s390-32/initfini.c: Remove.
3241 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
3242 * sysdeps/s390/s390-64/initfini.c: Remove.
3243
df83af67
KK
32442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3245
3246 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
3247 compiler output for sysdeps/generic/initfini.c.
3248 * sysdeps/sh/elf/initfini.c: Remove file.
3249
f63f3380
DM
32502012-02-16 David S. Miller <davem@davemloft.net>
3251
fb59b3a4
DM
3252 [BZ #11494]
3253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
3254
f63f3380
DM
3255 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
3256 * sysdeps/sparc/crti.S: New file.
3257 * sysdeps/sparc/crtn.S: New file.
3258 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
3259 * sysdeps/sparc/sparc64/Makefile: Likewise.
3260
df6a4a4a
MF
32612012-02-15 Mike Frysinger <vapier@gentoo.org>
3262
6dd8f3dc 3263 [BZ #3335]
df6a4a4a
MF
3264 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
3265
1cac7236
RM
32662012-02-15 Roland McGrath <roland@hack.frob.com>
3267
d2c736f8
RM
3268 [BZ #4822]
3269 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
3270
1cac7236
RM
3271 * mach/devstream.c (cookie_io_functions_t): Macro removed.
3272 (write, read, close): Likewise.
3273 Patch by Aurelien Jarno <aurelien@aurel32.net>.
3274
8e475601
JM
32752012-02-15 Joseph Myers <joseph@codesourcery.com>
3276
3277 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
3278 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
3279 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
3280 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
3281 <bits/signalfd.h>.
3282 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
3283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3284 bits/signalfd.h.
3285
ed656b40
MP
32862012-02-14 Marek Polacek <polacek@redhat.com>
3287
3288 * sysdeps/x86_64/crti.S: New file.
3289 * sysdeps/x86_64/crtn.S: New file.
3290 * sysdeps/x86_64/elf/initfini.c: Remove file.
3291
2a979d3a
JM
32922012-02-13 Joseph Myers <joseph@codesourcery.com>
3293
3294 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
3295 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
3296 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
3297 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
3298 <bits/inotify.h>.
3299 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
3300 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3301 bits/inotify.h.
3302
2a418ac3
JM
33032012-02-13 Joseph Myers <joseph@codesourcery.com>
3304
3305 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
3306 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
3307 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
3308 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
3309 <bits/eventfd.h>.
3310 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
3311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
3312 bits/eventfd.h.
3313
fb779be7
TS
33142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
3315
e19e83c5
RM
3316 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
3317 __feraiseexcept instead of feraiseexcept.
7c35ffed 3318
fb779be7
TS
3319 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
3320 nanosleep invocations.
3321 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
3322 strings, and add error checking for a nanosleep invocations.
3323
59ba27a6
PE
33242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
3325
3326 Replace FSF snail mail address with URLs, as per GNU coding standards.
3327 Most of the snail mail addresses were wrong anyway, and omitting
3328 them makes the source code easier to maintain. Almost all of the
3329 changes are to license notices and to locale LC_IDENTIFICATION
3330 addresses, except for this one:
3331 * manual/libc.texinfo: In "Published by", give the FSF's URL,
3332 not its snail mail address.
3333
57b957eb
RH
33342012-02-09 Richard Henderson <rth@twiddle.net>
3335
af850b1c
RH
3336 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
3337 of kernel-features.h.
3338
57b957eb
RH
3339 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
3340
6b73181a
MP
33412012-02-08 Marek Polacek <polacek@redhat.com>
3342
3343 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
3344 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
3345 * sysdeps/gnu/_G_config.h: Likewise.
3346 * sysdeps/generic/_G_config.h: Likewise.
3347
26ecc33a
AS
33482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
3349
6c6dbc63
AS
3350 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
3351 tests.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
e216c012
AS
3354 * sysdeps/powerpc/powerpc32/crti.S: New file.
3355 * sysdeps/powerpc/powerpc32/crtn.S: New file.
3356 * sysdeps/powerpc/powerpc64/crti.S: New file.
3357 * sysdeps/powerpc/powerpc64/crtn.S: New file.
3358
26ecc33a
AS
3359 * Makeconfig (have-initfini): Don't set.
3360 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
3361 * configure.in (nopic_initfini): Don't substitute.
3362 * config.h.in (HAVE_INITFINI): Don't #undef.
3363 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
3364 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
3365
3add8e13
JM
33662012-02-08 Joseph Myers <joseph@codesourcery.com>
3367
3368 Support crti.S and crtn.S provided directly by architectures.
3369 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
3370 [crti.S in sysdirs] (omit-deps): Likewise.
3371 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
3372 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
3373 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
3374 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
3375 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
3376 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
3377 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
3378 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
3379 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
3380 compiler output for sysdeps/generic/initfini.c.
3381 * sysdeps/i386/elf/Makefile: Remove file.
3382 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
3383
a22f12b4
MP
33842012-02-07 Marek Polacek <polacek@redhat.com>
3385
3386 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
3387 * sysdeps/gnu/_G_config.h: Likewise.
3388 * sysdeps/mach/hurd/_G_config.h: Likewise.
3389
148cf100
MP
33902012-02-07 Marek Polacek <polacek@redhat.com>
3391
3392 * math/Makefile (tests): Add tst-CMPLX2.
3393 * math/tst-CMPLX2.c: New file.
3394
cfdc0dd7
AS
33952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
3396
84ba42c4
AS
3397 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
3398
cfdc0dd7
AS
3399 * math/libm-test.inc (jn_test): Add missing L suffix.
3400
622c86f4
MP
34012012-02-06 Marek Polacek <polacek@redhat.com>
3402
3403 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
3404 * sysdeps/i386/fpu/e_powf.S: Likewise.
3405 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
3406 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3407 * sysdeps/i386/fpu/e_acosh.S: Likewise.
3408 * sysdeps/i386/fpu/e_pow.S: Likewise.
3409 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
3410 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
3411 * sysdeps/i386/fpu/s_expm1.S: Likewise.
3412 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
3413 * sysdeps/i386/fpu/e_log2.S: Likewise.
3414 * sysdeps/i386/fpu/e_log2l.S: Likewise.
3415 * sysdeps/i386/fpu/e_scalb.S: Likewise.
3416 * sysdeps/i386/fpu/e_powl.S: Likewise.
3417 * sysdeps/i386/fpu/s_log1p.S: Likewise.
3418 * sysdeps/i386/fpu/e_log10f.S: Likewise.
3419 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
3420 * sysdeps/i386/fpu/e_logl.S: Likewise.
3421 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
3422 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
3423 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
3424 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
3425 * sysdeps/i386/fpu/e_log2f.S: Likewise.
3426 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
3427 * sysdeps/i386/fpu/e_log.S: Likewise.
3428 * sysdeps/i386/fpu/s_cexp.S: Likewise.
3429 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
3430 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
3431 * sysdeps/i386/fpu/e_logf.S: Likewise.
3432 * sysdeps/i386/fpu/e_log10l.S: Likewise.
3433 * sysdeps/i386/fpu/e_atanh.S: Likewise.
3434 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
3435 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
3436 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3437 * sysdeps/i386/fpu/e_log10.S: Likewise.
3438 * sysdeps/i386/fpu/s_frexp.S: Likewise.
3439 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
3440 * sysdeps/i386/fpu/s_asinh.S: Likewise.
3441 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
3442 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
3443 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
3444 * sysdeps/i386/asm-syntax.h: Likewise.
3445 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
3446 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
3447 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
3448 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
3449 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
3450 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
3451 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
3452 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
3453 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
3454 * sysdeps/powerpc/sysdep.h: Likewise.
3455 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
3456 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
3457
d4a54ac6
JM
34582012-02-06 Joseph Myers <joseph@codesourcery.com>
3459
3460 [BZ #411]
3461 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
3462
314054ea
JM
34632012-02-06 Joseph Myers <joseph@codesourcery.com>
3464
3465 * sysdeps/i386/sysdep.h: Include <features.h>.
3466 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
3467 version.
3468
d8e0ca50
JM
34692012-02-05 Joseph Myers <joseph@codesourcery.com>
3470
3471 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
3472 Define.
3473 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
3474 LOAD_PIC_REG_STR.
3475
b1da7dd9
JM
34762012-02-03 Joseph Myers <joseph@codesourcery.com>
3477
3478 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
3479 (SETUP_PIC_REG): Use GET_PC_THUNK.
3480 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
3481 macro.
3482
9a1d9254
JM
34832012-02-03 Joseph Myers <joseph@codesourcery.com>
3484
3485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
3486 for non-PIC compilation.
3487 (SETUP_PIC_REG): Add .p2align directive.
3488 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
3489 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3491 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3492 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3494 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3495 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3496 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3497 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3498 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3499 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3500 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3501 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3502 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3503 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3504 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3505 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3506 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3507 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3508 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3509 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3510 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3511 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3512 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3513 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3514 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3515 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3516 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3517 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3518 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3519 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3520 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3521 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3522 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3523 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3524 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3525 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3526 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3527 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3528 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3529
65dc3b75
JM
35302012-02-03 Joseph Myers <joseph@codesourcery.com>
3531
3532 * math/tst-CMPLX.c: Include <stdio.h>.
3533
d55bf177
JM
35342012-01-31 Joseph Myers <joseph@codesourcery.com>
3535
3536 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
3537 float.
3538 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3539 * sysdeps/sparc/bits/mathdef.h: Likewise.
3540
69db4f8f
MP
35412012-01-31 Marek Polacek <polacek@redhat.com>
3542
3543 * libio/libio.h: Don't define _PARAMS.
3544 * locale/programs/config.h: Don't define PARAMS.
3545 * stdlib/strtol_l.c: Likewise.
3546 (__strtol_l): Remove PARAMS from the prototype.
3547
41b81892
UD
35482012-01-31 Ulrich Drepper <drepper@gmail.com>
3549
3b49edc0
UD
3550 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
3551 names. Just use the correct names. Remove unnecessary wrapper
3552 functions.
3553 * malloc/arena.c: Likewise.
3554 * malloc/hooks.c: Likewise.
3555
41b81892
UD
3556 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
3557 ARENA_TEST says not to. Simplify test for creation of a new arena.
3558 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
3559
27a25b6e
UD
35602012-01-30 Ulrich Drepper <drepper@gmail.com>
3561
3562 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
3563 into tail calls.
3564 (update_get_addr): New function.
3565 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
3566 GET_ADDR_MODULE parameter.
3567
c8a89e7d
JM
35682012-01-30 Joseph Myers <joseph@codesourcery.com>
3569
3570 * crypt/cert.c: Remove __STDC__ conditionals.
3571 * crypt/crypt-entry.c: Likewise.
3572 * crypt/crypt_util.c: Likewise.
3573 * libio/filedoalloc.c: Likewise.
3574 * libio/fileops.c: Likewise.
3575 * libio/genops.c: Likewise.
3576 * libio/iofclose.c: Likewise.
3577 * libio/iofdopen.c: Likewise.
3578 * libio/iofopen.c: Likewise.
3579 * libio/iofopen64.c: Likewise.
3580 * libio/iogetdelim.c: Likewise.
3581 * libio/iopopen.c: Likewise.
3582 * libio/obprintf.c: Likewise.
3583 * libio/oldfileops.c: Likewise.
3584 * libio/oldiofclose.c: Likewise.
3585 * libio/oldiofdopen.c: Likewise.
3586 * libio/oldiofopen.c: Likewise.
3587 * libio/oldiopopen.c: Likewise.
3588 * libio/wfiledoalloc.c: Likewise.
3589 * libio/wgenops.c: Likewise.
3590 * locale/programs/xmalloc.c: Likewise.
3591 * misc/syslog.c: Likewise.
3592 * stdio-common/xbug.c: Likewise.
3593 * string/memchr.c: Likewise.
3594 * string/memcmp.c: Likewise.
3595 * string/memrchr.c: Likewise.
3596 * string/rawmemchr.c: Likewise.
3597 * sysdeps/posix/getcwd.c: Likewise.
3598 * time/strftime_l.c: Likewise.
3599
3b100462
JM
36002012-01-30 Joseph Myers <joseph@codesourcery.com>
3601
3602 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
3603 * config.make.in (config-cflags-sse2avx): Define.
3604 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
3605 Fix typo.
3606
607998af
CM
36072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
3608
3609 * scripts/config.guess: Update from upstream config git repository.
3610 * scripts/config.sub: Likewise.
3611
3601428f
CM
36122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
3613
3ac8b282
CM
3614 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
3615 (EM_NUM): Update.
3616 (R_TILEPRO_*, R_TILEGX_*): New macros.
3617
e034841e
CM
3618 * scripts/firstversions.awk: Fix bug in version range handling.
3619
540d7568
CM
3620 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
3621
3601428f
CM
3622 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
3623
463de862
CM
3624 * include/sys/epoll.h: New file.
3625 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
3626 libc_hidden_def.
3627
73139a76
UD
36282012-01-28 Ulrich Drepper <drepper@gmail.com>
3629
96bc5b45
UD
3630 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
3631 Avoid unnecessary __WORDSIZE == 64 test.
3632 (fmaxf): Use VEX format if possible.
3633 (fmax): Likewise.
3634 (fminf): Likewise.
3635 (fmin): Likewise.
3636
56f6f6a2
UD
3637 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
3638 * math/math_private.h: Remove libc_fegetround* and
3639 libc_fesetround*.
3640 * sysdeps/i386/configure.in: Check for -msse2avx.
3641 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
3642 also if SSE2AVX is defined.
3643 Remove libc_fegetround* and libc_fesetround*.
3644 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
3645 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
3646 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
3647 of HAS_YMM_USABLE.
3648 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3649 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3650 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3651 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3652 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3653
73139a76
UD
3654 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
3655
d73f93a4
AZ
36562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3657
3658 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
3659 size is not set.
3660 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
3661
6ee65ed6
UD
36622012-01-27 Ulrich Drepper <drepper@gmail.com>
3663
3664 [BZ #13618]
3665 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
3666 relocation.
3667 * Makeconfig (libm): Define.
3668 * elf/Makefile: Add rules to build and run tst-relsort1.
3669 * elf/tst-relsort1.c: New file.
3670 * elf/tst-relsort1mod1.c: New file.
3671 * elf/tst-relsort1mod2.c: New file.
3672
8db21882
JM
36732012-01-27 Joseph Myers <joseph@codesourcery.com>
3674
3675 * math/s_ldexp.c: Remove __STDC__ conditionals.
3676 * math/s_ldexpf.c: Likewise.
3677 * math/s_ldexpl.c: Likewise.
3678 * math/s_nextafter.c: Likewise.
3679 * math/s_nexttowardf.c: Likewise.
3680 * math/s_significand.c: Likewise.
3681 * math/s_significandf.c: Likewise.
3682 * math/s_significandl.c: Likewise.
3683 * math/w_jnl.c: Likewise.
3684 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
3685 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
3686 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
3687 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
3688 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
3689 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3690 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
3691 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
3692 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3693 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
3694 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
3695 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
3696 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
3697 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
3698 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
3699 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
3700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
3701 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
3702 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
3703 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
3704 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
3705 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
3706 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
3707 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
3708 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
3709 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
3710 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
3711 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
3712 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
3713 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
3714 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
3715 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
3716 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
3717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
3718 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
3719 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
3720 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
3721 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
3722 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
3723 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
3724 * sysdeps/ieee754/k_standard.c: Likewise.
3725 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3726 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3727 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3728 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
3729 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
3730 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3731 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3732 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
3733 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
3734 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
3735 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3736 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
3737 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
3738 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
3739 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
3740 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3741 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3742 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
3743 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
3744 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
3745 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3746 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3749 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3750 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
3751 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
3752 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
3753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
3754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
3755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
3756 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
3757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
3759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
3760 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
3761 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
3762 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3763 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
3764 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
3765 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
3786 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
3791 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
3792 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
3799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
3800 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
3803 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
3804 * sysdeps/ieee754/s_matherr.c: Likewise.
3805 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
3806 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
3807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
3808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
3809
965a54a4
JM
38102012-01-26 Joseph Myers <joseph@codesourcery.com>
3811
3812 * crypt/md5.h: Remove __STDC__ conditionals.
3813 * libio/libioP.h: Likewise.
3814 * locale/programs/config.h: Likewise.
3815 * sysdeps/generic/sysdep.h: Likewise.
3816 * sysdeps/i386/asm-syntax.h: Likewise.
3817 * sysdeps/s390/asm-syntax.h: Likewise.
3818 * sysdeps/unix/sysdep.h: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3821
7071ad79
JM
38222012-01-26 Joseph Myers <joseph@codesourcery.com>
3823
3824 * libio/libio.h: Remove __STDC__ conditionals.
3825 * malloc/obstack.h: Likewise.
3826 * math/complex.h: Likewise.
3827 * math/math.h: Likewise.
3828 * sysdeps/generic/_G_config.h: Likewise.
3829 * sysdeps/gnu/_G_config.h: Likewise.
3830 * sysdeps/mach/hurd/_G_config.h: Likewise.
3831 * sysdeps/powerpc/bits/mathdef.h: Likewise.
3832 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3833 * sysdeps/sparc/bits/mathdef.h: Likewise.
3834
afc5ed09
UD
38352012-01-26 Ulrich Drepper <drepper@gmail.com>
3836
3837 [BZ #13583]
3838 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 3839 Clean up HAS_* macros.
afc5ed09 3840 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
3841 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
3842 possible.
3843 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
3844 HAS_AVX.
3845 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3846 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3847 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3848 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3849 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 3850
bdb6de1d
JM
38512012-01-25 Joseph Myers <joseph@codesourcery.com>
3852
3853 * elf/tst-unique3.cc (gets): Remove declaration.
3854 * elf/tst-unique3lib.cc (gets): Likewise.
3855 * elf/tst-unique3lib2.cc (gets): Likewise.
3856 * elf/tst-unique4.cc (gets): Likewise.
3857
b15549e6
UD
38582012-01-24 Ulrich Drepper <drepper@gmail.com>
3859
3860 * include/stdio.h: Add C++ protection. Add gets declarations and
3861 definitions.
3862 * debug/tst-chk1.c: Don't declare gets here.
3863 * stdio-common/tst-gets.c: Likewise.
3864
a037381f
JM
38652012-01-24 Joseph Myers <joseph@codesourcery.com>
3866
3867 * posix/glob: Remove directory.
3868
f1d4aa75
JM
38692012-01-24 Joseph Myers <joseph@codesourcery.com>
3870
3871 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
3872
81c0c964
PT
38732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
3874
3875 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
3876 of the non-standard EPFNOSUPPORT.
3877
0ea698ae
ST
38782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
3879
3880 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
3881 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
3882 ANYWHERE set to 1 only on KERN_NO_SPACE error.
3883
d220b117
UD
38842012-01-21 Ulrich Drepper <drepper@gmail.com>
3885
3886 * wcsmbs/uchar.h: Test __STDC_VERSION__.
3887
3e1aa84e
UD
38882012-01-20 Ulrich Drepper <drepper@gmail.com>
3889
3890 * nscd/aicache.c (addhstaiX): Do not cache negative results of
3891 transient errors.
3892 * nscd/grpcache.c (cache_addgr): Likewise.
3893 * nscd/hstcache.c (cache_addhst): Likewise.
3894 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3895 * nscd/pwdcache.c (cache_addpw): Likewise.
3896 * nscd/servicescache.c (cache_addserv): Likewise.
3897
400aa020
UD
38982012-01-16 Ulrich Drepper <drepper@gmail.com>
3899
d77e7869
UD
3900 * malloc/malloc.c: Various cleanups.
3901 * malloc/hooks.c: Likewise.
3902
400aa020
UD
3903 * stdlib/Makefile (tests): Add bug-fmtmsg1.
3904 * stdlib/bug-fmtmsg1.c: New file.
3905
3906 * stdlib/fmtmsg.c (init): Add missing unlock.
3907 Patch by Peng Haitao <penght@cn.fujitsu.com>.
3908
e0a309cf
MP
39092012-01-12 Marek Polacek <polacek@redhat.com>
3910
3911 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
3912 and _GNU_SOURCE.
3913
929d11c7
WS
39142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
3915
3916 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
3917 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
3918 macro to ensure uniqueness of label name.
3919 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
3920 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
3921
41d0e869
UD
39222012-01-11 Ulrich Drepper <drepper@gmail.com>
3923
0cc5ed3b
UD
3924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
3925
41d0e869
UD
3926 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
3927 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
3928 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
3929 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
3930
a47a831a
UD
39312012-01-10 Ulrich Drepper <drepper@gmail.com>
3932
daa891c0
UD
3933 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
3934
3935 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
3936 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
3937 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
3938
e58ef0f2
UD
3939 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
3940
a47a831a 3941 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
3942 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
3943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 3944 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
3945
3946 * math/bits/math-finite.h: Add ldexp support.
3947
a0bfc9c7
MP
39482012-01-10 Marek Polacek <polacek@redhat.com>
3949
3950 * locale/programs/localedef.h (show_archive_content): Add noreturn
3951 attribute.
3952
d6e97a1d
UD
39532012-01-09 Ulrich Drepper <drepper@gmail.com>
3954
3955 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
3956
d5835c26
UD
39572012-01-08 Ulrich Drepper <drepper@gmail.com>
3958
e5f484c6
UD
3959 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
3960
d5835c26
UD
3961 * io/Makefile (headers): Add bits/poll2.h.
3962
d1f741e9
WS
39632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
3964
3965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
3966 typo #include statement.
3967
ec09c1c4
UD
39682012-01-08 Ulrich Drepper <drepper@gmail.com>
3969
3970 * include/sys/cdefs.h: Define __attribute_alloc_size.
3971 * catgets/gencat.c: Add alloc_size attribute and apply consistently
3972 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
3973 * elf/pldd.c: Likewise.
3974 * iconv/iconv_charmap.c: Likewise.
3975 * iconv/iconvconfig.c: Likewise.
3976 * iconv/strtab.c: Likewise.
3977 * locale/programs/locale.c: Likewise.
3978 * locale/programs/localedef.h: Likewise.
3979 * locale/programs/simple-hash.c: Likewise.
3980 * nscd/nscd.h: Likewise.
3981 * nss/makedb.c: Likewise.
3982 * sysdeps/generic/ldconfig.h: Likewise.
3983 * locale/programs/localedef.c: Remove xmalloc prototype.
3984 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
3985
20b38e03
PP
39862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
3987
3988 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
3989 appropriate.
3990
a0da5fe1
UD
39912012-01-08 Ulrich Drepper <drepper@gmail.com>
3992
1d5a644a 3993 * math/Makefile (tests): Add tst-CMPLX.
669704fd 3994 * math/tst-CMPLX.c: New file.
1d5a644a 3995
8784a6db
UD
3996 * math/complex.h (CMPLXL): Fix typo.
3997
d9a216c0
UD
3998 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
3999 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
4000 GLIBC_2.16.
4001 * debug/tst-chk1.c: Add poll and ppoll tests.
4002 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
4003 * include/sys/poll.h: Add hidden proto for ppoll.
4004 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
4005 * sysdeps/mach/hurd/ppoll.c: Likewise.
4006 * io/ppoll.c: Likewise.
4007 * debug/poll_chk.c: New file.
4008 * debug/ppoll_chk.c: New file.
4009 * include/bits/poll2.h: New file.
4010 * io/bits/poll2.h: New file.
4011
ac097f5c
UD
4012 [BZ #1350]
4013 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
4014
2119dcfa
UD
4015 * configure.in: static is always set to yes. Remove.
4016 * config.make.in: Don't set build-static.
4017 * Makeconfig: Remove use of build-static.
4018 * dlfcn/Makefile: Likewise.
4019 * elf/Makefile: Likewise.
4020 * math/Makefile: Likewise.
4021 * misc/Makefile: Likewise.
4022 * nptl/Makefile: Likewise.
4023 * sysdeps/mach/hurd/Makefile: Likewise.
4024
121766a9
UD
4025 * configure.in: PWD_P is not used anymore.
4026 * config.make.in: Remove PWD_P entry.
4027
51a1d39c 4028 * configure.in: Remove last remnants of RANLIB.
8720d066 4029 No need to check for signed size_t anymore.
215f4bdc
UD
4030 Don't set libc_commonpagesize and libc_relro_required here for Alpha
4031 and IA-64.
3857022a 4032 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
4033 * aclocal.m4: Likewise.
4034
d3ed7225
UD
4035 * wcsmbs/mbrtoc16.c: Implement using towc function.
4036 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
4037 * wcsmbs/wcsmbsload.c: Likewise.
4038 * iconv/gconv_simple.c: Likewise.
4039 * iconv/gconv_int.h: Likewise.
4040 * iconv/gconv_builtin.h: Likewise.
4041 * iconv/iconv_prog.c: Remove CHAR16 handling.
4042
4043 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
4044
4045 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
4046
a0da5fe1
UD
4047 * configure.in: Remove --with-elf and --enable-bounded options.
4048 Dont set base_machine for ia64. More non-ELF conditions removed.
4049 Remove testing and setting of leading underscore information.
4050 * config.make.in (build-bounded): Set to no.
4051 * config.h.in: Remove NO_UNDERSCORES entry.
4052 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
4053 them.
4054 * csu/start.c: Remove !NO_UNDERSCORE code.
4055 * locale/localeinfo.h: Likewise.
4056 * sysdeps/generic/machine-gmon.h: Likewise.
4057 * sysdeps/generic/sysdep.h: Likewise.
4058 * sysdeps/i386/sysdep.h: Likewise.
4059 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4060 * sysdeps/mach/sysdep.h: Likewise.
4061 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4062 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4063 * sysdeps/sh/sysdep.h: Likewise.
4064 * sysdeps/sparc/sparc32/alloca.S: Likewise.
4065 * sysdeps/unix/i386/sysdep.S: Likewise.
4066 * sysdeps/unix/sparc/start.c: Likewise.
4067 * sysdeps/unix/sparc/sysdep.S: Likewise.
4068 * sysdeps/unix/sparc/sysdep.h: Likewise.
4069 * sysdeps/unix/start.c: Likewise.
4070 * sysdeps/unix/x86_64/sysdep.S: Likewise.
4071 * sysdeps/x86_64/sysdep.h: Likewise.
4072
df78418a
UD
40732012-01-07 Ulrich Drepper <drepper@gmail.com>
4074
a784e502
UD
4075 [BZ #13553]
4076 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
4077 for non-gcc.
4078 * argp/argp-fmtstream.h: Use const instead __const.
4079 * argp/argp.h: Likewise.
4080 * assert/assert.h: Likewise.
4081 * bits/fenv.h: Likewise.
4082 * bits/sched.h: Likewise.
4083 * bits/sigset.h: Likewise.
4084 * bits/sigthread.h: Likewise.
4085 * catgets/nl_types.h: Likewise.
4086 * conform/data/pthread.h-data: Likewise.
4087 * crypt/crypt-private.h: Likewise.
4088 * crypt/crypt.h: Likewise.
4089 * crypt/crypt_util.c: Likewise.
4090 * ctype/ctype.h: Likewise.
4091 * debug/execinfo.h: Likewise.
4092 * debug/mbsnrtowcs_chk.c: Likewise.
4093 * debug/mbsrtowcs_chk.c: Likewise.
4094 * debug/wcsnrtombs_chk.c: Likewise.
4095 * debug/wcsrtombs_chk.c: Likewise.
4096 * debug/wcstombs_chk.c: Likewise.
4097 * dirent/dirent.h: Likewise.
4098 * dlfcn/dlfcn.h: Likewise.
4099 * elf/neededtest4.c: Likewise.
4100 * grp/grp.h: Likewise.
4101 * gshadow/gshadow.h: Likewise.
4102 * iconv/gconv.h: Likewise.
4103 * iconv/gconv_int.h: Likewise.
4104 * iconv/gconv_simple.c: Likewise.
4105 * iconv/iconv.h: Likewise.
4106 * iconv/loop.c: Likewise.
4107 * iconv/skeleton.c: Likewise.
4108 * include/aio.h: Likewise.
4109 * include/aliases.h: Likewise.
4110 * include/argz.h: Likewise.
4111 * include/arpa/inet.h: Likewise.
4112 * include/assert.h: Likewise.
4113 * include/dirent.h: Likewise.
4114 * include/dlfcn.h: Likewise.
4115 * include/execinfo.h: Likewise.
4116 * include/fcntl.h: Likewise.
4117 * include/fenv.h: Likewise.
4118 * include/glob.h: Likewise.
4119 * include/grp.h: Likewise.
4120 * include/libintl.h: Likewise.
4121 * include/mntent.h: Likewise.
4122 * include/netdb.h: Likewise.
4123 * include/pwd.h: Likewise.
4124 * include/rpc/netdb.h: Likewise.
4125 * include/sched.h: Likewise.
4126 * include/search.h: Likewise.
4127 * include/shadow.h: Likewise.
4128 * include/signal.h: Likewise.
4129 * include/stdio.h: Likewise.
4130 * include/stdlib.h: Likewise.
4131 * include/string.h: Likewise.
4132 * include/sys/socket.h: Likewise.
4133 * include/sys/stat.h: Likewise.
4134 * include/sys/statfs.h: Likewise.
4135 * include/sys/statvfs.h: Likewise.
4136 * include/sys/syslog.h: Likewise.
4137 * include/sys/time.h: Likewise.
4138 * include/sys/uio.h: Likewise.
4139 * include/time.h: Likewise.
4140 * include/unistd.h: Likewise.
4141 * include/utmp.h: Likewise.
4142 * include/wchar.h: Likewise.
4143 * include/wctype.h: Likewise.
4144 * inet/aliases.h: Likewise.
4145 * inet/arpa/inet.h: Likewise.
4146 * inet/netinet/ether.h: Likewise.
4147 * inet/netinet/in.h: Likewise.
4148 * intl/libintl.h: Likewise.
4149 * io/bits/fcntl2.h: Likewise.
4150 * io/fcntl.h: Likewise.
4151 * io/ftw.h: Likewise.
4152 * io/sys/poll.h: Likewise.
4153 * io/sys/stat.h: Likewise.
4154 * io/sys/statfs.h: Likewise.
4155 * io/sys/statvfs.h: Likewise.
4156 * io/utime.h: Likewise.
4157 * libio/bits/stdio.h: Likewise.
4158 * libio/bits/stdio2.h: Likewise.
4159 * libio/libio.h: Likewise.
4160 * libio/libioP.h: Likewise.
4161 * libio/stdio.h: Likewise.
4162 * locale/lc-ctype.c: Likewise.
4163 * locale/locale.h: Likewise.
4164 * login/utmp.h: Likewise.
4165 * malloc/arena.c: Likewise.
4166 * malloc/malloc.c: Likewise.
4167 * malloc/malloc.h: Likewise.
4168 * malloc/mcheck.c: Likewise.
4169 * malloc/mtrace.c: Likewise.
4170 * math/bits/mathcalls.h: Likewise.
4171 * math/fenv.h: Likewise.
4172 * math/math_private.h: Likewise.
4173 * misc/bits/error.h: Likewise.
4174 * misc/bits/syslog.h: Likewise.
4175 * misc/err.h: Likewise.
4176 * misc/error.h: Likewise.
4177 * misc/fstab.h: Likewise.
4178 * misc/mntent.h: Likewise.
4179 * misc/regexp.h: Likewise.
4180 * misc/search.h: Likewise.
4181 * misc/sgtty.h: Likewise.
4182 * misc/sys/mman.h: Likewise.
4183 * misc/sys/syslog.h: Likewise.
4184 * misc/sys/uio.h: Likewise.
4185 * misc/sys/xattr.h: Likewise.
4186 * misc/ttyent.h: Likewise.
4187 * nis/rpcsvc/ypclnt.h: Likewise.
4188 * nss/nss.h: Likewise.
4189 * posix/bits/unistd.h: Likewise.
4190 * posix/fnmatch.h: Likewise.
4191 * posix/glob.h: Likewise.
4192 * posix/sched.h: Likewise.
4193 * posix/spawn.h: Likewise.
4194 * posix/sys/wait.h: Likewise.
4195 * posix/unistd.h: Likewise.
4196 * posix/wordexp.h: Likewise.
4197 * pwd/pwd.h: Likewise.
4198 * resolv/netdb.h: Likewise.
4199 * resource/sys/resource.h: Likewise.
4200 * rt/aio.h: Likewise.
4201 * rt/bits/mqueue2.h: Likewise.
4202 * rt/mqueue.h: Likewise.
4203 * shadow/shadow.h: Likewise.
4204 * signal/signal.h: Likewise.
4205 * socket/send.c: Likewise.
4206 * socket/sendto.c: Likewise.
4207 * socket/sys/socket.h: Likewise.
4208 * stdio-common/printf.h: Likewise.
4209 * stdlib/bits/stdlib.h: Likewise.
4210 * stdlib/fmtmsg.h: Likewise.
4211 * stdlib/monetary.h: Likewise.
4212 * stdlib/stdlib.h: Likewise.
4213 * stdlib/ucontext.h: Likewise.
4214 * streams/stropts.h: Likewise.
4215 * string/argz.h: Likewise.
4216 * string/bits/string2.h: Likewise.
4217 * string/string.h: Likewise.
4218 * string/strings.h: Likewise.
4219 * sunrpc/rpc/auth.h: Likewise.
4220 * sunrpc/rpc/auth_des.h: Likewise.
4221 * sunrpc/rpc/clnt.h: Likewise.
4222 * sunrpc/rpc/netdb.h: Likewise.
4223 * sunrpc/rpc/pmap_clnt.h: Likewise.
4224 * sunrpc/rpc/xdr.h: Likewise.
4225 * sysdeps/generic/inttypes.h: Likewise.
4226 * sysdeps/generic/net/if.h: Likewise.
4227 * sysdeps/generic/sys/swap.h: Likewise.
4228 * sysdeps/gnu/net/if.h: Likewise.
4229 * sysdeps/gnu/utmpx.h: Likewise.
4230 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
4231 * sysdeps/i386/i486/bits/string.h: Likewise.
4232 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
4233 * sysdeps/s390/bits/string.h: Likewise.
4234 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
4235 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
4236 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
4237 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
4238 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
4239 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
4240 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
4241 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
4242 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
4243 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
4244 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
4245 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4246 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
4247 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4248 * sysdeps/unix/sysv/linux/readv.c: Likewise.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
4251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
4252 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4253 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4254 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4255 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
4256 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
4257 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
4258 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
4259 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
4260 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
4261 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4262 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
4263 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
4264 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
4265 * sysvipc/sys/ipc.h: Likewise.
4266 * sysvipc/sys/msg.h: Likewise.
4267 * sysvipc/sys/sem.h: Likewise.
4268 * sysvipc/sys/shm.h: Likewise.
4269 * termios/termios.h: Likewise.
4270 * time/sys/time.h: Likewise.
4271 * time/time.h: Likewise.
4272 * wcsmbs/bits/wchar2.h: Likewise.
4273 * wcsmbs/uchar.h: Likewise.
4274 * wcsmbs/wchar.h: Likewise.
4275 * wctype/wctype.h: Likewise.
4276
0269750c
UD
4277 [BZ #13551]
4278 * Makeconfig: Remove all but ELF support including AIX support.
4279 * Makerules: Likewise.
4280 * config.h.in: Likewise.
4281 * config.make.in: Likewise.
4282 * configure: Likewise.
4283 * configure.in: Likewise.
4284 * csu/Makefile: Likewise.
4285 * csu/version.c: Likewise.
4286 * debug/Makefile: Likewise.
4287 * dlfcn/Makefile: Likewise.
4288 * elf/Makefile: Likewise.
4289 * extra-lib.mk: Likewise.
4290 * iconv/Makefile: Likewise.
4291 * include/libc-symbols.h: Likewise.
4292 * include/shlib-compat.h: Likewise.
4293 * resolv/Makefile: Likewise.
4294 * resolv/res_libc.c: Likewise.
4295 * rt/Makefile: Likewise.
4296 * sysdeps/i386/asm-syntax.h: Likewise.
4297 * sysdeps/i386/sysdep.h: Likewise.
4298 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
4299 * sysdeps/mach/sysdep.h: Likewise.
4300 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
4301 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
4302 * sysdeps/s390/asm-syntax.h: Likewise.
4303 * sysdeps/s390/s390-32/sysdep.h: Likewise.
4304 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4305 * sysdeps/sh/sysdep.h: Likewise.
4306 * sysdeps/unix/sparc/sysdep.h: Likewise.
4307 * sysdeps/wordsize-32/divdi3.c: Likewise.
4308 * sysdeps/x86_64/sysdep.h: Likewise.
4309
00bbd29b
UD
4310 * argp/Versions: Remove _argp_unlock_xxx.
4311
4312 [BZ #13559]
4313 * abilist/ld.abilist: Update. Adjust for removal of tls option.
4314 * abilist/libBrokenLocale.abilist: Likewise.
4315 * abilist/libanl.abilist: Likewise.
4316 * abilist/libc.abilist: Likewise.
4317 * abilist/libcrypt.abilist: Likewise.
4318 * abilist/libdl.abilist: Likewise.
4319 * abilist/libm.abilist: Likewise.
4320 * abilist/libnsl.abilist: Likewise.
4321 * abilist/libpthread.abilist: Likewise.
4322 * abilist/libresolv.abilist: Likewise.
4323 * abilist/librt.abilist: Likewise.
4324 * abilist/libthread_db.abilist: Likewise.
4325 * abilist/libutil.abilist: Likewise.
4326 * abilist/libnss_db.abilist: New file.
4327
4328 * scripts/abilist.awk: Add support for indirect functions.
4329
a2693a0e
UD
4330 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
4331
3f05895f
UD
4332 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
4333
ecb6fb48
UD
4334 * shlib-versions: Remove entries for ports architectures.
4335
664f8cb9
UD
4336 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
4337 files in ports.
4338 * elf/stackguard-macros.h: Remove support for IA-64.
4339 * elf/tst-auditmod1.c: Likewise.
4340 * sysdeps/generic/ldsodefs.h: Likewise.
4341
7ae81d88
UD
4342 * sysdeps/unix/sysv/linux/configure.in: Ports should define
4343 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
4344 configure files.
4345
bdeba135
UD
4346 [BZ #13552]
4347 * configure.in: Remove --enable-omitfp support.
4348 * FAQ.in: Adjust.
4349 * config.make.in: Likewise.
4350 * Makeconfig: Likewise.
4351 * manual/install.texi: Likewise.
4352
d75a0a62
UD
4353 In case anyone cares, the IA-64 architecture could move to ports.
4354 * sysdeps/ia64/*: Removed.
4355 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 4356 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 4357
dcc9756b
UD
4358 [BZ #13555]
4359 * configure.in: Remove entries for unsupported architectures.
4360
d3761ebc 4361 [BZ #13533]
9954432e
UD
4362 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
4363 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
4364 routines.
4365 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
4366 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
4367 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
4368 fall back to using wcrtomb.
4369 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
4370 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
4371 renaming.
4372 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
4373 * wcsmbs/tst-c16c32-1.c: New file.
4374
4375 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
4376 local variable.
4377
c3a87236
UD
4378 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
4379
28926a1b
UD
4380 * elf/tst-unique3.cc: Add explicit declaration of gets.
4381 * elf/tst-unique3lib.cc: Likewise.
4382 * elf/tst-unique3lib2.cc: Likewise.
4383 * elf/tst-unique4.cc: Likewise.
4384
df78418a
UD
4385 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
4386
8ecd6b2a
JM
43872012-01-06 Joseph Myers <joseph@codesourcery.com>
4388
4389 [BZ #13566]
4390 * assert/assert.h (static_assert): Don't define for C++.
4391 * libio/stdio.h (gets): Do declare for C++ <= C++11.
4392 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
4393
9f115170
UD
43942012-01-03 Ulrich Drepper <drepper@gmail.com>
4395
5e0d0300
UD
4396 * iconv/loop.c (single loop): Fix assertion in storing of
4397 remaining bytes.
4398
9f115170
UD
4399 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
4400
81fb02b0
UD
44012012-01-01 Ulrich Drepper <drepper@gmail.com>
4402
4403 * posix/getconf.c: Update copyright year.
4404 * nss/getent.c: Likewise.
a316c1f6 4405 * nss/makedb.c: Likewise.
81fb02b0
UD
4406 * iconv/iconvconfig.c: Likewise.
4407 * iconv/iconv_prog.c: Likewise.
4408 * elf/ldconfig.c: Likewise.
a316c1f6
UD
4409 * elf/pldd.c: Likewise.
4410 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
4411 * catgets/gencat.c: Likewise.
4412 * csu/version.c: Likewise.
4413 * elf/ldd.bash.in: Likewise.
4414 * elf/sprof.c (print_version): Likewise.
4415 * locale/programs/locale.c: Likewise.
4416 * locale/programs/localedef.c: Likewise.
a316c1f6 4417 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
4418 * nscd/nscd.c (print_version): Likewise.
4419 * debug/xtrace.sh: Likewise.
4420 * malloc/memusage.sh: Likewise.
4421 * malloc/mtrace.pl: Likewise.
4422 * debug/catchsegv.sh: Likewise.
4423
2ba92745
JJ
44242011-12-30 Jakub Jelinek <jakub@redhat.com>
4425
4426 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
4427 pure attribute.
4428
dadebdae
UD
44292011-12-24 Ulrich Drepper <drepper@gmail.com>
4430
d3761ebc 4431 [BZ #13533]
db6af3eb
UD
4432 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
4433 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
4434 transformations.
4435 * iconv/gconv_int.h: Likewise.
4436 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
4437 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
4438 from libc for GLIBC_2.16.
4439 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
4440 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
4441 * wcsmbs/uchar.h: Really define mbstate_t.
4442 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
4443 * wcsmbs/c16rtomb.c: New file.
4444 * wcsmbs/mbrtoc16.c: New file.
4445 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
4446 for C/POSIX locale.
4447 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
4448 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
4449
dadebdae
UD
4450 * wcsmbs/wchar.h: Add missing __restrict.
4451
67371b56
UD
44522011-12-23 Ulrich Drepper <drepper@gmail.com>
4453
74033a25
UD
4454 [BZ #13532]
4455 * time/Makefile (routines): Add timespec_get.
4456 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
4457 * time/time.h: Define TIME_UTC and declare timespec_get. Define
4458 timespec for ISO C11.
4459 * time/timespec_get.c: New file.
4460 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
4461 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
4462
380d7e87
UD
4463 [BZ #13531]
4464 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
4465 * stdlib/stdlib.h: Declare aligned_alloc.
4466 * Versions.def: Add GLIBC_2.16 for libc.
4467 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
4468
4e9e7a35
UD
4469 [BZ 13527]
4470 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
4471 ISO C11.
4472
380d7e87 4473 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
4474 code.
4475
03a71829
UD
4476 [BZ #13528]
4477 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
4478
839e283e
UD
4479 [BZ #13529]
4480 * assert/assert.h (static_assert): Define.
4481
ce5294e2 4482 * version.h: Update for 2.16 development version.
90fa7312 4483
8d44e150 4484 [BZ #13526]
d7809905
UD
4485 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
4486 _ISOC11_SOURCE.
4487
c0da14cd
UD
4488 * version.h (RELEASE): Bump for 2.15 release.
4489 * include/features.h (__GLIBC_MINOR__): Bump to 15.
4490
530a3249
MP
4491 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
4492 Patch by Marek Polacek <mpolacek@redhat.com>.
4493
67371b56
UD
4494 * bits/byteswap.h: Protect long long constants with __extension__.
4495 * sysdeps/i386/bits/byteswap.h: Likewise.
4496 * sysdeps/ia64/bits/byteswap.h: Likewise.
4497 * sysdeps/s390/bits/byteswap.h: Likewise.
4498 * sysdeps/x86_64/bits/byteswap.h: Likewise.
4499
15db4de1
LD
45002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4501
4502 [BZ #13540]
bbe315ea
LD
4503 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
4504 destination buffer.
15db4de1
LD
4505 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4506
2b2596b1
MP
45072011-12-23 Marek Polacek <polacek@redhat.com>
4508
4509 * elf/dl-addr.c (determine_info): Add inline keyword.
4510 * elf/tst-auditmod4b.c (check_avx): Likewise.
4511 * elf/tst-auditmod6b.c (check_avx): Likewise.
4512 * elf/tst-auditmod6c.c (check_avx): Likewise.
4513 * elf/tst-auditmod7b.c (check_avx): Likewise.
4514
70c6c246
UD
45152011-12-23 Ulrich Drepper <drepper@gmail.com>
4516
4517 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
4518 !__SSE_MATH__.
4519
c044cf14
LD
45202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4521
15db4de1 4522 [BZ #13540]
c044cf14
LD
4523 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
4524 processing for last bytes.
4525
6b13d9d9
BH
45262011-08-06 Bruno Haible <bruno@clisp.org>
4527
d455f537
BH
4528 [BZ #13061]
4529 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
4530 U+0385, not to U+1FEE.
4531
6b13d9d9
BH
4532 [BZ #13062]
4533 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
4534 entry for U+00A5 U+0301.
4535
db910efd
UD
45362011-12-22 Ulrich Drepper <drepper@gmail.com>
4537
27deeafc
UD
4538 [BZ #13166]
4539 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
4540 buffer for the output is too small.
4541
aed9d171
UD
4542 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
4543 optimization.
4544
db910efd
UD
4545 [BZ #13185]
4546 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
4547 SSE flags if possible.
4548
2bd779ae
LD
45492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4550
e7f9dac3 4551 [BZ #13540]
2bd779ae
LD
4552 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
4553 processing for last bytes.
4554
154bfc16
JM
45552011-12-22 Joseph Myers <joseph@codesourcery.com>
4556
4557 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
4558 (syscall-list-default-options, syscall-list-default-condition)
4559 (syscall-list-includes): Define.
4560 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
4561 list of ABIs and options and #if conditions for each ABI. Do not
4562 handle common syscalls between ABIs specially.
4563 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
4564 Remove.
4565 (syscall-list-variants, syscall-list-32bit-options)
4566 (syscall-list-32bit-condition, syscall-list-64bit-options)
4567 (syscall-list-64bit-condition): Define.
4568 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
4569 (syscall-list-variants, syscall-list-32bit-options)
4570 (syscall-list-32bit-condition, syscall-list-64bit-options)
4571 (syscall-list-64bit-condition): Define.
4572 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
4573 Remove.
4574 (syscall-list-variants, syscall-list-32bit-options)
4575 (syscall-list-32bit-condition, syscall-list-64bit-options)
4576 (syscall-list-64bit-condition): Define.
4577 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
4578 Remove.
4579 (syscall-list-variants, syscall-list-32bit-options)
4580 (syscall-list-32bit-condition, syscall-list-64bit-options)
4581 (syscall-list-64bit-condition): Define.
4582
21eaf3a5
UD
45832011-12-22 Ulrich Drepper <drepper@gmail.com>
4584
16c6f992
UD
4585 * locale/iso-639.def: Add brx entry.
4586
41043168
UD
4587 [BZ #13328]
4588 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
4589 Proposed by Mariusz_Cukr <marcukr@op.pl>.
4590
21eaf3a5
UD
4591 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
4592 __feraiseexcept_renamed.
4593
e3a851a2
UD
45942011-12-21 Ulrich Drepper <drepper@gmail.com>
4595
4920765e
UD
4596 [BZ #13538]
4597 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
4598 EPOLLET with unsigned values.
4599 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
4600 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
4601
e3a851a2
UD
4602 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
4603 to large cancellation.
4604 * math/s_cacoshf.c: Likewise.
4605 * math/s_cacoshl.c: Likewise.
4606
b27e24b8
RK
46072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
4608
4609 [BZ #13305]
aebefeee 4610 [BZ #12786]
b27e24b8
RK
4611 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
4612 * math/s_cacoshf.c: Likewise.
4613 * math/s_cacoshl.c: Likewise.
4614
ee190f67
UD
46152011-12-21 Ulrich Drepper <drepper@gmail.com>
4616
4617 [BZ #13439]
4618 * iconv/gconv.h: Define __GCONV_SWAP.
4619 * iconvdata/unicode.c: The swap bit must be stored in __flags.
4620 * iconvdata/utf-16.c: Likewise.
4621 * iconvdata/utf-32.c: Likewise.
4622
707f25df
AS
46232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
4624
4625 [BZ #13524]
4626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
4627 numerator after shifting it by one limb.
4628
d2daaa1e
RÁE
46292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
4630
4631 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
4632 under [__USE_EXTERN_INLINES].
4633
a4647e72
UD
46342011-12-17 Ulrich Drepper <drepper@gmail.com>
4635
4636 [BZ #13446]
4637 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
4638
f0b264f1
AZ
46392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4640
4641 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
4642 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
4643 optimized code.
4644 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
4645 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
4646 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
4647 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
4648 for strncasecmp/strncasecmp_l compilation.
4649 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
4650 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
4651
8ef4f244
MP
46522011-12-08 Marek Polacek <mpolacek@redhat.com>
4653
4654 [BZ #13484]
4655 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
4656 of __asm__.
4657
97ac2654
UD
46582011-12-17 Ulrich Drepper <drepper@gmail.com>
4659
4660 [BZ #13506]
4661 * time/tzfile.c (__tzfile_read): Check values from file header.
4662
91d2a845
WS
46632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
4664
4665 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
4666 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
4667 * powerpc/powerpc32/dl-start.S: Likewise.
4668 * powerpc/powerpc32/elf/start.S: Likewise.
4669 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4670 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
4671 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
4672 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
4673 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
4674 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
4675 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
4676 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4677 * powerpc/powerpc32/fpu/s_round.S: Likewise.
4678 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
4679 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
4680 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
4681 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4682 * powerpc/powerpc32/memset.S: Likewise.
4683 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
4684 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
4685 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
4686 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
4687 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
4688 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4689 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4690 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4691 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
4692 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
4693 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
4694 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
4695 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
4696
a1267ba1
AZ
46972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4698
4699 * math/libm-test.inc: Added more nearbyint tests.
4700 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
4701 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
4702 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
4703 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
4704
ad8ac1bd
RL
47052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
4706
4707 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
4708 FD_CLOEXEC.
4709
1d3e4b61
UD
47102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4711
4712 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
4713 Add wcscpy-ssse3 wcscpy-c.
4714 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
4715 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
4716 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
4717 * sysdeps/x86_64/wcschr.S: New file.
4718 * sysdeps/x86_64/wcsrchr.S: New file.
4719 * string/test-strcmp.c: Remove checking of wcscmp function for
4720 wrong alignments.
4721 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
4722 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
4723 wcsrchr-sse2 wcsrchr-c.
4724 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
4725 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
4726 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
4727 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
4728 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
4729 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
4730 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
4731 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
4732 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
4733 * wcsmbc/wcschr.c (WCSCHR): New macro.
4734
5b330a2d
UD
47352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
4736
4737 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
4738 * wcsmbs/test-wcsrchr.c: New file.
4739 * string/test-strrchr.c: Add wcsrchr support.
4740 (WIDE): New macro.
4741 * wcsmbs/test-wcscpy.c: New file.
4742 * string/test-strcpy.c: Add wcscpy support.
4743 (WIDE): New macro.
26428b7c 4744
f039c043
UD
47452011-12-10 Ulrich Drepper <drepper@gmail.com>
4746
4747 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
4748 the inner loop.
4749
850fb039
AS
47502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
4751
4752 [BZ #13472]
4753 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
4754
4efbd5cb
UD
47552011-12-04 Ulrich Drepper <drepper@gmail.com>
4756
52ff5dd0 4757 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 4758 Minor optimizations.
52ff5dd0 4759
4efbd5cb
UD
4760 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
4761 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
4762 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
4763
8a426e12
UD
47642011-12-03 Ulrich Drepper <drepper@gmail.com>
4765
aff2453d
UD
4766 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
4767 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
4768 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
4769 for gcc to avoid warnings.
4770 * inet/Makefile (tests): Add tst-checks.
4771 * inet/tst-checks.c: New file.
4772
4773 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
4774 warning.
4775
4776 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
4777 __wmemcmp_sse2.
4778
4779 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
4780 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
4781
8a426e12
UD
4782 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
4783
9bea3473
UD
47842011-12-02 Ulrich Drepper <drepper@gmail.com>
4785
3a965496
UD
4786 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
4787 problem.
4788
9bea3473
UD
4789 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
4790
f101631b
UD
47912011-11-29 Joseph Myers <joseph@codesourcery.com>
4792
4793 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
4794 conditional on GCC version.
4795 (__arch_compare_and_exchange_val_8_acq)
4796 (__arch_compare_and_exchange_val_16_acq)
4797 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
4798 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
4799 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
4800
a98275aa
UD
48012011-12-02 Joseph Myers <joseph@codesourcery.com>
4802
4803 * sysdeps/sh/backtrace.c: New file.
4804
d4cc29a2
AS
48052011-12-02 Andreas Schwab <schwab@redhat.com>
4806
4807 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
4808 parenthesis.
4809
6257af2d
AS
48102011-12-01 Andreas Schwab <schwab@redhat.com>
4811
4812 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
4813 falling back to utime.
4814
b5f44c1a
AS
48152011-11-30 Andreas Schwab <schwab@redhat.com>
4816
4817 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
4818 expectations for float.
4819
f3a6cc0a
AS
48202011-11-29 Andreas Schwab <schwab@redhat.com>
4821
4822 * locale/weight.h (findidx): Add parameter len.
4823 * locale/weightwc.h (findidx): Likewise.
4824 * posix/fnmatch_loop.c (FCT): Adjust caller.
4825 * posix/regcomp.c (build_equiv_class): Likewise.
4826 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
4827 * posix/regexec.c (check_node_accept_bytes): Likewise.
4828 * string/strcoll_l.c (STRCOLL): Likewise.
4829 * string/strxfrm_l.c (STRXFRM): Likewise.
4830
9d65ea3a
UD
48312011-11-17 Ulrich Drepper <drepper@gmail.com>
4832
4833 * Makefile.in: Remove CVSOPT handling.
4834 * configure.in: Remove use of AC_REVISION.
4835 * iconvdata/Makefile (distribute): No need to filter out CVS.
4836 * scripts/list-sources.sh: Remove CVS, subversion and monotone
4837 handling.
4838
5583a086
AS
48392011-11-16 Andreas Schwab <schwab@redhat.com>
4840
4841 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
4842 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
4843 [USE_AS_STRNCASECMP_L]: Likewise.
4844 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
4845 NO_TLS_DIRECT_SEG_REFS.
4846 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
4847 Fix argument offsets for non-PIC.
4848 [USE_AS_STRNCASECMP_L]: Likewise.
4849 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
4850 NO_TLS_DIRECT_SEG_REFS.
4851
d62a8200
UD
48522011-11-15 Ulrich Drepper <drepper@gmail.com>
4853
9d65ea3a 4854 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
4855 O_CLOEXEC.
4856 * locale/loadlocale.c (_nl_load_locale): Likewise.
4857
09f93bd3
AS
48582011-11-15 Andreas Schwab <schwab@redhat.com>
4859
446514f9
AS
4860 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
4861 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
4862 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
4863 (SYSCALL_GETTIME): Set errno on error.
4864
09f93bd3
AS
4865 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
4866 count references to noai6ai_cached.
4867
312be3f9
UD
48682011-11-15 Ulrich Drepper <drepper@gmail.com>
4869
4870 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
4871
4872 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
4873 FD_CLOEXEC for /proc/self/maps.
4874
4875 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
4876 FD_CLOEXEC for /proc/meminfo.
4877
4878 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
4879 gai.conf.
4880
4881 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
4882 FD_CLOEXEC for given file.
4883
4884 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
4885
4886 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
4887 FD_CLOEXEC for /etc/hosts.
4888 (_gethtent): Likewise.
4889
4890 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
4891
4892 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
4893 cancellation and set FD_CLOEXEC for /etc/netgroup.
4894
4895 * nss/nss_files/files-key.c (search): Don't allow cancellation when
4896 reading /etc/publickey.
4897
4898 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
4899 allow cancellation when reading /etc/group.
4900
4901 * nss/nss_files/files-alias.c (internal_setent): Don't allow
4902 cancellation.
4903 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
4904
4905 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
4906 when using data file.
4907
4908 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
4909
4910 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
4911 (write_nis_obj): Use "c" and "e" in fopen.
4912
4913 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
4914
4915 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
4916
4917 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
4918
4919 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
4920
4921 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
4922 locale.alias.
4923
4924 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
4925
4926 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
4927
4928 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
4929
4930 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
4931 file parsing and set FD_CLOEXEC.
4932
82af0fa8
UD
49332011-11-14 Ulrich Drepper <drepper@gmail.com>
4934
4935 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
4936
a5fb313c
AS
49372011-11-14 Andreas Schwab <schwab@redhat.com>
4938
4939 * malloc/arena.c (arena_get2): Don't call reused_arena when
4940 _int_new_arena failed.
4941
6abf3465
UD
49422011-11-14 Ulrich Drepper <drepper@gmail.com>
4943
4944 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
4945 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
4946 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
4947 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4948 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4949 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
4950 to compile strcasecmp and strncasecmp.
4951 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
4952 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
4953
4954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
4955
76e3966e
UD
49562011-11-13 Ulrich Drepper <drepper@gmail.com>
4957
4958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
4959 locale-defines.sym to gen-as-const-headers.
4960 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
4961 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
4962 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
4963 to compile strcasecmp and strncasecmp.
4964 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
4965 strcasecmp_l and strncasecmp_l.
4966 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
4967 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
4968 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
4969 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
4970 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
4971 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
4972 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
4973 * sysdeps/i386/i686/multiarch/strncase.S: New file.
4974 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
4975 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
4976 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
4977
ab26144e
UD
49782011-11-12 Ulrich Drepper <drepper@gmail.com>
4979
7edb22ef
UD
4980 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
4981 result of SYSDEP_GETTIME_CPU to retval.
4982 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
4983 parameter list to macro. Remove trailing semicolon. Adjust users.
4984
9694fc44
UD
4985 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
4986 variable.
4987
8ad89ef8
UD
4988 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
4989 mantissa words.
4990 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
4991
0c822ef9
UD
4992 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
4993 from unused variable.
4994
874e0564
UD
4995 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
4996 DWARF definitions.
4997 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
4998 for assembling.
4999
3a2edc79
UD
5000 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
5001 over namespaces.
5002
f3c2577f
UD
5003 * sunrpc/rpc_prot.c (rejected): Fix case value.
5004
294ce126
UD
5005 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
5006 unsigned long long int to avoid warnings in shift.
5007
5e2b63c6
UD
5008 * posix/regex_internal.c (re_string_reconstruct): Actually use result
5009 of use of trans.
5010 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
5011 variable tmp.
5012
e7f4b08e
UD
5013 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
5014 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5015 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5016
ab26144e
UD
5017 * nis/nis_table.c (nis_list): Use variable of correct type for
5018 result of __follow_path call.
5019
8a6d5255
AZ
50202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5021
5022 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
5023 of math functions ceil, trunc, floor, round, and sqrt, when
5024 avaliable on the platform.
5025 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
5026 name clash.
5027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
5028 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
5029 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
5030
aaddc98c
MP
50312011-10-30 Marek Polacek <mpolacek@redhat.com>
5032
5033 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
5034 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
5035
95b7042b
RM
50362011-11-11 Roland McGrath <roland@hack.frob.com>
5037
5038 * include/unistd.h: Fix __readlink return type.
5039 Reported by Chris Metcalf <cmetcalf@tilera.com>.
5040
57769839
UD
50412011-11-11 Ulrich Drepper <drepper@gmail.com>
5042
5043 * stdlib/ucontext.h: Undo last change for makecontext.
5044
edc5984d
AS
50452011-11-11 Andreas Schwab <schwab@redhat.com>
5046
98591e58
AS
5047 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
5048
edc5984d
AS
5049 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
5050 * setjmp/setjmp.h: Mark functions as non-leaf.
5051 * setjmp/bits/setjmp2.h: Likewise.
5052 * stdlib/ucontext.h: Likewise.
5053
77cdc054
AS
50542011-11-10 Andreas Schwab <schwab@redhat.com>
5055
5056 * malloc/arena.c (_int_new_arena): Don't increment narenas.
5057 (reused_arena): Don't check arena limit.
5058 (arena_get2): Atomically check arena limit.
5059
fe72eebd
UD
50602011-11-08 Ulrich Drepper <drepper@gmail.com>
5061
5f078c32
UD
5062 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
5063 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
5064
fe72eebd
UD
5065 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
5066 instructions.
5067
ae1bc2fa
AS
50682011-11-07 Andreas Schwab <schwab@redhat.com>
5069
7583a88d
AS
5070 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
5071 handler when locking.
5072
ae1bc2fa
AS
5073 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
5074 Fix size of allocated buffer.
5075
10fb0bfa
AS
50762011-11-04 Andreas Schwab <schwab@redhat.com>
5077
998832a4
AS
5078 [BZ #10103]
5079 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
5080 declarations for long double functions.
5081 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
5082
10fb0bfa
AS
5083 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
5084
3d7ba52b
AS
50852011-11-03 Andreas Schwab <schwab@redhat.com>
5086
a9ae54a1
AS
5087 * nscd/nscd.c (main): Don't start AVC thread until credentials are
5088 installed.
5089
3d7ba52b
AS
5090 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
5091 is disabled.
5092
bc8db248
ST
50932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
5094
5095 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
5096
45b96dd6
AS
50972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
5098
647776f6
AS
5099 * include/alloca.h (stackinfo_alloca_round): Define.
5100 (extend_alloca): Use it.
5101 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
5102 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
5103 here.
5104
d91a8b93
AS
5105 * scripts/check-local-headers.sh: Ignore libaudit.h.
5106
45b96dd6
AS
5107 * nscd/Makefile (extra-objs): Make recursively expanded.
5108
432d41ce
UD
51092011-11-01 Ulrich Drepper <drepper@gmail.com>
5110
34372fc6
UD
5111 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
5112 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
5113
fadb59f8
UD
5114 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
5115 * posix/tst-rfc3484-2.c: Likewise.
5116 * posix/tst-rfc3484-3.c: Likewise.
5117
78239589
UD
5118 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5119 process_vm_writev.
5120 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
5121 process_vm_writev.
5122 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
5123 process_vm_writev from libc using GLIBC_2.15 version.
5124
432d41ce
UD
5125 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
5126
02f9c6cf
PP
51272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
5128
5129 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
5130 stack usage.
5131
3a2c0242
UD
51322011-10-31 Ulrich Drepper <drepper@gmail.com>
5133
f4ec4833
UD
5134 [BZ #13367]
5135 * nss/getent.c (initgroups_keys): Show error message in case no group
5136 names are given.
5137
3a2c0242
UD
5138 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
5139 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
5140 __bump_nl_timestamp.
5141 * nscd/connections (nscd_init): When host database is served open
5142 netlink socket and request notification about configuration changes.
5143 (main_loop_poll): Track netlink file descriptor and bump timestamp
5144 in case data becomes available.
5145 (main_loop_epoll): Likewise.
5146 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
5147 (database_pers_head): Add extra_data fileds.
5148 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
5149 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
5150 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
5151 Adjust caller.
5152 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
5153 in6ai data, call __free_in6ai.
5154 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
5155 Add -DHAVE_NETLINK.
5156 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
5157 interface information. Reuse previous data if netlink timestamp
5158 is not changed.
5159 (__bump_nl_timestamp): New function.
5160 (__free_in6ai): New function.
5161
636064eb
UD
51622011-10-30 Ulrich Drepper <drepper@gmail.com>
5163
5164 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
5165 close_not_cancel_no_status here.
5166 (__check_pf): Reorganize code a bit to not call close twice if OOM.
5167
9beb2334
UD
51682011-10-29 Ulrich Drepper <drepper@gmail.com>
5169
6ef76f3b
UD
5170 [BZ #13276]
5171 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
5172 return value.
5173
0ffc4f3e 5174 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
5175 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
5176 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
5177
cb95113e
UD
51782011-07-03 Andreas Jaeger <aj@suse.de>
5179
5180 [BZ #10709]
5181 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
5182 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
5183 * math/libm-test.inc (sin_test): Add test case.
5184
a1b560ff
UD
51852011-10-29 Ulrich Drepper <drepper@gmail.com>
5186
c9aaface
UD
5187 [BZ #13337]
5188 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
5189 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5190
d272e7f1
UD
5191 * elf/chroot_canon.c (chroot_canon): Cleanups.
5192
1bc33071
UD
5193 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
5194
1760874d
TJ
5195 [BZ #13335]
5196 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
5197 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
5198
51d91b18
UD
5199 * string/test-strchr.c: Make usable for strchrnul testing.
5200 * string/test-strchrnul.c: New file.
5201 * string/Makefile (strop-tests): Add strchrnul.
5202
a1b560ff 5203 * po/it.po: Update from translation team.
b611fb81 5204 * po/es.po: Likewise.
a1b560ff 5205
a5b81e1f
UD
52062011-10-28 Ulrich Drepper <drepper@gmail.com>
5207
fd52bc6d
UD
5208 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
5209 the three constants needed as parameters. Drop the others.
5210 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
5211 __m128i_strloadu_tolower.
52e4b9eb
UD
5212 Create and initialize variable zero and use it in all the places
5213 where _mm_setzero_si128 was used.
fd52bc6d 5214
a5b81e1f
UD
5215 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
5216 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
5217 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
5218 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
5219 anymore.
5220 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
5221 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
5222 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
5223 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
5224 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
5225 __mpranred, __mptan.
5226 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
5227 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
5228 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
5229 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
5230 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
5231 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
5232 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
5233 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
5234 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
5235
b4343346
AS
52362011-10-28 Andreas Schwab <schwab@redhat.com>
5237
0c92d8a8
AS
5238 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
5239 redefine if SHARED.
5240 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
5241
b4343346
AS
5242 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
5243 wide char related routines to wcsmbs subdir.
5244
3871f58f
AS
52452011-10-27 Andreas Schwab <schwab@redhat.com>
5246
5247 [BZ #13344]
5248 * misc/sys/cdefs.h (__THROWNL): Define.
5249 * posix/unistd.h: Use __THREADNL instead of __THREAD
5250 for memory synchronization functions.
5251
94d44d9f
RM
52522011-10-26 Roland McGrath <roland@hack.frob.com>
5253
21b64b15 5254 [BZ #13349]
94d44d9f
RM
5255 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
5256 doesn't exist.
5257 * manual/stdio.texi (Obstack Streams): Node removed.
5258
f6ce9294
AS
52592011-10-26 Andreas Schwab <schwab@redhat.com>
5260
80479147
AS
5261 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
5262 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5263 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5264
f6ce9294
AS
5265 * math/math_private.h (math_force_eval): Allow non-addressable
5266 arguments.
5267 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
5268
618280a1
UD
52692011-10-25 Ulrich Drepper <drepper@gmail.com>
5270
e0016b11
UD
5271 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
5272 file is not needed.
5273
5274 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
5275 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
5276 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
5277 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
5278 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
5279 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
5280 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
5281 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
5282 Add AVX variants.
5283 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
5284 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
5285 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
5286 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
5287 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
5288 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
5289 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
5290 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
5291 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
5292 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
5293 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
5294 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
5295 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
5296 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
5297 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
5298 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
5299 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
5300 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
5301 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
5302
5303 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
5304 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
5305
618280a1
UD
5306 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
5307 place. Use VEX encoding when compiling for AVX.
5308
37822576
AS
53092011-10-25 Andreas Schwab <schwab@redhat.com>
5310
1f1e1947
AS
5311 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
5312 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5313
37822576
AS
5314 * string/test-strchr.c (do_test): Don't generate NUL bytes.
5315
31ea014d
UD
53162011-10-25 Ulrich Drepper <drepper@gmail.com>
5317
d7826aa1 5318 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 5319 useless if() expression.
d7826aa1
UD
5320 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
5321 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
5322 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
5323 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
5325 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
5326 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5327 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5328 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
5329 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5330 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
5331 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5332 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
5333 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5334 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
5335 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
5336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
5338 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
5339
31ea014d
UD
5340 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
5341
16437fec
AS
53422011-10-25 Andreas Schwab <schwab@redhat.com>
5343
5344 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
5345 condition.
5346 * elf/dl-fini.c (_dl_sort_fini): Likewise.
5347
31d3cc00
UD
53482011-10-25 Ulrich Drepper <drepper@gmail.com>
5349
5350 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
5351 .text section. Avoid duplicate constants.
5352 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
5353 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5354 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
5355 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5356 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5357 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5358 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5359 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5360 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
5361 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
5362 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
5363 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
5364 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
5365 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
5366 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
5367 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
5368 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
5369 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
5370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
5371 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5372 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
5373 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
5374 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
5375 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
5376 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
5377 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
5378 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
5379 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
5380 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
5381 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
5382 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
5383 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
5384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
5385 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
5386 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
5387 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
5388 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
5389 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
5390 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
5391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
5392 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
5393 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
5394 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
5395 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
5396 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
5397
58985aa9
UD
53982011-10-24 Ulrich Drepper <drepper@gmail.com>
5399
202c9deb
UD
5400 * sysdeps/x86_64/dla.h: Move to ...
5401 * sysdeps/x86_64/fpu/dla.h: ...here.
5402 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
5403 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 5404
af968f62
UD
5405 * config.make.in: Add have-mfma4 entry.
5406 * configure.in: Substitute libc_cv_cc_fma4.
5407 * math/Makefile (dbl-only-routines): Add sincostab.
5408 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
5409 Use __sincostab not sincos.
5410 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
5411 name is a macro.
5412 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5415 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
5416 using __copysign.
5417 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
5418 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
5419 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
5420 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
5421 and __inv.
5422 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
5423 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
5424 __copysign.
5425 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
5426 define aliases when function name is a macro.
5427 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
5428 sysdeps/ieee754/dbl-64/sincos.tbl.
5429 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
5430 fma4-enabled routines.
5431 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
5432 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
5433 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
5434 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
5435 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
5436 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
5437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
5438 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
5439 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
5440 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
5441 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
5442 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
5443 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
5444 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
5445 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
5446 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
5447 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
5448 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
5449 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
5450 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
5451 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
5452 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
5453 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
5454 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
5455 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
5456 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
5457 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
5458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
5459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
5460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
5461
58985aa9
UD
5462 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
5463 rename.
5464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5465 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5466 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5467 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5468 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5469 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5470 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5471 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5472
a201fbcf
AS
54732011-10-24 Andreas Schwab <schwab@redhat.com>
5474
5475 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
5476
fc2ee42a
LD
54772011-10-23 Ulrich Drepper <drepper@gmail.com>
5478
bb3129bd
UD
5479 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
5480
0275fff8
UD
5481 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
5482 prediction.
5483 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
5484
2fa2ae85
UD
5485 * string/strnlen.c: Don't define STRNLEN, reverse logic.
5486 Remove unused variable magic_bits.
5487 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
5488
fc2ee42a
LD
5489 * string/strnlen.c: Define and use STRNLEN macro.
5490 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
5491 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
5492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
5493 * wcsmbs/wcslen.c: Define and use WCSLEN.
5494 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
5495 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
5496 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
5497 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
5498 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
5499 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
5500 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
5501
ce7dd29f
LD
55022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5503
5504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5505 strnlen-sse2-no-bsf.
5506 Rename strlen-no-bsf to strlen-sse2-no-bsf.
5507 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
5508 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
5509 Add strnlen support.
5510 (USE_AS_STRNLEN): New macro.
5511 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
5512 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
5513 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
5514 * sysdeps/x86_64/wcslen.S: New file.
5515
979c70a3
MZ
55162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
5517
5518 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
5519 XMM-moves are used for copying on small sizes.
5520
2d09f82f
LD
55212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5522
5523 * wcsmbs/Makefile (strop-tests): Add wcschr.
5524 * wcsmbs/test-wcschr.c: New file.
5525 * string/test-strchr.c: Update.
5526 Add wcschr support.
5527 (WIDE): New macro.
5528
619fccca
LD
55292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5530
2d09f82f 5531 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
5532 * wcsmbs/test-wcslen.c: New file.
5533 * string/test-strlen.c: Update.
5534 Add wcslen support.
5535 (WIDE): New macro.
5536
09f699ea
UD
55372011-10-23 Ulrich Drepper <drepper@gmail.com>
5538
5539 * po/it.po: Update from translation team.
5540
95584d3b
LD
55412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5542
5543 * sysdeps/x86_64/wcscmp.S: Update.
5544 Fix wrong comparison semantics.
5545 wcscmp shall use signed comparison not unsigned.
5546 Don't use substraction to avoid overflow bug.
5547 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5548 * wcsmbc/wcscmp.c: Likewise.
5549 * string/test-strcmp.c: Likewise.
5550 Add new tests to check cases with negative values.
5551
c8b3296b
UD
55522011-10-23 Ulrich Drepper <drepper@gmail.com>
5553
5554 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
5555 * sysdeps/x86_64/dla.h: ...here. New file.
5556 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
5557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5561 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
5562 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5564 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5565
246ad57a
AS
55662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
5567
5568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
5569 __ynl_finite aliases.
5570
a1a87169
UD
55712011-10-22 Ulrich Drepper <drepper@gmail.com>
5572
0d355eb7
UD
5573 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5574
a1a87169
UD
5575 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
5576 define DLA_FMA.
5577 [DLA_FMA] (EMULV): Use DLA_FMA.
5578 [DLA_FMA] (MUL12): Use EMULV.
5579 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
5580 that are not needed.
5581 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
5582 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
5583 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
5584 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
5585 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
5586 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
5587 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
5588
ee2aafe0
AS
55892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
5590
5591 * math/s_nan.c: Undef __nan.
5592 * math/s_nanf.c: Undef __nanf.
5593 * math/s_nanl.c: Undef __nanl.
5594 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
5595 "math_private.h".
5596
bc62c2fb
UD
55972011-10-22 Ulrich Drepper <drepper@gmail.com>
5598
77425c63
UD
5599 * math/s_catan.c: Add branch predictions.
5600 * math/s_catanf.c: Likewise.
5601 * math/s_catanh.c: Likewise.
5602 * math/s_catanhf.c: Likewise.
5603 * math/s_catanhl.c: Likewise.
5604 * math/s_catanl.c: Likewise.
5605 * math/s_cexp.c: Likewise.
5606 * math/s_cexpf.c: Likewise.
5607 * math/s_cexpl.c: Likewise.
5608 * math/s_clog.c: Likewise.
5609 * math/s_clog10.c: Likewise.
5610 * math/s_clog10f.c: Likewise.
5611 * math/s_clog10l.c: Likewise.
5612 * math/s_clogf.c: Likewise.
5613 * math/s_clogl.c: Likewise.
5614 * math/s_csqrt.c: Likewise.
5615 * math/s_csqrtf.c: Likewise.
5616 * math/s_csqrtl.c: Likewise.
5617 * math/s_ctanf.c: Likewise.
5618 * math/s_ctanh.c: Likewise.
5619 * math/s_ctanhf.c: Likewise.
5620 * math/s_ctanhl.c: Likewise.
5621 * math/s_ctanl.c: Likewise.
5622
bc62c2fb
UD
5623 * math/math_private.h: Define __nan, __nanf, __nanl.
5624 * math/s_cacosh.c: Include <math_private.h>.
5625 * math/s_cacoshl.c: Likewise.
5626 * math/s_casinh.c: Likewise.
5627 * math/s_casinhf.c: Likewise.
5628 * math/s_casinhl.c: Likewise.
5629 * math/s_ccos.c: Rely entire on ccosh.
5630 * math/s_ccosf.c: Rely entire on ccoshf.
5631 * math/s_ccosl.c: Rely entirely on ccoshl.
5632 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
5633 Remove tests for FE_INVALID.
5634 * math/s_ccoshf.c: Likewise.
5635 * math/s_ccoshl.c: Likewise.
5636 * math/s_csin.c: Likewise.
5637 * math/s_csinf.c: Likewise.
5638 * math/s_csinh.c Likewise.
5639 * math/s_csinhf.c: Likewise.
5640 * math/s_csinhl.c: Likewise.
5641 * math/s_csinl.c: Likewise.
5642 * math/s_ctan.c: Likewise.
5643 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
5644 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
5645 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
5646
8ec250a4
UD
56472011-10-21 Ulrich Drepper <drepper@gmail.com>
5648
c196fed8
UD
5649 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
5650 compilation problems.
5651
8ec250a4
UD
5652 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
5653 __builtin_expect.
5654
8d4f46c6
UD
56552011-10-20 Ulrich Drepper <drepper@gmail.com>
5656
ed72b654
UD
5657 * sysdeps/i386/configure.in: Test for -mfma4 option.
5658 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
5659 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
5660 COMMON_CPUID_INDEX_80000001.
5661 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
5662 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
5663 use it if FMA3 is not supported.
5664 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
5665
8d4f46c6
UD
5666 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
5667 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
5668
d45c60c2
AS
56692011-10-20 Andreas Schwab <schwab@redhat.com>
5670
5671 [BZ #12892]
5672 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
5673 it would create a cycle with a link time dependency.
5674
d9a4d2ab
UD
56752011-10-19 Ulrich Drepper <drepper@gmail.com>
5676
855d1560
UD
5677 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
5678 instruction.
5679 * string/Makefile (strop-tests): Add rawmemchr.
5680 * string/test-rawmemchr.c: New file.
5681
d9a4d2ab
UD
5682 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
5683 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
5684 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
5685 when compiling str{,n}casecmp and when AVX is available. Hook up
5686 new optimized code in initializers.
5687
8f3b1ffe
AS
56882011-10-19 Andreas Schwab <schwab@redhat.com>
5689
5690 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
5691 __feraiseexcept instead of feraiseexcept.
5692
d38f1dba
UD
56932011-10-18 Ulrich Drepper <drepper@gmail.com>
5694
d9a8d0ab
UD
5695 * math/math_private.h: Define defaults for libc_fetestexcept and
5696 libc_feupdateenv.
5697 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
5698 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
5699 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
5700 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5701 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
5702 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5703 libc_fetestexcept and libc_feupdateenv.
5704
4855e3dd
UD
5705 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
5706 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
5707 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
5708 * sysdeps/x86_64/fpu/math_private.h: Define special version of
5709 libc_feholdexcept_setround.
5710
581d30e3
UD
5711 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
5712 Add s_nearbyint-c and s_nearbyintf-c.
5713 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
5714 nearbyintf inlines.
5715 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
5716 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
5717 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
5718 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
5719
d38f1dba
UD
5720 * math/math_private.h: Define defaults for libc_fegetround,
5721 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
5722 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
5723 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
5724 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
5725 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
5726 standard functions.
5727 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
5728 Remove comments and hacks for old compiler versions.
5729 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
5730 libc_fegetround, libc_fesetround, libc_feholdexcept, and
5731 libc_feholdexceptl.
5732
caa6c9d8
AS
57332011-10-18 Andreas Schwab <schwab@redhat.com>
5734
5735 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
5736 (__feraiseexcept_renamed): Add __NTH.
5737 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
5738 namespace violations.
5739
97c066e6
UD
57402011-10-17 Ulrich Drepper <drepper@gmail.com>
5741
99ce7b04
UD
5742 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
5743
1004d182
UD
5744 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
5745
228a984d
UD
5746 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
5747 recently added interfaces.
5748 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
5749
c8553a6a
UD
5750 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
5751 about macro parameter expansion.
5752
ed22dcf6
UD
5753 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
5754 __NO_MATH_INLINES is defined. Cleanups.
5755
5756 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
5757 and __floorf is target has SSE4.1.
5758 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
5759 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
5760 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
5761 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
5762
b171c137
UD
5763 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
5764 name.
5765 (floorf): Likewise.
5766
97c066e6
UD
5767 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
5768
629f62ef
AS
57692011-10-17 Andreas Schwab <schwab@redhat.com>
5770
49a43d80
AS
5771 * misc/sys/cdefs.h: Fix last change.
5772
629f62ef
AS
5773 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
5774 database lookup.
5775
e453f6cd
UD
57762011-10-16 Ulrich Drepper <drepper@gmail.com>
5777
aa78043a
UD
5778 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
5779
ad0f5cad
UD
5780 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
5781 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
5782 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
5783 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
5784 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
5785 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
5786 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
5787 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
5788 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
5789 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
5790 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
5791 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
5792 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
5793 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
5794 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
5795 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
5796 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
5797 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
5798 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
5799 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
5800 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
5801 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
5802
5803 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
5804 ceil, ceilf, floor, floorf.
5805
5806 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
5807 Perform IRELATIVE relocations last.
5808
e453f6cd
UD
5809 * elf/do-rel.h: Add another parameter nrelative, replacing the
5810 local variable with the same name. Change name of the function
5811 to end in Rel or Rela (uppercase).
5812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
5813 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
5814 elf_dynamic_do_##reloc function.
5815
fd5bdc09
UD
58162011-10-15 Ulrich Drepper <drepper@gmail.com>
5817
79b195b5
UD
5818 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
5819 is sufficient, at least on modern CPUs.
5820
d4a28569
UD
5821 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
5822
b61099b5
UD
5823 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
5824 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
5825
bcf01e6d
UD
5826 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
5827 __expl_finite.
5828 * math/bits/math-finite.h: Add entries for exp.
5829 * math/e_expl.c: Add __*_finite alias.
5830 * sysdeps/i386/fpu/e_exp.S: Likewise.
5831 * sysdeps/i386/fpu/e_expf.S: Likewise.
5832 * sysdeps/i386/fpu/e_expl.c: Likewise.
5833 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
5834 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
5835 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5836 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5837 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
5838 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5839 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5840
ba1a0d59
UD
5841 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
5842 is sufficient, at least on modern CPUs.
5843
fd5bdc09
UD
5844 * ctype/ctype-info.c (__ctype_init): Define.
5845 * include/ctype.h (__ctype_init): Declare.
5846 (__ctype_b_loc): The variable is always initialized.
5847 (__ctype_toupper_loc): Likewise.
5848 (__ctype_tolower_loc): Likewise.
5849 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
5850 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
5851
7872cfb0
AS
58522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
5853
b468825a
AS
5854 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
5855
7872cfb0
AS
5856 * configure.in: Also look in $cxxmachine/include for C++ system
5857 headers.
5858
be13f7bf
LD
58592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5860
5861 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
5862 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
5863 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
5864 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
5865 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
5866 (USE_AS_WMEMCMP): New macro.
5867 Fixing indents.
5868 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
5869 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
5870 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
5871 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
5872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5873 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
5874 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
5875 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
5876 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
5877 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
5878 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
5879 (USE_AS_WMEMCMP): New macro.
5880 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
5881 * sysdeps/string/test-memcmp.c: Update.
5882 Fix simple_wmemcmp.
5883 Add new tests.
5884 * wcsmbs/wmemcmp.c: Update.
5885 (WMEMCMP): New macro.
5886 Fix overflow bug.
5887
556a2007
AJ
58882011-10-12 Andreas Jaeger <aj@suse.de>
5889
5890 [BZ #13268]
5891 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
5892
538faaa7
UD
58932011-10-15 Ulrich Drepper <drepper@gmail.com>
5894
ab6737ff
UD
5895 * libio/iofwide.c (do_length): Avoid warning.
5896
538faaa7
UD
5897 * ctype/ctype.h (__isctype_f): Add missing __THROW.
5898
396a21b1
UD
58992011-10-14 Ulrich Drepper <drepper@gmail.com>
5900
cdf2901f
UD
5901 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
5902
38ad40ce
UD
5903 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
5904 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
5905 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
5906 * sysdeps/i386/i686/fpu/e_log.S: New file.
5907 * sysdeps/i386/i686/fpu/e_logf.S: New file.
5908 * sysdeps/i386/i686/fpu/e_logl.S: New file.
5909
396a21b1
UD
5910 * ctype/ctype.h: Add support for inlined isXXX functions when
5911 compiling C++ code.
5912
6b1f68c9
AS
59132011-10-14 Andreas Schwab <schwab@redhat.com>
5914
349290c0
AS
5915 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5916
6b1f68c9
AS
5917 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
5918
f2282d42
RM
59192011-10-13 Roland McGrath <roland@hack.frob.com>
5920
5921 [BZ #13291]
5922 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
5923
5298ffa8
AS
59242011-10-13 Andreas Schwab <schwab@redhat.com>
5925
714fad23
AS
5926 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
5927 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
5928 feraiseexcept.
5929
81dcc7fb
AS
5930 * sysdeps/x86_64/memrchr.S: Check for zero size.
5931
5298ffa8
AS
5932 * string/stratcliff.c: Add memrchr tests.
5933
951fbcec
LD
59342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
5935
5936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
5937 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
5938 rawmemchr-sse2 rawmemchr-sse2-bsf.
5939 * sysdeps/i386/i686/multiarch/memchr.S: New file.
5940 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
5941 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
5942 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
5943 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
5944 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
5945 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
5946 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
5947 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
5948 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
5949 * string/memrchr.c (MEMRCHR): New macro.
5950
0ac5ae23
UD
59512011-10-12 Ulrich Drepper <drepper@gmail.com>
5952
5953 Add integration with gcc's -ffinite-math-only and optimize wrapper
5954 functions in libm.
5955 * Versions.def: Define GLIBC_2.15 version for libm.
5956 * math/Makefile (headers): Add bits/math-finite.h.
5957 * math/bits/math-finite.h: New file.
5958 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
5959 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
5960 * math/e_acoshl.c: Add __*_finite alias.
5961 * math/e_acosl.c: Likewise.
5962 * math/e_asinl.c: Likewise.
5963 * math/e_atan2l.c: Likewise.
5964 * math/e_atanhl.c: Likewise.
5965 * math/e_coshl.c: Likewise.
5966 * math/e_exp10.c: Likewise.
5967 * math/e_exp10f.c: Likewise.
5968 * math/e_exp10l.c: Likewise.
5969 * math/e_exp2l.c: Likewise.
5970 * math/e_fmodl.c: Likewise.
5971 * math/e_gammal_r.c: Likewise.
5972 * math/e_hypotl.c: Likewise.
5973 * math/e_j0l.c: Likewise.
5974 * math/e_j1l.c: Likewise.
5975 * math/e_jnl.c: Likewise.
5976 * math/e_lgammal_r.c: Likewise.
5977 * math/e_log10l.c: Likewise.
5978 * math/e_log2l.c: Likewise.
5979 * math/e_logl.c: Likewise.
5980 * math/e_powl.c: Likewise.
5981 * math/e_sinhl.c: Likewise.
5982 * math/e_sqrtl.c: Likewise.
5983 * math/e_scalb.c: Completely rewritten and optimized.
5984 * math/e_scalbf.c: Likewise.
5985 * math/e_scalbl.c: Likewise.
5986 * math/w_acos.c: Likewise.
5987 * math/w_acosf.c: Likewise.
5988 * math/w_acosl.c: Likewise.
5989 * math/w_acosh.c: Likewise.
5990 * math/w_acoshf.c: Likewise.
5991 * math/w_acoshl.c: Likewise.
5992 * math/w_asin.c: Likewise.
5993 * math/w_asinf.c: Likewise.
5994 * math/w_asinl.c: Likewise.
5995 * math/w_atan2.c: Likewise.
5996 * math/w_atan2f.c: Likewise.
5997 * math/w_atan2l.c: Likewise.
5998 * math/w_atanh.c: Likewise.
5999 * math/w_atanhf.c: Likewise.
6000 * math/w_atanhl.c: Likewise.
6001 * math/w_exp10.c: Likewise.
6002 * math/w_exp10f.c: Likewise.
6003 * math/w_exp10l.c: Likewise.
6004 * math/w_fmod.c: Likewise.
6005 * math/w_fmodf.c: Likewise.
6006 * math/w_fmodl.c: Likewise.
6007 * math/w_j0.c: Likewise.
6008 * math/w_j0f.c: Likewise.
6009 * math/w_j0l.c: Likewise.
6010 * math/w_j1.c: Likewise.
6011 * math/w_j1f.c: Likewise.
6012 * math/w_j1l.c: Likewise.
6013 * math/w_jn.c: Likewise.
6014 * math/w_jnf.c: Likewise.
6015 * math/w_log.c: Likewise.
6016 * math/w_logf.c: Likewise.
6017 * math/w_logl.c: Likewise.
6018 * math/w_log10.c: Likewise.
6019 * math/w_log10f.c: Likewise.
6020 * math/w_log10l.c: Likewise.
6021 * math/w_log2.c: Likewise.
6022 * math/w_log2f.c: Likewise.
6023 * math/w_log2l.c: Likewise.
6024 * math/w_pow.c: Likewise.
6025 * math/w_powf.c: Likewise.
6026 * math/w_powl.c: Likewise.
6027 * math/w_remainder.c: Likewise.
6028 * math/w_remainderf.c: Likewise.
6029 * math/w_remainderl.c: Likewise.
6030 * math/w_scalb.c: Likewise.
6031 * math/w_scalbf.c: Likewise.
6032 * math/w_scalbl.c: Likewise.
6033 * math/w_sqrt.c: Likewise.
6034 * math/w_sqrtf.c: Likewise.
6035 * math/w_sqrtl.c: Likewise.
6036 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
6037 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
6038 used.
6039 * math/math_private.h: Declare __kernel_standard_f.
6040 * math/w_cosh.c: Remove cruft and optimize a bit.
6041 * math/w_coshf.c: Likewise.
6042 * math/w_coshl.c: Likewise.
6043 * math/w_exp2.c: Likewise.
6044 * math/w_exp2f.c: Likewise.
6045 * math/w_exp2l.c: Likewise.
6046 * math/w_hypot.c: Likewise.
6047 * math/w_hypotf.c: Likewise.
6048 * math/w_hypotl.c: Likewise.
6049 * math/w_lgamma.c: Likewise.
6050 * math/w_lgamma_r.c: Likewise.
6051 * math/w_lgammaf.c: Likewise.
6052 * math/w_lgammaf_r.c: Likewise.
6053 * math/w_lgammal.c: Likewise.
6054 * math/w_lgammal_r.c: Likewise.
6055 * math/w_sinh.c: Likewise.
6056 * math/w_sinhf.c: Likewise.
6057 * math/w_sinhl.c: Likewise.
6058 * math/w_tgamma.c: Likewise.
6059 * math/w_tgammaf.c: Likewise.
6060 * math/w_tgammal.c: Likewise.
6061 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6062 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6063 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
6064 Minor optimizations. Pretty printing. Remove cruft.
6065 * sysdeps/i386/fpu/e_acosf.S: Likewise.
6066 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6067 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6068 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6069 * sysdeps/i386/fpu/e_acosl.c: Likewise.
6070 * sysdeps/i386/fpu/e_asin.S: Likewise.
6071 * sysdeps/i386/fpu/e_asinf.S: Likewise.
6072 * sysdeps/i386/fpu/e_atan2.S: Likewise.
6073 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
6074 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
6075 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6076 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6077 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6078 * sysdeps/i386/fpu/e_exp10.S: Likewise.
6079 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
6080 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
6081 * sysdeps/i386/fpu/e_exp2.S: Likewise.
6082 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
6083 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
6084 * sysdeps/i386/fpu/e_fmod.S: Likewise.
6085 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
6086 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
6087 * sysdeps/i386/fpu/e_hypot.S: Likewise.
6088 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
6089 * sysdeps/i386/fpu/e_log.S: Likewise.
6090 * sysdeps/i386/fpu/e_log10.S: Likewise.
6091 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6092 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6093 * sysdeps/i386/fpu/e_log2.S: Likewise.
6094 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6095 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6096 * sysdeps/i386/fpu/e_logf.S: Likewise.
6097 * sysdeps/i386/fpu/e_logl.S: Likewise.
6098 * sysdeps/i386/fpu/e_pow.S: Likewise.
6099 * sysdeps/i386/fpu/e_powf.S: Likewise.
6100 * sysdeps/i386/fpu/e_powl.S: Likewise.
6101 * sysdeps/i386/fpu/e_remainder.S: Likewise.
6102 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
6103 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
6104 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6105 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6106 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6107 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
6108 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
6109 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
6111 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
6112 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
6113 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
6114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
6115 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
6116 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
6117 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
6118 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
6119 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
6120 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
6121 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
6122 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
6123 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
6124 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
6125 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
6126 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
6127 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
6128 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
6129 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
6130 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
6131 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
6132 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6133 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6134 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
6135 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
6136 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
6137 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
6138 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
6139 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
6140 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
6141 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
6142 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6143 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
6144 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
6145 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
6146 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
6147 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
6148 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
6149 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
6150 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
6151 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
6152 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
6153 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6154 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6155 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6156 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6157 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6158 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
6159 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6160 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6161 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6162 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6163 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6164 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6165 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6166 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6167 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6168 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6169 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6170 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6171 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
6172 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6174 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
6175 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
6176 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
6177 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
6179 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
6180 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
6181 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
6182 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
6183 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
6184 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
6185 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
6186 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
6187 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
6188 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6189 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
6190 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
6191 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
6192 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
6193 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6194 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
6195 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
6196 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6197 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
6198 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
6199 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
6200 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6201 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6202 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6203 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6204 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6205 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
6206 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
6207 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
6208 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
6209 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
6210 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
6211 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
6212 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
6213 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
6214 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6215 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6216 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6217 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6218 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
6219 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6220 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
6221 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
6222 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
6223 (__isnanf): Likewise.
6224 (__isinf_ns): Likewise.
6225 (__isinf_nsf): Likewise.
6226 (__finite): Likewise.
6227 (__finitef): Likewise.
6228 (__ieee754_sqrt): Define as macro.
6229 (__ieee754_sqrtf): Define as macro.
6230 (__ieee754_sqrtl): Define as macro.
6231 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
6232 inlined copy.
6233 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
6234 __FINITE_MATH_ONLY__ consistent.
6235 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
6236
12cc2fcd
AS
62372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
6238
a843a204
AS
6239 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
6240 of rawmemchr.
6241
12cc2fcd
AS
6242 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
6243
c853acd5
UD
62442011-10-09 Ulrich Drepper <drepper@gmail.com>
6245
6246 * po/ja.po: Update from translation team.
6247
c658d255
RM
62482011-10-08 Roland McGrath <roland@hack.frob.com>
6249
110946e4
RM
6250 * locale/programs/locarchive.c (prepare_address_space): New function.
6251 (create_archive, enlarge_archive, open_archive): Use it.
6252
50604220
RM
6253 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
6254 inside [SHARED], where it is used.
6255
c658d255
RM
6256 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
6257
6258 * nss/getent.c (netgroup_keys): Remove unused variable.
6259 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
6260
6a621eb7
UD
62612011-10-08 Ulrich Drepper <drepper@gmail.com>
6262
7edb55ce
UD
6263 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
6264 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
6265 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
6266 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
6267 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
6268 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
6269 * math/Makefile (libm-calls): Add s_isinf_ns.
6270 * math/divtc3.c: Use __isinf_nsl instead of isinf.
6271 * math/multc3.c: Likewise.
6272 * math/s_casin.c: Likewise.
6273 * math/s_casinf.c: Likewise.
6274 * math/s_casinl.c: Likewise.
6275 * math/s_ccos.c: Likewise.
6276 * math/s_ccosf.c: Likewise.
6277 * math/s_ccosl.c: Likewise.
6278 * math/s_ctan.c: Likewise.
6279 * math/s_ctanf.c: Likewise.
6280 * math/s_ctanh.c: Likewise.
6281 * math/s_ctanhf.c: Likewise.
6282 * math/s_ctanhl.c: Likewise.
6283 * math/s_ctanl.c: Likewise.
6284 * math/w_fmod.c: Likewise.
6285 * math/w_fmodf.c: Likewise.
6286 * math/w_fmodl.c: Likewise.
6287 * math/w_remainder.c: Likewise.
6288 * math/w_remainderf.c: Likewise.
6289 * math/w_remainderl.c: Likewise.
6290 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
6291 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
6292 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
6293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
6294 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
6295 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
6296 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
6297 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
6298
187da0ae
UD
6299 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
6300 of the number.
6301 * stdio-common/printf_fphex.c: Likewise.
6302 * stdio-common/printf_size.c: Likewise.
6303
9277c064
UD
6304 * math/e_exp10.c: Include math_private.h using <...> not "...".
6305 * math/e_exp10f.c: Likewise.
6306 * math/e_exp10l.c: Likewise.
6307 * math/e_exp2l.c: Likewise.
6308 * math/e_j0l.c: Likewise.
6309 * math/e_j1l.c: Likewise.
6310 * math/e_jnl.c: Likewise.
6311 * math/e_lgammal_r.c: Likewise.
6312 * math/e_rem_pio2l.c: Likewise.
6313 * math/e_scalb.c: Likewise.
6314 * math/e_scalbf.c: Likewise.
6315 * math/e_scalbl.c: Likewise.
6316 * math/k_cosl.c: Likewise.
6317 * math/k_sinl.c: Likewise.
6318 * math/k_tanl.c: Likewise.
6319 * math/s_cacoshf.c: Likewise.
6320 * math/s_catan.c: Likewise.
6321 * math/s_catanf.c: Likewise.
6322 * math/s_catanh.c: Likewise.
6323 * math/s_catanhf.c: Likewise.
6324 * math/s_catanhl.c: Likewise.
6325 * math/s_catanl.c: Likewise.
6326 * math/s_ccosh.c: Likewise.
6327 * math/s_ccoshf.c: Likewise.
6328 * math/s_ccoshl.c: Likewise.
6329 * math/s_cexp.c: Likewise.
6330 * math/s_cexpf.c: Likewise.
6331 * math/s_cexpl.c: Likewise.
6332 * math/s_clog.c: Likewise.
6333 * math/s_clog10.c: Likewise.
6334 * math/s_clog10f.c: Likewise.
6335 * math/s_clog10l.c: Likewise.
6336 * math/s_clogf.c: Likewise.
6337 * math/s_clogl.c: Likewise.
6338 * math/s_csin.c: Likewise.
6339 * math/s_csinf.c: Likewise.
6340 * math/s_csinh.c: Likewise.
6341 * math/s_csinhf.c: Likewise.
6342 * math/s_csinhl.c: Likewise.
6343 * math/s_csinl.c: Likewise.
6344 * math/s_csqrt.c: Likewise.
6345 * math/s_csqrtf.c: Likewise.
6346 * math/s_csqrtl.c: Likewise.
6347 * math/s_ctan.c: Likewise.
6348 * math/s_ctanf.c: Likewise.
6349 * math/s_ctanh.c: Likewise.
6350 * math/s_ctanhf.c: Likewise.
6351 * math/s_ctanhl.c: Likewise.
6352 * math/s_ctanl.c: Likewise.
6353 * math/s_ldexp.c: Likewise.
6354 * math/s_ldexpf.c: Likewise.
6355 * math/s_ldexpl.c: Likewise.
6356 * math/s_significand.c: Likewise.
6357 * math/s_significandf.c: Likewise.
6358 * math/s_significandl.c: Likewise.
6359 * math/w_acos.c: Likewise.
6360 * math/w_acosf.c: Likewise.
6361 * math/w_acosh.c: Likewise.
6362 * math/w_acoshf.c: Likewise.
6363 * math/w_acoshl.c: Likewise.
6364 * math/w_acosl.c: Likewise.
6365 * math/w_asin.c: Likewise.
6366 * math/w_asinf.c: Likewise.
6367 * math/w_asinl.c: Likewise.
6368 * math/w_atan2.c: Likewise.
6369 * math/w_atan2f.c: Likewise.
6370 * math/w_atan2l.c: Likewise.
6371 * math/w_atanh.c: Likewise.
6372 * math/w_atanhf.c: Likewise.
6373 * math/w_atanhl.c: Likewise.
6374 * math/w_cosh.c: Likewise.
6375 * math/w_coshf.c: Likewise.
6376 * math/w_coshl.c: Likewise.
6377 * math/w_dremf.c: Likewise.
6378 * math/w_exp10.c: Likewise.
6379 * math/w_exp10f.c: Likewise.
6380 * math/w_exp10l.c: Likewise.
6381 * math/w_exp2.c: Likewise.
6382 * math/w_exp2f.c: Likewise.
6383 * math/w_fmod.c: Likewise.
6384 * math/w_fmodf.c: Likewise.
6385 * math/w_fmodl.c: Likewise.
6386 * math/w_hypot.c: Likewise.
6387 * math/w_hypotf.c: Likewise.
6388 * math/w_hypotl.c: Likewise.
6389 * math/w_j0.c: Likewise.
6390 * math/w_j0f.c: Likewise.
6391 * math/w_j0l.c: Likewise.
6392 * math/w_j1.c: Likewise.
6393 * math/w_j1f.c: Likewise.
6394 * math/w_j1l.c: Likewise.
6395 * math/w_jn.c: Likewise.
6396 * math/w_jnf.c: Likewise.
6397 * math/w_jnl.c: Likewise.
6398 * math/w_lgamma.c: Likewise.
6399 * math/w_lgamma_r.c: Likewise.
6400 * math/w_lgammaf.c: Likewise.
6401 * math/w_lgammaf_r.c: Likewise.
6402 * math/w_lgammal.c: Likewise.
6403 * math/w_lgammal_r.c: Likewise.
6404 * math/w_log.c: Likewise.
6405 * math/w_log10.c: Likewise.
6406 * math/w_log10f.c: Likewise.
6407 * math/w_log10l.c: Likewise.
6408 * math/w_log2.c: Likewise.
6409 * math/w_log2f.c: Likewise.
6410 * math/w_log2l.c: Likewise.
6411 * math/w_logf.c: Likewise.
6412 * math/w_logl.c: Likewise.
6413 * math/w_pow.c: Likewise.
6414 * math/w_powf.c: Likewise.
6415 * math/w_powl.c: Likewise.
6416 * math/w_remainder.c: Likewise.
6417 * math/w_remainderf.c: Likewise.
6418 * math/w_remainderl.c: Likewise.
6419 * math/w_scalb.c: Likewise.
6420 * math/w_scalbf.c: Likewise.
6421 * math/w_scalbl.c: Likewise.
6422 * math/w_sinh.c: Likewise.
6423 * math/w_sinhf.c: Likewise.
6424 * math/w_sinhl.c: Likewise.
6425 * math/w_sqrt.c: Likewise.
6426 * math/w_sqrtf.c: Likewise.
6427 * math/w_sqrtl.c: Likewise.
6428 * math/w_tgamma.c: Likewise.
6429 * math/w_tgammaf.c: Likewise.
6430 * math/w_tgammal.c: Likewise.
6431
6a621eb7
UD
6432 * po/ja.po: Update from translation team.
6433
bf582445
AJ
64342011-09-29 Andreas Jaeger <aj@suse.de>
6435
f9efbf3a
AJ
6436 [BZ #13179]
6437 * sunrpc/netname.c (netname2host): Fix logic.
6438
bf582445
AJ
6439 [BZ #6779]
6440 [BZ #6783]
6441 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
6442 correctly.
6443 * math/w_remainder.c (__remainder): Likewise.
6444 * math/w_remainderf.c (__remainderf): Likewise.
6445 * math/libm-test.inc (remainder_test): Add test cases.
6446
48693bea
AK
64472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6448
6449 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
6450 sdiv_qrnnd.
6451
42622229
LD
64522011-10-07 Ulrich Drepper <drepper@gmail.com>
6453
6454 * string/test-memcmp.c: Avoid unncessary #defines.
6455 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
6456
093ecf92
LD
64572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6458
6459 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
6460 Use new sse2 version for core i3 - i7 as it's faster
6461 than sse42 version.
6462 (bit_Prefer_PMINUB_for_stringop): New.
6463 * sysdeps/x86_64/rawmemchr.S: Update.
6464 Replace with faster SSE2 version.
6465 * sysdeps/x86_64/memrchr.S: New file.
6466 * sysdeps/x86_64/memchr.S: Update.
6467 Replace with faster SSE2 version.
6468
fde56e5c
MP
64692011-09-12 Marek Polacek <mpolacek@redhat.com>
6470
6471 * elf/dl-load.c (lose): Add cast to avoid warning.
6472
21fd49a9
UD
64732011-10-07 Ulrich Drepper <drepper@gmail.com>
6474
5a06e643
UD
6475 * po/ca.po: Update from translation team.
6476
684ae515
UD
6477 * inet/getnetgrent_r.c: Hook up nscd.
6478 * nscd/Makefile (routines): Add nscd_netgroup.
6479 (nscd-modules): Add netgroupcache.
6480 (CFLAGS-netgroupcache.c): Define.
6481 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
6482 (cache_search): Add const to second parameter.
6483 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
6484 INNETGR.
6485 (dbs): Add netgrdb entry.
6486 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
6487 (verify_persistent_db): Handle netgrdb.
6488 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
6489 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
6490 GETFDNETGR.
6491 (netgroup_response_header): Define.
6492 (innetgroup_response_header): Define.
6493 (datahead): Add netgroup_response_header and innetgroup_response_header
6494 elements.
6495 * nscd/nscd.conf: Add entries for netgroup cache.
6496 * nscd/nscd.h (dbtype): Add netgrdb.
6497 (_PATH_NSCD_NETGROUP_DB): Define.
6498 (netgroup_iov_disabled): Declare.
6499 (xmalloc, xcalloc, xrealloc): Move declarations here.
6500 (cache_search): Adjust prototype.
6501 Add netgroup-related prototypes.
6502 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
6503 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
6504 (__nscd_innetgr): Declare.
6505 * nscd/selinux.c (perms): Use access_vector_t as element type and
6506 add netgroup-related initializers.
6507 * nscd/netgroupcache.c: New file.
6508 * nscd/nscd_netgroup.c: New file.
6509 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
6510 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
6511 For four parameters use innetgr.
6512 * nss/nss_files/files-init.c: Add definition and callback for netgr.
6513 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
6514 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
6515 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
6516
21fd49a9
UD
6517 * nscd/connections.c (register_traced_file): Don't register file
6518 for disabled databases.
6519
054c0457
UD
65202011-10-06 Ulrich Drepper <drepper@gmail.com>
6521
32b63198
UD
6522 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
6523
054c0457
UD
6524 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
6525 from tree and freeing node.
6526
64031225
JO
65272011-09-25 Jiri Olsa <jolsa@redhat.com>
6528
6529 * nss/nsswitch.c (__nss_database_lookup): Handle
6530 nss_parse_service_list out of memory case.
6531
0490345c
JO
65322011-09-15 Jiri Olsa <jolsa@redhat.com>
6533
6534 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
6535 out of memory case.
6536
3a62d00d
AS
65372011-10-04 Andreas Schwab <schwab@redhat.com>
6538
6539 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
6540 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
6541 pass it down.
6542 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
6543 elf_machine_rela, elf_machine_lazy_rel.
6544 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
6545 (ELF_DYNAMIC_DO_REL): Likewise.
6546 (ELF_DYNAMIC_DO_RELA): Likewise.
6547 (ELF_DYNAMIC_RELOCATE): Likewise.
6548 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
6549 to ELF_DYNAMIC_DO_REL.
6550 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
6551 (dl_main): In trace mode always set __RTLD_NOIFUNC.
6552 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
6553 elf_machine_rela.
6554 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
6555 skip_ifunc, don't call ifunc function if non-zero.
6556 (elf_machine_rela): Likewise.
6557 (elf_machine_lazy_rel): Likewise.
6558 (elf_machine_lazy_rela): Likewise.
6559 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
6560 (elf_machine_lazy_rel): Likewise.
6561 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
6562 Likewise.
6563 (elf_machine_lazy_rel): Likewise.
6564 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6565 Likewise.
6566 (elf_machine_lazy_rel): Likewise.
6567 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
6568 (elf_machine_lazy_rel): Likewise.
6569 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
6570 (elf_machine_lazy_rel): Likewise.
6571 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6572 (elf_machine_lazy_rel): Likewise.
6573 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
6574 (elf_machine_lazy_rel): Likewise.
6575 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
6576 (elf_machine_lazy_rel): Likewise.
6577 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6578 (elf_machine_lazy_rel): Likewise.
6579
68577918
UD
65802011-09-28 Ulrich Drepper <drepper@gmail.com>
6581
6582 * nss/nss_files/files-init.c (_nss_files_init): Use static
6583 initialization for all the *_traced_file variables.
6584
68822d74
AS
65852011-09-28 Andreas Schwab <schwab@redhat.com>
6586
6587 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6588
2056100b
RM
65892011-09-27 Roland McGrath <roland@hack.frob.com>
6590
6591 [BZ #13226]
6592 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
6593
32c76b63
AS
65942011-09-27 Andreas Schwab <schwab@redhat.com>
6595
6596 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
6597 Reread the line before reparsing it.
6598
bf972c9d
AS
65992011-09-26 Andreas Schwab <schwab@redhat.com>
6600
6601 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
6602
e057a1b5
JM
66032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
6604 Maxim Kuvyrkov <maxim@codesourcery.com>
6605 Joseph Myers <joseph@codesourcery.com>
6606
6607 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
6608 if needed for __stack_chk_guard.
6609
bc7e1c36
RM
66102011-09-19 Roland McGrath <roland@hack.frob.com>
6611
ecb1482f
RM
6612 * sysdeps/posix/spawni.c (script_execute): Always define it.
6613 It will be optimized away if unused.
6614 (maybe_script_execute): New function.
6615 (__spawni): Call it.
6616
bc7e1c36
RM
6617 * Makerules: Don't include tls.make.
6618 (config-tls): Always set to thread.
6619 * tls.make.c: File removed.
6620
1c3b002b
MF
66212011-09-19 Mike Frysinger <vapier@gentoo.org>
6622
6623 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
6624 * config.make.in (CPPFLAGS-config): New substituted variable.
6625
2840865d
UD
66262011-09-15 Ulrich Drepper <drepper@gmail.com>
6627
88738eb6
UD
6628 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
6629
cbf645a6 6630 [BZ #13192]
2840865d
UD
6631 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
6632 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
6633
b402e91a
RM
66342011-09-15 Roland McGrath <roland@hack.frob.com>
6635
6636 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
6637 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
6638 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
6639 (CALL_FAIL): Likewise.
6640 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
6641 (CALL_FAIL): Macro removed.
6642 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
6643
4c1a1f71
UD
66442011-09-15 Ulrich Drepper <drepper@gmail.com>
6645
6646 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
6647 for __FINITE_MATH_ONLY__ == 1.
6648
edc121be
AS
66492011-09-15 Andreas Schwab <schwab@redhat.com>
6650
6651 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
6652 __ieee754_sqrt instead of sqrt.
6653 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
6654 __ieee754_sqrtf instead of sqrtf.
6655 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6656 __floorf instead of floorf.
6657 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
6658 __floorf, __truncf instead of floorf, truncf.
6659
cd205654
UD
66602011-09-14 Ulrich Drepper <drepper@gmail.com>
6661
ee4d0315
UD
6662 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
6663
cd205654
UD
6664 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
6665 __extern_always_inline.
6666 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
6667 32-bit.
6668
48b67d71
AS
66692011-09-14 Andreas Schwab <schwab@redhat.com>
6670
6671 * elf/rtld.c (dl_main): Also relocate in dependency order when
6672 doing symbol dependency testing.
6673
1ae12c75
AS
66742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
6675
6676 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6677 Always define `refsym'.
6678
995a80df
AS
66792011-09-13 Andreas Schwab <schwab@redhat.com>
6680
e529793b
AS
6681 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
6682 (__FD_ELT): Renamed from __FDELT.
6683 * misc/bits/select2.h (__FD_ELT): Likewise.
6684 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
6685 __FD_MASK instead of __FDELT, __FDMASK.
6686 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6687 Likewise.
6688 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
6689 Likewise.
6690
52d4fef8
AS
6691 * elf/Makefile (gen-ldd): Fix pattern.
6692
995a80df
AS
6693 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
6694 (init_tls): Likewise.
6695
8682f8b0
UD
66962011-09-12 Ulrich Drepper <drepper@gmail.com>
6697
6698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
6699
de82006d
AS
67002011-09-12 Andreas Schwab <schwab@redhat.com>
6701
a7c8e6a1
AS
6702 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
6703 `struct cmsghdr *' instead of `void *'.
6704 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
6705 Likewise.
6706
0f31fe77
AS
67072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
6708
6709 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
6710 if non-absolute.
6711 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
6712 ldd_rewrite_script.
0f31fe77 6713
32b4c839
UD
67142011-09-11 Ulrich Drepper <drepper@gmail.com>
6715
83cd1420
UD
6716 * configure.in: Remove --with-tls option.
6717 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
6718 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
6719 out in case it is missing.
6720 * sysdeps/ia64/elf/configure.in: Likewise.
6721 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
6722 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
6723 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
6724 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
6725 * sysdeps/sh/elf/configure.in: Likewise.
6726 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
6727 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6728 * sysdeps/x86_64/elf/configure.in: Likewise.
6729 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
6730 * sysdeps/mach/hurd/tls.h: Likewise.
6731
633f745d
UD
6732 [BZ #13067]
6733 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
6734
f318beb8
UD
6735 [BZ #13090]
6736 * configure.in: Fix use of AC_INIT.
6737
32b4c839
UD
6738 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
6739
3ce1f295
UD
67402011-09-10 Ulrich Drepper <drepper@gmail.com>
6741
bb016596
UD
6742 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
6743 __set_errno.
8e58439c
UD
6744 * malloc/hooks.c: Likewise.
6745
aebae053 6746 [BZ #11929]
02d46fc4
UD
6747 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
6748 variables statically.
6749 (narenas): Initialize.
6750 (list_lock): Initialize.
bb016596
UD
6751 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
6752 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
6753 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
6754 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
6755 Add initializers to main_arena and mp_.
6756 (malloc_state): Remove pagesize member. Change all users to use
6757 GLRO(dl_pagesize).
6758
6759 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
6760 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
6761 is always initialized.
6762
22a89187
UD
6763 * malloc/malloc.c: Removed unused configurations and dead code.
6764 * malloc/arena.c: Likewise.
6765 * malloc/hooks.c: Likewise.
02d46fc4 6766 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 6767
d063d164
UD
6768 * include/tls.h: Removed. USE___THREAD must always be defined.
6769 * bits/libc-tsd.h: Don't handle !USE___THREAD.
6770 * elf/dl-libc.c: Likewise.
6771 * elf/dl-tsd.c: Likewise.
6772 * include/errno.h: Likewise.
6773 * include/netdb.h: Likewise.
6774 * include/resolv.h: Likewise.
6775 * inet/herrno-loc.c: Likewise.
6776 * inet/herrno.c: Likewise.
6777 * malloc/arena.c: Likewise.
6778 * malloc/hooks.c: Likewise.
6779 * malloc/malloc.c: Likewise.
6780 * resolv/res-state.c: Likewise.
6781 * resolv/res_libc.c: Likewise.
6782 * sysdeps/i386/dl-machine.h: Likewise.
6783 * sysdeps/ia64/dl-machine.h: Likewise.
6784 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6785 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6786 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6787 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6788 * sysdeps/sh/dl-machine.h: Likewise.
6789 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6790 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6791 * sysdeps/unix/i386/sysdep.S: Likewise.
6792 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6793 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
6794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
6795 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
6797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6798 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6799 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6800 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6801 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6802 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6803 * sysdeps/x86_64/dl-machine.h: Likewise.
6804 * tls.make.c: Likewise.
6805
3ce1f295
UD
6806 * configure.in: Remove --with-__thread option. Make tests for
6807 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
6808 tls_model attribute fail if no support is available. Remove
6809 USE_IN_LIBIO.
6810 * Makeconfig: Adjust for dropped configure option. All features are
6811 now mandatory.
6812 * Makerules: Likewise.
6813 * Versions.def: Likewise.
6814 * argp/argp-fmtstream.c: Likewise.
6815 * argp/argp-fmtstream.h: Likewise.
6816 * argp/argp-help.c: Likewise.
6817 * assert/assert.c: Likewise.
6818 * config.h.in: Likewise.
6819 * config.make.in: Likewise.
6820 * configure: Likewise.
6821 * configure.in: Likewise.
6822 * csu/Versions: Likewise.
6823 * csu/init.c: Likewise.
6824 * elf/tst-audit2.c: Likewise.
6825 * elf/tst-tls10.c: Likewise.
6826 * elf/tst-tls10.h: Likewise.
6827 * elf/tst-tls11.c: Likewise.
6828 * elf/tst-tls12.c: Likewise.
6829 * elf/tst-tls14.c: Likewise.
6830 * elf/tst-tlsmod11.c: Likewise.
6831 * elf/tst-tlsmod12.c: Likewise.
6832 * elf/tst-tlsmod13.c: Likewise.
6833 * elf/tst-tlsmod13a.c: Likewise.
6834 * elf/tst-tlsmod14a.c: Likewise.
6835 * elf/tst-tlsmod15b.c: Likewise.
6836 * elf/tst-tlsmod16a.c: Likewise.
6837 * elf/tst-tlsmod16b.c: Likewise.
6838 * elf/tst-tlsmod7.c: Likewise.
6839 * elf/tst-tlsmod8.c: Likewise.
6840 * elf/tst-tlsmod9.c: Likewise.
6841 * gmon/gmon.c: Likewise.
6842 * grp/fgetgrent_r.c: Likewise.
6843 * grp/putgrent.c: Likewise.
6844 * hurd/fopenport.c: Likewise.
6845 * include/libc-symbols.h: Likewise.
6846 * include/tls.h: Likewise.
6847 * intl/gettextP.h: Likewise.
6848 * intl/loadinfo.h: Likewise.
6849 * locale/global-locale.c: Likewise.
6850 * locale/localeinfo.h: Likewise.
6851 * mach/devstream.c: Likewise.
6852 * malloc/arena.c: Likewise.
6853 * malloc/set-freeres.c: Likewise.
6854 * misc/err.c: Likewise.
6855 * misc/getttyent.c: Likewise.
6856 * misc/mntent_r.c: Likewise.
6857 * posix/getopt.c: Likewise.
6858 * posix/wordexp.c: Likewise.
6859 * pwd/fgetpwent_r.c: Likewise.
6860 * resolv/Versions: Likewise.
6861 * resolv/res_hconf.c: Likewise.
6862 * shadow/fgetspent_r.c: Likewise.
6863 * shadow/putspent.c: Likewise.
6864 * stdio-common/printf_fphex.c: Likewise.
6865 * stdio-common/tmpfile.c: Likewise.
6866 * stdlib/abort.c: Likewise.
6867 * stdlib/fmtmsg.c: Likewise.
6868 * sunrpc/auth_unix.c: Likewise.
6869 * sunrpc/clnt_perr.c: Likewise.
6870 * sunrpc/clnt_tcp.c: Likewise.
6871 * sunrpc/clnt_udp.c: Likewise.
6872 * sunrpc/clnt_unix.c: Likewise.
6873 * sunrpc/openchild.c: Likewise.
6874 * sunrpc/svc_simple.c: Likewise.
6875 * sunrpc/svc_tcp.c: Likewise.
6876 * sunrpc/svc_udp.c: Likewise.
6877 * sunrpc/svc_unix.c: Likewise.
6878 * sunrpc/xdr.c: Likewise.
6879 * sunrpc/xdr_array.c: Likewise.
6880 * sunrpc/xdr_rec.c: Likewise.
6881 * sunrpc/xdr_ref.c: Likewise.
6882 * sunrpc/xdr_stdio.c: Likewise.
6883
1248c1c4
PB
68842011-09-09 Ulrich Drepper <drepper@gmail.com>
6885
6886 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6887
68882011-07-03 Andreas Jaeger <aj@suse.de>
6889
6890 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
6891 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
6892 regenerate with gen-libm-tests.pl.
6893
68942010-05-12 Petr Baudis <pasky@suse.cz>
6895
6896 [BZ #11589]
6897 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
6898 around j0() zero points by switching to j1().
6899 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
6900 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
6903
f22e1074
UD
69042011-09-09 Ulrich Drepper <drepper@gmail.com>
6905
f19009c1
UD
6906 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
6907 instead of 0.
6908 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
6909 instead of 0. .
6910 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
6911 Patch in part by Pavel Roskin <proski@gnu.org>.
6912
3f8cc204
UD
6913 [BZ #13138]
6914 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
6915 realloc.
6916 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
6917 Free memory block if necessary.
6918
f22e1074
UD
6919 [BZ #12847]
6920 * libio/genops.c (INTDEF): For string streams the _lock pointer can
6921 be NULL. Don't lock in this case.
6922
0a2349f9
RM
69232011-09-09 Roland McGrath <roland@hack.frob.com>
6924
6925 * elf/elf.h (ELFOSABI_GNU): New macro.
6926 (ELFOSABI_LINUX): Define to that.
6927
f3cdd467
DZ
69282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
6929
6930 * string/strncat.c (strncat): Undef the symbol in case it has been
6931 defined in bits/string.h.
6932
74718d13
UD
69332011-09-09 Ulrich Drepper <drepper@gmail.com>
6934
633e9e0f
UD
6935 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
6936
0a2349f9 6937 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
6938 link map.
6939
f9924780
AJ
69402011-08-17 Andreas Jaeger <aj@suse.de>
6941
6942 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
6943
7f5517aa
PP
69442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
6945 Ian Lance Taylor <iant@google.com>
6946
6947 * math/libm-test.inc (lround_test): New testcase.
6948 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
6949
762011fe
UD
69502011-09-08 Ulrich Drepper <drepper@gmail.com>
6951
92963737
UD
6952 * Makefile: Remove support for automatic cvs check-ins.
6953 * Makerules: Likewise.
6954 * config.make.in: Likewise.
6955 * configure.in: Likewise.
6956 * intl/Makefile: Likewise.
6957 * locale/Makefile: Likewise.
6958 * po/Makefile: Likewise.
6959 * posix/Makefile: Likewise.
6960 * sysdeps/gnu/Makefile: Likewise.
6961 * sysdeps/mach/hurd/Makefile: Likewise.
6962 * sysdeps/sparc/sparc32/Makefile: Likewise.
6963
b0727fd8
JS
6964 [BZ #13118]
6965 * posix/Makefile (bug-regex32-ENV): Define.
6966 Patch by John Stanley <jpsinthemix@verizon.net>.
6967
a0f33f99
UD
6968 * misc/Makefile (headers): Add bits/select2.h.
6969 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
6970 * misc/bits/select2.h: New file.
6971 * include/bits/select2.h: New file.
6972 * debug/Makefile (routines): Add fdelt_chk.
6973 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
6974 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
6975 FD_ISSET.
6976 * debug/fdelt_chk.c: New file.
6977
762011fe
UD
6978 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
6979 * wcsmbs/test-wmemcmp.c: Likewise.
6980 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 6981 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
6982
69832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6984
6985 * string/Makefile (strop-tests): Add memcmp.
6986 * string/test-wmemcmp.c: New file.
6987 * string/test-memcmp.c: Add wmemcmp support.
6988
7f513ec8
RM
69892011-09-08 Roland McGrath <roland@hack.frob.com>
6990
0442afb4
RM
6991 [BZ #13153]
6992 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
6993 2011-07-19 change.
6994
7f513ec8
RM
6995 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
6996 garbage value in a __mach_port_mod_refs call in the cases of the
6997 task-self and thread-self ports.
6998
a12b2239
ST
69992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
7000
7001 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
7002
610f9ab4
AS
70032011-09-08 Andreas Schwab <schwab@redhat.com>
7004
7f513ec8 7005 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 7006
48882a1a
LD
70072011-09-07 Ulrich Drepper <drepper@gmail.com>
7008
b49865be
UD
7009 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
7010
fdc86bc9
UD
7011 * elf/dl-libc.c (dlerror_run): Pass back error code from
7012 dl_catch_error.
7013
c966526a
UD
7014 [BZ #13123]
7015 * elf/dl-load.c (lose): Free l_origin if it is valid.
7016
48882a1a
LD
7017 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
7018 names.
7019 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7020 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7021 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7022 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7023 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7024 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
7025
77a2a8b4
AZ
70262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027
7028 * sysdeps/powerpc/fpu/e_hypot.c: New file.
7029 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
7030 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
7031 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
7032 * sysdeps/powerpc/fpu/k_cosf.c: New file.
7033 * sysdeps/powerpc/fpu/k_sinf.c: New file.
7034 * sysdeps/powerpc/fpu/s_cosf.c: New file.
7035 * sysdeps/powerpc/fpu/s_sinf.c: New file.
7036 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
7037 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
7038
24f579d8
AM
70392011-08-15 Alan Modra <amodra@gmail.com>
7040
7041 [BZ #13092]
7042 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
7043 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
7044 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
7045 ppc_mcount to static-only-routines.
7046 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
7047 __mcount_internal.
7048 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
7049 __mcount_internal with usual JUMPTARGET. Remove useless nop.
7050
3d4837df
UD
70512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
7052
7053 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
7054 for finite and infinity parameters.
7055
22700377
WS
70562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7057
7058 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
7059 and add nop instructions for throughput optimization.
7060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
7061
5025581e
WS
70622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
7063
7064 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
7065 aligned copy for power7 with vector-scalar instructions.
7066 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
7067
08a300c9
L
70682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
7069
7070 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
7071 AVX check.
7072
59178ef9
AS
70732011-09-07 Andreas Schwab <schwab@redhat.com>
7074
7075 [BZ #13144]
7076 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
7077 last change.
7078
e38ba7ab
UD
70792011-09-07 Ulrich Drepper <drepper@gmail.com>
7080
7081 * sysdeps/unix/sysv/linux/x86_64/init-first.c
7082 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
7083 syscall wrapper around clock_gettime in __vdso_clock_gettime.
7084 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
7085 clock_gettime.
7086
d53a73ac
UD
70872011-09-06 Ulrich Drepper <drepper@gmail.com>
7088
fc8bffcc
UD
7089 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
7090 Forgot to demangle the pointer.
7091
ceaa0c5d
UD
7092 * sysdeps/i386/sysdep.h: Define atom_text_section.
7093 * sysdeps/x86_64/sysdep.h: Likewise.
7094 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
7095 section with atom_text_section.
7096 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7097 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7098 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7099 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7100 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
7101
a77d3c17
UD
7102 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
7103 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
7104 already be defined. Change to take two parameters and don't assign
7105 result to variable. Adjust all users.
7106 Define INTERNAL_GETTIME if not already defined.
7107 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
7108 call.
7109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
7110 HAVE_CLOCK_GETTIME_VSYSCALL.
7111 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
7112
d53a73ac
UD
7113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
7114 gettimeofday vsyscall, just use time.
7115
a8f84144
AS
71162011-09-06 Andreas Schwab <schwab@redhat.com>
7117
7118 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
7119 <errno.h>.
7120
ef606249
UD
71212011-09-06 Ulrich Drepper <drepper@gmail.com>
7122
7123 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
7124 syscall on x86-64.
7125 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
7126 syscall.
7127 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
7128 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
7129 syscall if possible.
7130
6585cb60
UD
71312011-09-05 Ulrich Drepper <drepper@gmail.com>
7132
7133 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
7134 e_ident. Don't pass to find_mapsXX.
7135 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
7136
a5f524e4
LD
71372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7138
7139 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7140 strchr-sse2-no-bsf strrchr-sse2-no-bsf
7141 * sysdeps/x86_64/multiarch/strchr.S: Update.
7142 Check bit_slow_BSF bit.
7143 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
7144 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
7145 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
7146
554881ef
UD
71472011-09-05 Ulrich Drepper <drepper@gmail.com>
7148
d96de963
UD
7149 [BZ #13134]
7150 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
7151 before glibc 2.15.
7152 (tryshell): Define.
7153 (__spawni): Change last parameter to be flag. Test
7154 SPAWN_XFLAGS_USE_PATH flag to use path or not.
7155 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
7156 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
7157 * posix/spawni.c: Likewise.
7158 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
7159 * posix/spawnp.c: Likewise. Change normal version to use
7160 SPAWN_XFLAGS_USE_PATH.
7161 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
7162 SPAWN_XFLAGS_TRY_SHELL.
7163
d48e5868
UD
7164 [BZ #13150]
7165 * posix/glob.h: Remove gcc 1.x support.
7166
554881ef
UD
7167 [BZ #13068]
7168 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
7169
693fb948
LD
71702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7171
7172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7173 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
7174 strrchr-sse2-bsf
7175 * sysdeps/i386/i686/multiarch/strchr.S: New file.
7176 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
7177 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
7178 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
7179 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
7180 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
7181
1b48c537
UD
71822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7183
49d42c37
UD
7184 * sysdeps/x86_64/wcscmp.S: New file.
7185
1b48c537
UD
7186 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
7187 wcscmp-c wcscmp-sse2
7188 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
7189 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
7190 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
7191 * wcsmbs/wcscmp.c: Allow renaming.
7192
15c95c5d
DM
71932011-09-05 David S. Miller <davem@davemloft.net>
7194
7195 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
7196 stack slot, rather than the struct return pointer slot.
7197 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
7198 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
7199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
7201
2f0ad8f3
UD
72022011-09-05 Ulrich Drepper <drepper@gmail.com>
7203
d88ae418
UD
7204 * po/ja.po: Update from translation team.
7205
2f0ad8f3
UD
7206 [BZ #13144]
7207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
7208 kernel in 64-bit binaries.
7209
5f4318d1
DM
72102011-09-01 David S. Miller <davem@davemloft.net>
7211
7212 * elf/elf.h (HWCAP_SPARC_*): Move to..
7213 * sysdeps/sparc/sysdep.h: this new file and add new values.
7214 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
7215 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
7216 _DL_HWCAP_COUNT to 24.
7217 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
7218 entries.
7219 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
7220 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
7221 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
7222 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
7223 instead of magic constants.
7224 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7225
3ba57516
DM
72262011-08-31 David S. Miller <davem@davemloft.net>
7227
7228 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
7229 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
7230 Reimplement to do errno handling inline.
7231 (SYSCALL_ERROR_HANDLER): New macro.
7232 (__SYSCALL_STRING): Do not do errno handling in asm.
7233 (__CLONE_SYSCALL_STRING): Delete.
7234 (__INTERNAL_SYSCALL_STRING): Delete.
7235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
7236 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
7237 (PSEUDO): Reimplement to do errno handling inline.
7238 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
7239 (SYSCALL_ERROR_HANDLER): New macro.
7240 (__SYSCALL_STRING): Do not do errno handling in asm.
7241 (__CLONE_SYSCALL_STRING): Delete.
7242 (__INTERNAL_SYSCALL_STRING): Delete.
7243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
7244 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
7245 i386.
7246 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
7247 (inline_syscall*): Add 'err' argument.
7248 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
7249 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
7250 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
7251 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
7252
7253 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
7254 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
7255
2bc17433
AS
72562011-08-30 Andreas Schwab <schwab@redhat.com>
7257
7258 * elf/rtld.c (dl_main): Relocate objects in dependency order.
7259
fbeb5f4d
JO
72602011-08-29 Jiri Olsa <jolsa@redhat.com>
7261
7262 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
7263 directive.
7264
ad69cc26
DM
72652011-08-24 David S. Miller <davem@davemloft.net>
7266
7267 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
7268
39dd69df
AS
72692011-08-24 Andreas Schwab <schwab@redhat.com>
7270
7271 * elf/Makefile: Add rules to build and run unload8 test.
7272 * elf/unload8.c: New file.
7273 * elf/unload8mod1.c: New file.
7274 * elf/unload8mod1x.c: New file.
7275 * elf/unload8mod2.c: New file.
7276 * elf/unload8mod3.c: New file.
7277
7278 * elf/dl-close.c (_dl_close_worker): Reset private search list if
7279 it wasn't used.
7280
2c0b250a
DM
72812011-08-23 David S. Miller <davem@davemloft.net>
7282
7283 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
7284 subtract stack bias.
7285 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
7286 %sp not %fp in calculations.
7287 (_JMPBUF_UNWINDS_ADJ): Likewise.
7288
22044b48
DM
7289 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
7290 (aio_suspend): Call it to force an exception region around the
7291 AIO_MISC_WAIT() invocation.
7292
2cae4995
AS
72932011-08-23 Andreas Schwab <schwab@redhat.com>
7294
7295 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
7296 backslash.
7297
873a772e
AJ
72982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
7299
7300 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
7301 protection macro.
7302 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
7303 and <dl-machine.h>.
7304 (Elf64_FuncDesc): Remove.
7305
25ad0df1
DM
73062011-08-22 David S. Miller <davem@davemloft.net>
7307
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
7309 sigaltstack check, add missing cfi directives.
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
7311 missing cfi directives, and sigaltstack handling.
7312
e888bcbe
AS
73132011-08-16 Andreas Schwab <schwab@redhat.com>
7314
7315 [BZ #11724]
7316 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
7317 object is seen twice.
7318 * elf/dl-fini.c (_dl_sort_fini): Likewise.
7319
7320 * elf/Makefile (distribute): Add tst-initorder2.c.
7321 (tests): Add tst-initorder2.
7322 (modules-names): Add tst-initorder2a tst-initorder2b
7323 tst-initorder2c tst-initorder2d. Add rules to build them.
7324 ($(objpfx)tst-initorder2.out): New rule.
7325 * elf/tst-initorder2.c: New file.
7326 * elf/tst-initorder2.exp: New file.
7327
87162f46
AS
73282011-08-22 Andreas Schwab <schwab@redhat.com>
7329
70538b7f
AS
7330 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
7331
f55ffe58
AS
7332 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
7333 dependencies back to end of function.
7334
87162f46
AS
7335 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
7336 $(elfobjdir)/ld.so.
7337
91b392a4
UD
73382011-08-21 Ulrich Drepper <drepper@gmail.com>
7339
7340 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
7341 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
7342 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
7343 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
7344 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
7345 of __vdso_gettimeofday.
7346 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
7347 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
7348 attribute_hidden.
7349 (_libc_vdso_platform_setup): Remove initialization of
7350 __vdso_gettimeofday and __vdso_time.
7351
5c43483f
UD
73522011-08-20 Ulrich Drepper <drepper@gmail.com>
7353
775a77e7
UD
7354 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
7355 and fgetc_unlocked.
7356 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
7357 getc_unlocked.
89f447ed 7358
49c74ba9
UD
7359 * elf/dl-open.c (add_to_global): Report additions to the global scope
7360 for LD_DEBUG=scopes.
7361 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 7362 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 7363
5c43483f
UD
7364 [BZ #13114]
7365 * stdio-common/Makefile (tests): Add bug24.
7366 * stdio-common/bug24.c: New file.
7367
a101b025
AJ
73682011-08-19 Andreas Jaeger <aj@suse.de>
7369
7370 [BZ #13114]
7371 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
7372 non-existant file when using close-on-exec mode.
7373
c88f1766
UD
73742011-08-20 Ulrich Drepper <drepper@gmail.com>
7375
0276a718
UD
7376 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
7377 the very first instruction.
7378
c88f1766
UD
7379 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
7380 the CFI state in the end.
7381 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
7382 inclusion of dl-trampoline.h.
7383 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
7384
51ccffa0
AS
73852011-08-19 Andreas Schwab <schwab@redhat.com>
7386
94d7165f
AS
7387 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
7388 expectations for long double.
7389
51ccffa0
AS
7390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
7391 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
7392
fd708658 73932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
7394
7395 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
7396 artificual limit depends upon the system page size.
7397
44f0a71e
UD
73982011-08-17 Ulrich Drepper <drepper@gmail.com>
7399
7400 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
7401 * resolv/Makefile: Define CFLAGS-libresolv.
7402
8de79a24
AS
74032011-08-17 Andreas Schwab <schwab@redhat.com>
7404
7405 * nss/makedb.c (compute_tables): Make variables used in nested
7406 function static.
7407
27724598
UD
74082011-08-17 Ulrich Drepper <drepper@gmail.com>
7409
c5305d88
UD
7410 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
7411 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
7412 if buffer was too small.
7413
27724598
UD
7414 * elf/pldd.c (main): Attach to all threads in the process.
7415 Rewrite /proc handling to use *at functions.
7416
076fe015
UD
74172011-08-16 Ulrich Drepper <drepper@gmail.com>
7418
174baab3
UD
7419 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
7420 specifies first scope to show.
7421 (dl_open_worker): Update callers. Move printing scope of new
7422 object to before the relocation.
44f0a71e 7423 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
7424 * sysdeps/generic/ldsodefs.h: Update declaration.
7425
076fe015
UD
7426 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
7427 string for the scope number.
7428
a60df2c3
UD
74292011-08-14 Ulrich Drepper <drepper@gmail.com>
7430
7431 * nscd/servicescache.c (cache_addserv): Make sure written is always
7432 initialized.
7433
5e4287d1
RM
74342011-08-14 Roland McGrath <roland@hack.frob.com>
7435
85ae0589
RM
7436 * sysdeps/i386/i486/bits/atomic.h
7437 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
7438 statement expression, so as to suppress "set but not used" warning.
7439 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
7440
69f63097
RM
7441 * string/strncat.c (STRNCAT): Use prototype definition.
7442
675456ef
RM
7443 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
7444 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
7445 -Iprograms here.
7446 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
7447 (localedef-modules): Add localedef.
7448 (locale-modules): Add locale.
7449
5e4287d1
RM
7450 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
7451 * elf/rtld.c (dl_main): Invert order of assignment in last change,
7452 to avoid a warning.
7453
9c96ff23
DM
74542011-08-14 David S. Miller <davem@davemloft.net>
7455
7456 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
7457 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
7458
f9ddf089
UD
74592011-08-13 Ulrich Drepper <drepper@gmail.com>
7460
44f0a71e 7461 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
7462 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
7463 * elf/rtld.c (dl_main): Set l_name of vDSO.
7464 Call _dl_show_scope when DL_DEBUG_SCOPES.
7465 (process_dl_debug): Recognize scopes flag and also set it for all.
7466 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
7467 Declare _dl_show_scope.
7468
1dc27704
UD
7469 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
7470 (do_dlopen): Pass caller_dlopen to dl_open.
7471 (__libc_dlopen_mode): Initialize caller_dlopen.
7472
f9ddf089
UD
7473 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
7474 of libc. Make tolower call locale-independent. Optimize a bit by
7475 using isdigit instead of isalnum.
7476 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
7477
9ac533d3
UD
74782011-08-12 Ulrich Drepper <drepper@gmail.com>
7479
7480 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
7481 was a dependency or dynamically loaded.
7482
89edf2e9
UD
74832011-08-11 Ulrich Drepper <drepper@gmail.com>
7484
8e999d29
UD
7485 * intl/l10nflist.c: Allow architecture-specific pop function.
7486 * sysdeps/x86_64/l10nflist.c: New file.
7487
89edf2e9
UD
7488 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
7489 classification.
7490
14d96785
AS
74912011-08-10 Andreas Schwab <schwab@redhat.com>
7492
7493 * include/dirent.h: Add libc_hidden_proto for scandirat and
7494 scandirat64. Don't declare __scandirat64.
7495 * dirent/scandirat.c: Add libc_hidden_def.
7496 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
7497 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
7498
6761ac04
DM
74992011-08-10 David S. Miller <davem@davemloft.net>
7500
7501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
7502 enum.
7503 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7504 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7505 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7506
c55fbd1e
UD
75072011-08-09 Ulrich Drepper <drepper@gmail.com>
7508
7509 * Versions.def [libc]: Add GLIBC_2.15.
7510 * dirent/Makefile (routines): Add scandirat and scandirat64.
7511 * dirent/Versions [libc]: Export scandirat and scandirat64 for
7512 GLIBC_2.15.
7513 * dirent/dirent.h: Declare scandirat and scandirat64.
7514 * dirent/scandirat.c: New file.
7515 * dirent/scandirat64.c: New file.
7516 * sysdeps/wordsize-64/scandirat.c: New file.
7517 * sysdeps/wordsize-64/scandirat64.c: New file.
7518 * dirent/opendir.c: Define opendirat.
7519 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
7520 using scandirat.
7521 * dirent/scandir64.c: Adjust for scandir.c change.
7522 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
7523 __scandirat64, and __scandir_cancel_handler.
7524 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
7525 additional parameter and use openat instead of open (outside of ld.so).
7526 Add new __opendir as wrapper around __opendirat.
7527 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
7528 here without requiring old scandirat implementation.
7529
879165f2
UD
75302011-08-08 Ulrich Drepper <drepper@gmail.com>
7531
7532 * dirent/scandir.c (cancel_handler): Renamed to
7533 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
7534 defined. Adjust users.
7535 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
7536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
7537
cb7e923b
UD
75382011-08-04 Ulrich Drepper <drepper@gmail.com>
7539
16292edd
UD
7540 * string/test-string.h (IMPL): Use __STRING to expand name and then
7541 stringify it.
7542
cb7e923b
UD
7543 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
7544 of cleanups.
7545
cff82933
LD
75462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7547
7548 * string/Makefile: Update.
7549 (strop-tests): Append strncat.
7550 * string/test-wcscmp.c: New file.
7551 New comprehensive test for wcscmp.
7552 * string/test-strcmp.c: Update.
7553 (WIDE): New define.
7554
9be9bfcc
AS
75552011-07-22 Andreas Schwab <schwab@redhat.com>
7556
7557 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
7558 line.
7559
2e96f1c7
AS
75602011-07-26 Andreas Schwab <schwab@redhat.com>
7561
7562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
7563 encoding to ACE if AI_IDN.
7564
85188888
JJ
75652011-08-01 Jakub Jelinek <jakub@redhat.com>
7566
7567 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
7568 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
7569
5fa16e9b
LD
75702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7571
7572 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
7573 Fix overflow bug in strncat.
7574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7575
7576 * string/test-strncat.c: Update.
7577 Add new tests for checking overflow bugs.
7578
75792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7580
7581 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
7582 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
7583 * sysdeps/i386/i686/multiarch/strcat.S: New file.
7584 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
7585 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
7586 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
7587 * sysdeps/i386/i686/multiarch/strncat.S: New file.
7588 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
7589 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
7590
7591 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
7592 (USE_AS_STRCAT): Define.
7593 Add strcat and strncat support.
7594 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7595
8c1a459f
AS
75962011-07-25 Andreas Schwab <schwab@redhat.com>
7597
7598 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
7599 __n bigger than INT_MAX+1.
7600 (__strncmp_g): Likewise.
7601
bba33c28
UD
76022011-07-23 Ulrich Drepper <drepper@gmail.com>
7603
798be72d
UD
7604 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
7605 * libio/stido.h: Likewise.
7606
8accd4dc
UD
7607 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
7608 (AF_NFC): Define.
7609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
7610 (AF_NFC): Define.
7611
cbff0d96
UD
7612 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
7613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
7614 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
7615 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
7616 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
7617
9191c04a
UD
7618 [BZ #13021]
7619 * scripts/test-installation.pl: Don't expect libnss_test1 to be
7620 installed.
7621
bba33c28
UD
7622 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
7623 typo.
7624 (_dl_x86_64_save_sse): Likewise.
7625
90f139dd
UD
76262011-07-22 Ulrich Drepper <drepper@gmail.com>
7627
1aae088a
UD
7628 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
7629 OSXSAVE.
7630 (_dl_x86_64_save_sse): Likewise.
7631
8e2045f5
UD
7632 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
7633
90f139dd
UD
7634 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
7635
1d002f25
AS
76362011-07-21 Andreas Schwab <schwab@redhat.com>
7637
7638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
7639 change.
7640 (_dl_x86_64_save_sse): Use correct AVX check.
7641
21137f89
UD
76422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7643
7644 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
7645 bug in strncpy/strncat.
7646 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7647
a65c0b7a
UD
76482011-07-21 Ulrich Drepper <drepper@gmail.com>
7649
7650 * string/tester.c (test_strcat): Add tests for different alignments
7651 of source and destination.
7652 (test_strncat): Likewise.
7653
6986b98a
UD
76542011-07-20 Ulrich Drepper <drepper@gmail.com>
7655
90bb2039
UD
7656 [BZ #12852]
7657 * posix/glob.c (glob): Check passed in values before using them in
7658 expressions to avoid some overflows.
7659 (glob_in_dir): Likewise.
7660
5644ef54
UD
7661 [BZ #13007]
7662 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
7663 check for AVX enablement so that we don't crash with old kernels and
7664 new hardware.
7665 * elf/tst-audit4.c: Add same checks here.
7666 * elf/tst-audit6.c: Likewise.
7667
7668 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 7669
bfc9dc9b
AS
76702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
7671
7672 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
7673
702e64bb
UD
76742011-07-20 Ulrich Drepper <drepper@gmail.com>
7675
7676 * po/cs.po: Update from translation team.
7677 * po/bg.po: Likewise.
7678
295e904f
MP
76792011-07-12 Marek Polacek <mpolacek@redhat.com>
7680
7681 * misc/sys/cdefs.h: Add support for const attribute.
7682 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
7683 to gnu_dev_{major,minor,makedev} functions.
7684
3ff94596
MP
76852011-07-20 Marek Polacek <mpolacek@redhat.com>
7686
7687 * intl/dcigettext.c (get_output_charset): Add missing bracket.
7688
28b59fca
AS
76892011-07-20 Andreas Schwab <schwab@redhat.com>
7690
7691 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
7692 strlen results.
7693
19df733e
AK
76942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7695
7696 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7697 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
7698 register in order to avoid conflicts with the soft frame pointer
7699 being held in r11 when necessary.
7700 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7701 (INTERNAL_VSYSCALL_NCS): Likewise.
7702
c8835729
MP
77032011-07-14 Marek Polacek <mpolacek@redhat.com>
7704
7705 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
7706 * elf/dl-fini.c (_dl_fini): Adjust caller.
7707 * elf/dl-close.c (_dl_close_worker): Likewise.
7708 * sysdeps/generic/ldsodefs.h: Adjust declaration.
7709
b902330c
MP
77102011-07-15 Marek Polacek <mpolacek@redhat.com>
7711
8991e135
MP
7712 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
7713 "aux_cache->nlibs < 0".
7714
b902330c
MP
7715 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
7716 in the reload-count case.
7717
99710781
LD
77182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
7719
7720 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7721 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
7722 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
7723 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
7724 * sysdeps/x86_64/multiarch/strcat.S: New file.
7725 * sysdeps/x86_64/multiarch/strncat.S: New file.
7726 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
7727 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
7728 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
7729 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
7730 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
7731 (USE_AS_STRCAT): Define.
7732 Add strcat and strncat support.
7733 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
7734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7735 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
7736 * string/strncat.c: Update.
7737 (USE_AS_STRNCAT): Define.
7738 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
7739 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
7740 and i7.
7741 * sysdeps/x86_64/multiarch/init-arch.h
7742 (bit_Prefer_PMINUB_for_stringop): New.
7743 (index_Prefer_PMINUB_for_stringop): Likewise.
7744 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
7745 bit_Prefer_PMINUB_for_stringop.
7746
7dc6bd90
UD
77472011-07-19 Ulrich Drepper <drepper@gmail.com>
7748
7749 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
7750 buffer64.
7751 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
7752 of casting of buffer.
7753 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
7754 buffer32 and buffer64.
7755 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
7756 writes instead of casting of buffer.
7757 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
7758 buffer32.
7759 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
7760 casting of buffer.
7761
e0e72284
AS
77622011-07-19 Andreas Schwab <schwab@redhat.com>
7763
7764 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
7765
feb1eb0b
UD
77662011-07-19 Ulrich Drepper <drepper@gmail.com>
7767
7768 * nscd/nscd.c (termination_handler): Don't do anything for a database
7769 if it has not yet been initialized.
7770
298711ff
UD
77712011-07-18 Ulrich Drepper <drepper@gmail.com>
7772
7773 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7774
77752011-07-15 Marek Polacek <mpolacek@redhat.com>
7776
7777 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
7778
f9d68389
UD
77792011-07-18 Ulrich Drepper <drepper@gmail.com>
7780
7781 * po/nl.po: Update from translation team.
7782 * po/sv.po: Likewise.
7783
db290cf5
RM
77842011-07-16 Roland McGrath <roland@hack.frob.com>
7785
7786 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
7787 now disallowed by GCC.
5c550700 7788
fd5e21c7
RM
7789 * configure.in (use-default-link): Default to yes if a test -shared
7790 link meets our qualifications.
7791 * configure: Regenerated.
7792
5c550700
RM
7793 * config.make.in (output-format): New variable.
7794 * configure.in: Check for ld --print-output-format support.
7795 * configure: Regenerated.
7796 * Makerules ($(common-objpfx)format.lds)
7797 [$(output-format) != unknown]: Just use $(output-format),
7798 instead of the linker-script munging.
7799
9fa2c032
RM
78002011-07-14 Roland McGrath <roland@hack.frob.com>
7801
a6928d51
RM
7802 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
7803 of $(common-objpfx)shlib.lds.
7804 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
7805
661607b3
RM
7806 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
7807 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
7808
9fa2c032
RM
7809 * configure.in (-z relro check): Adjust test code to add a large
7810 writable data section after it.
7811 * configure: Regenerated.
7812
defe9061
RM
78132011-07-11 Roland McGrath <roland@hack.frob.com>
7814
7815 * configure.in (-z relro check): Fix test code to make the variable
7816 truly const.
7817 * configure: Regenerated.
7818
319b9ad4
UD
78192011-07-11 Ulrich Drepper <drepper@gmail.com>
7820
7821 * nscd/nscd.h (struct traced_file): Define.
7822 (struct database_dyn): Remove inotify_descr, reset_res, and filename
7823 elements. Add traced_files.
7824 (inotify_fd): Declare.
7825 (register_traced_file): Declare.
7826 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
7827 (inotify_fd): Export.
7828 (resolv_conf_descr): Remove.
7829 (nscd_init): Move inotify descriptor creation to main.
7830 Don't register files for notification here.
7831 (register_traced_file): New function.
7832 (invalidate_cache): Don't use reset_res to determine whether to call
7833 res_init, go through the list of registered files.
7834 (main_loop_poll): The inotify descriptors are now stored in the
7835 structures for the traced files.
7836 (main_loop_epoll): Likewise
7837 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
7838 to __nss_disable_nscd.
7839 * nscd/cache.c (prune_cache): There is no single inotify descriptor
7840 for a database anymore. Check the records for all the registered
7841 files instead.
7842 * nss/Makefile (libnss_files-routines): Add files-init.
7843 (libnss_db-routines): Add db-init.
7844 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
7845 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
7846 * nss/nss_db/db-init.c: New file.
7847 * nss/nss_files/files-init.c: New file.
7848 * nss/nsswitch.c (nss_load_library): New function. Broken out of
7849 __nss_lookup_function.
7850 (__nss_lookup_function): Call nss_load_library.
7851 (nss_load_all_libraries): New function.
7852 (__nss_disable_nscd): Take parameter with callback function for files
7853 to register. Set is_nscd. Load all the DSOs for the NSS modules
7854 used for the cached services.
7855 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
7856 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
7857 options for features to all the files in nscd.
7858
7859 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
7860
23bee3e8
RM
78612011-07-10 Roland McGrath <roland@hack.frob.com>
7862
7863 * csu/elf-init.c (__libc_csu_init): Comment typo.
7864
46a5b7f0
UD
78652011-07-09 Ulrich Drepper <drepper@gmail.com>
7866
7867 * po/pl.po: Update from translation team.
7868 * po/ja.po: Likewise.
7869 * po/ru.po: Likewise.
7870 * po/ko.po: Likewise.
7871 * po/fr.po: Likewise.
7872
d30cf5bb
RM
78732011-07-09 Roland McGrath <roland@hack.frob.com>
7874
113ddea4
RM
7875 * configure.in (.ctors/.dtors header and trailer check):
7876 Use an empirical test on a built program.
7877 * configure: Regenerated.
7878
574920b4
RM
7879 * configure.in (-z relro check): Use an empirical test on a built DSO.
7880 Detect, but do not require, on ia64.
7881 * configure: Regenerated.
7882
d30cf5bb
RM
7883 * configure.in (READELF): Find it with AC_CHECK_TOOL.
7884 Update tests that use readelf to use $READELF instead.
7885 * configure: Regenerated.
7886
8538fdb3
UD
78872011-07-08 Ulrich Drepper <drepper@gmail.com>
7888
7889 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
7890 if the result is not used.
7891
04d08991
AJ
78922011-07-05 Andreas Jaeger <aj@suse.de>
7893
7894 [BZ#9696]
7895 * stdlib/tst-strtod.c: Add testcase.
7896
de283087
AD
78972011-07-07 Ulrich Drepper <drepper@gmail.com>
7898
4e5f31c8 7899 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 7900 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
7901 The latter has a higher limit. Take additional parameter to pass to
7902 the new function.
7903 (__pathconf): Pass file to __statfs_link_max.
7904 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
7905 __statfs_link_max.
7906 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
7907 __statfs_link_max.
7908
de283087
AD
7909 [BZ #12868]
7910 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
7911 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
7912 Handle Lustre.
7913 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
7914 (__statfs_filesize_max): Likewise.
7915 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
7916
c75fa153
AJ
79172011-07-05 Andreas Jaeger <aj@suse.de>
7918
7919 * resolv/res_comp.c (dn_skipname): Remove unused variable.
7920
1a544854
UD
79212011-07-06 Marek Polacek <mpolacek@redhat.com>
7922
7923 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
7924 `status' variable.
7925 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
7926 Likewise.
7927
6f0eec67
UD
79282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
7929
7930 * Makefile (strop-tests): Add strncat.
7931 * string/test-strncat.c: New file.
7932
aae30307
UD
79332011-06-30 Marek Polacek <mpolacek@redhat.com>
7934
7935 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
7936
c0cfb5eb
UD
79372011-06-21 Andreas Jaeger <aj@suse.de>
7938
7939 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
7940 Copy rule from iconvdata/Makefile.
7941
01636b21
UD
79422011-07-06 Ulrich Drepper <drepper@gmail.com>
7943
7944 [BZ #12922]
7945 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
7946 but no long options are defined, just return 'W'.
7947
9895c8bc
UD
79482011-06-22 Marek Polacek <mpolacek@redhat.com>
7949
7950 [BZ #9696]
7951 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
7952
5d4cf042
UD
79532011-07-06 Ulrich Drepper <drepper@gmail.com>
7954
7955 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
7956 netgroups to read.
960e5535 7957 (innetgr): Likewise.
5d4cf042 7958
751eb97e
RM
79592011-07-05 Roland McGrath <roland@hack.frob.com>
7960
7961 * config.make.in (install_root): Default to $(DESTDIR).
7962
f15f1e45
UD
79632011-07-05 Ulrich Drepper <drepper@gmail.com>
7964
7965 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
7966
4e34ac6a
RM
79672011-07-02 Roland McGrath <roland@hack.frob.com>
7968
5e9b6af4
RM
7969 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
7970
84f9ea0f
RM
7971 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
7972 containing directory rather than embedding absolute directory names.
7973
ea5ee9f7
RM
7974 * scripts/check-local-headers.sh: Rewritten using awk.
7975 Match by word, not by line. Print error messages for matches.
7976 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
7977
1b74661a
RM
7978 * Makerules [shlib-lds-flags empty]:
7979 ($(common-objpfx)libc_pic.opts): New target.
7980 ($(common-objpfx)libc_pic.os.clean): New target.
7981 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
7982
7983 * config.make.in (OBJCOPY): New variable.
7984 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
7985 * configure: Regenerated.
7986
f781ef40
RM
7987 * config.make.in (use-default-link): New variable.
7988 * configure.in (use_default_link): Grok --with-default-link to set it.
7989 * configure: Regenerated.
7990 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
7991 (shlib-lds, shlib-lds-flags): Define to empty.
7992
2d4fa81e
RM
7993 * Makerules (shlib-lds): New variable.
7994 (shlib-lds-flags): New variable.
7995 (build-shlib, build-moduile, build-module-asneeded): Use it.
7996 ($(common-objpfx)libc.so): Use $(shlib-lds).
7997 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
7998 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
7999
31fffa6b
RM
8000 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
8001 DT_FLAGS/DT_FLAGS_1 with zero flags.
8002
4e34ac6a
RM
8003 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
8004 linker script munging.
8005
fcfc776b
UD
80062011-07-02 Ulrich Drepper <drepper@gmail.com>
8007
8008 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
8009 as 128-bit value.
8010 * crypt/sha512.c (sha512_process_block): Perform total addition using
8011 128-bit if possible.
8012 (__sha512_finish_ctx): Likewise.
8013 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
8014 as 64-bit value.
8015 * crypt/sha256.c (SWAP64): Define.
8016 (sha256_process_block): Perform total addition using 64-bit if
8017 possible.
8018 (__sha256_finish_ctx): Likewise.
8019
99231d9a
UD
80202011-07-01 Ulrich Drepper <drepper@gmail.com>
8021
8022 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
8023 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8024 * nscd/hstcache.c (cache_addhst): Likewise.
8025 * nscd/grpcache.c (cache_addgr): Likewise.
8026 * nscd/aicache.c (addhstaiX): Likewise
8027 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
8028
445b4a53
TK
80292011-07-01 Thorsten Kukuk <kukuk@suse.de>
8030
8031 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
8032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8033 * nscd/hstcache.c (cache_addhst): Likewise.
8034 * nscd/grpcache.c (cache_addgr): Likewise.
8035 * nscd/aicache.c (addhstaiX): Likewise
8036
6d4d8e8e
AS
80372011-07-01 Andreas Schwab <schwab@redhat.com>
8038
8039 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
8040 domain only when needed.
8041
89f654c5
AS
80422011-06-30 Andreas Schwab <schwab@redhat.com>
8043
8044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
8045 is always restored.
8046
cf3b23ff
UD
80472011-06-29 Ulrich Drepper <drepper@gmail.com>
8048
8049 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
8050 are re-adding the entry.
8051 * nscd/servicescache.c (cache_addserv): Likewise.
8052
751626f9
AJ
80532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
8054
8055 * sysdeps/generic/dl-irel.h: fix protection against multiple
8056 inclusions.
8057 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
8058
9113ea1f
UD
80592011-06-28 Ulrich Drepper <drepper@gmail.com>
8060
5c0b8d90
UD
8061 [BZ #12935]
8062 * malloc/memusage.sh: Fix quoting in message.
8063 * debug/xtrace.sh: Likewise.
8064
9113ea1f
UD
8065 * configure.in: Remove support for --experimental-malloc option, make
8066 it the default.
8067 * config.make.in: Likewise.
8068 * malloc/Makefile: Likewise.
8069
a4172181
AS
80702011-06-27 Andreas Schwab <schwab@redhat.com>
8071
8072 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
8073 two-byte characters.
8074
78a7eee7
RM
80752011-06-27 Roland McGrath <roland@hack.frob.com>
8076
62bede13
RM
8077 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
8078 AC_CACHE_CHECK invocation.
8079 * configure: Regenerated.
8080
78a7eee7
RM
8081 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
8082
5ce33a62
UD
80832011-06-27 Ulrich Drepper <drepper@gmail.com>
8084
034807a9
UD
8085 [BZ #12350]
8086 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
8087 bit from old_res_options.
8088
4902da17
UD
8089 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
8090
5ce33a62
UD
8091 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
8092 value type for setfct.
8093
c2344f56
L
80942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
8095
8096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8097 __gettimeofday instead of gettimeofday.
8098
68468076
UD
80992011-06-26 Ulrich Drepper <drepper@gmail.com>
8100
8101 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
8102
acb0d739
L
81032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
8104
8105 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
8106
8107 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
8108 info.
8109
8912479f
L
81102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8111
8112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8113 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8114 strcpy-sse2-unaligned strncpy-sse2-unaligned
8115 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
8116 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
8117 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
8118 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
8119 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
8120 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
8121 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
8122 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
8123 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
8124 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
8125 (STRCPY): Support SSE2 and SSSE3 versions.
8126
d5495a11
UD
81272011-06-24 Ulrich Drepper <drepper@gmail.com>
8128
8129 [BZ #12874]
8130 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
8131 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
8132 kernels which artificially limit size of requests.
8133
0b1cbaae
L
81342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
8135
8136 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8137 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
8138 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
8139 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
8140 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
8141 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
8142 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
8143 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
8144 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
8145 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
8146 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
8147 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
8148 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
8149 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
8150 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
8151 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8152 Enable unaligned load optimization for Intel Core i3, i5 and i7
8153 processors.
8154 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
8155 Define.
8156 (index_Fast_Unaligned_Load): Define.
8157 (HAS_FAST_UNALIGNED_LOAD): Define.
8158
07f494a0
MP
81592011-06-23 Marek Polacek <mpolacek@redhat.com>
8160
8161 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
8162
fa3fc0fe
UD
81632011-06-22 Ulrich Drepper <drepper@gmail.com>
8164
8165 [BZ #12907]
8166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
8167 until it is clear that the information is realy needed.
8168 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
8169
e12df166
AS
81702011-06-22 Andreas Schwab <schwab@redhat.com>
8171
8172 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
8173
852eb34d
UD
81742011-06-22 Ulrich Drepper <drepper@gmail.com>
8175
84e2a551
UD
8176 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
8177 /sys/devices/system/cpu/online if it is usable.
8178
852eb34d
UD
8179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
8180 reading the information from the /proc filesystem to once a second.
8181
6e502e19
UD
81822011-06-21 Andreas Jaeger <aj@suse.de>
8183
8184 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
8185 NULL after inclusion of kernel headers.
8186
75d39ff2
UD
81872011-06-21 Ulrich Drepper <drepper@gmail.com>
8188
51f9aa6a
UD
8189 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
8190 calls to internal_setent.
8191
c0244a9d
UD
8192 [BZ #12885]
8193 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
8194 addresses using gethostbyname4_r ignore IPv4 addresses.
8195
c5e3c2ae
UD
8196 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
8197 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
8198
75d39ff2
UD
8199 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
8200
42675c6f
DM
82012011-06-20 David S. Miller <davem@davemloft.net>
8202
8203 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
8204 inclusions.
8205 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
8206
8207 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
8208 (elf_irel): Use it.
8209 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
8210 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
8211 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
8212 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
8213 * sysdeps/x86_64/dl-irel.h: Likewise.
8214
8215 * elf/dl-runtime.c: Use elf_ifunc_invoke.
8216 * elf/dl-sym.c: Likewise.
8217
57912a71
UD
82182011-06-15 Ulrich Drepper <drepper@gmail.com>
8219
8220 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
8221 need to dereference resplen2.
8222
ee22793d
AS
82232011-06-14 Andreas Schwab <schwab@redhat.com>
8224
8225 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
8226
a9e836b0
UD
82272011-06-15 Ulrich Drepper <drepper@gmail.com>
8228
77fb9117
UD
8229 * Makeconfig: Define vardbdir and inst_vardbdir.
8230 * nss/Makefile: Add rules to install db-Makefile.
8231
40c1b22c
UD
8232 * nss/nss_db/db-XXX.c: Cleanup.
8233
9f2da732
UD
8234 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
8235 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
8236 GLIBC_PRIVATE.
8237 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
8238 * nss/makedb.c: Implement -g option to specify that value strings
8239 are generated and should not be added to table iterated over for
8240 get*ent calls.
8241 * nss/nss_db/db-initgroups.c: New file.
8242
82e9a1f7
UD
8243 * nss/getent.c: Add support for initgroups lookups through getgrouplist
8244 interface.
8245
c41af17e
UD
8246 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
8247 (internal_getgrouplist): Adjust to name change.
8248 Update use_initgroups_entry if this is not the first call.
8249 * nss/databases.def: Add initgroups entry.
8250
a9e836b0
UD
8251 * nss/makedb.c (compute_tables): Check result of multiple hash table
8252 sizes to minimize maximum chain length.
8253
2666d441
UD
82542011-06-14 Ulrich Drepper <drepper@gmail.com>
8255
8256 * Versions.def: Add entry for libnss_db.
8257 * shlib-versions: Likewise.
8258 * nss/Makefile: Add rules to build libnss_db.
8259 * nss/Versions: Add libnss_db information. Organize libnss_files
8260 entries better.
8261 * nss/db-Makefile: Add gshadow support. Change rules for the new
8262 makedb progra. Some minor improvements to generate smaller files.
8263 * nss/nss_db/nss_db.h: Move NSS database header data structures to
8264 here from...
8265 * nss/makedb.c: ...here.
8266 Improve database format to be smaller and require less memory at
8267 runtime.
8268 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
8269 db anymore.
8270 * nss/nss_db/db-netgrp.c: Likewise.
8271 * nss/nss_db/db-open.c: Likewise.
8272 * nss/nss_files/flies-XXX.x: Adjust comments.
8273 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
8274 * nss/nss_files/files-grp.c: Likewise.
8275 * nss/nss_files/files-hosts.c: Likewise.
8276 * nss/nss_files/files-network.c: Likewise.
8277 * nss/nss_files/files-proto.c: Likewise.
8278 * nss/nss_files/files-pwd.c: Likewise.
8279 * nss/nss_files/files-rpc.c: Likewise.
8280 * nss/nss_files/files-service.c: Likewise.
8281 * nss/nss_files/files-sgrp.c: Likewise.
8282 * nss/nss_files/files-spwd.c: Likewise.
8283 * nss/nss_db/db-alias.c: Removed.
8284 * nss/nss_db/dummy-db.h: Removed.
8285
9ee76b5a
UD
82862011-06-02 Ulrich Drepper <drepper@gmail.com>
8287
8288 * nss/makedb.c: Rewritten to not use database library.
8289 * nss/Makefile: Update to build new makedb program.
8290
c71ca1f8
AJ
82912011-06-14 Andreas Jaeger <aj@suse.de>
8292
8293 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
8294 memset declaration.
8295
3154bfb8
UD
82962011-06-10 Andreas Schwab <schwab@redhat.com>
8297
8298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
8299 tmpbuf.
8300
b350afab
RM
83012011-06-10 Roland McGrath <roland@hack.frob.com>
8302
decd4e50
RM
8303 * Makerules (shlib.lds): Fail if the linker script comes out empty.
8304 * elf/Makefile ($(objpfx)ld.so): Likewise.
8305
5615eaf2
RM
8306 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
8307 Don't list ld.so twice in dependencies.
8308
8309 * posix/bug-regex31.c: Include <stdlib.h>.
8310
8311 * nscd/hstcache.c (cache_addhst): Remove unused variable.
8312
8313 * nis/nss_compat/compat-spwd.c
8314 (getspent_next_nss_netgr): Remove unused variable.
8315 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
8316
8317 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
8318 nonmembers" output to use the right array.
8319
8320 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
8321
8322 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
8323
8324 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
8325 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
8326 * catgets/gencat.c (read_input_file): Likewise.
8327 * locale/programs/locarchive.c (enlarge_archive): Likewise.
8328
8329 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
8330 variable definition inside #if's controlling its use.
8331
8332 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
8333
8334 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
8335
8336 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
8337
8338 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
8339 unreachable code.
8340
8341 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
8342
b68e08db
RM
8343 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
8344 * configure: Regenerated.
8345
b350afab
RM
8346 * Makerules: Revert last change.
8347 * elf/Makefile: Likewise.
8348
28368601
RM
83492011-06-09 Roland McGrath <roland@hack.frob.com>
8350
8351 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
8352 * elf/Makefile ($(objpfx)librtld.os): Likewise.
8353 (reloc-link): Likewise.
8354
11988f8f
UD
83552011-06-09 Ulrich Drepper <drepper@gmail.com>
8356
8357 * elf/Makefile: Add rules to build pldd.
8358 * elf/pldd.c: New file.
8359 * elf/pldd-xx.c: New file.
8360
e80fab37
UD
83612011-06-07 Ulrich Drepper <drepper@gmail.com>
8362
8363 * version.h: Update for 2.15 development version.
8364
9b849836
DM
83652011-06-07 David S. Miller <davem@davemloft.net>
8366
8367 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
8368 ifuncs.
8369 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
8370 elf_machine_lazy_rel): Likewise.
8371 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8372 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
8373 elf_machine_lazy_rel): Likewise.
8374 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
8375 dl_hwcap via passed in argument.
8376 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
8377 Likewise.
8378
5a31b283
AK
83792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8380
8381 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
8382
069e52f8
RM
83832011-06-06 Roland McGrath <roland@hack.frob.com>
8384
8385 [BZ #12849]
8386 * manual/fdl-1.1.texi: New file, verbatim from:
8387 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
8388 * manual/lgpl-2.1.texi: New file, verbatim from:
8389 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
8390 * manual/Makefile (licenses): New variable, list those new file names.
8391 (texis): Use it.
8392 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
8393
8394 * manual/fdl.texi: File removed.
8395 * manual/lesser.texi: File removed.
8396 * manual/libc.texinfo (Copying, Documentation License):
8397 Use new @include file names, put @appendix directive before @include.
8398
f16846a5
JJ
83992011-06-04 Jakub Jelinek <jakub@redhat.com>
8400
8401 [BZ #12841]
8402 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
8403 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
8404 (mq_open): Add __NTH.
8405
3d29045b
L
84062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
8407
8408 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8409 Assume Intel Core i3/i5/i7 processor if AVX is available.
8410
8c297311
UD
84112011-05-31 Ulrich Drepper <drepper@gmail.com>
8412
8413 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8414 typo.
8415
c8fc0c91
UD
84162011-05-31 Andreas Schwab <schwab@redhat.com>
8417
8418 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
8419 memory. Use alloca_account. Fix memory leak when retrying.
8420
5b27a807
UD
84212011-05-31 Ulrich Drepper <drepper@gmail.com>
8422
356f8bc6
UD
8423 * version.h (RELEASE): Bump for 2.14 release.
8424 * include/features.h (__GLIBC_MINOR__): Bump to 14.
8425
5b27a807
UD
8426 * config.make.in (RANLIB): Remove entry.
8427
01f16ab0
UD
84282011-05-30 Ulrich Drepper <drepper@gmail.com>
8429
41fce8bd
UD
8430 * po/Makefile (po-sed-cmd): Add ksh to extensions.
8431 (libc.pot): Work around missing support for .ksh extension in xgettext.
8432
4769ae77
UD
8433 [BZ #12684]
8434 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
8435 if both request failed.
8436 (send_dg): In case of server errors clear resplen or *resplen2.
8437
6b1e7d19
UD
8438 [BZ #12454]
8439 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
8440 when there are multiple maps.
8441 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
8442 (_dl_fini): Remove test here.
8443
01f16ab0
UD
8444 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
8445
b1ebd700
UD
84462011-05-29 Ulrich Drepper <drepper@gmail.com>
8447
7ae22829
UD
8448 [BZ #12350]
8449 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
8450 bit from old_res_options.
8451 (gaih_inet): Likewise.
8452
553149f6 8453 [BZ #11099]
18a84741 8454 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
8455 as signed.
8456
652ffab1
UD
8457 * resolv/res_init.c (res_setoptions): Make the code more compact.
8458
16985fd0
UD
8459 [BZ #11558]
8460 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
8461 set RES_USEVC.
8462
0464f746
UD
8463 [BZ #11634]
8464 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
8465
7d17596c
UD
8466 * malloc/malloc.h: Mark malloc hook variables as deprecated.
8467
cf6bbbd7
UD
8468 [BZ #11781]
8469 * malloc/malloc.h: Declare malloc hook variables as volatile.
8470
13f1ab36
UD
8471 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
8472 in last patch.
8473
b1ebd700
UD
8474 [BZ #11799]
8475 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 8476 raise in the comment.
80e2212d
UD
8477 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8479 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 8480
ce67228d
UD
84812011-05-28 Ulrich Drepper <drepper@gmail.com>
8482
8887a920
UD
8483 [BZ #12811]
8484 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
8485 grow the buffers more if it already has to be sufficient.
8486 (build_wcs_upper_buffer): Likewise.
8487 * posix/regexec.c (check_matching): Likewise.
8488 (clean_state_log_if_needed): Likewise.
8489 (extend_buffers): Don't enlarge buffers beyond size of the input
8490 buffer.
8491 Patches mostly by Emil Wojak <emil@wojak.eu>.
8492 * posix/bug-regex32.c: New file.
8493 * posix/Makefile (tests): Add bug-regex32.
8494
4f031072
UD
8495 * locale/findlocale.c (_nl_find_locale): Return right away if
8496 _nl_explode_name failed.
8497 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
8498
d0478f0c
UD
8499 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
8500
de81b246
UD
8501 * debug/xtrace.sh: Unify messages.
8502 * malloc/memusage.sh: Likewise.
8503
c738465a
UD
8504 [BZ #12813]
8505 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
8506 time symbol from vDSO. Substitute with vsyscall if not available.
8507 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
8508 __vdso_time.
8509
f1f929d7
UD
8510 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
8511 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
8512 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
8513 Add sendmmsg and internal_sendmmsg.
8514 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
8515 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
8516 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
8517
ce67228d
UD
8518 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
8519 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
8520 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
8521
e57420c6
UD
85222011-05-27 Ulrich Drepper <drepper@gmail.com>
8523
a8509ca5
UD
8524 [BZ #12813]
8525 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
8526 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
8527 available.
8528 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
8529 __vdso_getcpu.
8530
e57420c6
UD
8531 [BZ #12814]
8532 * iconvdata/Makefile (tests): Add bug-iconv9.
8533 * iconvdata/bug-iconv9.c: New file.
8534
4d07db15
AS
85352011-05-27 Andreas Schwab <schwab@redhat.com>
8536
8537 [BZ #12814]
8538 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
8539
ea486f69
JJ
85402011-05-25 Jakub Jelinek <jakub@redhat.com>
8541
8542 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8543 (struct user_regs_struct): Change intcs field back to cs.
8544
6f038433
UD
85452011-05-25 Ulrich Drepper <drepper@gmail.com>
8546
8547 * po/ja.po: Update from translation team.
8548
67f86a25
UD
85492011-05-23 Ulrich Drepper <drepper@gmail.com>
8550
8551 [BZ #12795]
8552 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
8553 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
8554
def7fbd6
AS
85552011-05-20 Andreas Schwab <schwab@redhat.com>
8556
8557 * stdlib/longlong.h: Update from GCC.
8558
f50ef8f1
AS
85592011-05-23 Andreas Schwab <schwab@redhat.com>
8560
8561 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
8562 parameter name.
8563 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
8564 Add parameter name.
8565 (__sysconf): Pass it down.
8566
de7ce8f1
UD
85672011-05-22 Ulrich Drepper <drepper@gmail.com>
8568
f2962a71
UD
8569 [BZ #12671]
8570 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
8571 some situations.
8572 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
8573 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
8574 add in in __libc_use_alloca calls. Adjust callers.
8575 (glob): Use malloc in some situations.
8576
de7ce8f1
UD
8577 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
8578 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
8579 pltexit.
8580
aec84f53
UD
85812011-05-21 Ulrich Drepper <drepper@gmail.com>
8582
05bb4a68
UD
8583 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
8584 and CLOCK_BOOTTIME_ALARM.
8585
7ea72f99
UD
8586 [BZ #12782]
8587 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
8588 is returned.
8589
7e4afad5
UD
8590 * string/_strerror.c (__strerror_r): Print negative errors as signed
8591 numbers.
8592
8e211fec
UD
8593 [BZ #12777]
8594 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
8595 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
8596 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
8597
f7d82dc9
UD
8598 * configure.in: Fix typo in redirection and correct removal of test
8599 files in two cases.
8600
cc9e536d
UD
8601 [BZ #12788]
8602 * locale/setlocale.c (new_composite_name): Fix test to check for
8603 identical name of all categories.
8604
aec84f53
UD
8605 [BZ #12792]
8606 * libio/filedoalloc.c (local_isatty): New function.
8607 (_IO_file_doallocate): Use local_isatty.
8608 * stdio-common/perror.c (perror): In case a new stream is used
8609 forward the stream error.
8610 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
8611 error flag.
8612
78e64fdc
RT
86132011-05-20 Ulrich Drepper <drepper@gmail.com>
8614
34a9094f
UD
8615 [BZ #11869]
8616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
8617 alloca.
8618 * include/alloca.h (extend_alloca_account): Define.
8619
78e64fdc
RT
8620 [BZ #11857]
8621 * posix/regex.h: Fix comments with documentation of user-accessible
8622 fields after compilation and describe correct free'ing of pattern
8623 after re_compile_pattern.
8624 Patch by Reuben Thomas <rrt@sc3d.org>.
8625
457bddfc
RA
86262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
8627
8628 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
8629 and -mno-altivec to prevent the compiler from using Altivec and/or
8630 VSX instructions when the corresponding registers are not available.
8631
a4527b51
AS
86322011-05-19 Andreas Schwab <schwab@redhat.com>
8633
8634 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
8635
ed690b2f
UD
86362011-05-19 Ulrich Drepper <drepper@gmail.com>
8637
8638 * libio/freopen.c (freopen): Use __dup2, not dup2.
8639 * libio/freopen64.c (freopen64): Likewise.
8640
8db73634
L
86412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
8642
8643 [BZ #12775]
8644 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
8645 * math/Makefile (tests): Add test-powl.
8646 (CFLAGS-test-powl.c): Define.
8647 * math/test-powl.c: New file.
8648
0a197a9d
L
86492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
8650
8651 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
8652
ee30c380
UD
86532011-05-17 Ulrich Drepper <drepper@gmail.com>
8654
8655 [BZ #11837]
8656 * iconvdata/gb18030.c: Update to GB18020-2005.
8657
6ce75379
UD
86582011-05-16 Ulrich Drepper <drepper@gmail.com>
8659
a4b89fd8
AR
8660 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
8661 RE_SYNTAX_POSIX_AWK): Update to match recent development.
8662 Patch by Aharon Robbins <arnold@skeeve.com>.
8663
ea389b12
UD
8664 [BZ #11892]
8665 * stdlib/putenv.c (putenv): Don't always create copy of the variable
8666 on the stack.
8667
68a3f91f
UD
8668 [BZ #11895]
8669 * misc/pselect.c (__pselect): Handle timeout value errors hidden
8670 through underflows.
8671
15cc7dd1
UD
8672 [BZ #12766]
8673 * misc/error.c (error_at_line): Ensure file_name and old_file_name
8674 point to strings before performing equality test for error_one_per_line
8675 mode.
8676
f3799213
UD
8677 [BZ #11697]
8678 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
8679
d79a9c94
UD
8680 [BZ #11820]
8681 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
8682 (struct user_fpregs_struct): Avoid __uint*_t types.
8683
56e5eb46
UD
8684 [BZ #6420]
8685 * malloc/mtrace.c (tr_where): Add additional parameter to point to
8686 symbol info. Use it instead of calling _dl_addr locally.
8687 (lock_and_info): New function.
8688 (tr_freehook): Call lock_and_info and pass symbol info as additional
8689 parameter to tr_where.
8690 (tr_mallochook): Likewise.
8691 (tr_reallochook): Likewise.
8692 (tr_memalignhook): Likewise.
8693
6ce75379
UD
8694 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
8695 used and couldn't be at all thread-safe.
8696
f8a3b5bf
UD
86972011-05-15 Ulrich Drepper <drepper@gmail.com>
8698
94b7cc37
UD
8699 * libio/freopen.c (freopen): Don't close old file descriptor
8700 before the new one is opened. Instead dup the new file descriptor
8701 to the old one after the new stream is created.
8702 * libio/freopen64.c (freopen64): Likewise.
8703 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
8704 * libio/fileops.c (_IO_new_file_close_it): Handle new
8705 _IO_FLAGS2_NOCLOSE flag.
8706 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
8707 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
8708 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
8709 _IO_FLAGS2_NOCLOSE flag.
8710 * include/unistd.h: Add hidden_proto for dup3.
8711 Define __have_dup3.
8712 * io/dup3.c: Define hidden symbol.
8713 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
8714
bd25564e
UD
8715 [BZ #7101]
8716 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
8717 when an incomplete long option is used.
8718 * posix/tst-getopt_long1.c: New file.
8719 * posix/Makefile (tests): Add tst-getopt_long1.
8720
c84cfef4
UD
8721 [BZ #10138]
8722 * scripts/config.guess: Update from autoconf-2.68.
8723 * scripts/config.sub: Likewise.
8724
3b85df27
UD
8725 [BZ #10157]
8726 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
8727 tests into ...
8728 (has_cpuclock): ...this. New function.
8729 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
8730 macro here based on has_cpuclock code.
8731
15a856b1
UD
8732 [BZ #10149]
8733 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8734 First byte (not low byte) is now always NUL.
8735 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
8736
05f399e6
UD
8737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8738 Use non-cancelable interfaces.
8739
10a52685 8740 [BZ #9809]
94ecc67d
UD
8741 * locale/iso-639.def: Add entry for Sorani.
8742
f8a3b5bf
UD
8743 [BZ #11901]
8744 * include/stdlib.h: Move include protection to the right place.
8745 Define abort_msg_s. Declare __abort_msg with it.
8746 * stdlib/abort.c (__abort_msg): Adjust type.
8747 * assert/assert.c (__assert_fail_base): New function. Majority
8748 of code from __assert_fail. Allocate memory for __abort_msg with
8749 mmap.
8750 (__assert_fail): Now call __assert_fail_base.
8751 * assert/assert-perr.c: Remove bulk of implementation. Use
8752 __assert_fail_base.
8753 * include/assert.hL Declare __assert_fail_base.
8754 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
8755 mmap.
8756 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
8757
1af4e298
UD
87582011-05-14 Ulrich Drepper <drepper@gmail.com>
8759
f8a3b5bf 8760 [BZ #11952]
d26dfc60
MG
8761 [BZ #12453]
8762 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
8763 until all modules are registered in the DTV.
8764 * elf/Makefile: Add rules to build and run tst-tls19.
8765 * elf/tst-tls19.c: New file.
8766 * elf/tst-tls19mod1.c: New file.
8767 * elf/tst-tls19mod2.c: New file.
8768 * elf/tst-tls19mod3.c: New file.
8769 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
8770
2fc54d6f
UD
8771 [BZ #12083]
8772 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
8773 correctly.
8774
98d76b46
UD
8775 [BZ #12601]
8776 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
8777 two-byte sequence errors.
8778 * iconvdata/Makefile (tests): Add bug-iconv8.
8779 * iconvdata/bug-iconv8.c: New file.
8780
da3c19ef
UD
8781 [BZ #12626]
8782 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
8783 buf2 definition.
8784
ca408c15
UD
8785 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
8786
d6f67f7d
UD
8787 [BZ #12432]
8788 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
8789 (dummy_getcfa): New function.
8790 (init): Get _Unwind_GetCFA address, use dummy if not found.
8791 (backtrace_helper): In recursion check, also check whether CFA changes.
8792 (__backtrace): Completely initialize arg.
8793
1af4e298 8794 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
8795 storing incomplete byte sequence in state object. Avoid testing for
8796 guaranteed too small input if we know there is enough data available.
1af4e298 8797
da62f81b
AS
87982011-05-11 Andreas Schwab <schwab@redhat.com>
8799
8800 * Makeconfig (+link-pie): Indent.
8801 * Rules (binaries-pie): Define if $(have-fpie) and
8802 $(build-shared).
8803 (binaries-shared): Also filter out $(binaries-pie).
8804 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
8805 * nscd/Makefile (others-pie): Add nscd.
8806 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
8807 ($(objpfx)nscd): Remove command override.
8808 * login/Makefile (others-pie): Add pt_chown.
8809 ($(objpfx)pt_chown): Remove command override.
8810 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
8811 remove command overrides.
8812
fcabc0f8
UD
88132011-05-13 Ulrich Drepper <drepper@gmail.com>
8814
20030ae6
UD
8815 * libio/tst_putwc.c: Fix error messages.
8816
fcabc0f8
UD
8817 [BZ #12724]
8818 * libio/fileops.c (_IO_new_file_close_it): Always flush when
8819 currently writing and seek to current position when not.
8820 * libio/Makefile (tests): Add bug-fclose1.
8821 * libio/bug-fclose1.c: New file.
8822
320a5dc0
PB
88232011-05-12 Ulrich Drepper <drepper@gmail.com>
8824
8825 [BZ #12511]
8826 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
8827 don't set DF_1_NODELETE here.
8828 (do_lookup_x): When entering new entry test for copy relocation
8829 and if necessary set DF_1_NODELETE flag.
8830 * elf/tst-unique4.cc: New file.
8831 * elf/tst-unique4.h: New file.
8832 * elf/tst-unique4lib.cc: New file.
8833 * elf/Makefile: Add rules to build and run tst-unique4.
8834 Patch by Piotr Bury <pbury@goahead.com>.
8835
22836f52
UD
88362011-05-11 Ulrich Drepper <drepper@gmail.com>
8837
f574184a
UD
8838 [BZ #12052]
8839 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
8840
e1fb097f
UD
8841 [BZ #12625]
8842 * misc/mntent_r.c (addmntent): Flush the stream after the output
8843
22836f52
UD
8844 [BZ #12393]
8845 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
8846 (is_trusted_path_normalize): Skip initial colon. Append slash
8847 to empty buffer. Duplicate is_trusted_path code but allow
8848 constructed patch to be prefix.
8849 (is_dst): Allow $ORIGIN followed by /.
8850 (_dl_dst_substitute): Correct clearing of check_for_trusted.
8851 Correct testing of result of is_trusted_path_normalize
8852 (decompose_rpath): Fix warning.
8853
7b3b0b2a
UD
88542011-05-10 Ulrich Drepper <drepper@gmail.com>
8855
8856 [BZ #11257]
8857 * grp/initgroups.c (internal_getgrouplist): When we found the service
8858 list through the initgroups entry in nsswitch.conf do not always
8859 continue on a successful lookup. Don't always use the
eac80ce2 8860 __nss_group_database value if it is set.
7b3b0b2a
UD
8861 * nss/nsswitch.conf (initgroups): Change action for successful db
8862 lookup to continue for compatibility.
8863
2a81eaa5
UD
88642011-05-09 Ulrich Drepper <drepper@gmail.com>
8865
be97a69e
UD
8866 [BZ #11532]
8867 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
8868 and CP774 modules.
8869 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
8870 and CP774 modules.
8871 * iconvdata/tst-tables.sh: Likewise.
8872 * iconvdata/cp770.c: New file.
8873 * iconvdata/cp771.c: New file.
8874 * iconvdata/cp772.c: New file.
8875 * iconvdata/cp773.c: New file.
8876 * iconvdata/cp774.c: New file.
8877 * iconvdata/testdata/CP770: New file.
8878 * iconvdata/testdata/CP770..UTF8: New file.
8879 * iconvdata/testdata/CP771: New file.
8880 * iconvdata/testdata/CP771..UTF8: New file.
8881 * iconvdata/testdata/CP772: New file.
8882 * iconvdata/testdata/CP772..UTF8: New file.
8883 * iconvdata/testdata/CP773: New file.
8884 * iconvdata/testdata/CP773..UTF8: New file.
8885 * iconvdata/testdata/CP774: New file.
8886 * iconvdata/testdata/CP774..UTF8: New file.
8887
8888 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
8889 END CHARMAP line.
8890 * iconvdata/gen-8bit-gap.sh: Likewise.
8891 * iconvdata/gen-8bit.sh: Likewise.
8892
c1e9e399
UD
8893 * locale/iso-639.def: Add ary entry.
8894
24c55fb3 8895 [BZ #11258]
96b4b1b0
UD
8896 * locale/C-translit.h.in: Add U20A1 transliteration.
8897
bdc2f971
KB
8898 [BZ #12178]
8899 * locale/iso-639.def: Add wae entry.
8900 Patch by Kevin Bortis <bortis@translate-wae.ch>.
8901
2952b117
UD
8902 [BZ #12545]
8903 * locale/programs/localedef.c (construct_output_path): Use ssize_t
8904 for n.
8905
2a81eaa5
UD
8906 [BZ #12711]
8907 * locale/C-translit.h.in: Add entry for U20B9.
8908 Patch by pravin.d.s@gmail.com.
8909
28377d1b
UD
89102011-05-08 Ulrich Drepper <drepper@gmail.com>
8911
7fb90fb8
UD
8912 [BZ #12713]
8913 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
8914 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
8915 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
8916 in rtld. Use *stat64.
7fb90fb8 8917 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 8918 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 8919 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
8920 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
8921 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
8922 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
8923 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
8924 __fstatat64 macros.
7fb90fb8
UD
8925 * include/dirent.h: Add libc_hidden_proto for rewinddir.
8926 * dirent/rewinddir.c: Add libc_hidden_def.
8927 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 8928 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 8929
28377d1b
UD
8930 * include/dirent.h (__alloc_dir): Add flags parameter.
8931 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
8932 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
8933 __alloc_dir.
8934 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
8935 from fdopendir if O_CLOEXEC is already set.
8936
66bdbaa4
AM
89372011-03-15 Alan Modra <amodra@gmail.com>
8938
8939 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
8940 l_tls_firstbyte_offset non-zero. Save padding offset in
8941 l_tls_firstbyte_offset for later use.
8942 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
8943 freeing static tls block.
8944
95721191
JN
89452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
8946
8947 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
8948 where #ifdef was intended. The intent is to prevent ARG_MAX from
8949 being defined by the kernel headers.
8950
f87dfb1f
UD
89512011-05-07 Ulrich Drepper <drepper@gmail.com>
8952
8953 [BZ #12734]
8954 * resolv/resolv.h: Define RES_NOTLDQUERY.
8955 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
8956 no-tld-query and set RES_NOTLDQUERY.
8957 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
8958 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
8959 modern BIND to search name as TLD unless forbidden.
8960
47c3cd7a
UD
89612011-05-07 Petr Baudis <pasky@suse.cz>
8962 Ulrich Drepper <drepper@gmail.com>
8963
8964 [BZ #12393]
8965 * elf/dl-load.c (fillin_rpath): Move trusted path check...
8966 (is_trusted_path): ...to here.
c1e9ea35 8967 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 8968 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 8969 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 8970
8a35c912
PP
89712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
8972
8973 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
8974 __BEGIN/__END_DECLS.
8975
acd41f47
UD
89762011-05-06 Ulrich Drepper <drepper@gmail.com>
8977
8978 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
8979 NSS_STATUS_NOTFOUND if no record was found.
8980
597df647
AS
89812011-05-05 Andreas Schwab <schwab@redhat.com>
8982
8983 * sunrpc/Makefile (headers): Add rpc/netdb.h.
8984 (headers-not-in-tirpc): Remove rpc/netdb.h
8985 * resolv/netdb.h: Revert last change.
8986
b9af1301
PP
89872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
8988
8989 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
8990 circular dependency between libgcc.a and libc.a.
8991
4e34d5f5
AS
89922011-05-05 Andreas Schwab <schwab@redhat.com>
8993
8994 * resolv/netdb.h: Don't include <rpc/netdb.h>.
8995 * nis/Makefile: Don't install rpcsvc/*.
8996 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
8997 instead of <rpc/types.h>.
8998 (MAXHOSTNAMELEN): Define.
8999
00ee369c
AS
90002011-05-03 Andreas Schwab <schwab@redhat.com>
9001
9002 * elf/ldconfig.c (add_dir): Don't crash on empty path.
9003
0b592a30
MB
90042011-04-28 Maciej Babinski <mbabinski@google.com>
9005
9006 [BZ #12714]
9007 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
9008 gethostbyname4_r when IPv6 results are possible.
9009
6e04cbbe
UD
90102011-05-02 Ulrich Drepper <drepper@gmail.com>
9011
9012 [BZ #12723]
9013 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
9014 _PC_PIPE_BUF handling.
9015
e4ecafe0
BH
90162011-04-30 Bruno Haible <bruno@clisp.org>
9017
9018 [BZ #12717]
9019 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
9020 * resolv/netdb.h (getnameinfo): Change type of flags parameter
9021 to 'int'.
9022 * inet/getnameinfo.c (getnameinfo): Likewise.
9023
125ee683
UD
90242011-04-29 Ulrich Drepper <drepper@gmail.com>
9025
9026 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
9027 to groups setting in database lookup.
9028 * nss/nsswitch.conf: Add initgroups entry.
9029
b722481a
EB
90302011-04-22 Ulrich Drepper <drepper@gmail.com>
9031
9032 [BZ #12685]
9033 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
9034 mode string.
9035 Patch by Eric Blake <eblake@redhat.com>.
9036
4df46dbd
L
90372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 * sunrpc/Makefile (need-export-routines): Add svc_run.
9040 (routines): Remove svc_run.
9041 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
9042 * sunrpc/clnt_perr.c (clnt_perrno): Export.
9043 * sunrpc/svc_run.c (svc_run): Likewise.
9044 * sunrpc/svc_udp.c (svcudp_create): Likewise.
9045
e84142d2
UD
90462011-04-21 Ulrich Drepper <drepper@gmail.com>
9047
9048 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
9049 problem in reallocation in last patch.
9050
877175d8
UD
90512011-04-20 Ulrich Drepper <drepper@gmail.com>
9052
9053 * sunrpc/Makefile: Move inclusion of Rules.
9054
ab8eed78
UD
90552011-04-19 Ulrich Drepper <drepper@gmail.com>
9056
9057 * nss/nss_files/files-initgroups.c: New file.
9058 * nss/Makefile (libnss_files-routines): Add files-initgroups.
9059 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
9060 _nss_files_initgroups_dyn.
9061
e3d8f584
RS
90622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
9063
9064 * elf/elf.h (R_ARM_IRELATIVE): Define.
9065
af190f45
UD
90662011-04-19 Ulrich Drepper <drepper@gmail.com>
9067
9068 * po/ru.po: Update from translation team.
9069
53cf59ef
UD
90702011-04-17 Ulrich Drepper <drepper@gmail.com>
9071
9072 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
9073 dependencies.
9074
4c559bcd
MF
90752011-02-06 Mike Frysinger <vapier@gentoo.org>
9076
9077 [BZ #12653]
9078 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
9079 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
9080 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9081 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9082 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9083
4420675c
AS
90842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
9085
9086 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
9087 differing bytes.
9088 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9091
75ea32ab
UD
90922011-04-17 Ulrich Drepper <drepper@gmail.com>
9093
9094 [BZ #12420]
9095 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
9096 storing it.
9097 * stdlib/bug-getcontext.c: New file.
9098 * stdlib/Makefile: Add rules to build and run bug-getcontext.
9099
27390476
AK
91002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9101
9102 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
9103 instructions into .machine "z9-109".
9104 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9105 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9106
10442705
AK
91072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9108
9109 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
9110 between environment variables and auxiliary vector.
9111
7b57bfe5
UD
91122011-04-16 Ulrich Drepper <drepper@gmail.com>
9113
9114 * Makefile: Add rules to build linkobj/libc.so.
9115 * include/libc-symbols.h: Define libc_hidden_nolink.
9116 * include/rpc/auth.h: Mark functions which are to be hidden.
9117 * include/rpc/auth_des.h: Likewise.
9118 * include/rpc/auth_unix.h: Likewise.
9119 * include/rpc/clnt.h: Likewise.
9120 * include/rpc/des_crypt.h: Likewise.
9121 * include/rpc/key_prot.h: Likewise.
9122 * include/rpc/pmap_clnt.h: Likewise.
9123 * include/rpc/pmap_prot.h: Likewise.
9124 * include/rpc/pmap_rmt.h: Likewise.
9125 * include/rpc/rpc_msg.h: Likewise.
9126 * include/rpc/svc.h: Likewise.
9127 * include/rpc/svc_auth.h: Likewise.
9128 * include/rpc/xdr.h: Likewise.
9129 * nis/Makefile: Link all DSOs against linkobj/libc.so.
9130 * nss/Makefile: Likewise.
9131 * sunrpc/Makefile: Don't install headers. Build library with normal
9132 entry points. Don't build rpcinfo. Link RPC tests appropriately.
9133 * sunrpc/auth_des.c: Hide exported symbols by default, export some
9134 for the compat linking library. Remove use of INTDEF/INTUSE.
9135 * sunrpc/auth_none.c: Likewise.
9136 * sunrpc/auth_unix.c: Likewise.
9137 * sunrpc/authdes_prot.c: Likewise.
9138 * sunrpc/authuxprot.c: Likewise.
9139 * sunrpc/clnt_gen.c: Likewise.
9140 * sunrpc/clnt_perr.c: Likewise.
9141 * sunrpc/clnt_raw.c: Likewise.
9142 * sunrpc/clnt_simp.c: Likewise.
9143 * sunrpc/clnt_tcp.c: Likewise.
9144 * sunrpc/clnt_udp.c: Likewise.
9145 * sunrpc/clnt_unix.c: Likewise.
9146 * sunrpc/des_crypt.c: Likewise.
9147 * sunrpc/des_soft.c: Likewise.
9148 * sunrpc/get_myaddr.c: Likewise.
9149 * sunrpc/key_call.c: Likewise.
9150 * sunrpc/key_prot.c: Likewise.
9151 * sunrpc/netname.c: Likewise.
9152 * sunrpc/pm_getmaps.c: Likewise.
9153 * sunrpc/pm_getport.c: Likewise.
9154 * sunrpc/pmap_clnt.c: Likewise.
9155 * sunrpc/pmap_prot.c: Likewise.
9156 * sunrpc/pmap_prot2.c: Likewise.
9157 * sunrpc/pmap_rmt.c: Likewise.
9158 * sunrpc/publickey.c: Likewise.
9159 * sunrpc/rpc_cmsg.c: Likewise.
9160 * sunrpc/rpc_common.c: Likewise.
9161 * sunrpc/rpc_dtable.c: Likewise.
9162 * sunrpc/rpc_prot.c: Likewise.
9163 * sunrpc/rpc_thread.c: Likewise.
9164 * sunrpc/rtime.c: Likewise.
9165 * sunrpc/svc.c: Likewise.
9166 * sunrpc/svc_auth.c: Likewise.
9167 * sunrpc/svc_authux.c: Likewise.
9168 * sunrpc/svc_raw.c: Likewise.
9169 * sunrpc/svc_run.c: Likewise.
9170 * sunrpc/svc_simple.c: Likewise.
9171 * sunrpc/svc_tcp.c: Likewise.
9172 * sunrpc/svc_udp.c: Likewise.
9173 * sunrpc/svc_unix.c: Likewise.
9174 * sunrpc/svcauth_des.c: Likewise.
9175 * sunrpc/xcrypt.c: Likewise.
9176 * sunrpc/xdr.c: Likewise.
9177 * sunrpc/xdr_array.c: Likewise.
9178 * sunrpc/xdr_float.c: Likewise.
9179 * sunrpc/xdr_intXX_t.c: Likewise.
9180 * sunrpc/xdr_mem.c: Likewise.
9181 * sunrpc/xdr_rec.c: Likewise.
9182 * sunrpc/xdr_ref.c: Likewise.
9183 * sunrpc/xdr_sizeof.c: Likewise.
9184 * sunrpc/xdr_stdio.c: Likewise.
9185
e6c61494
UD
91862011-04-10 Ulrich Drepper <drepper@gmail.com>
9187
9188 [BZ #12650]
9189 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
9190 * sysdeps/ia64/dl-tls.h: Likewise.
9191 * sysdeps/powerpc/dl-tls.h: Likewise.
9192 * sysdeps/s390/dl-tls.h: Likewise.
9193 * sysdeps/sh/dl-tls.h: Likewise.
9194 * sysdeps/sparc/dl-tls.h: Likewise.
9195 * sysdeps/x86_64/dl-tls.h: Likewise.
9196 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
9197
34fe483e
AS
91982011-03-14 Andreas Schwab <schwab@redhat.com>
9199
9200 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
9201 rpath element also skip the following colon.
9202 (expand_dynamic_string_token): Add is_path parameter and pass
9203 down to DL_DST_REQUIRED and _dl_dst_substitute.
9204 (decompose_rpath): Call expand_dynamic_string_token with
9205 non-zero is_path. Ignore empty rpaths.
9206 (_dl_map_object_from_fd): Call expand_dynamic_string_token
9207 with zero is_path.
9208
f12a32e6
AS
92092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
9210
9211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
9212 Make cancelable.
9213
38a7d692
UD
92142011-04-09 Ulrich Drepper <drepper@gmail.com>
9215
9216 [BZ #12655]
9217 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
9218 Patch by Filipe David Manana <fdmanana@apache.org>.
9219
e451d22b
AS
92202011-04-07 Andreas Schwab <schwab@redhat.com>
9221
9222 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
9223 Maintain aligned stack.
9224 (CHECK_RSP): Remove unused macro.
9225
dedc7c7b
UD
92262011-04-03 Ulrich Drepper <drepper@gmail.com>
9227
9228 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
9229 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
9230
94521213
UD
92312011-04-02 Ulrich Drepper <drepper@gmail.com>
9232
9233 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
9234
8cb700c0 9235 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 9236
0354e355
L
92372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
9238
9239 [BZ #12518]
9240 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
9241 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
9242 * sysdeps/x86_64/memmove.c: New file.
9243 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
9244 (memcpy): Renamed to ...
9245 (__new_memcpy): This.
9246 (memcpy): Provide GLIBC_2_14 memcpy.
9247 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
9248 (memcpy): Provide GLIBC_2_2_5 memcpy.
9249
8593482f
UD
92502011-04-01 Ulrich Drepper <drepper@gmail.com>
9251
9252 [BZ #12631]
9253 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
9254
81a5726b
AS
92552011-03-30 Andreas Schwab <schwab@redhat.com>
9256
9257 * misc/syncfs.c: New file.
9258 * misc/Makefile (routines): Add syncfs.
9259 * posix/unistd.h: Declare syncfs.
9260 * sysdeps/unix/syscalls.list: Add syncfs.
9261
00e5419f
AS
92622011-04-01 Andreas Schwab <schwab@redhat.com>
9263
9264 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
9265 open_by_handle_at.
9266 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
9267 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9268 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9270 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9271 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
9272 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9273
748876bf
UD
92742011-04-01 Ulrich Drepper <drepper@gmail.com>
9275
658e451d
UD
9276 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
9277 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9278 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
9279 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9280 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9281 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9282 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9283
748876bf
UD
9284 * io/Makefile: Compile fallocate.c, fallocate64.c, and
9285 sync_file_range.c with -fexceptions.
9286 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
9287 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
9288 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
9289 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
9290 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
9291 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
9292 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
9293 sync_file_range as cancellation point
9294 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
9295 now a wrapper around __call_sync_file_range with cancellation handling.
9296 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
9297 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
9298 function name to __call_sync_file_range.
9299 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
9300 Add call_sync_file_range.
748876bf 9301
6e63d5e1
AS
93022011-04-01 Andreas Schwab <schwab@redhat.com>
9303
9304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 9305 bits/timex.h.
6e63d5e1 9306
46998f74
UD
93072011-04-01 Ulrich Drepper <drepper@gmail.com>
9308
4c1423ed
UD
9309 * iconv/iconv.h: Fix typo in comment.
9310 * io/fcntl.h: Likewise.
9311 * libio/stdio.h: Likewise.
9312 * posix/spawn.h: Likewise.
9313 * posix/unistd.h: Likewise.
9314 * stdlib/stdlib.h: Likewise.
9315 * time/time.h: Likewise.
9316 * wcsmbs/wchar.h: Likewise.
9317
158648c0
UD
9318 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
9319 open_by_handle): Add.
9320 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
9321 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
9322 Augment a few comments.
9323 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
9325 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
9326 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9327 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
9328 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
9329 open_by_handle.
9330
46998f74
UD
9331 * io/fcntl.h (AT_EMPTY_PATH): Define.
9332
83fe108b
UD
93332011-03-30 Ulrich Drepper <drepper@gmail.com>
9334
9335 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
9336 * sysdeps/unix/sysv/linux/bits/time.h: New file.
9337 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
9338 to...
9339 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
9340 * Versions.def: Add GLIBC_2.14.
9341 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
9342 Export.
83fe108b 9343
bb242059
UD
93442011-03-22 Ulrich Drepper <drepper@gmail.com>
9345
9346 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
9347 round counter.
9348 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9349
c97a1282
L
93502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
9351
9352 [BZ #12597]
9353 * string/test-strncmp.c (do_page_test): New function.
9354 (check2): Likewise.
9355 (test_main): Call check2.
9356 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
9357
2a115601
UD
93582011-03-20 Ulrich Drepper <drepper@gmail.com>
9359
9360 [BZ #12587]
9361 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
9362 Handle cache information in CPU leaf 4.
9363 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
9364
8126d904
UD
93652011-03-18 Ulrich Drepper <drepper@gmail.com>
9366
042c49c6 9367 [BZ #12583]
8126d904
UD
9368 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
9369 character representation.
9370 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
9371
ccfe366e
RA
93722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
9373
9374 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
9375 END(__isnan) to END(__isnanf) to match function entry point/label
9376 EALIGN(__isnanf,...).
9377
c6e13027
JJ
93782011-03-10 Jakub Jelinek <jakub@redhat.com>
9379
9380 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
9381
33f85a3f
UD
93822011-03-10 Ulrich Drepper <drepper@gmail.com>
9383
028478fa
UD
9384 [BZ #12510]
9385 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
9386 copy from the symbol referenced in the relocation to initialize the
9387 used variable.
9388 Patch by Piotr Bury <pbury@goahead.com>.
9389 * elf/Makefile: Add rules to build and tst-unique3.
9390 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
9391 * elf/tst-unique3.cc: New file.
9392 * elf/tst-unique3.h: New file.
9393 * elf/tst-unique3lib.cc: New file.
9394 * elf/tst-unique3lib2.cc: New file.
9395
33f85a3f
UD
9396 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
9397
03592fc7
MF
93982011-03-10 Mike Frysinger <vapier@gentoo.org>
9399
9400 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
9401 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
9402 to _start.
03592fc7 9403
6a5ee102
UD
94042011-03-06 Ulrich Drepper <drepper@gmail.com>
9405
9406 * elf/dl-load.c (_dl_map_object): If we are looking for the first
9407 to-be-loaded object along a path to loader is ld.so.
9408
7e4ba49c
HJ
94092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9410 Ulrich Drepper <drepper@gmail.com>
9411
9412 * sysdeps/x86_64/memset.S: After aligning destination, code
9413 branches to different locations depending on the value of
9414 misalignment, when multiarch is enabled. Fix this.
9415
94162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
9417
9418 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
9419 Set _x86_64_preferred_memory_instruction for AMD processsors.
9420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9421 Set bit_Prefer_SSE_for_memop for AMD processors.
9422
13a804de
UD
94232011-03-04 Ulrich Drepper <drepper@gmail.com>
9424
9425 * libio/fmemopen.c (fmemopen): Optimize a bit.
9426
9d25c392
AS
94272011-03-03 Andreas Schwab <schwab@redhat.com>
9428
9429 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
9430
a5543c6a
RM
94312011-03-03 Roland McGrath <roland@redhat.com>
9432
9433 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
9434
012d35f7
DM
94352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
9436
7e4ba49c 9437 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
9438 __bzero_ultra1 instead of __memset_ultra1.
9439
4bff6e01
AS
94402011-02-23 Andreas Schwab <schwab@redhat.com>
9441 Ulrich Drepper <drepper@gmail.com>
9442
9443 [BZ #12509]
9444 * include/link.h (struct link_map): Add l_orig_initfini.
9445 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
9446 returning unsuccessfully.
9447 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
9448 close of a file loaded at startup, restore the original l_initfini
9449 list.
9450 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
9451 list, store the pointer.
9452 * elf/Makefile ($(objpfx)noload-mem): New rule.
9453 (noload-ENV): Define.
9454 (tests): Add $(objpfx)noload-mem.
9455 * elf/noload.c: Include <memcheck.h>.
9456 (main): Call mtrace. Close all opened handles.
9457
f2092faf
AS
94582011-02-17 Andreas Schwab <schwab@redhat.com>
9459
9460 [BZ #12454]
9461 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
9462 dependencies are missing.
9463
6c8a2e88
ST
94642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
9465
f2092faf 9466 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
9467 Hurd needs munmap.
9468 * sysdeps/mach/hurd/ifreq.h: New file.
9469
84a42118
PB
94702011-01-27 Petr Baudis <pasky@suse.cz>
9471 Ulrich Drepper <drepper@gmail.com>
9472
071f805e 9473 [BZ 12445]#
84a42118
PB
9474 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
9475 to extend_alloca().
9476 * stdio-common/bug23.c: New file.
9477 * stdio-common/Makefile (tests): Add bug23.
9478
e23fe25b
AS
94792010-09-28 Andreas Schwab <schwab@redhat.com>
9480 Ulrich Drepper <drepper@gmail.com>
9481
9482 [BZ #12489]
9483 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
9484 before performing relro protection. At old place add assertion
9485 to make sure nothing changed.
9486
d3f02e10
NS
94872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
9488 Glauber de Oliveira Costa <glommer@gmail.com>
9489
9490 * elf/elf.h: Add new ARM TLS relocs.
9491
d55fd7a5
RA
94922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
9493
9494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9495 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
9496 cast from r3.
9497 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
9498 'tests' variable.
9499 * sysdeps/wordsize-64/tst-writev.c: New file.
9500
2206397e
RA
95012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
9502
9503 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
9504 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
9505 insns in _dl_start to prevent a TOC reference before relocs are
9506 resolved.
9507
e9433893
UD
95082011-02-15 Ulrich Drepper <drepper@gmail.com>
9509
9510 [BZ #12469]
9511 * Makeconfig: Remove RANLIB definition.
9512 * Makerules: Don't use RANLIB.
9513 * aclocal.m4: Remove ranlib test.
9514 * configure.in: No need to check for ranlib.
9515 * elf/rtld-Rules: Don't use RANLIB.
9516
f75286c6
ST
95172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
9518
8e31c82d
ST
9519 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
9520 protection macro.
9521 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
9522 inclusion protection macro.
9523
f75286c6
ST
9524 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
9525 SIGRTMIN and SIGRTMAX and print information in that case only when
9526 SIGRTMIN is defined.
9527
c1d0e639
JJ
95282011-02-11 Jakub Jelinek <jakub@redhat.com>
9529
9530 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
9531 arginfo fn returning -1.
9532
9533 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
9534 and thousands string is zero terminated.
9535
edf9294e
AS
95362011-02-03 Andreas Schwab <schwab@redhat.com>
9537
9538 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
9539 sysdeps/unix/sysv/linux/bits/socket.h.
9540
2b7e92df
ST
95412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
9542
edf9294e
AS
9543 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
9544 (__CPU_COUNT): Remove old macros.
9545 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
9546 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
9547 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
9548 (__sched_cpualloc, __sched_cpufree): Add declarations.
9549
a4c7ea7b
UD
95502011-02-05 Ulrich Drepper <drepper@gmail.com>
9551
9552 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
9553 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
9554 * nscd/aicache.c (addhstaiX): Return timeout of added value.
9555 (readdhstai): Return value of addhstaiX call.
9556 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
9557 (addgrbyX): Return value returned by cache_addgr.
9558 (readdgrbyname): Return value returned by addgrbyX.
9559 (readdgrbygid): Likewise.
9560 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
9561 (addpwbyX): Return value returned by cache_addpw.
9562 (readdpwbyname): Return value returned by addhstbyX.
9563 (readdpwbyuid): Likewise.
9564 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
9565 (addservbyX): Return value returned by cache_addserv.
9566 (readdservbyname): Return value returned by addservbyX:
9567 (readdservbyport): Likewise.
9568 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
9569 (addhstbyX): Return value returned by cache_addhst.
9570 (readdhstbyname): Return value returned by addhstbyX.
9571 (readdhstbyaddr): Likewise.
9572 (readdhstbynamev6): Likewise.
9573 (readdhstbyaddrv6): Likewise.
9574 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
9575 (readdinitgroups): Return value returned by addinitgroupsX.
9576 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
9577 (prune_cache): Keep track of timeout value of re-added entries.
9578 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
9579 * nscd/nscd.h: Adjust prototypes of readd* functions.
9580
a0bf67cc
RM
95812011-02-04 Roland McGrath <roland@redhat.com>
9582
9583 * nis/nis_server.c (nis_servstate): Use the right name for 0.
9584 (nis_stats): Likewise.
9585 * nis/nis_modify.c (nis_modify): Likewise.
9586 * nis/nis_remove.c (nis_remove): Likewise.
9587 * nis/nis_add.c (nis_add): Likewise.
9588
9589 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
9590
9591 * posix/fnmatch_loop.c: Add some consts.
9592
9593 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
9594
435b95eb
L
95952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
9596
9597 [BZ #12460]
9598 * config.make.in (config-cflags-novzeroupper): Define.
9599 * configure.in: Substitute libc_cv_cc_novzeroupper.
9600 * elf/Makefile (AVX-CFLAGS): Define.
9601 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
9602 (CFLAGS-tst-auditmod4a.c): Likewise.
9603 (CFLAGS-tst-auditmod4b.c): Likewise.
9604 (CFLAGS-tst-auditmod6b.c): Likewise.
9605 (CFLAGS-tst-auditmod6c.c): Likewise.
9606 (CFLAGS-tst-auditmod7b.c): Likewise.
9607 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
9608
8517b15e
UD
96092011-02-02 Ulrich Drepper <drepper@gmail.com>
9610
9611 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
9612 function to the callback.
9613 Patch partly by Jiri Olsa <jolsa@redhat.com>.
9614
10a656fe
AS
96152011-02-02 Andreas Schwab <schwab@redhat.com>
9616
9617 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
9618 of errno.
9619
968dad0a
UD
96202011-01-19 Ulrich Drepper <drepper@gmail.com>
9621
9f94d2ea 9622 [BZ #11724]
968dad0a
UD
9623 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
9624 of constructors.
9625 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
9626 of destructors.
9627 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
9628
9629 [BZ #11724]
9630 * elf/Makefile: Add rules to build and run new test.
9631 * elf/tst-initorder.c: New file.
9632 * elf/tst-initorder.exp: New file.
9633 * elf/tst-initordera1.c: New file.
9634 * elf/tst-initordera2.c: New file.
9635 * elf/tst-initordera3.c: New file.
9636 * elf/tst-initordera4.c: New file.
9637 * elf/tst-initorderb1.c: New file.
9638 * elf/tst-initorderb2.c: New file.
9639 * elf/tst-order-a1.c: New file.
9640 * elf/tst-order-a2.c: New file.
9641 * elf/tst-order-a3.c: New file.
9642 * elf/tst-order-a4.c: New file.
9643 * elf/tst-order-b1.c: New file.
9644 * elf/tst-order-b2.c: New file.
9645 * elf/tst-order-main.c: New file.
9646 New test case by George Gensure <werkt0@gmail.com>.
9647
86e92359
UD
96482010-10-01 Andreas Schwab <schwab@redhat.com>
9649
9650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
9651 decoding ACE if AI_CANONIDN.
9652
5d5732b0
UD
96532011-01-18 Ulrich Drepper <drepper@gmail.com>
9654
9655 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
9656
a77e8cbc
UD
96572011-01-17 Ulrich Drepper <drepper@gmail.com>
9658
6392473f
UD
9659 * version.h (RELEASE): Bump for 2.13 release.
9660 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
9661
620a0529
UD
9662 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
9663
18ba70a5
UD
9664 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
9665 MADV_NOHUGEPAGE.
32465c3e
UD
9666 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
9667 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9668 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9669 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9670 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9671 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9672
c0dafcf1
UD
9673 * posix/getconf.c: Update copyright year.
9674 * catgets/gencat.c: Likewise.
9675 * csu/version.c: Likewise.
9676 * debug/catchsegv.sh: Likewise.
9677 * debug/xtrace.sh: Likewise.
9678 * elf/ldconfig.c: Likewise.
9679 * elf/ldd.bash.in: Likewise.
9680 * elf/sprof.c (print_version): Likewise.
9681 * iconv/iconv_prog.c: Likewise.
9682 * iconv/iconvconfig.c: Likewise.
9683 * locale/programs/locale.c: Likewise.
9684 * locale/programs/localedef.c: Likewise.
9685 * malloc/memusage.sh: Likewise.
9686 * malloc/mtrace.pl: Likewise.
9687 * nscd/nscd.c (print_version): Likewise.
9688 * nss/getent.c: Likewise.
9689
a77e8cbc
UD
9690 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
9691 PF_CAIF, and PF_ALG.
9692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9693
77e8bddf
AS
96942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
9695
1f20b93a
AS
9696 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
9697 (modules-names): Use them.
9698 (ifunc-test-modules, ifunc-pie-tests): Define.
9699 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
9700 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
9701 (test-extras): Likewise.
9702 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
9703 $(compile-command.c).
9704 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
9705 (all-built-dso): Define.
9706 (check-textrel.out, check-execstack.out): Depend on it.
9707
77e8bddf
AS
9708 * configure.in: Don't override --enable-multi-arch.
9709
bc425b33
UD
97102011-01-15 Ulrich Drepper <drepper@gmail.com>
9711
9712 [BZ #6812]
9713 * nscd/hstcache.c (tryagain): Define.
9714 (cache_addhst): Return tryagain not notfound for temporary errors.
9715 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
9716 failed.
9717
794c3ad3
UD
97182011-01-14 Ulrich Drepper <drepper@gmail.com>
9719
70181fdd
UD
9720 [BZ #10563]
9721 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
9722 to make the syscall.
9723 * sysdeps/unix/sysv/linux/setgroups.c: New file.
9724
794c3ad3
UD
9725 [BZ #12378]
9726 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
9727 and fall back to matching as normal character if the string ends before
9728 the matching ']' is found. This is what POSIX requires.
9729 * posix/testfnm.c: Adjust test result.
9730 * posix/globtest.sh: Adjust test result. Add new test.
9731 * posix/tst-fnmatch.input: Likewise.
9732 * posix/tst-fnmatch2.c: Add new test.
9733
68dc9497
AS
97342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
9735
9736 * elf/Makefile (check-execstack): Revert last change. Depend on
9737 check-execstack.h.
9738 (check-execstack.h): New target.
9739 (generated): Add check-execstack.h.
9740 * elf/check-execstack.c: Include "check-execstack.h".
9741 (main): Revert last change.
9742 (handle_file): Return zero if GNU_STACK is absent and
9743 DEFAULT_STACK_PERMS doesn't include PF_X.
9744
451f001b
UD
97452011-01-13 Ulrich Drepper <drepper@gmail.com>
9746
cfa28e56
UD
9747 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
9748 in child fails because the descriptor is already closed.
8cf8ce17
UD
9749 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
9750 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
9751 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 9752
1086d70d
UD
9753 [BZ #12397]
9754 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
9755 syscall.
9756
451f001b
UD
9757 [BZ #10484]
9758 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
9759 temporary buffer used to handle multi lookups locally.
a85b5cb4 9760 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 9761
08769175
UD
97622011-01-12 Ulrich Drepper <drepper@gmail.com>
9763
9764 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
9765 loader is ld.so.
9766
5e49c52e
UD
97672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
9768
9769 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
9770 alignment for SSE2.
9771
60522a5f
UD
97722011-01-12 Ulrich Drepper <drepper@gmail.com>
9773
9774 [BZ #12394]
9775 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
9776 characters. When rounding increased number of integer digits recompute
9777 number of groups.
9778 * stdio-common/tst-grouping.c: New file.
9779 * stdio-common/Makefile: Add rules to build and run tst-grouping.
9780
f257bbd7
UD
97812011-01-09 Ulrich Drepper <drepper@gmail.com>
9782
9783 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
9784 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
9785
9786 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
9787 void.
9788 * bits/select.h: Likewise.
9789
fa9c15cb
UD
97902011-01-08 Ulrich Drepper <drepper@gmail.com>
9791
9792 * po/ja.po: Update from translation team.
9793
16c2895f
DM
97942011-01-04 David S. Miller <davem@sunset.davemloft.net>
9795
9796 [BZ #11155]
9797 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
9798 implementation just like for lxstat, fxstatat, et al.
9799
2543fef2
JM
98002010-12-27 Jim Meyering <meyering@redhat.com>
9801
9802 [BZ #12348]
9803 * posix/regexec.c (build_trtable): Return failure indication upon
9804 calloc failure. Otherwise, re_search_internal could infloop on OOM.
9805
98727dbe
UD
98062010-12-25 Ulrich Drepper <drepper@gmail.com>
9807
5bd6dc5c
UD
9808 [BZ #12201]
9809 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
9810 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
9811 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
9812 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
9813
97983464
UD
9814 [BZ #12207]
9815 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
9816
98727dbe
UD
9817 [BZ #12204]
9818 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
9819 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
9820
4a531bb0
L
98212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
9822
9823 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
9824 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
9825 script has SORT_BY_INIT_PRIORITY.
9826 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
9827 NO_CTORS_DTORS_SECTIONS is defined.
9828 * elf/soinit.c: Likewise.
9829 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
9830 NO_CTORS_DTORS_SECTIONS is defined.
9831 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
9832 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
9833 * sysdeps/sh/init-first.c: Likewise.
9834 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
9835
07eb4b71
UD
98362010-12-24 Ulrich Drepper <drepper@gmail.com>
9837
9838 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
9839 always use the slow path.
9840
30950a5f
RA
98412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
9842
9843 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
9844 similar rule which adds the sysdep directories to the header search in
9845 order to pick up the correct platform stackinfo.h.
9846 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
9847 perform test if it is, otherwise return successfully without testing.
9848 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
9849 DEFAULT_STACK_PERMS define in stackinfo.h.
9850 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
9851 defined in stackinfo.h.
9852 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
9853 DEFAULT_STACK_PERMS defined in stackinfo.h.
9854 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
9855 * sysdeps/ia64/stackinfo.h: Likewise.
9856 * sysdeps/s390/stackinfo.h: Likewise.
9857 * sysdeps/sh/stackinfo.h: Likewise.
9858 * sysdeps/sparc/stackinfo.h: Likewise.
9859 * sysdeps/x86_64/stackinfo.h: Likewise.
9860 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
9861 PF_X for powerpc64. Retain PF_X for powerpc32.
9862
db753e2c
UD
98632010-12-19 Ulrich Drepper <drepper@gmail.com>
9864
14b697f7
UD
9865 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
9866 accurately.
db753e2c
UD
9867 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
9868 GETDENTS_64BIT_ALIGNED.
9869
28300719
UD
98702010-12-14 Ulrich Drepper <dreper@gmail.com>
9871
14b697f7 9872 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 9873
4f197237
AS
98742010-12-10 Andreas Schwab <schwab@redhat.com>
9875
dbb0472f
AS
9876 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
9877 _GNU_SOURCE.
9878
4f197237
AS
9879 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
9880 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
9881 Remove __restrict.
9882 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
9883 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
9884
fb88ac72
UD
98852010-12-09 Ulrich Drepper <drepper@gmail.com>
9886
9887 [BZ #11655]
9888 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
9889 are initialized.
9890
42acbb92
JJ
98912010-12-09 Jakub Jelinek <jakub@redhat.com>
9892
9893 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
9894
c038d98d
UD
98952010-12-03 Ulrich Drepper <drepper@gmail.com>
9896
9897 * po/it.po: Update from translation team.
9898
3a4a2499
L
98992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
9900
9901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
9902 unused codes.
9903
1e24cf6e
UD
99042010-11-30 Ulrich Drepper <drepper@gmail.com>
9905
9906 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
9907
a7690819
AS
99082010-11-24 Andreas Schwab <schwab@redhat.com>
9909
9910 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
9911 specially.
9912 (gaih_getanswer_slice): Likewise.
9913
3bf8d1b1
JJ
99142010-10-20 Jakub Jelinek <jakub@redhat.com>
9915
9916 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
9917
6db52fbb
PB
99182010-05-31 Petr Baudis <pasky@suse.cz>
9919
9920 [BZ #11149]
9921 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
9922 silently even in the chroot mode.
9923
eaca7569
UD
99242010-11-22 Ulrich Drepper <drepper@gmail.com>
9925
9926 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
9927 last patch a bit. Pretty printing
9928
3056dcdb
UD
99292010-05-31 Petr Baudis <pasky@suse.cz>
9930
9931 [BZ #10085]
9932 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
9933 initialization of skip_initgroups_dyn.
9934
cf7c9078
UD
99352010-11-19 Ulrich Drepper <drepper@gmail.com>
9936
9937 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
9938 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
9939
a1fb5e3e
UD
99402010-11-16 Ulrich Drepper <drepper@gmail.com>
9941
9942 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
9943
3540d66b
AS
99442010-11-11 Andreas Schwab <schwab@redhat.com>
9945
9946 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
9947 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
9948 (tst-fnmatch-ENV): Set MALLOC_TRACE.
9949 ($(objpfx)tst-fnmatch-mem): New rule.
9950 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
9951 * posix/tst-fnmatch.c (main): Call mtrace.
9952
13b69574
L
99532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
9954
9955 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9956 Support Intel processor model 6 and model 0x2c.
9957
da93d214
LM
99582010-11-10 Luis Machado <luisgpm@br.ibm.com>
9959
9960 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
9961 signed comparison.
9962
8ca52c6e
L
99632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
9964
9965 [BZ #12205]
9966 * string/test-strncasecmp.c (check_result): New function.
9967 (do_one_test): Use it.
9968 (check1): New function.
9969 (test_main): Use it.
9970 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
9971 Support strcasecmp and strncasecmp.
9972
69da074d
UD
99732010-11-08 Ulrich Drepper <drepper@gmail.com>
9974
9975 [BZ #12194]
9976 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
9977 * sysdeps/x86_64/bits/byteswap.h: Likewise.
9978
ff02d528
L
99792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
9980
9981 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
9982 IFUNC support.
9983 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9984 memset-x86-64.
9985 * sysdeps/x86_64/multiarch/bzero.S: New file.
9986 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
9987 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
9988 * sysdeps/x86_64/multiarch/memset.S: New file.
9989 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
9990 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9991 Set bit_Prefer_SSE_for_memop for Intel processors.
9992 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
9993 Define.
9994 (index_Prefer_SSE_for_memop): Define.
9995 (HAS_PREFER_SSE_FOR_MEMOP): Define.
9996
344d0b54
LM
99972010-11-04 Luis Machado <luisgpm@br.ibm.com>
9998
9999 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
10000 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
10001
c0dde15b
UD
100022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
10003
10004 [BZ #12191]
10005 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10006 (__x86_64_raw_data_cache_size_half): Likewise.
10007 (__x86_64_raw_shared_cache_size): Likewise.
10008 (__x86_64_raw_shared_cache_size_half): Likewise.
10009
10010 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
10011 (__x86_64_raw_data_cache_size_half): Likewise.
10012 (__x86_64_raw_shared_cache_size): Likewise.
10013 (__x86_64_raw_shared_cache_size_half): Likewise.
10014 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
10015 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
10016 and __x86_64_raw_shared_cache_size_half. Round
10017 __x86_64_data_cache_size_half, __x86_64_data_cache_size
10018 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
10019 to multiple of 256 bytes.
10020
0e516e0e
MS
100212010-11-03 Ulrich Drepper <drepper@gmail.com>
10022
10023 [BZ #12167]
10024 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
10025 of inacessible symlinks. Verify result of symlink before returning it.
10026 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
10027 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
10028
0e012e87
ER
100292010-10-28 Erich Ritz <erichritz@gmail.com>
10030
10031 * math/math.h (isinf): Fix typo in comment.
10032
de0ff7bc
UD
100332010-11-01 Ulrich Drepper <drepper@gmail.com>
10034
10035 * po/da.po: Update from translation team.
10036
fa41c84d
UD
100372010-10-26 Ulrich Drepper <drepper@gmail.com>
10038
10039 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
10040 is added to the list.
10041
f0967738
AK
100422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10043 Ulrich Drepper <drepper@gmail.com>
10044
10045 * elf/dl-object.c (_dl_new_object): Don't append the new object to
10046 the global list here. Move code to...
10047 (_dl_add_to_namespace_list): ...here. New function.
10048 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
10049 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
10050 * elf/dl-load.c (lose): Don't remove the element from the list.
10051 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
10052 (_dl_map_object): Likewise.
10053
100542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
10055
10056 [BZ #12159]
10057 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
10058 into all bytes of SSE register.
10059 Patch by Richard Li <richardpku@gmail.com>.
10060
f0967738 100612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
10062
10063 [BZ #12140]
10064 * malloc/malloc.c (_int_free): Fill correct number of bytes when
10065 perturbing.
10066
d0b9e94f
MB
100672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
10068
10069 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
10070 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
10071 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
10072 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
10074 submachine.
10075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
10076
8e9f92e9
AS
100772010-10-22 Andreas Schwab <schwab@redhat.com>
10078
10079 * include/dlfcn.h (__RTLD_SECURE): Define.
10080 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
10081 mode & __RTLD_SECURE instead.
10082 (open_path): Rename preloaded parameter to secure.
10083 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
10084 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
10085 * elf/dl-deps.c (openaux): Likewise.
10086 * elf/rtld.c (struct map_args): Remove is_preloaded.
10087 (map_doit): Don't use it.
10088 (dl_main): Likewise.
10089 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
10090 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
10091
bc96fbda
AS
100922010-09-09 Andreas Schwab <schwab@redhat.com>
10093
10094 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
10095 (sysd-rules-targets): Remove duplicates.
10096 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
10097 rtld-%.$o dependency.
10098
22cd1c9b
AS
100992010-10-18 Andreas Schwab <schwab@redhat.com>
10100
10101 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
10102 _dl_map_object do it.
10103
18edac48
UD
101042010-10-19 Ulrich Drepper <drepper@gmail.com>
10105
10106 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
10107 fast fma builtins, define the macros in the C99 standard.
10108 (FP_FAST_FMAF): Likewise.
10109 (FP_FAST_FMAL): Likewise.
10110 * sysdeps/x86_64/bits/mathdef.h: Likewise.
10111
10112 * bits/mathdef.h: Update copyright year.
10113 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10114
d2050124
MM
101152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
10116
10117 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
10118 builtins, define the macros in the C99 standard.
10119 (FP_FAST_FMAF): Likewise.
10120 (FP_FAST_FMAL): Likewise.
10121 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
10122 multiply/add.
10123 (FP_FAST_FMAF): Likewise.
10124
475facd1
JJ
101252010-10-15 Jakub Jelinek <jakub@redhat.com>
10126
10127 [BZ #3268]
10128 * math/libm-test.inc (fma_test): Some new testcases.
10129 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
10130 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
10131 y and infinite z. Do multiplication by C already in long double.
10132 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
10133 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
10134 y and infinite z. Do bitwise or of inexact bit into u.d.
10135 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
10136 * sysdeps/i386/fpu/s_fmaf.S: Removed.
10137 * sysdeps/i386/fpu/s_fma.S: Removed.
10138 * sysdeps/i386/fpu/s_fmal.S: Removed.
10139
7c08a05c
JJ
101402010-10-16 Jakub Jelinek <jakub@redhat.com>
10141
10142 [BZ #3268]
10143 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
10144 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
10145 computation is not scheduled after fetestexcept. Fix value
10146 of minimum denormal long double.
10147
f3f7372d
JJ
101482010-10-14 Jakub Jelinek <jakub@redhat.com>
10149
10150 [BZ #3268]
10151 * math/libm-test.inc (fma_test): Add some more tests.
10152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
10153 correctly.
10154
14d43591
AS
101552010-10-15 Andreas Schwab <schwab@redhat.com>
10156
10157 * scripts/data/localplt-s390-linux-gnu.data: New file.
10158 * scripts/data/localplt-s390x-linux-gnu.data: New file.
10159
5e908464
JJ
101602010-10-13 Jakub Jelinek <jakub@redhat.com>
10161
10162 [BZ #3268]
10163 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
10164 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
10165 instead of dbl-64.
10166 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
10167 inlines.
10168 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
10169 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
10170 if one of x and y is very large and the other is subnormal.
10171 * sysdeps/s390/fpu/s_fmaf.c: New file.
10172 * sysdeps/s390/fpu/s_fma.c: New file.
10173 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
10174 * sysdeps/powerpc/fpu/s_fma.S: New file.
10175 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
10176 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
10177 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
10178
101792010-10-12 Jakub Jelinek <jakub@redhat.com>
10180
10181 [BZ #3268]
10182 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
10183 fma tests.
10184 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
10185 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
10186 * sysdeps/i386/i686/multiarch/s_fma.c: Include
10187 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
10188 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
10189 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
10191
b833d51f
UD
101922010-10-12 Ulrich Drepper <drepper@redhat.com>
10193
10194 [BZ #12078]
10195 * posix/regcomp.c (parse_branch): One more memory leak plugged.
10196 * posix/bug-regex31.input: Add test case.
10197
1751705d
UD
101982010-10-11 Ulrich Drepper <drepper@gmail.com>
10199
e9b9cbf5
UD
10200 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
10201 * posix/bug-regex31.input: New file.
10202
10203 [BZ #12078]
10204 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
10205 (parse_sub_exp): Fix last change, use postorder.
10206
ef06edbe
UD
10207 * posix/bug-regex31.c: New file.
10208 * posix/Makefile: Add rules to build and run bug-regex31.
10209
a129c80d
UD
10210 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
10211
10212 [BZ #12078]
10213 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
10214
b76b818e
UD
10215 [BZ #12108]
10216 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
10217 to have entries in sys_siglist.
10218
1751705d
UD
10219 [BZ #12093]
10220 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
10221 be NULL.
10222
9ff8d36f
JJ
102232010-10-07 Jakub Jelinek <jakub@redhat.com>
10224
10225 [BZ #3268]
10226 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
10227 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
10228 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
10229 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
10230 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
10231 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
10232 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
10233 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
10234 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
10235 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
10236 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
10237 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
10238 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
10239 * math/ftestexcept.c (fetestexcept): Likewise.
10240 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
10241 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
10242 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
10243 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
10244 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
10245 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
10246 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
10247
af325969
UD
102482010-10-11 Ulrich Drepper <drepper@gmail.com>
10249
c579b202 10250 [BZ #12107]
af325969
UD
10251 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
10252 newline.
10253
67a67b95
UD
102542010-10-06 Ulrich Drepper <drepper@gmail.com>
10255
10256 * string/bug-strstr1.c: New file.
10257 * string/Makefile: Add rules to build and run bug-strstr1.
10258
5fb308bc
EB
102592010-10-05 Eric Blake <eblake@redhat.com>
10260
10261 [BZ #12092]
10262 * string/str-two-way.h (two_way_long_needle): Always clear memory
10263 when skipping input due to the shift table.
10264
45db99c7
UD
102652010-10-03 Ulrich Drepper <drepper@gmail.com>
10266
3b111893
UD
10267 [BZ #12005]
10268 * malloc/mcheck.c: Handle large requests.
10269
45db99c7
UD
10270 [BZ #12077]
10271 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
10272 for strncmp and strncasecmp.
10273 * string/stratcliff.c: Add tests for strcmp and strncmp.
10274 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
10275
cf7a1eb8
NI
102762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
10277
10278 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
10279 __set_fpscr.
10280
6484ba5e
AJ
102812010-09-30 Andreas Jaeger <aj@suse.de>
10282
10283 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
10284 (CGROUP_SUPER_MAGIC): Define.
10285 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10286 Handle btrfs and cgroup file systems.
10287 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10288 Likewise.
10289
91c42559
LM
102902010-09-27 Luis Machado <luisgpm@br.ibm.com>
10291
10292 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
10293 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
10294
87a97932
AK
102952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10296
10297 [BZ #12067]
10298 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
10299 trying to locate the ELF header.
10300
c21cc9bc
AS
103012010-09-27 Andreas Schwab <schwab@redhat.com>
10302
10303 [BZ #11611]
10304 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
10305 Mask out sign-bit copies when constructing f_fsid.
10306
315970f6
PB
103072010-09-24 Petr Baudis <pasky@suse.cz>
10308
10309 * debug/stack_chk_fail_local.c: Add missing licence exception.
10310 * debug/warning-nop.c: Likewise.
10311
1ac7a2c7
JM
103122010-09-15 Joseph Myers <joseph@codesourcery.com>
10313
10314 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
10315 implementing getdents64 using getdents syscall, set d_type if
10316 __ASSUME_GETDENTS32_D_TYPE.
10317
56801c50
AS
103182010-09-16 Andreas Schwab <schwab@redhat.com>
10319
10320 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
10321 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
10322
dda51327
UD
103232010-09-21 Ulrich Drepper <drepper@redhat.com>
10324
10325 [BZ #12037]
10326 * posix/unistd.h: Undo change of feature selection for ftruncate from
10327 2010-01-11.
10328
8ffcee4a
UD
103292010-09-20 Ulrich Drepper <drepper@redhat.com>
10330
a545ecd9 10331 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
10332 detection.
10333
e24f0a8b
AS
103342010-09-20 Andreas Schwab <schwab@redhat.com>
10335
10336 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
10337 fanotify_mark.
10338 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10339
7291c56f
AS
103402010-09-14 Andreas Schwab <schwab@redhat.com>
10341
10342 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
10343 variables after CHECK_SP call.
10344 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
10345
bc5fb037
AS
103462010-09-13 Andreas Schwab <schwab@redhat.com>
10347 Ulrich Drepper <drepper@redhat.com>
10348
10349 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
10350 re-relocationg ld.so.
10351 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
10352 _dl_init_paths call.
10353 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
10354 here anymore.
10355
e66e7419
UD
103562010-09-14 Ulrich Drepper <drepper@redhat.com>
10357
10358 * resolv/res_init.c (__res_vinit): Count the default server we added.
10359
c044aa75
CLT
103602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
10361 Ulrich Drepper <drepper@redhat.com>
10362
10363 [BZ #11968]
10364 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
10365 (____longjmp_chk): Use %ebx for saving value across system call.
10366 Add unwind info.
10367
32cf4069
AS
103682010-09-06 Andreas Schwab <schwab@redhat.com>
10369
10370 * manual/Makefile: Don't mix pattern rules with normal rules.
10371
817328ee
AS
103722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
10373
10374 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
10375 operation.
10376 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
10377 * libio/iofopncook.c (_IO_cookie_init): Likewise.
10378 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
10379 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
10380 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
10381 Likewise.
10382
29fddf61
UD
103832010-09-04 Ulrich Drepper <drepper@redhat.com>
10384
10385 [BZ #11979]
10386 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
10387 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
10388
0959ffc9
UD
103892010-09-02 Ulrich Drepper <drepper@redhat.com>
10390
10391 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
10392 * sysdeps/x86_64/addmul_1.S: Likewise.
10393 * sysdeps/x86_64/lshift.S: Likewise.
10394 * sysdeps/x86_64/mul_1.S: Likewise.
10395 * sysdeps/x86_64/rshift.S: Likewise.
10396 * sysdeps/x86_64/sub_n.S: Likewise.
10397 * sysdeps/x86_64/submul_1.S: Likewise.
10398
ece29840
ST
103992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
10400
0959ffc9
UD
10401 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
10402 Define __sched_param instead of SCHED_* and sched_param when
ece29840 10403 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 10404 * bits/sched.h [__need_schedparam]
ece29840 10405 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
10406 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
10407 (__defined_schedparam): Define to 1.
ece29840
ST
10408 (__sched_param): New structure, identical to sched_param.
10409 (__need_schedparam): Undefine.
10410
e53a31fe
MF
104112010-08-31 Mike Frysinger <vapier@gentoo.org>
10412
fdc0c10d
MF
10413 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
10414 (epoll_create1): Declare.
10415
e53a31fe
MF
10416 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
10417
a726d796
AS
104182010-08-31 Andreas Schwab <schwab@redhat.com>
10419
10420 [BZ #7066]
10421 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
10422 shifting retval into place.
10423
2f3e3dc7
UD
104242010-09-01 Ulrich Drepper <drepper@redhat.com>
10425
f2933da9
UD
10426 * nis/rpcsvc/nis.h: Update copyright notice.
10427 * nis/rpcsvc/nis.x: Likewise.
10428 * nis/rpcsvc/nis_callback.h: Likewise.
10429 * nis/rpcsvc/nis_callback.x: Likewise.
10430 * nis/rpcsvc/nis_object.x: Likewise.
10431 * nis/rpcsvc/nis_tags.h: Likewise.
10432 * nis/rpcsvc/yp.h: Likewise.
10433 * nis/rpcsvc/yp.x: Likewise.
10434 * nis/rpcsvc/ypupd.h: Likewise.
10435 * nis/yp_xdr.c: Likewise.
10436 * nis/ypupdate_xdr.c: Likewise.
10437
2f3e3dc7
UD
10438 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
10439 mainly the body of pmap_getport. Add parameters to specify timeouts.
10440 (pmap_getport): Use __libc_rpc_getport.
10441 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
10442 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
10443 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
10444
f3dcc2f9
AS
104452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
10446
10447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
10448 fanotify_mark.
10449
6d34eb5b
RM
104502010-08-27 Roland McGrath <roland@redhat.com>
10451
10452 * sysdeps/i386/i686/multiarch/Makefile
10453 (CFLAGS-varshift.c): New variable.
10454
9ea3de11
UD
104552010-08-27 Ulrich Drepper <drepper@redhat.com>
10456
c96d23fc
UD
10457 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
10458 * sysdeps/i386/i686/multiarch/varshift.c: New file.
10459
9ea3de11
UD
10460 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
10461
10462 * sysdeps/x86_64/strlen.S: Minimal code improvement.
10463
623aac7f
L
104642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
10465
10466 * sysdeps/x86_64/strlen.S: Unroll the loop.
10467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10468 strlen-sse2 strlen-sse2-bsf.
10469 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
10470 __strlen_no_bsf if bit_Slow_BSF is set.
10471 (__strlen_sse42): Removed.
10472 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
10473 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
10474
8b2b7715
RM
104752010-08-25 Roland McGrath <roland@redhat.com>
10476
10477 * sysdeps/x86_64/multiarch/varshift.S: File removed.
10478 * sysdeps/x86_64/multiarch/varshift.c: New file.
10479 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
10480 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
10481 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
10482 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10483
e73015f2
L
104842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
10485
10486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10487 strlen-sse2 strlen-sse2-bsf.
10488 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
10489 __strlen_sse2_bsf if bit_Slow_BSF is unset.
10490 (__strlen_sse2): Removed.
10491 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
10492 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
10493 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
10494 bit_Slow_BSF for Atom.
10495 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
10496 (index_Slow_BSF): Define.
10497 (HAS_SLOW_BSF): Define.
10498
df24a73e
UD
104992010-08-25 Ulrich Drepper <drepper@redhat.com>
10500
10501 [BZ #10851]
10502 * resolv/res_init.c (__res_vinit): When no server address at all
10503 is given default to loopback.
10504
f2ac4868
RM
105052010-08-24 Roland McGrath <roland@redhat.com>
10506
09055553
RM
10507 * configure.in: Remove config-name.h generation.
10508 * configure: Regenerated.
10509 * config-name.in: File removed.
10510 * scripts/config-uname.sh: New file.
10511 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
10512 ($(objdir)config-name.h): New target.
10513
f2ac4868
RM
10514 * sunrpc/rpc_parse.h: Avoid nested comment.
10515
73f27d5e
RH
105162010-08-24 Richard Henderson <rth@redhat.com>
10517 Ulrich Drepper <drepper@redhat.com>
10518 H.J. Lu <hongjiu.lu@intel.com>
10519
10520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
10521 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
10522 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
10523 Replace _mm_srli_si128 with __m128i_shift_right. Replace
10524 _mm_alignr_epi8 with _mm_loadu_si128.
10525 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
10526 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
10527 (__m128i_shift_right): Removed.
10528 * sysdeps/i386/i686/multiarch/varshift.h: New file.
10529 * sysdeps/i386/i686/multiarch/varshift.S: New file.
10530 * sysdeps/x86_64/multiarch/varshift.h: New file.
10531 * sysdeps/x86_64/multiarch/varshift.S: New file.
10532
84b9230c
MF
105332010-08-21 Mike Frysinger <vapier@gentoo.org>
10534
10535 * configure.in: Move assembler checks to before sysdep dir checking.
10536
9bbd0ddc
PB
105372010-08-20 Petr Baudis <pasky@suse.cz>
10538
10539 * LICENSES: Sync the sunrpc license.
10540
9da4bb31
UD
105412010-08-19 Ulrich Drepper <drepper@redhat.com>
10542
a7ab6ec8
UD
10543 * sunrpc/auth_des.c: Update copyright notice once again.
10544 * sunrpc/auth_none.c: Likewise.
10545 * sunrpc/auth_unix.c: Likewise.
10546 * sunrpc/authdes_prot.c: Likewise.
10547 * sunrpc/authuxprot.c: Likewise.
10548 * sunrpc/bindrsvprt.c: Likewise.
10549 * sunrpc/clnt_gen.c: Likewise.
10550 * sunrpc/clnt_perr.c: Likewise.
10551 * sunrpc/clnt_raw.c: Likewise.
10552 * sunrpc/clnt_simp.c: Likewise.
10553 * sunrpc/clnt_tcp.c: Likewise.
10554 * sunrpc/clnt_udp.c: Likewise.
10555 * sunrpc/clnt_unix.c: Likewise.
10556 * sunrpc/des_crypt.c: Likewise.
10557 * sunrpc/des_soft.c: Likewise.
10558 * sunrpc/get_myaddr.c: Likewise.
10559 * sunrpc/getrpcport.c: Likewise.
10560 * sunrpc/key_call.c: Likewise.
10561 * sunrpc/key_prot.c: Likewise.
10562 * sunrpc/openchild.c: Likewise.
10563 * sunrpc/pm_getmaps.c: Likewise.
10564 * sunrpc/pm_getport.c: Likewise.
10565 * sunrpc/pmap_clnt.c: Likewise.
10566 * sunrpc/pmap_prot.c: Likewise.
10567 * sunrpc/pmap_prot2.c: Likewise.
10568 * sunrpc/pmap_rmt.c: Likewise.
10569 * sunrpc/rpc/auth.h: Likewise.
10570 * sunrpc/rpc/auth_unix.h: Likewise.
10571 * sunrpc/rpc/clnt.h: Likewise.
10572 * sunrpc/rpc/des_crypt.h: Likewise.
10573 * sunrpc/rpc/key_prot.h: Likewise.
10574 * sunrpc/rpc/netdb.h: Likewise.
10575 * sunrpc/rpc/pmap_clnt.h: Likewise.
10576 * sunrpc/rpc/pmap_prot.h: Likewise.
10577 * sunrpc/rpc/pmap_rmt.h: Likewise.
10578 * sunrpc/rpc/rpc.h: Likewise.
10579 * sunrpc/rpc/rpc_des.h: Likewise.
10580 * sunrpc/rpc/rpc_msg.h: Likewise.
10581 * sunrpc/rpc/svc.h: Likewise.
10582 * sunrpc/rpc/svc_auth.h: Likewise.
10583 * sunrpc/rpc/types.h: Likewise.
10584 * sunrpc/rpc/xdr.h: Likewise.
10585 * sunrpc/rpc_clntout.c: Likewise.
10586 * sunrpc/rpc_cmsg.c: Likewise.
10587 * sunrpc/rpc_common.c: Likewise.
10588 * sunrpc/rpc_cout.c: Likewise.
10589 * sunrpc/rpc_dtable.c: Likewise.
10590 * sunrpc/rpc_hout.c: Likewise.
10591 * sunrpc/rpc_main.c: Likewise.
10592 * sunrpc/rpc_parse.c: Likewise.
10593 * sunrpc/rpc_parse.h: Likewise.
10594 * sunrpc/rpc_prot.c: Likewise.
10595 * sunrpc/rpc_sample.c: Likewise.
10596 * sunrpc/rpc_scan.c: Likewise.
10597 * sunrpc/rpc_scan.h: Likewise.
10598 * sunrpc/rpc_svcout.c: Likewise.
10599 * sunrpc/rpc_tblout.c: Likewise.
10600 * sunrpc/rpc_util.c: Likewise.
10601 * sunrpc/rpc_util.h: Likewise.
10602 * sunrpc/rpcinfo.c: Likewise.
10603 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
10604 * sunrpc/rpcsvc/key_prot.x: Likewise.
10605 * sunrpc/rpcsvc/klm_prot.x: Likewise.
10606 * sunrpc/rpcsvc/mount.x: Likewise.
10607 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
10608 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
10609 * sunrpc/rpcsvc/rex.x: Likewise.
10610 * sunrpc/rpcsvc/rstat.x: Likewise.
10611 * sunrpc/rpcsvc/rusers.x: Likewise.
10612 * sunrpc/rpcsvc/sm_inter.x: Likewise.
10613 * sunrpc/rpcsvc/spray.x: Likewise.
10614 * sunrpc/rpcsvc/yppasswd.x: Likewise.
10615 * sunrpc/rtime.c: Likewise.
10616 * sunrpc/svc.c: Likewise.
10617 * sunrpc/svc_auth.c: Likewise.
10618 * sunrpc/svc_authux.c: Likewise.
10619 * sunrpc/svc_raw.c: Likewise.
10620 * sunrpc/svc_run.c: Likewise.
10621 * sunrpc/svc_simple.c: Likewise.
10622 * sunrpc/svc_tcp.c: Likewise.
10623 * sunrpc/svc_udp.c: Likewise.
10624 * sunrpc/svc_unix.c: Likewise.
10625 * sunrpc/svcauth_des.c: Likewise.
10626 * sunrpc/xcrypt.c: Likewise.
10627 * sunrpc/xdr.c: Likewise.
10628 * sunrpc/xdr_array.c: Likewise.
10629 * sunrpc/xdr_float.c: Likewise.
10630 * sunrpc/xdr_mem.c: Likewise.
10631 * sunrpc/xdr_rec.c: Likewise.
10632 * sunrpc/xdr_ref.c: Likewise.
10633 * sunrpc/xdr_sizeof.c: Likewise.
10634 * sunrpc/xdr_stdio.c: Likewise.
10635
9da4bb31
UD
10636 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
10637 handling.
10638
bdaa77bc
AS
106392010-08-19 Andreas Schwab <schwab@redhat.com>
10640
10641 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
10642
fe2f79db
LM
106432010-08-19 Luis Machado <luisgpm@br.ibm.com>
10644
10645 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
10646 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
10647 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
10648 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
10649 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
10650 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
10651 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
10652 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
10653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
10654 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
10655 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
10656 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
10657 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
10658 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
10659
b9b42ee0
AB
106602010-07-26 Anton Blanchard <anton@samba.org>
10661
10662 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
10663 * malloc/arena.c (heap_trim): Likewise.
10664
1c06ba31
UD
106652010-08-16 Ulrich Drepper <drepper@redhat.com>
10666
10667 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
10668 here. Not...
10669 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
10670 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
10671
f8392f40
L
106722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
10673
10674 * sysdeps/i386/elf/Makefile: New file.
10675
3162f12e
AS
106762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10677
10678 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
10679 from fanotify_init.
10680 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
10681 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10682
28c90b2c
UD
106832010-08-15 Ulrich Drepper <drepper@redhat.com>
10684
10685 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
10686 of strncasecmp_l.
1feccb6c 10687 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 10688
ca6bb004
UD
106892010-08-14 Ulrich Drepper <drepper@redhat.com>
10690
e9f82e0d
UD
10691 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10692 strncase_l-nonascii.
10693 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10694 Add strncase_l-ssse3.
10695 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
10696 * sysdeps/x86_64/strcmp.S: Likewise.
10697 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
10699 * sysdeps/x86_64/strncase.S: New file.
10700 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
10701 * sysdeps/x86_64/strncase_l.S: New file.
10702 * string/Makefile (strop-tests): Add strncasecmp.
10703 * string/test-strncasecmp.c: New file.
10704
10705 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
10706 warning.
10707
ca6bb004
UD
10708 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
10709 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
10710
052fa7b3
AS
107112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
10712
10713 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
10714
962dba78
UD
107152010-08-12 Ulrich Drepper <drepper@redhat.com>
10716
10717 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
10718 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
10719 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
10720
bebff237
AM
107212010-05-01 Alan Modra <amodra@gmail.com>
10722
10723 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
10724 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
10725 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
10726 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
10727 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
10728 tidying. Don't tail-call __sigjmp_save for static lib.
10729 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
10730 save location.
10731 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
10732 (CALL_MCOUNT): Add eh info, and nop after bl.
10733 (TAIL_CALL_SYSCALL_ERROR): New macro.
10734 (PSEUDO_RET): Use it.
10735 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10736 Correct save location of integer regs and cr.
10737 (_dl_profile_resolve): Correct cr save location. Delete nops
10738 after bl when SHARED. Reduce cfi size a little by better
10739 placement of cfi directives.
10740 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
10741 make a stack frame. Instead use parm save area as a temp.
10742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
10743 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
10744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10745 Don't make a stack frame for parent, use parm save area.
10746 Increase child stack frame to 112 bytes. Don't save unused reg,
10747 and adjust reg usage. Set up cfi on error recovery and
10748 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
10749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10750 (__makecontext): Add dummy nop after jump to exit.
10751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
10752 Use correct parm save area and cr save, reduce stack frame.
10753 Correct cfi for possible PSEUDO_RET frame setup.
10754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
10755 Branch to local label emitted by PSEUDO_RET rather than
10756 __syscall_error.
10757
02637374
AS
107582010-08-12 Andreas Schwab <schwab@redhat.com>
10759
10760 [BZ #11904]
10761 * locale/programs/locale.c (print_assignment): New function.
10762 (show_locale_vars): Use it.
10763
c3e2f19b
UD
107642010-08-11 Ulrich Drepper <drepper@redhat.com>
10765
3cdaa6ad
UD
10766 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
10767 field.
10768 (struct statfs64): Likewise.
10769 (_STATFS_F_FLAGS): Define.
10770 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
10771 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10772 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
10773 (ST_VALID): Define locally.
10774 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
10775 __statvfs_getflags, use the provided value.
10776 * sysdeps/unix/sysv/linux/kernel-features.h: Define
10777 __ASSUME_STATFS_F_FLAGS.
10778
754f7da3
UD
10779 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
10780
10b3bedc
UD
10781 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
10782 Add sys/fanotify.h.
10783 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
10784 fanotify_mask for GLIBC_2.13.
10785 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
10786 fanotify_init and fanotify_mark.
10787 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
10788 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
10789
c08fb0d7
UD
10790 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
10791 Add prlimit.
10792 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
10793 prlimit64 for GLIBC_2.13.
10794 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
10795 prlimit64.
10796 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
10797 syscall.
10798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
10799 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
10800 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
10801 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
10802 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
10803 add prlimit alias.
10804 * sysdeps/unix/sysv/linux/prlimit.c: New file.
10805
15bac72b
UD
10806 [BZ #11903]
10807 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
10808 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
10809
c3e2f19b
UD
10810 * nss/Makefile: Add rules to build and run tst-nss-test1.
10811 * shlib-versions: Add entry for libnss_test1.
10812 * nss/nss_test1.c: New file.
10813 * nss/tst-nss-test1.c: New file.
10814
10815 * nss/nsswitch.c (__nss_database_custom): Define new variable.
10816 (__nss_configure_lookup): Set appropriate entry in
10817 __nss_configure_lookup to true.
10818 * nss/nsswitch.h: Define enum with indeces of databases in
10819 databases and __nss_database_custom arrays. Declare
10820 __nss_database_custom.
10821 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
10822 to avoid using nscd when custom rules are installed.
10823 * nss/getXXbyYY_r.c: Likewise.
10824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10825
10826 * nss/nss_files/files-parse.c: Whitespace fixes.
10827
f15ce4d8
UD
108282010-08-09 Ulrich Drepper <drepper@redhat.com>
10829
10830 [BZ #11883]
10831 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
10832 * posix/fnmatch_loop.c: Likewise.
10833
d22e4cc9
AK
108342010-07-17 Andi Kleen <ak@linux.intel.com>
10835
10836 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
10837 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
10838 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
10839 * Versions.def [GLIBC_2.13]: Add.
10840
805bc17d
UD
108412010-08-06 Ulrich Drepper <drepper@redhat.com>
10842
10843 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
10844 Also fail if tpwd after pwuid call is NULL.
10845
5a42321d
ST
108462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10847
10848 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
10849 when converting to ms.
10850
fd3ebeda
ST
108512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10852
10853 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
10854 EOPNOTSUPP errors with ENOTTY.
10855 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
10856 EOPNOTSUPP errors with ENOTTY.
10857
73507d3a
UD
108582010-07-31 Ulrich Drepper <drepper@redhat.com>
10859
10860 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
10861 Add strcasecmp_l-ssse3.
10862 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
10863 strcasecmp.
10864 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
10865 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
10866 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
10867
fe36dd02
UD
108682010-07-30 Ulrich Drepper <drepper@redhat.com>
10869
66f6765a
UD
10870 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
10871
42e08a54
UD
10872 * string/Makefile (strop-tests): Add strcasecmp.
10873 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
10874 strcasecmp_l-nonascii.
10875 (gen-as-const-headers): Add locale-defines.sym.
10876 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
10877 * sysdeps/x86_64/strcasecmp.S: New file.
10878 * sysdeps/x86_64/strcasecmp_l.S: New file.
10879 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
10880 * sysdeps/x86_64/locale-defines.sym: New file.
10881 * string/test-strcasecmp.c: New file.
10882
fe36dd02
UD
10883 * string/test-strcasestr.c: Test both ends of the range of characters.
10884 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
10885
48cbc0d6
RM
108862010-07-29 Roland McGrath <roland@redhat.com>
10887
76e6d6bc 10888 [BZ #11856]
48cbc0d6
RM
10889 * manual/locale.texi (Yes-or-No Questions): Fix example code.
10890
880113d9
UD
108912010-07-27 Ulrich Drepper <drepper@redhat.com>
10892
10893 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
10894 for ld.so.
10895
deb9cabb
AS
108962010-07-27 Andreas Schwab <schwab@redhat.com>
10897
10898 * manual/memory.texi (Malloc Tunable Parameters): Document
10899 M_PERTURB.
10900
1c7570ff
RM
109012010-07-26 Roland McGrath <roland@redhat.com>
10902
10903 [BZ #11840]
10904 * configure.in (-fgnu89-inline check): Set and substitute
10905 gnu89_inline, not libc_cv_gnu89_inline.
10906 * configure: Regenerated.
10907 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
10908
24fb0f88
UD
109092010-07-26 Ulrich Drepper <drepper@redhat.com>
10910
10911 * string/test-strnlen.c: New file.
10912 * string/Makefile (strop-tests): Add strnlen.
10913 * string/tester.c (test_strnlen): Add a few more test cases.
10914 * string/tst-strlen.c: Better error reporting.
10915
10916 * sysdeps/x86_64/strnlen.S: New file.
10917
8e96b93a
UD
109182010-07-24 Ulrich Drepper <drepper@redhat.com>
10919
10920 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
10921 lower-latency instructions.
10922
dbc676d4
UD
109232010-07-23 Ulrich Drepper <drepper@redhat.com>
10924
10925 * string/test-strcasestr.c: New file.
10926 * string/test-strstr.c: New file.
10927 * string/Makefile (strop-tests): Add strstr and strcasestr.
10928 * string/str-two-way.h: Don't undefine MAX.
10929 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
10930
f6a31e0e
AS
109312010-07-21 Andreas Schwab <schwab@redhat.com>
10932
10933 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10934 strcasestr-nonascii.
10935 (CFLAGS-strcasestr-nonascii.c): Define.
10936 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
10937 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
10938 Remove unused attribute.
10939
5dbc3b6c
RM
109402010-07-20 Roland McGrath <roland@redhat.com>
10941
10942 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
10943 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
10944 ld.so.cache was broken. With it, there is no way to disable dsocaps
10945 like LD_HWCAP_MASK can disable hwcaps.
10946
23d101d8
EPM
109472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
10948
10949 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
10950
cc9f2e47
UD
109512010-07-16 Ulrich Drepper <drepper@redhat.com>
10952
10953 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
10954 call in strcasestr.
10955 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
10956 __strcasestr_sse42_nonascii.
10957 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
10958 strcasestr-nonascii.c.
10959 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
10960
77c1b069
LM
109612010-06-15 Luis Machado <luisgpm@br.ibm.com>
10962
10963 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
10964 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
10965 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
10966 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
10967
440566c3
UD
109682010-07-09 Ulrich Drepper <drepper@redhat.com>
10969
10970 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
10971 fcntl.
10972
5be9d05d
AS
109732010-07-06 Andreas Schwab <schwab@redhat.com>
10974
c30b7ee2 10975 [BZ #11577]
5be9d05d
AS
10976 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
10977 dl_signal_cerror.
10978
8a492a67
UD
109792010-07-06 Ulrich Drepper <drepper@redhat.com>
10980
10981 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
10982 _PC_PIPE_BUF using F_GETPIPE_SZ.
10983
713df3d5
RM
109842010-07-05 Roland McGrath <roland@redhat.com>
10985
10986 * manual/arith.texi (Rounding Functions): Fix rint description
10987 implicit in round description.
10988
702e8f14
UD
109892010-07-02 Ulrich Drepper <drepper@redhat.com>
10990
10991 * elf/Makefile: Fix linking for a few tests to make recent linker
10992 happy.
10993
52ed8be9
AS
109942010-06-30 Andreas Schwab <schwab@redhat.com>
10995
10996 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10997 $(common-objpfx)libc_nonshared.a.
10998
f47c9a11
LM
109992010-06-21 Luis Machado <luisgpm@br.ibm.com>
11000
11001 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
11002 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
11003 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11004 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11005 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
11006 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
11007 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11008 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
11010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
11011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
11012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
11013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
11014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
11015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
11016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
11017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
11018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
11019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
11020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
11021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
11022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
11023 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
11024 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
11025 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
11026 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
11027 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
11028 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
11029 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
11030 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
11031 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
11032 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
11033 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
11034 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
11035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
11036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
11037 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
11038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
11039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
11040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
11041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
11042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
11043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
11044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
11045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
11047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
11049
6fb8cbcb
L
110502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
11051
11052 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
11053 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
11054 * string/memmove.c (memmove): Renamed to ...
11055 (MEMMOVE): ...this. Default to memmove.
11056 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
11057 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
11058 (END_CHK): Define.
11059 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11060 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
11061 mempcpy-ssse3-back memmove-ssse3-back.
11062 * sysdeps/x86_64/multiarch/bcopy.S: New file .
11063 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
11064 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
11065 * sysdeps/x86_64/multiarch/memcpy.S: New file.
11066 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
11067 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
11068 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
11069 * sysdeps/x86_64/multiarch/memmove.c: New file.
11070 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
11071 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
11072 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
11073 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
11074 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
11075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
11076 Define.
11077 (index_Fast_Copy_Backward): Define.
11078 (HAS_ARCH_FEATURE): Define.
11079 (HAS_FAST_REP_STRING): Define.
11080 (HAS_FAST_COPY_BACKWARD): Define.
11081
4e733bac 110822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
11083
11084 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11085 Restore proper fallback handling.
11086
63c4ed22
UD
110872010-06-19 Ulrich Drepper <drepper@redhat.com>
11088
ac2b484c
UD
11089 [BZ #11701]
11090 * posix/group_member.c (__group_member): Correct checking loop.
11091
63c4ed22
UD
11092 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
11093 OOM in getpwuid_r correctly. Return error number when the caller
11094 should return, otherwise -1.
11095 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
11096 call returning > 0 value.
11097 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
11098
765ade4b
AS
110992010-06-07 Andreas Schwab <schwab@redhat.com>
11100
11101 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
11102 libc_nonshared.a from targets in modules-names.
11103
80da2e09
KS
111042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
11105
11106 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
11107 requires it.
11108
158db122
LM
111092010-06-10 Luis Machado <luisgpm@br.ibm.com>
11110
11111 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
11112 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
11113 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
11114 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
11115
caa78cf8
AS
111162010-06-02 Andreas Schwab <schwab@redhat.com>
11117
11118 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
11119
b2ef2c01
UD
111202010-06-14 Ulrich Drepper <drepper@redhat.com>
11121
11122 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
11123 and F_GETPIPE_SZ.
11124 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
11125 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
11126 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11127 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11128 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
11129 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
11130
fbd643b6
RM
111312010-06-14 Roland McGrath <roland@redhat.com>
11132
11133 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
11134
f32f2869
JJ
111352010-06-07 Jakub Jelinek <jakub@redhat.com>
11136
11137 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
11138 __REDIRECT followed by __THROW.
11139 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
11140 * posix/getopt.h (getopt): Likewise.
11141
2a50c078
EPM
111422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
11143
11144 * hurd/lookup-at.c (__file_name_lookup_at): Accept
11145 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
11146 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
11147 in AT_FLAGS.
11148 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
11149 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
11150
eb5ad2eb
LM
111512010-05-28 Luis Machado <luisgpm@br.ibm.com>
11152
11153 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
11154
3c88fe1e
L
111552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
11156
11157 [BZ #11640]
11158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11159 Properly check family and model.
11160
d2f73151
TY
111612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
11162
11163 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
11164
ebd2e13d
LM
111652010-05-24 Luis Machado <luisgpm@br.ibm.com>
11166
11167 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
11168
b32b8b45
UD
111692010-05-21 Ulrich Drepper <drepper@redhat.com>
11170
11171 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
11172 symbol reference.
11173
9acbe24d
AS
111742010-05-19 Andreas Schwab <schwab@redhat.com>
11175
11176 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
11177 symbol reference.
11178
f0ccf6ea
AS
111792010-05-21 Andreas Schwab <schwab@redhat.com>
11180
3d04ff3a
AS
11181 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
11182 and internal_recvmmsg.
11183 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
11184 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
11185 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
11186 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
11187
f0ccf6ea
AS
11188 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
11189 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
11190 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
11191
5b08ac57
AS
111922010-05-20 Andreas Schwab <schwab@redhat.com>
11193
11194 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
11195
4828935d
LM
111962010-05-17 Luis Machado <luisgpm@br.ibm.com>
11197
11198 POWER7 optimizations.
11199 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
11200 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
11201
373d545e
UD
112022010-05-19 Ulrich Drepper <drepper@redhat.com>
11203
11204 * version.h: Update for 2.13 development version.
11205
21a2b1ae
AS
112062010-05-12 Andrew Stubbs <ams@codesourcery.com>
11207
11208 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
11209 exceptions. Return 0.
11210
3f7dcb2b
RM
112112010-05-07 Roland McGrath <roland@redhat.com>
11212
11213 * elf/ldconfig.c (main): Add a const.
11214
5f24d53a 112152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 11216
a160f8d8
UD
11217 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
11218 (args_options): Add no-idn option.
11219 (ahosts_keys_int): Add idn_flags to ai_flags.
11220 (parse_option): Handle 'i' option to clear idn_flags.
11221
5f24d53a
UD
11222 * malloc/malloc.c (_int_free): Possible race in the most recently
11223 added check. Only act on the data if no current modification
11224 happened.
265bb1ce
UD
11225
11226See ChangeLog.17 for earlier changes.
This page took 1.32606 seconds and 5 git commands to generate.